[Bug 717321] New: Broken Grub boot menu - Wrong disk destination in menu.lst
https://bugzilla.novell.com/show_bug.cgi?id=717321 https://bugzilla.novell.com/show_bug.cgi?id=717321#c0 Summary: Broken Grub boot menu - Wrong disk destination in menu.lst Classification: openSUSE Product: openSUSE 12.1 Version: Milestone 5 Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Bootloader AssignedTo: jsrain@suse.com ReportedBy: terje@nordland-teknikk.no QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20100101 Firefox/6.0.2 On an Asus M4A89 GTD Pro/USB3 based machine with scsi and sata disks I had on beforehand properly installed and working in dualboot openSUSE Tumbleweed/Gnome x86_64 installed on /dev/sda1 openSUSE 11.4/Gnome x86_64 installed on /dev/sdc3 1. First I tried a 12.1 M5 Update installation from NET-DVD on the 11.4/sdc3 system disk. This resulted in a broken grub boot menu that didn't work and returned the following error message: Kernel (hd0,2)/boot/vmlinuz-3.0.0-4-desktop root=/dev/sdc3 .... Error 22: No such partition 2. Afterwards I also tried a 12.1 M5/Gnome3 New Installation, and got the same error. 3. Doing a Rescue logon and mounting /dev/sdc3, the first sections of the /boot/grub/menu.lst contained: ------------- # Modified by YaST2. Last modification on lø. sep. 10 18:01:39 CEST 2011 # THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader # Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader default 0 timeout 8 gfxmenu (hd2,2)/boot/message ###Don't change this comment - YaST2 identifier: Original name: linux### title Desktop -- openSUSE 12.1 Milestone 5 - 3.0.0-4 kernel (hd0,2)/boot/vmlinuz-3.0.0-4-desktop root=/dev/sdc3 resume=/dev/disk/by-id/scsi-200e09e0000baec4c-part1 splash=silent quiet showopts vga=0x31a initrd (hd0,2)/boot/initrd-3.0.0-4-desktop ----------- That is, while fxmenu points to the right disk (hd2,2), both the kernel line and initrd line have got wrong disk designation (hd0,2) and the same errors occure in the Failsafe section not showed here. This is a new bug in 12.1, as both 11.4 and Tumbleweed have worked correct. Reproducible: Always Steps to Reproduce: 1. Update and New Installation on /dev/sdc3 as described above 2. 3. Actual Results: Broken Grub boot menu, Error 22 Expected Results: Should install and create correct disk destination as openSUSE 11.4 and Tumbleweed did on the same machine. -- 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=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c1
Jiri Srain
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c2
Terje J. Hanssen
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c3
--- Comment #3 from Steffen Winterfeldt
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c
Steffen Winterfeldt
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c4
--- Comment #4 from Terje J. Hanssen
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c5
--- Comment #5 from Steffen Winterfeldt
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c6
--- Comment #6 from Terje J. Hanssen
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c7
Steffen Winterfeldt
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c8
Steffen Winterfeldt
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c9
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c10
Lukas Ocilka
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c11
--- Comment #11 from Jiří Suchomel
Also please adjust list <string> umount_these = ["/proc", "/sys", "/dev"]; in clients/umount_finish.ycp
Well, this one is the only clearly understandable place. But for others: bootloader_finish.ycp is part of yast2-bootloader, inst_prepdisk.ycp part of yast2-storage and inst_kickoff.ycp part of yast2-packager. Don't we really have a common place where that bind-mounting is done together? -- 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=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c12
--- Comment #12 from Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c13
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c14
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c15
--- Comment #15 from Steffen Winterfeldt
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c16
--- Comment #16 from Jiří Suchomel
Do you have a complete package?
https://build.opensuse.org/package/show?package=yast2-storage&project=home%3Ajsuchome and yast2-installation for unmounting: https://build.opensuse.org/package/show?package=yast2-installation&project=home%3Ajsuchome -- 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=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c17
Steffen Winterfeldt
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c19
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c20
--- Comment #20 from Steffen Winterfeldt
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c21
--- Comment #21 from Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c23
Arvin Schnell
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c24
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c25
Steffen Winterfeldt
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c26
--- Comment #26 from Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c27
--- Comment #27 from Steffen Winterfeldt
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c28
Steffen Winterfeldt
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c30
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c31
--- Comment #31 from Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c32
--- Comment #32 from Steffen Winterfeldt
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c33
--- Comment #33 from Uwe Gansert
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c35
Jiří Suchomel
We will probably need it in all cases where we mounted /dev, /proc etc.
The other places mentioned in comment 10 only mount /dev, not others parts. What do you, for example think about enhancing bootloader_finish.ycp, which is one of those mentioned? -- 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=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c36
Steffen Winterfeldt
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c37
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c38
--- Comment #38 from Lukas Ocilka
Shouldn't we have a common function for mounting/unmounting those directories?
See comment #10
IMO worth creating a simple library (or include file) and calling it from all the other places.
-- 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=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c39
Craig Rogers
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c40
--- Comment #40 from Terje J. Hanssen
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c41
--- Comment #41 from Steffen Winterfeldt
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c42
Gilles Sabourin
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c43
pier andre
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c44
Terje J. Hanssen
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c
Jiri Srain
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c45
Steffen Winterfeldt
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c46
Terje J. Hanssen
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c
Ihno Krumreich
participants (1)
-
bugzilla_noreply@novell.com