Bug#487565: grub-pc: Chainloading fails even without LVM

Felix Zielcke fzielcke at z-51.de
Sat Aug 2 09:44:35 UTC 2008


Am Samstag, den 02.08.2008, 11:31 +0200 schrieb Felix Zielcke:

> You use only /dev/hdd on your linux but it's (hd1) in device.map
> If you're BIOS directly boots from hdd then change your device.map
> please, it will only be regenerated if it doestn't exist or is clearly
> wrong i.e. missing devices.


Bah, again something which I should do in one email and not 2.
Because you have an UUID prefix, I think your device.map order is the
problem.
grub2 is thinking you want a cross install i.e. have the mbr code on hd0
but /boot on hd1
So if that's the case please change device.map and then do

grub-install --no-floppy --grub-setup=/bin/true "(hd0)"

That's what postinst does to generate the core.img
with --grub-setup=/bin/true your MBR won't change.






More information about the Pkg-grub-devel mailing list