bug-grub
[Top][All Lists]
Advanced

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

Re: fixing the "grub loading stage1.5" hanging error


From: Mike Gualtieri
Subject: Re: fixing the "grub loading stage1.5" hanging error
Date: Tue, 30 Oct 2007 11:22:17 -0400

Thanks, I didn't realize it was that simple.

I just linked stage1 directly to stage2, however the machine still hangs.  Now on boot I only see the string "GRUB" with a flashing cursor after it.  The machine will only respond to a ctrl-alt-del to restart it.

I figured I'd try installing it again with the 1.5 files in place, but this of course returned it to the old error where it hangs at the biosdisk_int13_extensions line.

I'm not sure what it means when the machine hangs at a "GRUB_" prompt, but I'm guessing it can't locate stage2, for some reason.


Thanks,
Mike

--
On 10/30/07, adrian15 <address@hidden> wrote:
Michael L. Gualtieri wrote:
> Thanks, adrian15!  Your info was able to help me drill down farther to
> the error.
You're welcome.
>
> It looks like grub is hanging on this line of the source:
> file: stage2/bios.c
> line: err = biosdisk_int13_extensions ((read + 0x42) << 8, drive, &dap);
Ok.
>
> biosdisk_int13_extensions is an assembler function, so I'm not really
> sure how to figure out what line in the assembly it is hanging on.
I'm not sure too. I'll take a look at it perhaps at home.
>
> If anyone has any ideas on what is happening in this function, or how to
> possibly debug this further I'm all ears.
>
>
> adrian15,
> You mentioned that to work around this error I should link the stage1 to
> the stage2 directly.  I'm not exactly sure how to do this.  Do you have
> a link to where this is in the documentation?

Basically what you have to do is rename your stage1_5 file and then
installing grub as always with the root and setup command. stage1_5 will
not be found an stage1 will link directly to stage2.

How do you rename an stage1_5 file? Something so easy as this:

mv /boot/grub/e2fs_stage1_5 /boot/grub/REMOVED_e2fs_stage1_5

If you re-install grub with the grub-install command it copies again the
stage1_5 file from the /lib/grub folder so you need to rename also this
one. (Or do not use grub-install but root and setup commands directly.)

adrian15


_______________________________________________
Bug-grub mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-grub


reply via email to

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