From: Pavel Roskin <proski@gnu.org>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: grub-probe fails during grub2 update (Debian)
Date: Mon, 21 Apr 2008 06:31:06 -0400 [thread overview]
Message-ID: <1208773866.29071.11.camel@dv> (raw)
In-Reply-To: <20080420100713.GA16764@thorin>
On Sun, 2008-04-20 at 12:07 +0200, Robert Millan wrote:
> I propose that if grub-probe can't find an entry in device.map to convert the
> device it just found to a grub drive, it runs grub-mkdevicemap and tries again.
>
> Other approaches would be to kill device.map completely and just pipe the
> information from grub-mkdevicemap directly, but I think that might be too
> radical.
>
> What does everyone think?
I would explore the possibility of retiring device.map completely or
limiting its use to some rare cases.
In the vast majority of cases, the installer should not rely on knowing
the BIOS numbers of the devices involved in the boot process. BIOS
provides the boot drive, which should generally be trusted. The
installer only needs to know whether the media is a hard drive to enable
a workaround for buggy BIOSes providing a wrong boot drive.
I'm not sure about EFI and Open firmware, but I think the situation is
similar. There should be enough information to find the boot drive at
the boot time without requiring any guesswork in the installer.
We may need to tell GRUB what device to use to look for additional files
when the boot process involves more than one drive. But even then, I'd
rather prefer that GRUB uses labels, not hardcoded BIOS numbers.
--
Regards,
Pavel Roskin
next prev parent reply other threads:[~2008-04-21 10:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4807AA02.1020909@mail.berlios.de>
[not found] ` <20080418132858.GH29226@thorin>
2008-04-19 14:34 ` grub-probe fails during grub2 update (Debian) Stefan Weil
2008-04-20 10:07 ` Robert Millan
2008-04-21 10:31 ` Pavel Roskin [this message]
2008-05-06 15:18 ` retiring device.map Robert Millan
2008-05-06 15:43 ` Pavel Roskin
2008-05-07 13:03 ` Robert Millan
2008-05-07 17:22 ` Pavel Roskin
2008-05-07 17:39 ` Bean
2008-05-08 17:08 ` Colin D Bennett
2008-05-09 12:51 ` Robert Millan
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=1208773866.29071.11.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.