> Is it possible to tell Grub2 to use the UUID of the partition
> /boot/grub resides instead of its default (hd0,1) notation? The reason
> I ask is that I am using a custom kernel that treats all drives as sda,
> but Debian's Grub2 pukes on it. Specifically, installing and updating
> Grub results in "/dev/sda" in /boot/grub.cfg and then boot fails as
> grub evidently sees it as an IDE drive, which it is. It seems as
> though if Grub could use UUI internally as the kernel does, this issue
> would be resolved. So far my Googler has come up empty.

I am going through this thread backwards, with apologies...

Do both the "set root" and "search" lines point to the partition where /boot is?

To check the UUID of /boot:
grub-probe -t fs_uuid /boot

[And (just in case), unlike grub1, for grub2 sda1<-->(hd0,1), sda2<-->(hd0,2).]


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to