[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 <rszhu@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rszhu@novell.com AssignedTo|bnc-team-screening@forge.pr |juhliarik@novell.com |ovo.novell.com | -- 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 loigu@volny.cz added comment http://bugzilla.novell.com/show_bug.cgi?id=548993#c1 Jiri Zouhar <loigu@volny.cz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |loigu@volny.cz Version|RC 1 |RC 2 --- Comment #1 from Jiri Zouhar <loigu@volny.cz> 2009-10-31 06:37:51 MDT --- I have the same experience. On my system, /dev/sda6 is /boot partition shared for fedora (/dev/sda10) and ubunutu (dev/sda2) I selected /dev/sda7 to be / partition of OpenSuse11.2rc2 (format with ext4). I want to use the same /boot partition and grub menu for rc2 too, so I tried adding /dev/sda6 as /boot for rc2 without formatting, but the option 'propose merge with existing grub menus' (in boot loader setup) ignored the grub/menu.lst on /dev/sda6. Then I tried not adding /dev/sda6 to rc2 at all, but again, the option 'propose merge with existing grub menus' (in boot loader setup) ignored the grub/menu.lst on /dev/sda6. Reproducible: Always Steps to Reproduce: prerequisity: you should have some linux os installed with existing grub/menu.lst, which will be there alongside with rc2 after the installation 1. in disk setup, select existing /boot partition to be used without formatting 2. in booting menu, click on 'propose merge with existing grub menus' 3. no item from the existing menu.lst will be added/converted to the new menu -- 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 loigu@volny.cz added comment http://bugzilla.novell.com/show_bug.cgi?id=548993#c2 --- Comment #2 from Jiri Zouhar <loigu@volny.cz> 2009-10-31 06:40:22 MDT --- Created an attachment (id=324988) --> (http://bugzilla.novell.com/attachment.cgi?id=324988) the original menu.lst The original menu.lst I wanted to merge into new OpenSuse11.2RC2 boot menu. -- 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 cyberorg@opensuse.org added comment http://bugzilla.novell.com/show_bug.cgi?id=548993#c3 Jigish Gohil <cyberorg@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |smaug42@gmail.com --- Comment #3 from Jigish Gohil <cyberorg@opensuse.org> 2009-11-01 04:13:47 MST --- *** Bug 551703 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=551703 -- 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 cyberorg@opensuse.org added comment http://bugzilla.novell.com/show_bug.cgi?id=548993#c4 --- Comment #4 from Jigish Gohil <cyberorg@opensuse.org> 2009-11-01 04:22:50 MST --- Could it be because ubuntu now uses grub2? -- 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 loigu@volny.cz added comment http://bugzilla.novell.com/show_bug.cgi?id=548993#c5 --- Comment #5 from Jiri Zouhar <loigu@volny.cz> 2009-11-01 06:54:36 MST --- (In reply to comment #4)
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 <andrea@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrea@opensuse.org --- Comment #6 from andrea florio <andrea@opensuse.org> 2009-11-01 11:32:30 MST --- just my 2 cents... 11.2 detect and configure grub to run already installed 11.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 lnozot@comtech360.com added comment http://bugzilla.novell.com/show_bug.cgi?id=548993#c7 --- Comment #7 from Loren Nozot <lnozot@comtech360.com> 2009-11-01 15:10:31 MST ---
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 <contezero@technet.it> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |contezero@technet.it --- Comment #8 from Michele Cherici <contezero@technet.it> 2009-11-02 06:14:59 MST --- I've the same problem after installing RC2, now my old 11.0 installation is not bootable. I think severity should be raised to "Major" or "Critical". -- 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 jux@4950.net added comment http://bugzilla.novell.com/show_bug.cgi?id=548993#c9 Jürgen Mathwich <jux@4950.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jux@4950.net --- Comment #9 from Jürgen Mathwich <jux@4950.net> 2009-11-03 03:04:51 MST --- I updated from RC1 to RC2 (zypper dup) and RC2 forgot about itself in menu.list .. I can still boot 11.1, but there is no 11.2 RC2 entry -- 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 richard.bos@xs4all.nl added comment http://bugzilla.novell.com/show_bug.cgi?id=548993#c10 Richard Bos <richard.bos@xs4all.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |richard.bos@xs4all.nl --- Comment #10 from Richard Bos <richard.bos@xs4all.nl> 2009-11-04 09:06:34 MST --- A collegue provided his description of the problem he encountered after upgrading OS-11.1 to OS-11.2: After upgrade, the new kernel is correctly entered in grub's menu.conf, however, the old kernel remains the default, hence the new 11.2 comes up running on kernel from previous release which gives "interesting errors". When you don't notice this or eg. don't even display the menu that's very annoying. -- 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 aj@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=548993#c11 Andreas Jaeger <aj@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High CC| |aj@novell.com Severity|Normal |Major --- Comment #11 from Andreas Jaeger <aj@novell.com> 2009-11-04 09:46:05 MST --- Regression from 11.1, raising severity. -- 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#c12 --- Comment #12 from Sven Burmeister <sven.burmeister@gmx.net> 2009-11-05 02:32:18 MST ---
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 <sven.burmeister@gmx.net> 2009-11-05 02:36:31 MST --- Forgot to mention, if he installs 11.1 after Ubuntu or RedHat, it recognises the other operating systems correctly. -- 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 juhliarik@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=548993#c14 Jozef Uhliarik <juhliarik@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #14 from Jozef Uhliarik <juhliarik@novell.com> 2009-11-05 03:39:50 MST --- There are several different problems with one common issue and it is wrong adding other installed OS to actual menu.lst For Richard Bos in comment#10: ----------------------------- Your problem is describe in bug#551642. Sorry it is not about wrong adding to menu.lst For Jürgen Mathwich in comment#9: ---------------------------------- If you did update via "zypper dup" it is a probably bug for perl-Bootloader and his post-install script for kernel package. Please create new bug and attach YaST logs and assign the bug for jreidinger(at)novell.com For Jigish Gohil in comment#4: ------------------------------ We don't support GRUB2 For all: -------- Adding other distro like Ubuntu or Fedora is problem because their configuration files includes also other options and have different names etc. Sorry it is not supported to add other distro to menu.lst of openSUSE now. BTW.: it is nice that you add comment "I have same/similar problem" but in the most cases it is something different and without YaST2 logs I am not able to decide exactly what is wrong. Please always add YaST logs if you have broken any configuration file which is handled by YaST. YaST logs also includes info about your system and errors during reading/writing configuration -- 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#c15 --- Comment #15 from Clayton smaug42 <smaug42@gmail.com> 2009-11-05 03:54:57 MST --- Created an attachment (id=325716) --> (http://bugzilla.novell.com/attachment.cgi?id=325716) Dump of Y2 Logs
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 <sven.burmeister@gmx.net> 2009-11-05 03:57:08 MST --- It seems indeed strange that 11.1 supported this, i.e. it works, and 11.2 does not. -- 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 juhliarik@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=548993#c17 --- Comment #17 from Jozef Uhliarik <juhliarik@novell.com> 2009-11-05 04:58:53 MST --- Dear Clayton smaug42: I know that you are not satisfied but the problem is little bit complicated. yast2-bootloader during installation check other linux partitions and try to find configuration file menu.lst where is saved configuration for GRUB. The name and content of configuration file is different for Ubuntu and in this case it is not successful. Yes there exist solution where will be added boot section to menu.lst build on existing kernels instead of parsing configuration file but it is too late for changes in design in RC2 and it has also risks. I write it simple adding other distro to openSUSE grub configuration doesn't work now. -- 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#c19 --- Comment #19 from Sven Burmeister <sven.burmeister@gmx.net> 2009-11-05 06:35:03 MST --- (In reply to comment #17)
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 <smaug42@gmail.com> 2009-11-05 06:47:35 MST --- The problem may be complicated, but... I can't find words to express how critical this problem is. Seriously... this has NOT been a problem with previous openSUSE versions. We've always played well with others, and Grub was set up properly to allow booting more than one install. Now... it's just 11.2, and only 11.2. For me, I don't care too much for my own hardware since the bug won't affect me presonally. On my server I run only openSUSE. The same with my Media Center... and my netbook. Where the problem comes is with the larger community who expect to be able to run multiple installs. How can we release openSUSE 11.2 when the installer cannot find and configure Grub properly? If I was the release manager, I'd be calling this one a release blocker bug. This is such a basic and fundamental expectation and requirement for the openSUSE installer... and we're effectively going to release it completely broken? This is really going to go wrong when it's dicovered... and other people will discover it. Something was changed from 11.1 (where everything in this part of the installer worked correctly) to 11.2 (where now somehow it's too complicated to fix). -- 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 mrmazda@earthlink.net added comment http://bugzilla.novell.com/show_bug.cgi?id=548993#c22 --- Comment #22 from Felix Miata <mrmazda@earthlink.net> 2009-11-05 07:46:17 MST --- Created an attachment (id=325776) --> (http://bugzilla.novell.com/attachment.cgi?id=325776) Kubuntu Karmic Grub2 boot menu file (grub.cfg) Multiboot can get rather complex pretty quickly as new operating systems are added. Installers shouldn't try to be smarter than they can be and bite off more than they can chew with expectation of success. Those installing openSUSE on a system with more than 2-3 operating systems already installed should be presumed to know more than a little about multiboot generally, and specifically how to manage their boot configuration manually better than any installation program can do. This monstrosity was the Kubuntu installer's attempt to locate and include every bootable partition on the target system. Kubuntu was told to install its / to sda13 and write the bootloader to its / partition, leaving the MBR untouched. Not only is its attempt in the form of this file close to incomprehensibly corpulent, when the previous bootloader chainloads to its partition all that results is a Grub1 prompt. I take the position that unless a Linux installer is explicitly told to put / or /boot on an active primary partition, or put on same that is not already active but to make it active, or to put its bootloader on the MBR, it should presume another bootloader is already installed that can chainload or load directly the new installation. A consequence of this presumption is that the new bootloader need not facilitate booting anything other that what is currently being installed. IOW, if installing to a logical, and not explicitly told to put bootloader on MBR, it should install nothing at all whatsoever anywhere except to the target / and/or /boot; and the new bootloader menu should have entries for the new installation only, or possibly one additional entry to chainload the active primary as a fallback. Now if the active primary partition has Windows' NT Loader, the installer should probably not be so presumptuously intrusive as to modify boot.ini. Nevertheless, NT Loader can effectively "chainload" Grub/Lilo, and this can be facilitated by copying the new Linux partition's boot sector to a file NT Loader on the active partition can load, along with a howto and/or suggested replacement boot.ini file that the user who has not explicitly told the installer to put the new bootloader on the MBR can choose to use or not. It might even put a .lnk file to find that information into the all users' desktop "folder" in the Documents and Settings tree. The installer also could copy that information to the new /root/Desktop directory and/or an available removable media. For those not familiar with using NT Loader to boot Linux I suggest to read this: http://fm.no-ip.com/install-doz-after.html openSUSE installer behavior and http://en.opensuse.org/Bugs/grub#How_does_a_PC_boot_.2F_How_can_I_set_up_a_w... and http://en.opensuse.org/SDB:Prefered_bootloader_options need to be kept sync'd, incorporating the principles of respect for what already is and of least surprise in choosing what behavior should be. -- 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 juhliarik@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=548993#c23 --- Comment #23 from Jozef Uhliarik <juhliarik@novell.com> 2009-11-05 07:55:05 MST --- Dear Clayton, complicated fixes needs time and it is not good idea to create huge changes in code near release because I can create or break something else and finally result can be broken booting. The bug is not blocker because there exist workaround and IMHO it is not critical because you didn't lost data it is possible to add other distro to menu.lst manually or also via y2-bootloader. The bug is that it is not done automatically during installation. It is not because it is other distro the problem is that our solution is based on config files and if I want to fix problem with adding other distro to suse's menu.lst I need change a lot of code and also design of y2-bootloader. I hope it is clear now. Finally adding other distro is not supported NOW if you are project manager you know that missing functionality is solved via feature request and you create feature request in FATE. (you can look at https://features.opensuse.org/) Into 11.2 was added better validation of parsing menu.lst because there were bugs for adding wrong/invalid boot sections from other installed OS. Adding better validation decrease problems with adding other installed OS (openSUSE/SLE) but it also decrease ability to add other distro to menu.lst. -- 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 ian.cheong@acm.org added comment http://bugzilla.novell.com/show_bug.cgi?id=548993#c25 Ian Cheong <ian.cheong@acm.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ian.cheong@acm.org --- Comment #25 from Ian Cheong <ian.cheong@acm.org> 2009-11-05 13:08:31 MST --- FWIW, I had no trouble at all adding 11.2RC1 from DVD to a new partition and still having 11.1 bootable. What I have had huge problems with is YaST/grub repair. See {{Bug|547959}} - Yast repairer unable to repair boot configuration - device.map error -- 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 rajko@opensuse.org added comment http://bugzilla.novell.com/show_bug.cgi?id=548993#c26 Rajko Matovic <rajko@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rajko@opensuse.org --- Comment #26 from Rajko Matovic <rajko@opensuse.org> 2009-11-07 04:41:41 MST --- 32 bit installation from RC2 DVD - not upgrade. Ubuntu 9.04 and older RC1 installations added to boot menu without my intervention. Both appear as their own grub menus, ie. after selecting them next boot menu shows up with all selections present like it was in original. The only change is that Ubuntu menu has openSUSE background, while original was text mode only. RC1 boots direct and from Ubuntu menu. I didn't attempt to boot Ubuntu (yet). -- 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#c27 --- Comment #27 from Jozef Uhliarik <juhliarik@novell.com> 2009-11-30 16:00:19 UTC --- to commnet#1 Dear Jiri Zouhar, I would like explain why common /boot partition is not good idea. During installation or update kernel in openSUSE is called mkinitrd and it recreate initrd for all kernels. I am sure that you know what happen if you have mounted different "/" and inird for (for example) Ubuntu is recreated. It is also problem if you have common /boot partition for several openSUSE installations. It is also case why adding other installed OS doesn't work in this case. It is checked only "other" linux partitions. Probably some warning message should be added in this case. -- 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#c28 Jozef Uhliarik <juhliarik@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |lnozot@comtech360.com --- Comment #28 from Jozef Uhliarik <juhliarik@novell.com> 2009-12-01 14:55:03 UTC --- I tried to explain all troubles which are not "supported" or which are not "valid" because it is other type of problem. Last men in game are reporter of bug Loren Nozot and Michele Cherici. There is necessary attach YaST logs from update. Dear Loren could you attach YaST logs (/var/log/YaST2) from your update please? -- 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#c29 --- Comment #29 from Loren Nozot <lnozot@comtech360.com> 2009-12-02 22:12:01 UTC --- I'll try and upload that later tonight. Loren -- 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#c30 --- Comment #30 from Michele Cherici <contezero@technet.it> 2009-12-03 10:47:31 UTC --- Created an attachment (id=330721) --> (http://bugzilla.novell.com/attachment.cgi?id=330721) y2log Y2log attached, menu.lst generated doesn't boot my previous opensuse 11.0 version present on the hard disk. This is my "manually" modified menu.lst file, I've added "opensuse11.0" section to make the old opensuse version bootable: # Modified by YaST2. Last modification on mer nov 4 11:10:49 CET 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,4)/boot/message ##YaST - activate ###Don't change this comment - YaST2 identifier: Original name: linux### title openSUSE 11.2 root (hd0,4) kernel /boot/vmlinuz-2.6.31.5-0.1-desktop root=/dev/disk/by-id/ata-ST3250620AS_9QE1RQ9K-part5 resume=/dev/disk/by-id/ata-ST3250620AS_9QE1RQ9K-part1 splash=silent quiet showopts vga=0x31a initrd /boot/initrd-2.6.31.5-0.1-desktop title opensuse11.0 root (hd0,1) kernel /boot/vmlinuz root=/dev/disk/by-id/ata-ST3250620AS_9QE1RQ9K-part2 resume=/dev/disk/by-id/ata-ST3250620AS_9QE1RQ9K-part1 splash=silent quiet showopts vga=0x31b initrd /boot/initrd ###Don't change this comment - YaST2 identifier: Original name: floppy### title Dischetto rootnoverify (fd0) chainloader +1 ###Don't change this comment - YaST2 identifier: Original name: failsafe### title Failsafe -- openSUSE 11.2 root (hd0,4) kernel /boot/vmlinuz-2.6.31.5-0.1-desktop root=/dev/disk/by-id/ata-ST3250620AS_9QE1RQ9K-part5 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x31a initrd /boot/initrd-2.6.31.5-0.1-desktop ###Don't change this comment - YaST2 identifier: Original name: linux### title Kernel-2.6.31.5-0.1-desktop root (hd0,4) kernel /boot/vmlinuz-2.6.31.5-0.1-desktop root=/dev/disk/by-id/ata-ST3250620AS_9QE1RQ9K-part5 resume=/dev/disk/by-id/ata-ST3250620AS_9QE1RQ9K-part1 splash=silent quiet showopts vga=0x31a initrd /boot/initrd-2.6.31.5-0.1-desktop -- 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#c31 --- Comment #31 from Loren Nozot <lnozot@comtech360.com> 2009-12-04 17:22:44 UTC --- It would seem the install log file has already been flushed. I'll do a quick reinstall soon and post the log file. -- 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#c32 Jozef Uhliarik <juhliarik@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|lnozot@comtech360.com | --- Comment #32 from Jozef Uhliarik <juhliarik@novell.com> 2009-12-08 10:05:52 UTC --- Loren thanks for logs and for future please select checkbox "This commnet provides the needed information. Remove the status of NEEDINFO from this bug." ;-) I will look at it. -- 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#c33 Jozef Uhliarik <juhliarik@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |jreidinger@novell.com --- Comment #33 from Jozef Uhliarik <juhliarik@novell.com> 2009-12-09 09:04:48 UTC --- The partition /dev/sda2 includes old installation of 11.0. During installation of 11.2 is added 11.0 like chainloader.
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 <jreidinger@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED CC| |jreidinger@novell.com Info Provider|jreidinger@novell.com | --- Comment #34 from Josef Reidinger <jreidinger@novell.com> 2009-12-09 09:18:29 UTC --- There should be many issues why it doesn't work. Maybe grub installation on /dev/sda2 point to bad place (you can write there grub which load from e.g. /dev/sdb3). So in general it should work, but maybe in this case is there another problem. Sollution in comment 30 has serious problem if 11.0 kernel is updated, then it stop work. -- 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#c35 Jozef Uhliarik <juhliarik@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |lnozot@comtech360.com --- Comment #35 from Jozef Uhliarik <juhliarik@novell.com> 2009-12-09 10:10:59 UTC --- Loren, it seems that proposed configuration during installation of 11.2 is valid. There can be several causes why it doesn't work. I would like verify your bootloader settings on your older installation (11.0). Could you attach file /etc/grub.conf from your 11.0 located on /dev/sda2 please? -- 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#c36 Loren Nozot <lnozot@comtech360.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|lnozot@comtech360.com | --- Comment #36 from Loren Nozot <lnozot@comtech360.com> 2009-12-09 23:50:27 UTC --- Interesting. My layout is as follows: sda1 XP sda2 Vista sda3 HPFS sda4 EXT sda5 swap sda6 ext3 - a root sda7 ext3 - a root sda8 ext3 - a root sda9 ext3 - a data partition The system I believe is booting from grub to or did sda7. The /etc/grub.conf from there is: setup --stage2=/boot/grub/stage2 --force-lba (hd0,0) (hd0,6) setup --stage2=/boot/grub/stage2 --force-lba (hd0,6) (hd0,6) setup --stage2=/boot/grub/stage2 --force-lba (hd0) (hd0,6) quit -- 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#c37 --- Comment #37 from Michele Cherici <contezero@technet.it> 2009-12-10 10:56:30 UTC --- log in Comment#30 is from my computer not from Loren's computer. /etc/grub.conf from 11.0 installation is: setup --stage2=/boot/grub/stage2 (hd0) (hd0,1) quit menu.lst file for 11.0 is: # Modified by YaST2. Last modification on Mon Aug 31 09:28:55 CEST 2009 default 0 timeout 8 gfxmenu (hd0,1)/boot/message ###Don't change this comment - YaST2 identifier: Original name: linux### title openSUSE 11.0 - 2.6.25.20-0.5 root (hd0,1) kernel /boot/vmlinuz-2.6.25.20-0.5-pae root=/dev/disk/by-id/scsi-SATA_ST3250620AS_9QE1RQ9K-part2 resume=/dev/sda1 splash=silent showopts initrd /boot/initrd-2.6.25.20-0.5-pae ###Don't change this comment - YaST2 identifier: Original name: failsafe### title Failsafe -- openSUSE 11.0 - 2.6.25.20-0.5 root (hd0,1) kernel /boot/vmlinuz-2.6.25.20-0.5-pae root=/dev/disk/by-id/scsi-SATA_ST3250620AS_9QE1RQ9K-part2 showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off x11failsafe initrd /boot/initrd-2.6.25.20-0.5-pae ###Don't change this comment - YaST2 identifier: Original name: openSUSE 10.3 - 2.6.22.18-0.2 (/dev/sda5)### title openSUSE 10.3 - 2.6.22.18-0.2 (/dev/sda5) root (hd0,4) configfile /boot/grub/menu.lst ###Don't change this comment - YaST2 identifier: Original name: floppy### title Dischetto rootnoverify (hd0,1) chainloader (fd0)+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 http://bugzilla.novell.com/show_bug.cgi?id=548993#c38 --- Comment #38 from Jozef Uhliarik <juhliarik@novell.com> 2009-12-15 09:13:28 UTC --- Michele thanks for your last comment. It is my fault I thought that logs were from Loren. Sorry for it. Loren sorry, it was my fault. -- 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#c39 --- Comment #39 from Loren Nozot <lnozot@comtech360.com> 2010-01-03 18:57:25 UTC --- Created an attachment (id=334727) --> (http://bugzilla.novell.com/attachment.cgi?id=334727) Y2log from new install - KDE Live disc Here is the log file from a new install (today) for the info on the GRUB issue. Loren -- 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#c40 --- Comment #40 from Jozef Uhliarik <juhliarik@novell.com> 2010-02-05 15:06:03 UTC --- The first sorry for delay but there were other products with sooner deadlines than 11.3 Michele: -------- I did some tests next looked again at your yast logs and also compared it with configuration from /dev/sda2 (openSUSE 11.0). The configuration from /dev/sda2 says that your the first 512B of /dev/sda2 should be empty but it is not right and it includes GRUB stage1. It can be from previous installation or previous settings of bootloader configuration on /dev/sda2. I don't know exactly. perl-Bootloader (yast2-bootloader uses it) includes only heuristic for detection of GRUB stage1 on the first 512B of partition or MBR of disk. There is not check where point GRUB stage1 or if GRUB stage1 is not broken. It is a binary data. There exist presupposition that if partition includes GRUB stage1 it is valid data. The bug is that your the first 512B of /dev/sda2 includes GRUB stage1 and GRUB stage1 should not be there (bootloader configuration on /dev/sda2) or it points to other partition (wrong settings in this case). It is broken data but it is not configuration file but the first 512B of /dev/sda2. My point of view is that GRUB stage1 should not be there or it has to point to /dev/sda2. You can fix it if change /etc/grub.conf on your /dev/sda2 to: setup --stage2=/boot/grub/stage2 (hd0,1) (hd0,1) quit after that run grub-install. (You should boot your 11.0 on /dev/sda2 and then change /etc/grub.conf and run grub-install) It is risk because you have several installed operating systems and it can break booting some of them but it helps you if you decide to install new OS like openSUSE 11+ in future. I am sorry but I am not able to fix it without fixing "broken data" on your /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#c41 Jozef Uhliarik <juhliarik@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution| |WONTFIX --- Comment #41 from Jozef Uhliarik <juhliarik@novell.com> 2010-02-08 15:14:54 UTC --- Dear Loren, problem with booting your sda7 is the same than Michele's problem. You have broken GRUB stage1 in the first 512B of /dev/sda7. Adding boot section for other installed OS to new installation is done via adding chainloader or configfile. If partition is bootable (it means if the first 512B includes GRUB stage1) yast2-bootloader uses chainloader otherwise it uses configfile. I can fix it with skip using of chainloader during adding other installed OS to new installation. It means using only configfile but... after discussion with my colleagues the preferred solution is using chainloader. there exist next problem with using GRUB2 and configfile (GRUB1 -> GRUB2). I can help you only fix your broken GRUB stage1 on /dev/sda7 for next installations. 1. Boot your openSUSE 11.1 on /dev/sda7 2. Change /etc/grub.conf to: (delete the 1st and the 3rd line) setup --stage2=/boot/grub/stage2 --force-lba (hd0,6) (hd0,6) quit 3. run command: grub-install It helps you with next installations. I am sorry but skip using of chainloader is not accepted by management. :( The bug is not INVALID but I am not able to detect/fix broken GRUB stage1 and finally skip using of chainloader is not accepted. -- 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#c42 Dotan Cohen <novell@dotancohen.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |novell@dotancohen.com --- Comment #42 from Dotan Cohen <novell@dotancohen.com> 2010-06-06 13:14:00 UTC --- Why is this bug CLOSED? I installed OpenSuse 11.3 beta (build 0625) recently and it did not show other non-Suse bootable partitions. The system had Grub2 installed (from Ubuntu) before the Suse install, which showed all bootable partitions. -- 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#c43 --- Comment #43 from Jozef Uhliarik <juhliarik@novell.com> 2010-06-07 14:29:18 UTC --- Adding other OSes with GRUB2 is not supported. There is required adding GRUB2 also to openSUSE -- 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.
participants (1)
-
bugzilla_noreply@novell.com