Bug#423648: grub-pc: md/lvm path check in getroot.c breaks booting
Robert Millan
rmh at aybabtu.com
Mon May 14 08:54:59 UTC 2007
On Sun, May 13, 2007 at 08:32:58PM +0100, Sam Morris wrote:
> > Can you try arranging this code to include the missing "/dev/" and report if
> > everything still works?
>
> Now this is more interesting. I no longer have the broken menu that I
> mentioned in the other bug report! However, when I actually select one
> of the entries, I get 'error: you need to load the kernel first'.
>
> This seems to be caused by 'root' not being set in grub.cfg any more. Or
> rather, it's set to an empty string. Looking closely at update-grub, I
> guess changing grub_guess_root_device broke other parts of grub-probe:
>
> + echo 'Updating /boot/grub/grub.cfg ...'
> Updating /boot/grub/grub.cfg ...
> + cat
> ++ grub-probe --target=device /boot/grub
> + export GRUB_DEVICE=/dev/md0
> + GRUB_DEVICE=/dev/md0
> ++ grub-probe --target=drive /boot/grub
> cannot find a GRUB drive for /dev/md0.
Check your device.map. If it's broken, check if your newly modified
grub-mkdevicemap generates the right thing.
--
Robert Millan
My spam trap is honeypot at aybabtu.com. Note: this address is only intended
for spam harvesters. Writing to it will get you added to my black list.
More information about the Pkg-grub-devel
mailing list