[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issue with boot != root and chainloading
From: |
Pavel Roskin |
Subject: |
Re: Issue with boot != root and chainloading |
Date: |
Tue, 22 Jul 2008 19:58:49 -0400 |
On Tue, 2008-07-22 at 16:01 +0200, Felix Zielcke wrote:
> From: "Pavel Roskin" <address@hidden>
>
>
> > I've seen that fd1 somewhere, but I don't remember where. I guess
> > GRUB just defaults to that value if it cannot figure out the real
> > device number of the root device.
> >
>
> Maybe this Debian bug ? :)
> For the reporter fd0 wasn't in device.map
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=467501
That's it. The "id" field doesn't represent the BIOS ID anymore. It's
just a sequential number now, perhaps the entry number in device.map,
not counting invalid devices. But it's written to a field where the
bootloader expects to find a BIOS ID, such as 0x81 for the second hard
drive.
Although grub-setup correctly determines the name of the root device,
such as (hd1,1), there is no code that translates "hd1" into 0x81. That
code was removed to allow drive names like "hd" without a number, used
on PowerPC machines.
That means that device.map support is already totally broken on i386-pc.
So few people noticed it because cross-drive installs are uncommon, and
single-drive installs rely on the boot drive supplied by BIOS.
--
Regards,
Pavel Roskin
- Issue with boot != root and chainloading, Andy Kittner, 2008/07/22
- Re: Issue with boot != root and chainloading, Pavel Roskin, 2008/07/22
- Re: Issue with boot != root and chainloading, Felix Zielcke, 2008/07/22
- Re: Issue with boot != root and chainloading, Felix Zielcke, 2008/07/24
- Re: Issue with boot != root and chainloading, Pavel Roskin, 2008/07/24
- Re: Issue with boot != root and chainloading, Robert Millan, 2008/07/25
- Re: Issue with boot != root and chainloading, Pavel Roskin, 2008/07/25
- [PATCH] use UUIDs for cross-disk installs (Re: Issue with boot != root and chainloading), Robert Millan, 2008/07/25
- Re: [PATCH] use UUIDs for cross-disk installs (Re: Issue with boot != root and chainloading), Pavel Roskin, 2008/07/25
- Re: [PATCH] use UUIDs for cross-disk installs (Re: Issue with boot != root and chainloading), Robert Millan, 2008/07/27
- Re: [PATCH] use UUIDs for cross-disk installs (Re: Issue with boot != root and chainloading), Pavel Roskin, 2008/07/27