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: adrian15
Subject: Re: fixing the "grub loading stage1.5" hanging error
Date: Sun, 28 Oct 2007 17:26:12 +0100
User-agent: IceDove 1.5.0.10 (X11/20070329)

Michael L. Gualtieri escribió:
Hi all,

I'm curious if anyone has a fix, workaround, or advice for the "grub loading stage1.5" hanging error. This occurs sometimes on fresh grub-installs, where grub never loads, and instead hangs on this text with no error message:

GRUB loading stage 1.5
GRUB loading, please wait...

A workaround solution is to delete or rename the stage1_5 file and make link the stage1 to the stage2 directly by running root and setup commands again.

I have done some debugging of the grub source to find out where the freeze happens. I traced it to this line:

file: stage2/disk_io.c
fuction: int grub_open (char *filename)
line: if (!errnum && (*(fsys_table[fsys_type].dir_func)) (filename))

In particular it hangs at this part of the if statement:
(*(fsys_table[fsys_type].dir_func)) (filename)

This code, if you are trying to read a file from an ext2 or ext3 filesystem it runs:

int
ext2fs_dir (char *dirname)

from the stage2/fsys_ext2fs.c file.

You might try to find the hang there.


adrian15





reply via email to

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