All of lore.kernel.org
 help / color / mirror / Atom feed
From: George Lengel <lengel1@comcast.net>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: root seems to be incorrectly set after install
Date: Sun, 03 Feb 2008 09:47:17 -0500	[thread overview]
Message-ID: <47A5D3F5.8030009@comcast.net> (raw)
In-Reply-To: <20080203110031.GB19947@thorin>

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.






  reply	other threads:[~2008-02-03 14:47 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-02 21:41 root seems to be incorrectly set after install George Lengel
2008-02-02 22:39 ` Robert Millan
2008-02-03  3:44   ` George Lengel
2008-02-03 11:00     ` Robert Millan
2008-02-03 14:47       ` George Lengel [this message]
2008-02-03 15:18         ` Robert Millan
2008-02-03 16:53           ` Yoshinori K. Okuji
2008-02-03 21:55             ` Yoshinori K. Okuji
2008-02-09  4:15               ` root seems to be incorrectly set after install (patch works) George Lengel
2008-02-09 10:26                 ` screen corruption Robert Millan
2008-02-09 19:33                   ` George Lengel
2008-02-09 20:26                     ` Vesa Jääskeläinen
2008-02-09 23:27                       ` George Lengel
2008-02-09 22:10                     ` Robert Millan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47A5D3F5.8030009@comcast.net \
    --to=lengel1@comcast.net \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.