[Bug 613720] Re: GRUB2 hangs on boot
Marcus Tomlinson
marcus.tomlinson at canonical.com
Thu Mar 5 12:41:59 UTC 2020
This release of Ubuntu is no longer receiving maintenance updates. If
this is still an issue on a maintained version of Ubuntu please let us
know.
** Changed in: grub2 (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/613720
Title:
GRUB2 hangs on boot
Status in grub2 package in Ubuntu:
Incomplete
Bug description:
Binary package hint: grub
I just installed Ubuntu Lucid Lynx. At first grub would just hang on
boot, so I decided to do some investigation. With the help of someone
in #grub on irc.freenode.net, I got into a grub console, set the
debug=all flag and was able to track my problem down to the fact that
grub hangs while trying to probe my device drives.
I would boot into the grub console, and type in root (hd0, and then
hit tab for automatic tab completion. Grub would correctly identify
(hd0,1) as ext2 and (hd0,2) as swap. However, on (hd0,5) (which should
be ext2), grub hung.
In the debug trace, the last line had something to do with the zfs module
/build/buildd/grub-1.98/zfs/zfs.c:2001: label 1 ok
/build/buildd/grub-1.98/zfs/zfs.c:2006: No uberblock found
So, with the guidance of #grub, I renamed the zfs.mod and zfsinfo.mod
in the /boot/grub directory to zfs.mod-bak and zfsinfo.mod-bak,
respectively. Once again I rebooted into the shell and tried the tab
completion, with the debug trace on. This time grub correctly reported
(hd0,5) as ext2, but failed on (hd0,2), giving the error file not
found. However, that error did not hang the system. Instead, grub hung
this time with something to do with the partition table on (hd0,3)
(which is an extended partition). I'm attaching a screenshot of the
problem, this time.
I'm not sure whether it's a bug in grub or a bug in ubuntu, since
ubuntu uses a modified grub version (vanilla grub doesn't support zfs,
afaik)
I'll provide any needed info and am willing to do hacking on grub to
get this fixed. I have a good amount of experience in OS development.
Once again
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/613720/+subscriptions
More information about the foundations-bugs
mailing list