[Bug 775760] New: 12.2 grub.cfg dual boot doesn't automatic update after tumbleweed kernel updates
https://bugzilla.novell.com/show_bug.cgi?id=775760 https://bugzilla.novell.com/show_bug.cgi?id=775760#c0 Summary: 12.2 grub.cfg dual boot doesn't automatic update after tumbleweed kernel updates Classification: openSUSE Product: openSUSE 12.2 Version: RC 2 Platform: HP OS/Version: openSUSE 12.2 Status: NEW Severity: Normal 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:14.0) Gecko/20100101 Firefox/14.0.1 First, had tumbleweed vmlinuz-3.5.1-37 installed on /dev/sda2 with grub1 and menu.lst in use. Second, installed 12.2 RC2 on /dev/sda5 with grub2, and both system booted ok in dual boot from the grub2 startup menu. Third, tumbleweed was updated to newer kernel vmlinuz-3.5.1-38-desktop (which also upgraded the unused grub1 menu.lst). However, tumbleweed wasn't longer possible to boot from the current grub2 startup menu. Verified that grub.cfg had not been upgraded in the tumbleweed entry to take care of the latest 3.5.1-38 kernel update. Not before I ran 'grub2-mkconfig -o /boot/grub2/grub.cfg' the startup menu worked again to boot tumbleweed. This will confuse most users, and it cannot be expected that they know what to do. Wouldn't it be wise that the grub.cfg automatic being updated during each startup to solve this issue? Reproducible: Always Steps to Reproduce: 1.As described above 2. 3. Actual Results: As desribed above Expected Results: As described above -- 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=775760 https://bugzilla.novell.com/show_bug.cgi?id=775760#c1 Jiri Srain <jsrain@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |terje@nordland-teknikk.no AssignedTo|jsrain@suse.com |snwint@suse.com --- Comment #1 from Jiri Srain <jsrain@suse.com> 2012-08-15 07:04:12 UTC --- Steffen, I'm not entirely sure how perl-Bootloader is supposed to work with GRUB2, but, I ghess that at least the UpdateBootloader call should be implemented... Terje, please, be aware that during kernel update, only one bootloader is updated - the one specified in /etc/sysconfig/bootloader. Maybe this is related? -- 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=775760 https://bugzilla.novell.com/show_bug.cgi?id=775760#c2 Steffen Winterfeldt <snwint@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW CC| |snwint@suse.com InfoProvider|terje@nordland-teknikk.no | AssignedTo|snwint@suse.com |mchang@suse.com --- Comment #2 from Steffen Winterfeldt <snwint@suse.com> 2012-08-15 11:56:14 CEST ---
Wouldn't it be wise that the grub.cfg automatic being updated during each startup to solve this issue?
Please don't. I'd like to keep my working config across reboots. Maybe checking if the config is still ok would be a way. But I certainly don't want such an intrusive and time-consuming script like grub2-mkconfig running every time I boot (or shutdown). -- 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=775760 https://bugzilla.novell.com/show_bug.cgi?id=775760#c3 --- Comment #3 from Terje J. Hanssen <terje@nordland-teknikk.no> 2012-08-15 14:59:50 UTC --- Looking at tumbleweed /boot (on /dev/sda2) linux-i62o:/tumbleweed/boot # ls -la i* vm* lrwxrwxrwx 1 root root 23 Aug 13 12:43 initrd -> initrd-3.5.1-38-desktop -rw-r--r-- 1 root root 12928068 Aug 13 12:43 initrd-3.5.1-38-desktop -rw-r--r-- 1 root root 5938624 Aug 12 20:45 vmlinux-3.5.1-38-desktop.gz lrwxrwxrwx 1 root root 24 Aug 13 12:43 vmlinuz -> vmlinuz-3.5.1-38-desktop -rw-r--r-- 1 root root 5094160 Aug 12 20:31 vmlinuz-3.5.1-38-desktop Wouldn't it be possible to let 12.2 grub.cfg (on /dev/sda5) use the above symbolic links 'initrd' and 'vmlinuz' instead of the filenames they point to? Then the latest updated kernel version would always be used. -- 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=775760 https://bugzilla.novell.com/show_bug.cgi?id=775760#c4 --- Comment #4 from Michael Chang <mchang@suse.com> 2012-08-16 03:12:31 UTC --- os-prober only checks boot configs and mining the kernel, initrd and boot parames in it. That is the vmlinuz has to be used in the config if you want them be discovered. -- 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=775760 https://bugzilla.novell.com/show_bug.cgi?id=775760#c5 --- Comment #5 from Terje J. Hanssen <terje@nordland-teknikk.no> 2012-08-20 20:06:41 UTC --- Yet another tumbleweed kernel update to vmlinuz-3.5.2-39-desktop caused the same issue again. Tumbleweed wasn't longer possible to boot from the 12.2 grub.cfg menu and the system reported the following error messages: error file: /boot/vmlinuz-3.5.1-38 not found error: you need to load the kernel first Any suggestion to solve this user confusing issue? -- 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=775760 https://bugzilla.novell.com/show_bug.cgi?id=775760#c6 --- Comment #6 from Steffen Winterfeldt <snwint@suse.com> 2012-08-21 11:33:46 CEST --- Maybe os prober could be changed to just use the vmlinuz/initrd symlinks in that case? -- 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=775760 https://bugzilla.novell.com/show_bug.cgi?id=775760#c7 --- Comment #7 from Michael Chang <mchang@suse.com> 2012-08-21 10:02:21 UTC --- Agree. It seems to be a way to go. -- 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=775760 https://bugzilla.novell.com/show_bug.cgi?id=775760#c8 --- Comment #8 from Terje J. Hanssen <terje@nordland-teknikk.no> 2012-10-03 15:31:42 UTC --- It seems that this enhancement isn't implemented yet? -- 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=775760 https://bugzilla.novell.com/show_bug.cgi?id=775760#c9 Jeffrey Cheung <jcheung@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED CC| |jcheung@suse.com Resolution| |WONTFIX --- Comment #9 from Jeffrey Cheung <jcheung@suse.com> 2014-02-10 07:46:18 UTC --- With the release of the gnumeric on January 27th, 2014 the SUSE sponsored maintenance of openSUSE 12.2 has ended. openSUSE 12.2 is now officially discontinued and out of support by SUSE. -- 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