[Bug 331685] New: grub won't boot after upgrade + various
https://bugzilla.novell.com/show_bug.cgi?id=331685 Summary: grub won't boot after upgrade + various Product: openSUSE 10.3 Version: Final Platform: i586 OS/Version: openSUSE 10.3 Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: kq8z67r6309fo9001@sneakemail.com QAContact: qa@suse.de Found By: --- Created an attachment (id=176693) --> (https://bugzilla.novell.com/attachment.cgi?id=176693) yast-generated menu.lst I upgraded a machine from 10.2 to 10.3. After installing the packages and rebooting, I'm left with a grub shell (no menu, graphical or otherwise). Tried so far: root (hd0,4) works a subsequent "kernel" command causes the machine to immediately reboot Booting into the rescue system with the DVD and then running grub, then root (hd0,4) setup (hd0) appears to work, but still just boots to a grub shell. The above fix was necessary on two other systems upgraded from 10.2 to 10.3, but obviously doesn't work here. Attempting to boot into a repair install from the CD just gives a yast curses screen saying something like "An error occured during installation". Attempting to start a normal install and then selecting "repair install" as the installation type reboots the system. The system was previously running 10.2 without incident for some time. There is presently no way to boot the system. I will attach "hwinfo all" output and menu.lst. Differences between this system and the other two mentioned above: * newer hardware * no boot partition * root is on a logical partition * root is xfs * disk is large (but BIOS supports LBA48, or claims to) * kubuntu is also installed (bootloader never installed, though) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=331685#c1 --- Comment #1 from Henryk Hecht <kq8z67r6309fo9001@sneakemail.com> 2007-10-07 18:45:15 MST --- Created an attachment (id=176695) --> (https://bugzilla.novell.com/attachment.cgi?id=176695) hwinfo all output -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=331685#c2 Martin Mrazik <mmrazik@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mmrazik@novell.com Status|NEW |NEEDINFO Info Provider| |kq8z67r6309fo9001@sneakemail.com --- Comment #2 from Martin Mrazik <mmrazik@novell.com> 2007-10-23 04:06:06 MST --- Could you please try if commenting out the gfxmenu option will help? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=331685#c3 --- Comment #3 from Henryk Hecht <kq8z67r6309fo9001@sneakemail.com> 2007-11-01 00:54:47 MST --- Didn't help. Running grub setup (or install), the grub-install script, yast bootloader, reinstalling the grub package, much tinkering with menu.lst, and many other things didn't help. What finally did work was: cp /usr/lib/grub/stage2 /boot/grub Which makes sense when you look at the symptoms (it can read the filesystem, but can't load the menu or the kernel), but it's usually easier in hindsight. Don't know if you want to close this bug or not-my problem is fixed, but the actual bug is that the stage2 wasn't copied to /boot/grub properly on upgrade-I'm not sure at this point if it was corrupted or if the 10.2 stage2 was just left in place. Either way, the result was rather difficult to fix. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=331685#c4 --- Comment #4 from Martin Mrazik <mmrazik@novell.com> 2007-11-01 03:00:45 MST --- Could you please attach YaST2 logs? It might be a yast-bootloader problem. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=331685#c5 --- Comment #5 from Martin Mrazik <mmrazik@novell.com> 2007-11-01 03:01:09 MST --- (In reply to comment #4 from Martin Mrazik)
Could you please attach YaST2 logs? It might be a yast-bootloader problem. If in doubt follow: http://en.opensuse.org/Bugs/YaST
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=331685#c6 Henryk Hecht <kq8z67r6309fo9001@sneakemail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|kq8z67r6309fo9001@sneakemail.com | --- Comment #6 from Henryk Hecht <kq8z67r6309fo9001@sneakemail.com> 2007-11-01 20:08:08 MST --- Created an attachment (id=181743) --> (https://bugzilla.novell.com/attachment.cgi?id=181743) /var/log/YaST2 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=331685 Martin Mrazik <mmrazik@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |dfiser@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=331685 Martin Mrazik <mmrazik@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |jsrain@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=331685 Jiri Srain <jsrain@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|jsrain@novell.com |juhliarik@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=331685 User jsrain@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=331685#c8 Jiri Srain <jsrain@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jsrain@novell.com Status|NEW |NEEDINFO Component|Basesystem |Booting Info Provider| |kq8z67r6309fo9001@sneakemail.com --- Comment #8 from Jiri Srain <jsrain@novell.com> 2008-05-21 03:00:46 MST --- Was there any error report on update? Could you, please, attach the logs from update (if still possible)? Perhaps it would explain the error of copying GRUB's stage2... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=331685 User kq8z67r6309fo9001@sneakemail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=331685#c9 Henryk Hecht <kq8z67r6309fo9001@sneakemail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|kq8z67r6309fo9001@sneakemail.com | --- Comment #9 from Henryk Hecht <kq8z67r6309fo9001@sneakemail.com> 2008-05-21 14:36:31 MST --- My recollection is that there was no error message (at least not a GUI-visible one) during the installation. As this was seven months ago, I can't be completely sure about that. Comment #6 above has a tarball of all of /var/log/YaST2 from the system in question. If there is something missing from the tarball, I can make another, assuming the logs haven't rotated off or anything. I can also supply the stage2 that was in place after installation if necessary, though deriving useful information from such a file is bound to be tedious or impossible. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=331685 User jsrain@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=331685#c10 Jiri Srain <jsrain@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |kq8z67r6309fo9001@sneakemail.com --- Comment #10 from Jiri Srain <jsrain@novell.com> 2008-05-28 06:18:53 MDT --- Looking at the logs, there seems to have been an error, see y2log_bootlaoder: grub> setup --stage2=/boot/grub/stage2 (hd0) (hd0,4) Error 21: Selected disk does not exist grub> quit The only explanation I found is following: This error is returned if the device part of a device- or full file name refers to a disk or BIOS device that is not present or not recognized by the BIOS in the system. My guess is that it is related to the fact that you rely on LBA48 (you can never relay on everything that BIOS claims). Also, as the only solution I can suggest to have a separate /boot partition somewhere at the beginning of the disk. Also note that you use XFS filesystem, which is not recommended for holding the /boot stuff. I'm afraid that the problem is really in BIOS, and thus we cannot do anything about this issue - unless you find out what to do to make the system boot properly again on your own. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=331685 User kq8z67r6309fo9001@sneakemail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=331685#c11 --- Comment #11 from Henryk Hecht <kq8z67r6309fo9001@sneakemail.com> 2008-05-28 13:34:41 MDT --- The system boots fine, and has since the time of comment #2. As noted there, all that was required was to copy /usr/lib/grub/stage2 to /boot/grub. There is no problem with the BIOS, nor with using XFS to store /boot (which seems to worked fine on the versions of suse that shipped with XFS support). I do not think LBA48, BIOS, or filesystem types have anything directly to do with the wrong stage2 image being present in /boot/grub, as the latter is presumably a matter of cp(1). The above error is probably caused by an incorrect device.map, which is something I've seen several times with 10.3. Moreover, the error mentioned in comment #10 cannot be responsible for the situation either, as by the time the setup command is run the correct stage2 should already be in place. I tried unsuccessfully to find out where the stage2 that was in /boot/grub after installation came from: it clearly isn't the 10.3 release one, nor is it the 10.2 release or update. It might be a corrupted copy, but it is unclear how to determine if that is the case without disassembly. There have been no filesystem corruption issues on the machine prior or subsequently, however, and it is clean in the SMART sense. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=331685 User juhliarik@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=331685#c12 Jozef Uhliarik <juhliarik@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|juhliarik@novell.com |duwe@novell.com Status|NEEDINFO |NEW Info Provider|kq8z67r6309fo9001@sneakemail.com | --- Comment #12 from Jozef Uhliarik <juhliarik@novell.com> 2008-06-12 07:02:36 MDT --- If there was missing file stage2 it is GRUB problem. reassing the bug to Torsten -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=331685 User duwe@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=331685#c13 Torsten Duwe <duwe@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #13 from Torsten Duwe <duwe@novell.com> 2008-07-01 08:46:31 MDT --- *** This bug has been marked as a duplicate of bug 223773 *** https://bugzilla.novell.com/show_bug.cgi?id=223773 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com