From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KKE1p-0006oE-9L for mharc-grub-devel@gnu.org; Sat, 19 Jul 2008 11:07:21 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KKE1n-0006o9-P5 for grub-devel@gnu.org; Sat, 19 Jul 2008 11:07:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KKE1n-0006nx-Ch for grub-devel@gnu.org; Sat, 19 Jul 2008 11:07:19 -0400 Received: from [199.232.76.173] (port=33610 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KKE1n-0006nq-5u for grub-devel@gnu.org; Sat, 19 Jul 2008 11:07:19 -0400 Received: from aybabtu.com ([69.60.117.155]:32930) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KKE1m-0005Sn-NO for grub-devel@gnu.org; Sat, 19 Jul 2008 11:07:18 -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.69) (envelope-from ) id 1KKDwE-00040x-HV for grub-devel@gnu.org; Sat, 19 Jul 2008 17:01:34 +0200 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1KKE0v-0006gn-03 for grub-devel@gnu.org; Sat, 19 Jul 2008 17:06:25 +0200 Date: Sat, 19 Jul 2008 17:06:24 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20080719150624.GD23778@thorin> References: <1216040584.9995.52.camel@dv> <200807160115.07363.okuji@enbug.org> <1216164117.9604.8.camel@dv> <200807160132.18470.okuji@enbug.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200807160132.18470.okuji@enbug.org> 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. Subject: Re: Next release? 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, 19 Jul 2008 15:07:20 -0000 On Wed, Jul 16, 2008 at 01:32:18AM +0200, Yoshinori K. Okuji wrote: > On Wednesday 16 July 2008 01:21:57 Pavel Roskin wrote: > > On Wed, 2008-07-16 at 01:15 +0200, Yoshinori K. Okuji wrote: > > > OK. Then how do you install GRUB into (hd1) in a development machine, > > > which is (hd0) in a booting machine? When GRUB may not correctly > > > determine BIOS drives, do you want to just give up? > > > > The boot drive can be determined at boot. > > > > Granted, there are buggy BIOSes, but we handle it already. All we need > > is to encode into the bootloader that it was installed on a hard drive > > (actually, not on a floppy, real or emulated), and the bootloader would > > use 0x80 rather than the value from BIOS. > > > > We don't need specific drive numbers like 0x81. We need one bit of > > information, and we can figure it out at the install time. > > If a boot drive is the same as a root drive, you are right. Otherwise we need > to do so. > > I think we have seen tons of examples with GRUB Legacy which may not be solved > automatically in all cases. If one digs into the archive of bug-grub, I guess > several cases would be found easily. With GRUB 2, we can avoid embedding BIOS > drive numbers in many cases, using UUIDs or labels or files. But this does > not always work, so I am afraid that we need to support device.map, even if > it is an evil necessity. Which cases are there that can't be fixed by using UUIDs? -- 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 /.)