[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
UUID-based boot (Re: [PATCH] Environment block support for grub2)
From: |
Robert Millan |
Subject: |
UUID-based boot (Re: [PATCH] Environment block support for grub2) |
Date: |
Fri, 6 Jun 2008 18:43:00 +0200 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Wed, Jun 04, 2008 at 11:49:14AM +0800, Bean wrote:
> On Wed, Jun 4, 2008 at 5:09 AM, Robert Millan <address@hidden> wrote:
> >
> > I've been thinking a bit more about this, and I think it should be
> > possible to solve the problem at hand without extending the existing
> > framework. I'm concerned about finding a solution that is as simple
> > (and small) as possible.
> >
> > Do you mind waiting a few days? I'll send a proposal tomorrow or so.
>
> Ok, no hurry.
Sorry for the delay; it was quite a bit of work as I got hit by a number of
bugs here and there :-)
Considering that the problem was quite similar to the "boot from LVM" issue
we already knew about, I thought it'd be a good idea to start with that.
Although not directly related, the patch at in "boot from LVM / RAID" mail I
just sent would allow to easily boot via UUID as well.
If we add a UUID-based disk driver (see "disk/fs_uuid.c" mail), then it's just
a matter of increasing the grub_prefix size so that an UUID can fit in it, and
adjusting the install scripts to do it.
Here's a sample (untested) patch to illustrate it.
Then for the Vista use case, I suppose the remaining questions are if NTFS
supports UUIDs (or otherwise we have to ressort to labels?), and if we can
extract filesystem metadata from Windows (if possible without requiring that
a Cygwin installation is present).
--
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 /.)
uuid_boot.diff
Description: Text Data
- Re: [PATCH] Environment block support for grub2, Robert Millan, 2008/06/03
- Re: [PATCH] Environment block support for grub2, Bean, 2008/06/03
- [PATCH] ntfs UUIDs (Re: UUID-based boot (Re: [PATCH] Environment block support for grub2)), Robert Millan, 2008/06/06
- Re: [PATCH] ntfs UUIDs (Re: UUID-based boot (Re: [PATCH] Environment block support for grub2)), Tomáš Ebenlendr, 2008/06/07
- Re: [PATCH] ntfs UUIDs (Re: UUID-based boot (Re: [PATCH] Environment block support for grub2)), Pavel Roskin, 2008/06/07
- Re: [PATCH] ntfs UUIDs (Re: UUID-based boot (Re: [PATCH] Environment block support for grub2)), Robert Millan, 2008/06/08