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



_______________________________________________
Bug-grub mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to