Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MHbM8-0005iX-3q for mharc-grub-devel@gnu.org; Fri, 19 Jun 2009 06:30:00 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MHbM5-0005iF-GI for grub-devel@gnu.org; Fri, 19 Jun 2009 06:29:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MHbLz-0005hN-OU for grub-devel@gnu.org; Fri, 19 Jun 2009 06:29:56 -0400 Received: from [199.232.76.173] (port=49530 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MHbLz-0005h9-A4 for grub-devel@gnu.org; Fri, 19 Jun 2009 06:29:51 -0400 Received: from aybabtu.com ([69.60.117.155]:58124) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MHbLy-0005h8-DN for grub-devel@gnu.org; Fri, 19 Jun 2009 06:29:50 -0400 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1MHaJE-00055t-J3 for grub-devel@gnu.org; Fri, 19 Jun 2009 11:22:59 +0200 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1MHbLn-00059Q-Eu for grub-devel@gnu.org; Fri, 19 Jun 2009 12:29:39 +0200 Date: Fri, 19 Jun 2009 12:29:39 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20090619102939.GA19777@thorin> References: <20090612204549.12859.42374.stgit@mj.roinet.com> 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.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) Subject: Re: [PATCH] Remove root drive support 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, 19 Jun 2009 10:29:57 -0000 On Tue, Jun 16, 2009 at 01:41:18AM +0200, Vladimir 'phcoder' Serbinenko wrote: > On Fri, Jun 12, 2009 at 10:45 PM, Pavel Roskin wrote: > > Root drive support is not actually used by the installer.  Root drive is > > superseded by grub_prefix with UUID, which is much more flexible, is > > already used by grub-setup for cross-drive installs and doesn't require > > a single byte in the boot sector. > I successfully tested this patch in qemu with both grub-mkrescue and > multiboot load grub2-by-grub2. As I see root drive was always set to > 0xFF and so this field is useless and as it's in size-critical part. > However reading grub-install revealed that cross-drive install would > fail if target filesystem has no UUIDs or if UUIDs are unsupported by > grub. Currently it includes following filesystems: > affs,afs,cpio/tar,hfs,jfs,minix,sfs, udf, ufs > As you can see it includes even important filesystems like ufs. Now > the question to discuss is whether we want to implement UUIDs for this > fileystems, let it be like it is or have a cross-drive install w/o > UUIDs. Even if we choose the last option I think root field still has > to be removed and we can just use non-UUID drive name for prefix Cross-drive installs are not that important; I removed support for them on non-UUID filesystems quite a while ago, and so far nobody has complained. In case a user with one of these filesystems wants to go cross-drive (which isn't really a good idea anyway), implementing UUID support wouldn't be too hard. -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."