grub-devel
[Top][All Lists]
Advanced

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

Re: UUID-based boot (Re: [PATCH] Environment block support for grub2)


From: Robert Millan
Subject: Re: UUID-based boot (Re: [PATCH] Environment block support for grub2)
Date: Sun, 8 Jun 2008 21:26:34 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

On Sat, Jun 07, 2008 at 12:33:47PM +0800, Bean wrote:
> 
> Hi,
> 
> I find the post:
> 
> http://lists.gnu.org/archive/html/grub-devel/2008-02/msg00542.html

I completely agree.  The patch I sent makes it rely on UUIDs unconditionaly
because it was just a proof of concept, but my intention is to only use UUIDs
when at grub-install time we determined that there's no reliable way to find
the root drive.

I would handle the following cases in the installer:

  - If the boot drive is the same as the root drive, the BIOS will tell us
    about it at boot time, so we don't use UUIDs.

  - If the root drive is LVM or RAID, we can reliably identify it by its
    LVM or RAID name, so there's no need to ressort to UUIDs.

  - If the boot drive is different than the root drive, often a device.map
    guess will work, but not always.  So we use UUIDs whenever they're
    available.

What do you think?

-- 
Robert Millan

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




reply via email to

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