Comment 5 for bug 495423

Revision history for this message
Felix Zielcke (fzielcke) wrote : Re: [Bug 495423] Re: update to grub-pc writes MBR without checks, prompt or backup

Am Montag, den 14.12.2009, 22:16 +0000 schrieb Adrian Wilkins:
> And I right in saying that the device that grub boots is identified by
> UUID and the device that it installs grub to is identified by a path
> in
> /dev ?
>

The GRUB device which gets used during boot is only searched with UUID
if you don't install to the disk which contains your /boot/grub.
Else the partition number gets hardcoded and drive number is read from
BIOS.
The script grub-install supports actually both, a GRUB device and an OS
one, i.e. /dev/XXX
But it's not recommended to use a GRUB device because that totally
depends on /boot/grub/device.map and that could be completely wrong.
--
Felix Zielcke
Proud Debian Maintainer and GNU GRUB developer