From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JLeO8-0003Rt-EN for mharc-grub-devel@gnu.org; Sun, 03 Feb 2008 07:56:00 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JLeO5-0003OO-RK for grub-devel@gnu.org; Sun, 03 Feb 2008 07:55:57 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JLeO4-0003N8-Ru for grub-devel@gnu.org; Sun, 03 Feb 2008 07:55:57 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JLeO4-0003N1-OQ for grub-devel@gnu.org; Sun, 03 Feb 2008 07:55:56 -0500 Received: from aybabtu.com ([69.60.117.155]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JLeO4-0008Tu-DG for grub-devel@gnu.org; Sun, 03 Feb 2008 07:55:56 -0500 Received: from [192.168.10.6] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1JLeM4-0001sL-DA for grub-devel@gnu.org; Sun, 03 Feb 2008 13:53:52 +0100 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1JLcaN-0005Fu-70 for grub-devel@gnu.org; Sun, 03 Feb 2008 12:00:31 +0100 Date: Sun, 3 Feb 2008 12:00:31 +0100 From: Robert Millan To: The development of GRUB 2 Message-ID: <20080203110031.GB19947@thorin> References: <47A4E372.2050000@comcast.net> <20080202223923.GA5661@thorin> <47A538A3.50904@comcast.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <47A538A3.50904@comcast.net> 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: root seems to be incorrectly set after install 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, 03 Feb 2008 12:55:58 -0000 On Sat, Feb 02, 2008 at 10:44:35PM -0500, George Lengel wrote: > Robert Millan wrote: > > > > > >Sounds like grub_boot_drive not having the right info. It works when > >received > >via multiboot, but not from boot.img. > > > >Does the attached patch fix your problem? Just a guess ... > > > > Hello, > > Thanks for the try. It did not appear to make a difference, though I > cannot rule out I did not apply the patch and recompile correctly. I > hope I did though and everything I checked indicated I was using my > compiled version and not the original Debian package. You need to be sure. It's hard enough to try guessing what the problem may be, to make it even harder this way. > Is there something > I can check so we can be convinced I am using the patched version? Try: diff -ur grub2/kern/i386/pc/init.c tmp/kern/i386/pc/init.c --- grub2/kern/i386/pc/init.c 2008-01-23 12:25:52.000000000 +0100 +++ tmp/kern/i386/pc/init.c 2008-02-03 11:58:31.000000000 +0100 @@ -232,6 +232,8 @@ if (! grub_os_area_addr) grub_fatal ("no upper memory"); + + grub_printf ("%p\n", grub_boot_drive); } void this will also tell you the grub_boot_drive value (let us know). > What you said in the comments of the patch actually makes sense. I > remember many years ago I had an odd issue with OS/2 Boot Manager acting > strange. Eventually, the culprit seemed to be something buggy with my > BIOS and the way it booted drives. It has been a long time and I don't > remember the specific details, but I am sure there was something similar > to your idea. What version of GRUB Legacy did you install in that system? Did you modify GRUB Legacy when you installed it, or something like that? Does a recent GRUB Legacy install work on that board? -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.)