[Bug 408733] New: Check the process for boot loader restoration
https://bugzilla.novell.com/show_bug.cgi?id=408733 User Markus.Elfring@web.de added comment https://bugzilla.novell.com/show_bug.cgi?id=408733#c357290 Summary: Check the process for boot loader restoration Product: openSUSE 11.0 Version: Final Platform: x86-64 OS/Version: openSUSE 11.0 Status: NEW Severity: Critical Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: Markus.Elfring@web.de QAContact: jsrain@novell.com Found By: --- I installed the current software "GParted 0.3.8" yesterday. http://packman.links2linux.de/package/gparted/66366 Today I have dared to resize my boot partition with this tool. Unfortunately, I have got the display "GRUB " after reboot. It seems that the boot loader does not like the adjusted disk layout. I wonder why it has got problems to find its configuration file "menu.lst" after the space adjustment. I booted from a DVD then. http://download.opensuse.org/distribution/11.0/iso/dvd/openSUSE-11.0-DVD-x86... 1. I have chosen to start an update. I was pointed to the rescue system as an alternative a step later which I chose. I have selected minimum options. It was reported that an error occurred during boot loader installation. (The message did not tell any more details!) 2. I have selected the option "Repair installed system" from the main boot menu where I have started the action "Restore GRUB" from the expert tools section. It was reported that the boot loader could not be installed because the root directory could not be found. (Do you support a "/" here that is contained in a LVM2 setup?) 3. I have chosen to perform a (complete) update. I was presented the same questionable error message as in 1. at the end after I went all through the hassle of long waiting for dependency and conflict resolution. I booted from another DVD. ftp://ftp.uni-kl.de/pub/linux/knoppix/DVD/KNOPPIX_V5.3.1DVD-2008-03-26-DE.iso root@Knoppix:~# e2fsck /dev/sda2 e2fsck 1.40.8 (13-Mar-2008) /dev/sda2: clean, 103/28224 files, 96561/112452 blocks root@Knoppix:~# mount /dev/sda2 /mnt/B root@Knoppix:~# e2fsck /mnt/B e2fsck 1.40.8 (13-Mar-2008) e2fsck: Is a directory while trying to open /mnt/B The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 <device> It seems that an other approach for a GRUB restore will be needed like it is described in the article "http://grub.enbug.org/grub-install" or the issue "'yast2 bootloader' module rewrites grub generic code when leaving with no changes, which may corrupt grub" (bug #357290). The protocol files became too big (> 10 MB) to append them for this bug report in an attachment. root@Knoppix:~# cd /mnt/H/elfring/Projekte/YaST/ && tar -cjf broken_GRUB.tbz /mnt/V/log/YaST2 && du -h broken_GRUB.tbz 31M broken_GRUB.tbz -- 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=408733
User Markus.Elfring@web.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=408733#c1
--- Comment #1 from Markus Elfring
https://bugzilla.novell.com/show_bug.cgi?id=408733
User Markus.Elfring@web.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=408733#c2
--- Comment #2 from Markus Elfring
https://bugzilla.novell.com/show_bug.cgi?id=408733
Robert Vojcik
https://bugzilla.novell.com/show_bug.cgi?id=408733
User juhliarik@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=408733#c3
Jozef Uhliarik
https://bugzilla.novell.com/show_bug.cgi?id=408733
User Markus.Elfring@web.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=408733#c4
Markus Elfring
https://bugzilla.novell.com/show_bug.cgi?id=408733
User Markus.Elfring@web.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=408733#c5
--- Comment #5 from Markus Elfring
Unfortunately, I have got the display "GRUB " after reboot. It seems that the boot loader does not like the adjusted disk layout.
I would like to add that an explanation for my observation can be found in the position handling: The GRUB MBR (being the GRand Unified Boot Loader's "stage1" Sector) A Disk Editor View and Comments on the Code (as seen in Memory during Execution) http://mirror.href.com/thestarman/asm/mbr/GRUB.htm I hope that it will become easier to move boot partitions. -- 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=408733
User juhliarik@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=408733#c6
Jozef Uhliarik
https://bugzilla.novell.com/show_bug.cgi?id=408733
User Markus.Elfring@web.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=408733#c7
Markus Elfring
https://bugzilla.novell.com/show_bug.cgi?id=408733
User juhliarik@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=408733#c8
Jozef Uhliarik
https://bugzilla.novell.com/show_bug.cgi?id=408733
User jreidinger@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=408733#c9
Josef Reidinger
https://bugzilla.novell.com/show_bug.cgi?id=408733
User Markus.Elfring@web.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=408733#c10
--- Comment #10 from Markus Elfring
https://bugzilla.novell.com/show_bug.cgi?id=408733
User jreidinger@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=408733#c11
--- Comment #11 from Josef Reidinger
https://bugzilla.novell.com/show_bug.cgi?id=408733
User mvidner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=408733#c12
Martin Vidner
https://bugzilla.novell.com/show_bug.cgi?id=408733
User Markus.Elfring@web.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=408733#c13
--- Comment #13 from Markus Elfring
https://bugzilla.novell.com/show_bug.cgi?id=408733
User juhliarik@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=408733#c14
Jozef Uhliarik
https://bugzilla.novell.com/show_bug.cgi?id=408733
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=408733#c15
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=408733
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=408733
User Markus.Elfring@web.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=408733#c16
Markus Elfring
https://bugzilla.novell.com/show_bug.cgi?id=408733
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=408733#c17
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=408733
User Markus.Elfring@web.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=408733#c18
Markus Elfring
https://bugzilla.novell.com/show_bug.cgi?id=408733
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=408733#c19
Jiří Suchomel
The "second attempt" was only possible after I activated my LVM configuration manually.
I know.
When will this step be performed automatically?
After the fix of bug 402654.
Are you also looking for directories besides "usr"? Which mount points should be available for the repair?
Currently, repair mounts only / and that seems to be problem, because the libraries are located under /usr, that's probably why the bootloader repair failed. I'm asking you for a test so we can confirm this theory. -- 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=408733
User Markus.Elfring@web.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=408733#c20
Markus Elfring
https://bugzilla.novell.com/show_bug.cgi?id=408733
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=408733#c21
Jiří Suchomel
The following command worked in the console after the root partition could not be found by the repair system from the DVD. / #> ll /usr/lib* [Usual directory listing ...]
Hm, the question is if this is the same /usr as the one on your LVM partition. Try this: boot repair dvd, start LVM manualy, just like youv've done before, let YaST mount /dev/system/root and see (on console) where is it mounted. I assume it will be /mnt. Than mount your /dev/system/usr to /mnt/usr.
Would you like to reproduce my error situation in your own test environment?
Well, I'm not sure if I have time for building such environment. -- 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=408733
User Markus.Elfring@web.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=408733#c22
Markus Elfring
https://bugzilla.novell.com/show_bug.cgi?id=408733
User Markus.Elfring@web.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=408733#c23
--- Comment #23 from Markus Elfring
https://bugzilla.novell.com/show_bug.cgi?id=408733
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=408733#c24
Jiří Suchomel
I do not want to make assumptions about the involved mount points. I imagine that additional mounts would not be needed to replace the working GRUB setup by the openSUSE version on my boot partition.
I do not ask you to make any assumptions. Try to do exactly what you did before, after the bootloader configuration screen is opened, switch to console and tell me what does the 'mount' command says. -- 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=408733
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=408733#c25
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=408733
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=408733#c26
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=408733
User Markus.Elfring@web.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=408733#c27
--- Comment #27 from Markus Elfring
https://bugzilla.novell.com/show_bug.cgi?id=408733
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=408733#c28
--- Comment #28 from Jiří Suchomel
Why are additional mounts needed?
I think mounting is correct. See comments 25 and 26 -- 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=408733
User Markus.Elfring@web.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=408733#c29
--- Comment #29 from Markus Elfring
https://bugzilla.novell.com/show_bug.cgi?id=408733
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=408733#c30
--- Comment #30 from Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=408733
User Markus.Elfring@web.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=408733#c31
--- Comment #31 from Markus Elfring
https://bugzilla.novell.com/show_bug.cgi?id=408733
Jozef Uhliarik
https://bugzilla.novell.com/show_bug.cgi?id=408733
Jozef Uhliarik
https://bugzilla.novell.com/show_bug.cgi?id=408733
User Markus.Elfring@web.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=408733#c32
--- Comment #32 from Markus Elfring
https://bugzilla.novell.com/show_bug.cgi?id=408733
User Markus.Elfring@web.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=408733#c33
--- Comment #33 from Markus Elfring
https://bugzilla.novell.com/show_bug.cgi?id=408733
User juhliarik@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=408733#c34
Jozef Uhliarik
https://bugzilla.novell.com/show_bug.cgi?id=408733
User Markus.Elfring@web.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=408733#c35
Markus Elfring
Markus, do you have still problem with restoring bootloader in Repiar mode?
I do not know because my issue with the boot menu was repaired somehow by the usual update to 11.1 from the installation DVD.
Your comment #33 is iteresting but for different problem could be different bug report ;-)
I used the "splashimage" setting for the display of an eye-candy background image as a workaround. Now I like the display of the winter from the penguin theme. I guess that a separate report for a potentially unsupported key word in the configuration might not be appropriate for my current situation. -- 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=408733
User Markus.Elfring@web.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=408733#c36
--- Comment #36 from Markus Elfring
Please verify if you have still problem with restore bootloader in 11.1
Would you like to try the repair mode again after the beginning of the boot partition was moved on one of your test systems? -- 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=408733
User juhliarik@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=408733#c37
--- Comment #37 from Jozef Uhliarik
https://bugzilla.novell.com/show_bug.cgi?id=408733
User Markus.Elfring@web.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=408733#c38
--- Comment #38 from Markus Elfring
participants (1)
-
bugzilla_noreply@novell.com