[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: root seems to be incorrectly set after install

From: Robert Millan
Subject: Re: root seems to be incorrectly set after install
Date: Sun, 3 Feb 2008 12:00:31 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

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?


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);


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

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call… if you are unable to speak?
(as seen on /.)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]