Bug#501306: update-grub fails with raid1 boot partition

Felix Zielcke fzielcke at z-51.de
Mon Oct 6 17:02:52 UTC 2008


Hello,

Am Montag, den 06.10.2008, 13:44 +0100 schrieb Dan Poltawski:
> root at cream:~# /usr/sbin/grub-probe --device-map=/boot/grub/device.map -t drive -d "/dev/sda1"
> error: cannot open `/dev/sdf'
> error: cannot open `/dev/sdf'
> grub-probe: error: Cannot find a GRUB drive for /dev/sda1.  Check your device.map.


> *********************** BEGIN /boot/grub/device.map
> (hd0)	/dev/sde
> (hd1)	/dev/sdf
> *********************** END /boot/grub/device.map

If you do `grub-install /dev/sda' then it should be in your device.map.
Either run "grub-mkdevicemap --no-floppy" or grub-install with `--recheck --no-floppy'.

By the way grub2 does support the linux software raid fully, with it you
could just do `grub-install "(md0)"' if /dev/md0 is your /boot, to
install it on all raid disks.






More information about the Pkg-grub-devel mailing list