From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K4k28-0006gj-TS for mharc-grub-devel@gnu.org; Fri, 06 Jun 2008 18:03:40 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K4k26-0006g3-UG for grub-devel@gnu.org; Fri, 06 Jun 2008 18:03:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K4k24-0006f8-Du for grub-devel@gnu.org; Fri, 06 Jun 2008 18:03:36 -0400 Received: from [199.232.76.173] (port=46864 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K4k24-0006f2-4p for grub-devel@gnu.org; Fri, 06 Jun 2008 18:03:36 -0400 Received: from aybabtu.com ([69.60.117.155]:58845) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K4k23-0003fH-P8 for grub-devel@gnu.org; Fri, 06 Jun 2008 18:03:35 -0400 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1K4k0r-0006Gx-Cs; Sat, 07 Jun 2008 00:02:21 +0200 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1K4k1m-0006HF-Ek; Sat, 07 Jun 2008 00:03:18 +0200 Date: Sat, 7 Jun 2008 00:03:18 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20080606220318.GA24039@thorin> References: <20080531101042.GF6619@thorin> <20080531113901.GA20946@thorin> <20080603210925.GA10712@thorin> <20080606164300.GA14910@thorin> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Cc: "Yoshinori K. Okuji" Subject: Re: UUID-based boot (Re: [PATCH] Environment block support for grub2) X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jun 2008 22:03:39 -0000 On Sat, Jun 07, 2008 at 01:22:23AM +0800, Bean wrote: > On Sat, Jun 7, 2008 at 12:43 AM, Robert Millan wrote: > > 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. > > I take a quick look at your patch, the method should work, but i > remember okuji oppose embedding device name in prefix, don't know how > he look at it now. Do you remember why? (or where it was discussed) Anyway, CCing him. Okuji, please say something! :-) -- Robert Millan I know my rights; I want my phone call! What good is a phone call… if you are unable to speak? (as seen on /.)