From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MXjUQ-0008HV-B8 for mharc-grub-devel@gnu.org; Sun, 02 Aug 2009 18:25:14 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXjUP-0008HL-7U for grub-devel@gnu.org; Sun, 02 Aug 2009 18:25:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXjUK-0008GN-Lh for grub-devel@gnu.org; Sun, 02 Aug 2009 18:25:12 -0400 Received: from [199.232.76.173] (port=54673 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXjUK-0008GK-IB for grub-devel@gnu.org; Sun, 02 Aug 2009 18:25:08 -0400 Received: from xvm-190-8.ghst.net ([217.70.190.8]:39116 helo=aybabtu.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MXjUJ-0004mu-Sx for grub-devel@gnu.org; Sun, 02 Aug 2009 18:25:08 -0400 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1MXjUH-0003df-QM for grub-devel@gnu.org; Mon, 03 Aug 2009 00:25:06 +0200 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1MXjUH-00054N-6P for grub-devel@gnu.org; Mon, 03 Aug 2009 00:25:05 +0200 Date: Mon, 3 Aug 2009 00:25:05 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20090802222505.GI15139@thorin> References: <20090802220236.GG15139@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.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: [PATCH] nested partitions 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: Sun, 02 Aug 2009 22:25:13 -0000 On Mon, Aug 03, 2009 at 12:09:32AM +0200, Vladimir 'phcoder' Serbinenko wrote: > >> +      grub_device_close (dev); > > > > I don't think we should allow chainload at all in partitions other than msdos > > ones.  There's no existing use of this for other labels "in the wild", and we > > shouldn't encourage it to appear IMO. > Actually it's something which happens with GPT. Suppose you have an OS > on your GPT which has no multiboot support. In this case you use > gptsync to create a fake msdos partition map and boot your OS. So gpt could be the other exception because it is backward compatible with msdos labels (to some extent). But please let's not make a general rule out of this. The chainloader is an implementation of the DOS MBR<->PBR boot protocol, which has been mimicked by others but is still only available on msdos labels. If someone tries it on another partition label type, she should see an error. Btw, does this bugfix depend on the rest of nested partition changes? -- 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."