Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NNvL3-0001GA-3f for mharc-grub-devel@gnu.org; Thu, 24 Dec 2009 16:35:17 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NNvL0-0001Ev-Qp for grub-devel@gnu.org; Thu, 24 Dec 2009 16:35:14 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NNvKv-0001B1-9T for grub-devel@gnu.org; Thu, 24 Dec 2009 16:35:13 -0500 Received: from [199.232.76.173] (port=43603 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NNvKv-0001Au-5X for grub-devel@gnu.org; Thu, 24 Dec 2009 16:35:09 -0500 Received: from xvm-190-8.ghst.net ([217.70.190.8]:59449 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 1NNvKu-0003WL-E6 for grub-devel@gnu.org; Thu, 24 Dec 2009 16:35:09 -0500 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1NNvKt-0008UQ-2m for grub-devel@gnu.org; Thu, 24 Dec 2009 22:35:07 +0100 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1NNvKr-0003HL-Ts for grub-devel@gnu.org; Thu, 24 Dec 2009 22:35:05 +0100 Date: Thu, 24 Dec 2009 22:35:05 +0100 From: Robert Millan To: The development of GNU GRUB Message-ID: <20091224213505.GM12122@thorin> References: <4B26CA20.9090005@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B26CA20.9090005@gmail.com> 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: Understanding GRUB details X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Dec 2009 21:35:15 -0000 On Mon, Dec 14, 2009 at 05:28:32PM -0600, Bruce Dubbs wrote: > into memory. The memory location is an absolute physical address of > 0x07C000, which is one 512-byte sector below the 1st 32K memory > boundary. I think, but cannot confirm, that this memory location is for > historical reasons only. Yes. > The BIOS passes the disk drive being booted via the DL register. This > value would normally be 0x80 for the first hard drive and is equivalent > to GRUB's (hd0), but grub-setup may over-ride it and set it to 0x80. This sounds wrong. I think it could be doing this, but only in desperate situations (e.g. %dl was obviously wrong). The basic problem is that we can't predict BIOS disk order reliably. This is a recurrent issue throurough different parts of GRUB. -- Robert Millan "Be the change you want to see in the world" -- Gandhi