Bug#861053:
Joshua Hudson
joshudson at gmail.com
Sat Dec 21 23:31:40 GMT 2019
The problem is /boot/grub/grub.cfg contains lines that look like:
search --no-floppy --fs-uuid --set=root d847c628-aa10-4bef-92b6-72ebacc07d7b
search doesn't work because it starts the protected mode driver, which
finds multiple copies of the disk (because it's a full-disk RAID
array), selects one of them to try to use, and access it. Besides the
fact that this won't work very well if one of the disks were to
develop bad sectors, this is wrong because grub will later write to
the environment block, which resets the NVRAM flip-flop, causing the
automatic RAID resync to not work anymore.
The solution is to specify the device (hd0,1) explicitly everywhere
and never use any search directive anywhere in the config file. Device
hd0 uses bios 0x13 calls to access the disk, allowing the boot-time
RAID driver to do its job until the kernel is loaded.
More information about the Pkg-grub-devel
mailing list