To get the grub bootloader to ignore a driver as an option to boot from use the GRUB_OS_PROBER_SKIP_LIST option in /etc/default/grub.

example

GRUB_OS_PROBER_SKIP_LIST="48cb3fae-2c22-47c6-bfc7-799572ce14b7@/dev/mapper/root-drive

use the “blkid” command to get the UUID

https://forum.mxlinux.org/viewtopic.php?t=61835&start=10