Bug#463391: update-grub: wrong root device

Robert Millan rmh at aybabtu.com
Sun Feb 3 19:15:28 UTC 2008


retitle 463391 wrong root device
reassign 463391 grub-pc
thanks

On Thu, Jan 31, 2008 at 08:02:44PM +0100, Robert Millan wrote:
> > 
> > update-grub sets my root partition to (hd1,0), however when grub boot it
> > seems to always consider the booting disk as (hd0). device.map files
> > maps my sda disk to hd1, this seems to be the cause of the problem.
> 
> Unfortunately when you have multiple disks of different types, like you do,
> there's no perfect way to figure out what number will the bios assign to
> each one.  It'll be possible to improve this in the future (by not using
> the bios), but this will take time.
> 
> The solution for these situations is to edit device.map.

Uhm actually, it seems there *is* a bug.  More details in this thread:

  http://lists.gnu.org/archive/html/grub-devel/2008-02/msg00063.html

and specially Okuji's reply:

  http://lists.gnu.org/archive/html/grub-devel/2008-02/msg00084.html

> > Now,
> > when booting grub fails to load the font file for gfxterm and the
> > background image, leaving me with a pinkish screen with no visible text
> > making it impossible to even boot manually. I've to use a livecd and
> > change hd1 to hd0 in order to boot again.
> 
> Error handling in the scripting engine clearly can be improved.  I'll keep
> this bug open for that purpose.

And then, I was wrong at this too!

  http://lists.gnu.org/archive/html/grub-devel/2008-02/msg00076.html

Oh well, this wasn't my day....

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call… if you are unable to speak?
(as seen on /.)





More information about the Pkg-grub-devel mailing list