Bug#541286: Update-grub guesses wrong root

Felix Zielcke fzielcke at z-51.de
Thu Aug 13 05:00:48 UTC 2009


Am Donnerstag, den 13.08.2009, 02:57 +0200 schrieb Harald Braumann:
> Hi,
> 
> after updating grub-pc, the system was unbootable. The problem is, that
> update-grub is run in postinst and it guesses the wrong boot partition.
> I have a mixed IDE/SATA system and the disks are ordered differently by
> the BIOS and Linux.


That's why you sometimes have to fix /boot/grub/device.map yourself.
It gets only recreated if you run grub-install with --recheck or
directly grub-mkdevicemap.
But anyway we use UUIDs in the default grub.cfg so it shouldn't matter
how your disks are ordered in device.map
The search --set --fs-uuid line sets the root variable to the device
with that UUID.






More information about the Pkg-grub-devel mailing list