[Bug 548993] New: Grub doesn't detect other multiboot linux installations correctly
http://bugzilla.novell.com/show_bug.cgi?id=548993 Summary: Grub doesn't detect other multiboot linux installations correctly Classification: openSUSE Product: openSUSE 11.2 Version: RC 1 Platform: Other OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: lnozot@comtech360.com QAContact: jsrain@novell.com Found By: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.14) Gecko/2009082707 Firefox/3.0.14 (.NET CLR 3.5.30729) In the several times I have installed 11.2 from probably M4 - RC1 I find that the installation does not properly treat the other OS installations correctly on my system. My two Windows installations are treated correctly but the two other linux openSuSE 11.1 installations do not get treated correctly. Incorrect info is put into grub and they do not boot. Reproducible: Always Steps to Reproduce: 1. 2. 3. The treatment of the original grub menu is ignored and a new boot loader is installed on the new partition. It would be nicer to add the new install to the existing menu.lst instead of starting over. The stanzas for the other linux kernels are not properly detected and a chainloader is referenced. The other installation is referenced by calling the configmenu which the other partition also has but is not used. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=548993
zhu rensheng
http://bugzilla.novell.com/show_bug.cgi?id=548993
User loigu@volny.cz added comment
http://bugzilla.novell.com/show_bug.cgi?id=548993#c1
Jiri Zouhar
http://bugzilla.novell.com/show_bug.cgi?id=548993
User loigu@volny.cz added comment
http://bugzilla.novell.com/show_bug.cgi?id=548993#c2
--- Comment #2 from Jiri Zouhar
http://bugzilla.novell.com/show_bug.cgi?id=548993
User cyberorg@opensuse.org added comment
http://bugzilla.novell.com/show_bug.cgi?id=548993#c3
Jigish Gohil
http://bugzilla.novell.com/show_bug.cgi?id=548993
User cyberorg@opensuse.org added comment
http://bugzilla.novell.com/show_bug.cgi?id=548993#c4
--- Comment #4 from Jigish Gohil
http://bugzilla.novell.com/show_bug.cgi?id=548993
User loigu@volny.cz added comment
http://bugzilla.novell.com/show_bug.cgi?id=548993#c5
--- Comment #5 from Jiri Zouhar
Could it be because ubuntu now uses grub2?
At least in my case no. It's grub 1.xx, the ubuntu is ooold 8.04, fedora is 11. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=548993
User andrea@opensuse.org added comment
http://bugzilla.novell.com/show_bug.cgi?id=548993#c6
andrea florio
http://bugzilla.novell.com/show_bug.cgi?id=548993
User lnozot@comtech360.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=548993#c7
--- Comment #7 from Loren Nozot
The treatment of the original grub menu is ignored and a new boot loader is installed on the new partition. It would be nicer to add the new install to the existing menu.lst instead of starting over.
The stanzas for the other linux kernels are not properly detected and a chainloader is referenced. The other installation is referenced by calling the configmenu which the other partition also has but is not used.
I just installed RC2 fresh and am providing detail to the error. The menu.lst content is below. There are two different treatments for the two 11.1 installations. I have never known chainloader to work for a linux boot partition. Sda7 was the bootloader before this install. The configfile directive would be preferred if not properly detecting kernels on the partition which is what happened with Sda8. ---- # Modified by YaST2. Last modification on Sun Nov 1 11:09:39 MST 2009 # THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader # Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader default 0 timeout 8 ##YaST - generic_mbr gfxmenu (hd0,5)/boot/message ##YaST - activate ###Don't change this comment - YaST2 identifier: Original name: linux### title Desktop -- openSUSE 11.2 - 2.6.31.5-0.1 root (hd0,5) kernel /boot/vmlinuz-2.6.31.5-0.1-desktop root=/dev/disk/by-id/ata-WDC_WD5000AAKS-00YGA0_WD-WCAS84116823-part6 resume=/dev/disk/by-id/ata-WDC_WD5000AAKS-00YGA0_WD-WCAS84116823-part5 splash=silent quiet showopts vga=0x375 initrd /boot/initrd-2.6.31.5-0.1-desktop ###Don't change this comment - YaST2 identifier: Original name: failsafe### title Failsafe -- openSUSE 11.2 - 2.6.31.5-0.1 root (hd0,5) kernel /boot/vmlinuz-2.6.31.5-0.1-desktop root=/dev/disk/by-id/ata-WDC_WD5000AAKS-00YGA0_WD-WCAS84116823-part6 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x375 initrd /boot/initrd-2.6.31.5-0.1-desktop ###Don't change this comment - YaST2 identifier: Original name: openSUSE 11.1 - 2.6.27.29-0.1 (default) (/dev/sda7)### title openSUSE 11.1 - 2.6.27.29-0.1 (default) (/dev/sda7) rootnoverify (hd0,6) chainloader +1 ###Don't change this comment - YaST2 identifier: Original name: openSUSE 11.1 - 2.6.27.21-0.1 (/dev/sda8)### title openSUSE 11.1 - 2.6.27.21-0.1 (/dev/sda8) root (hd0,7) configfile /boot/grub/menu.lst ###Don't change this comment - YaST2 identifier: Original name: windows 1### title windows 1 rootnoverify (hd0,0) chainloader +1 ###Don't change this comment - YaST2 identifier: Original name: windows 2### title windows 2 rootnoverify (hd0,1) chainloader +1 ###Don't change this comment - YaST2 identifier: Original name: Linux other### title Linux other rootnoverify (hd1,0) chainloader +1 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=548993
User contezero@technet.it added comment
http://bugzilla.novell.com/show_bug.cgi?id=548993#c8
Michele Cherici
http://bugzilla.novell.com/show_bug.cgi?id=548993
User jux@4950.net added comment
http://bugzilla.novell.com/show_bug.cgi?id=548993#c9
Jürgen Mathwich
http://bugzilla.novell.com/show_bug.cgi?id=548993
User richard.bos@xs4all.nl added comment
http://bugzilla.novell.com/show_bug.cgi?id=548993#c10
Richard Bos
http://bugzilla.novell.com/show_bug.cgi?id=548993
User aj@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=548993#c11
Andreas Jaeger
http://bugzilla.novell.com/show_bug.cgi?id=548993
User sven.burmeister@gmx.net added comment
http://bugzilla.novell.com/show_bug.cgi?id=548993#c12
--- Comment #12 from Sven Burmeister
From the "Early adopters bloodied by Ubuntu's Karmic Koala" thread on the opensuse mailinglist:
Clayton added some info on how to reproduce yet is not able to provide any logs until next week. "Reproducing is dead easy... I just install Ubuntu or RedHat or whatever Linux distro, and then install 11.2RC2 in a second partition (all partitions already exist). Thsi si not limited to just my netbook... my main desktop/server has the same basic config... a couple 15GB partitions for root of each installed Linux, a common swap partition, and a common home partition. Also note that this is not unique to my setup.. many other people have noticed the same behavior when they have more than one Linux distro installed before installing 11.2RC2. This is all assuming 11.2RC2 is the last distro installed during an install session and that the end user wants to use the openSUSE Grub. If you install 11.2 and then Ubuntu (or RedHat, Mandriva or whatever), you will get a full, correctly configured Grub menu supplied by the Ubuntu installer (or by whatever distro you installed)." -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=548993
User sven.burmeister@gmx.net added comment
http://bugzilla.novell.com/show_bug.cgi?id=548993#c13
--- Comment #13 from Sven Burmeister
http://bugzilla.novell.com/show_bug.cgi?id=548993
User juhliarik@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=548993#c14
Jozef Uhliarik
http://bugzilla.novell.com/show_bug.cgi?id=548993
User smaug42@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=548993#c15
--- Comment #15 from Clayton smaug42
it is not supported to add other distro to menu.lst of openSUSE now
So, this a MAJOR regression in openSUSE. I've attached my Y2 logs. The install is as described above - installed Ubuntu 9.10 followed by 11.2RC2. The only bootable OS after this install sequence is 11.2. If I reverse the process, installing 11.2 first and then Ubuntu, I get a Grub boot menu with all installed OSes. If there is a different log set, or something else that is required, please tell me. I can go through a full re-install again in the coming week or so if fresh log files are needed. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=548993
User sven.burmeister@gmx.net added comment
http://bugzilla.novell.com/show_bug.cgi?id=548993#c16
--- Comment #16 from Sven Burmeister
http://bugzilla.novell.com/show_bug.cgi?id=548993
User juhliarik@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=548993#c17
--- Comment #17 from Jozef Uhliarik
http://bugzilla.novell.com/show_bug.cgi?id=548993
User sven.burmeister@gmx.net added comment
http://bugzilla.novell.com/show_bug.cgi?id=548993#c19
--- Comment #19 from Sven Burmeister
I write it simple adding other distro to openSUSE grub configuration doesn't work now.
Why does it work with 11.1 for the same e.g. Ubuntu? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=548993
User smaug42@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=548993#c20
--- Comment #20 from Clayton smaug42
http://bugzilla.novell.com/show_bug.cgi?id=548993
User mrmazda@earthlink.net added comment
http://bugzilla.novell.com/show_bug.cgi?id=548993#c22
--- Comment #22 from Felix Miata
http://bugzilla.novell.com/show_bug.cgi?id=548993
User juhliarik@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=548993#c23
--- Comment #23 from Jozef Uhliarik
http://bugzilla.novell.com/show_bug.cgi?id=548993
User ian.cheong@acm.org added comment
http://bugzilla.novell.com/show_bug.cgi?id=548993#c25
Ian Cheong
http://bugzilla.novell.com/show_bug.cgi?id=548993
User rajko@opensuse.org added comment
http://bugzilla.novell.com/show_bug.cgi?id=548993#c26
Rajko Matovic
http://bugzilla.novell.com/show_bug.cgi?id=548993
http://bugzilla.novell.com/show_bug.cgi?id=548993#c27
--- Comment #27 from Jozef Uhliarik
http://bugzilla.novell.com/show_bug.cgi?id=548993
http://bugzilla.novell.com/show_bug.cgi?id=548993#c28
Jozef Uhliarik
http://bugzilla.novell.com/show_bug.cgi?id=548993
http://bugzilla.novell.com/show_bug.cgi?id=548993#c29
--- Comment #29 from Loren Nozot
http://bugzilla.novell.com/show_bug.cgi?id=548993
http://bugzilla.novell.com/show_bug.cgi?id=548993#c30
--- Comment #30 from Michele Cherici
http://bugzilla.novell.com/show_bug.cgi?id=548993
http://bugzilla.novell.com/show_bug.cgi?id=548993#c31
--- Comment #31 from Loren Nozot
http://bugzilla.novell.com/show_bug.cgi?id=548993
http://bugzilla.novell.com/show_bug.cgi?id=548993#c32
Jozef Uhliarik
http://bugzilla.novell.com/show_bug.cgi?id=548993
http://bugzilla.novell.com/show_bug.cgi?id=548993#c33
Jozef Uhliarik
From logs:
$[ "blockoffset":"1", "chainloader":"/dev/sda2", "lines_cache_id":"2", "name":"openSUSE 11.0 - 2.6.25.20-0.5 (/dev/sda2)", "noverifyroot":"true", "original_name":" openSUSE 11.0 - 2.6.25.20-0.5 (/dev/sda2)", "root":"", "type":"other" ], It is correct because analyze of the first 512B of /dev/sda2 includes GRUB from logs: 2009-11-02 11:34:54 <1> linux(2902) [Bootloader_API] modules/Bootloader_API.pm(Bootloader_API::DumpLog):28 Library::ExamineMBR on /dev/sda2 result grub 2009-11-02 11:34:54 <1> linux(2902) [YCP] bootloader/routines/lib_iface.ycp:355 Device: /dev/sda2 includes in MBR: grub Josef do you have any idea why it doesn't work? Comment#30 includes actual menu.lst with fix for booting 11.0 on /dev/sda2 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=548993
http://bugzilla.novell.com/show_bug.cgi?id=548993#c34
Josef Reidinger
http://bugzilla.novell.com/show_bug.cgi?id=548993
http://bugzilla.novell.com/show_bug.cgi?id=548993#c35
Jozef Uhliarik
http://bugzilla.novell.com/show_bug.cgi?id=548993
http://bugzilla.novell.com/show_bug.cgi?id=548993#c36
Loren Nozot
http://bugzilla.novell.com/show_bug.cgi?id=548993
http://bugzilla.novell.com/show_bug.cgi?id=548993#c37
--- Comment #37 from Michele Cherici
http://bugzilla.novell.com/show_bug.cgi?id=548993
http://bugzilla.novell.com/show_bug.cgi?id=548993#c38
--- Comment #38 from Jozef Uhliarik
http://bugzilla.novell.com/show_bug.cgi?id=548993
http://bugzilla.novell.com/show_bug.cgi?id=548993#c39
--- Comment #39 from Loren Nozot
http://bugzilla.novell.com/show_bug.cgi?id=548993
http://bugzilla.novell.com/show_bug.cgi?id=548993#c40
--- Comment #40 from Jozef Uhliarik
http://bugzilla.novell.com/show_bug.cgi?id=548993
http://bugzilla.novell.com/show_bug.cgi?id=548993#c41
Jozef Uhliarik
http://bugzilla.novell.com/show_bug.cgi?id=548993
http://bugzilla.novell.com/show_bug.cgi?id=548993#c42
Dotan Cohen
http://bugzilla.novell.com/show_bug.cgi?id=548993
http://bugzilla.novell.com/show_bug.cgi?id=548993#c43
--- Comment #43 from Jozef Uhliarik
participants (1)
-
bugzilla_noreply@novell.com