From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JLg7u-0000Qi-Nb for mharc-grub-devel@gnu.org; Sun, 03 Feb 2008 09:47:22 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JLg7t-0000OT-8m for grub-devel@gnu.org; Sun, 03 Feb 2008 09:47:21 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JLg7r-0000Ky-P6 for grub-devel@gnu.org; Sun, 03 Feb 2008 09:47:20 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JLg7r-0000Kk-Kl for grub-devel@gnu.org; Sun, 03 Feb 2008 09:47:19 -0500 Received: from qmta07.westchester.pa.mail.comcast.net ([76.96.62.64]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JLg7r-0001pX-C4 for grub-devel@gnu.org; Sun, 03 Feb 2008 09:47:19 -0500 Received: from OMTA07.westchester.pa.mail.comcast.net ([76.96.62.59]) by QMTA07.westchester.pa.mail.comcast.net with comcast id l0PD1Y0021GhbT85707n00; Sun, 03 Feb 2008 14:47:14 +0000 Received: from [192.168.15.203] ([68.61.16.43]) by OMTA07.westchester.pa.mail.comcast.net with comcast id l2nJ1Y0010vkq983T00000; Sun, 03 Feb 2008 14:47:18 +0000 X-Authority-Analysis: v=1.0 c=1 a=UhUrQsxbYUUA:10 a=FooXZ1lzPTFYEPlbLwQA:9 a=y67eUtKY9GnDjMlSgAMA:7 a=JcRasa_ITIMSc06gBJC5JLWC8hwA:4 a=Dqp-bWOt5EsA:10 Message-ID: <47A5D3F5.8030009@comcast.net> Date: Sun, 03 Feb 2008 09:47:17 -0500 From: George Lengel User-Agent: Mozilla-Thunderbird 2.0.0.6 (X11/20071009) MIME-Version: 1.0 To: The development of GRUB 2 References: <47A4E372.2050000@comcast.net> <20080202223923.GA5661@thorin> <47A538A3.50904@comcast.net> <20080203110031.GB19947@thorin> In-Reply-To: <20080203110031.GB19947@thorin> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 14:47:21 -0000 Robert Millan wrote: > 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). > Dear Robert, I now get a 0x80 at the top of the screen just before the rescue mode line. This indicates I am using my compiled version and also confirms your suspicion about the BIOS, right? > > What version of GRUB Legacy did you install in that system? Did you modify > GRUB Legacy when you installed it, or something like that? > I use Grub legacy from Debian which is 0.97. It has worked for years and years without any problem and I never did anything past a simple apt-get and accept the defaults when configuring it.