From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K4snN-00060L-6V for mharc-grub-devel@gnu.org; Sat, 07 Jun 2008 03:25:01 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K4snM-0005zq-Fa for grub-devel@gnu.org; Sat, 07 Jun 2008 03:25:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K4snL-0005zE-J4 for grub-devel@gnu.org; Sat, 07 Jun 2008 03:24:59 -0400 Received: from [199.232.76.173] (port=33437 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K4snL-0005z3-Ay for grub-devel@gnu.org; Sat, 07 Jun 2008 03:24:59 -0400 Received: from mx20.gnu.org ([199.232.41.8]:17958) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K4snK-00088D-Qx for grub-devel@gnu.org; Sat, 07 Jun 2008 03:24:58 -0400 Received: from mta-out.inet.fi ([195.156.147.13] helo=jenni2.rokki.sonera.fi) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K4snH-0006X9-BR for grub-devel@gnu.org; Sat, 07 Jun 2008 03:24:55 -0400 Received: from [127.0.0.1] (88.193.32.97) by jenni2.rokki.sonera.fi (8.5.014) id 483E832F007435CE for grub-devel@gnu.org; Sat, 7 Jun 2008 10:24:51 +0300 Message-ID: <484A37CB.3080307@nic.fi> Date: Sat, 07 Jun 2008 10:24:59 +0300 From: =?UTF-8?B?VmVzYSBKw6TDpHNrZWzDpGluZW4=?= User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: The development of GRUB 2 References: <20080531101042.GF6619@thorin> <20080531113901.GA20946@thorin> <20080603210925.GA10712@thorin> <20080606164300.GA14910@thorin> <20080606220318.GA24039@thorin> In-Reply-To: <20080606220318.GA24039@thorin> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 3) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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: Sat, 07 Jun 2008 07:25:00 -0000 Robert Millan wrote: > 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! :-) > I thinks its related to recovery for server platforms. Anyway... Should we start creating use cases to wiki in what failure situations grub can face and then we can see how it can perform those situations.