From: Pavel Roskin <proski@gnu.org>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Issue with boot != root and chainloading
Date: Tue, 22 Jul 2008 19:58:49 -0400 [thread overview]
Message-ID: <1216771129.15050.13.camel@dv> (raw)
In-Reply-To: <3FA357AE49694559941A663191155DE2@fz>
On Tue, 2008-07-22 at 16:01 +0200, Felix Zielcke wrote:
> From: "Pavel Roskin" <proski@gnu.org>
>
>
> > 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
next prev parent reply other threads:[~2008-07-22 23:58 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-22 13:34 Issue with boot != root and chainloading Andy Kittner
2008-07-22 13:50 ` Pavel Roskin
2008-07-22 14:01 ` Felix Zielcke
2008-07-22 23:58 ` Pavel Roskin [this message]
2008-07-24 9:12 ` Felix Zielcke
2008-07-24 10:25 ` Felix Zielcke
2008-07-24 11:00 ` Felix Zielcke
2008-07-24 16:49 ` Pavel Roskin
2008-07-25 21:08 ` Robert Millan
2008-07-25 21:47 ` Pavel Roskin
2008-07-25 22:10 ` [PATCH] use UUIDs for cross-disk installs (Re: Issue with boot != root and chainloading) Robert Millan
2008-07-26 1:08 ` Pavel Roskin
2008-07-27 12:19 ` Robert Millan
2008-07-27 16:29 ` Pavel Roskin
2008-07-27 18:37 ` Robert Millan
2008-07-27 19:28 ` UUID boot on ieee1275 (Re: [PATCH] use UUIDs for cross-disk installs (Re: Issue with boot != root and chainloading)) Robert Millan
2008-07-27 20:13 ` [PATCH] " Robert Millan
2008-07-27 20:36 ` Robert Millan
2008-07-30 10:41 ` Robert Millan
2008-08-03 11:09 ` [PATCH] use UUIDs for cross-disk installs (Re: Issue with boot != root and chainloading) Isaac Dupree
2008-08-03 12:08 ` Robert Millan
2008-08-03 12:23 ` Robert Millan
2008-08-03 17:04 ` Isaac Dupree
2008-08-03 19:19 ` Treacherous Computing (Re: [PATCH] use UUIDs for cross-disk installs) Robert Millan
2008-07-27 18:27 ` [PATCH] use UUIDs for cross-disk installs (Re: Issue with boot != root and chainloading) Robert Millan
2008-07-30 10:43 ` Robert Millan
2008-07-22 15:09 ` Issue with boot != root and chainloading Andy Kittner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1216771129.15050.13.camel@dv \
--to=proski@gnu.org \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.