help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wrong hdX designation in grub.cfg


From: Andrey Borzenkov
Subject: Re: wrong hdX designation in grub.cfg
Date: Mon, 13 Jan 2014 06:19:37 +0400

В Sun, 12 Jan 2014 15:59:46 -0700
Chris Murphy <address@hidden> пишет:

> A normally working grub.cfg contains this entry:
> 
>         search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 
> --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  
> d7bc9d0e-7706-44f9-b1a7-ff24b7c360a7
> 
> hd0,gpt4 seems to be wrong.

It is just a hint anyway.

>  At a grub prompt, there is one hd0 entry, and multiple hd1,gptY
>  entries. These correspond to the partitionless Firewire drive, and the
>  internal drive respectively. It seems like the firmware presents the
>  Firewire drive to grub first and therefore is hd0 in grub. But once
>  booted to linux, the internal drive ends up being treated as hd0 by
>  grub-mkconfig.
> 
> Firmware bug? Or grub bug?
> 

Neither. Nobody ever said firmware would enumerate devices in the same
order as kernel. This is exactly why grub2 stopped relying on it and is
using search instead.

Is it BIOS or UEFI system?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]