[Bug 799457] New: Grub fails to build a working menu for other Linux OS
https://bugzilla.novell.com/show_bug.cgi?id=799457 https://bugzilla.novell.com/show_bug.cgi?id=799457#c0 Summary: Grub fails to build a working menu for other Linux OS Classification: openSUSE Product: openSUSE Factory Version: 12.3 Beta 1 Platform: x86-64 OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: caf4926@opensuse-forums.org QAContact: qa-bugs@suse.de Found By: Community User Blocker: --- Created an attachment (id=520985) --> (http://bugzilla.novell.com/attachment.cgi?id=520985) 12.3 grub.cfg Using Gnome Live CD _64 Proper install to HD with other OS's (Mint, openSUSE 12.2) Neither Mint 14 or openSUSE 12.2 would boot from the menu built by 12.3 Grub 12.3 itself boots fine So what I have done is. Made a copy of the original menu produced by 12.3 I'll attach it here I repaired grub by chroot to 12.2 and rebuilt grub there. It picked up 12.3 and it works, as you would expect. I'll attach the menu built by 12.2 too for comparison. Now to what happened when you tried booting with the menu built by 12.3 My bad, I didn't take notes. But it complained IIRC about video modes. -- 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=799457
https://bugzilla.novell.com/show_bug.cgi?id=799457#c1
--- Comment #1 from Carl Fletcher
https://bugzilla.novell.com/show_bug.cgi?id=799457
https://bugzilla.novell.com/show_bug.cgi?id=799457#c2
Andrey Borzenkov
https://bugzilla.novell.com/show_bug.cgi?id=799457
https://bugzilla.novell.com/show_bug.cgi?id=799457#c3
--- Comment #3 from Carl Fletcher
https://bugzilla.novell.com/show_bug.cgi?id=799457
https://bugzilla.novell.com/show_bug.cgi?id=799457#c4
Andrey Borzenkov
https://bugzilla.novell.com/show_bug.cgi?id=799457
https://bugzilla.novell.com/show_bug.cgi?id=799457#c5
--- Comment #5 from Carl Fletcher
https://bugzilla.novell.com/show_bug.cgi?id=799457
https://bugzilla.novell.com/show_bug.cgi?id=799457#c6
--- Comment #6 from Andrey Borzenkov
I notices in the terminal feedback it didn't pick up Mint 14 this time
That's correct, it won't pick up entries that were added by (another) os-prober. It assumes they were added by os-prober if entry ends with "(on /dev/XXX"). There was yet another glitch, could you check please. zypper refresh zypper up os-prober -- 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=799457
https://bugzilla.novell.com/show_bug.cgi?id=799457#c7
--- Comment #7 from Carl Fletcher
https://bugzilla.novell.com/show_bug.cgi?id=799457
https://bugzilla.novell.com/show_bug.cgi?id=799457#c8
--- Comment #8 from Andrey Borzenkov
Am I right that you have additional OS on /dev/sda5 and this OS is missing in generated menu? This is the same as in bnc#767272: 2013-01-19T16:06:45.940791+00:00 gnome-123 kernel: [ 257.698952] EXT4-fs (sda5): INFO: recovery required on readonly filesystem 2013-01-19T16:06:45.940844+00:00 gnome-123 kernel: [ 257.698961] EXT4-fs (sda5): write access unavailable, cannot proceed May I ask you to manually mount and cleanly unmount /dev/sda5 and repeat the test. We need to verify that original bug (incorrect initrd) is indeed fixed. -- 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=799457
https://bugzilla.novell.com/show_bug.cgi?id=799457#c9
--- Comment #9 from Andrey Borzenkov
https://bugzilla.novell.com/show_bug.cgi?id=799457
https://bugzilla.novell.com/show_bug.cgi?id=799457#c10
--- Comment #10 from Carl Fletcher
(In reply to comment #7)
Am I right that you have additional OS on /dev/sda5 and this OS is missing in generated menu? This is the same as in bnc#767272:
2013-01-19T16:06:45.940791+00:00 gnome-123 kernel: [ 257.698952] EXT4-fs (sda5): INFO: recovery required on readonly filesystem 2013-01-19T16:06:45.940844+00:00 gnome-123 kernel: [ 257.698961] EXT4-fs (sda5): write access unavailable, cannot proceed
May I ask you to manually mount and cleanly unmount /dev/sda5 and repeat the test. We need to verify that original bug (incorrect initrd) is indeed fixed.
Device Boot Start End Blocks Id System /dev/sda1 2048 8450047 4224000 82 Linux swap / Solaris /dev/sda2 * 8450048 488396799 239973376 5 Extended /dev/sda5 8452096 52606975 22077440 83 Linux /dev/sda6 52609024 97058815 22224896 83 Linux /dev/sda7 97060864 243421183 73180160 83 Linux /dev/sda8 243423232 387958783 72267776 83 Linux /dev/sda9 387960832 488396799 50217984 83 Linux Correct: sda5 is Mint 14 root sda6 is OS 12.2 root sda9 is OS 12.3 Just before we proceed. Can I just mention that the original menu produced by 12.3 at install did have all OS's listed in the Menu. Only 12.3 booted though. I'm struggling slightly with this because when I go su - in the terminal gnome-shell starts running at 50% and no apps will launch. If apps are already open they seem to keep working. So can you just re-confirm how you want me to proceed now. -- 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=799457
https://bugzilla.novell.com/show_bug.cgi?id=799457#c11
--- Comment #11 from Andrey Borzenkov
Just before we proceed. Can I just mention that the original menu produced by 12.3 at install did have all OS's listed in the Menu. Only 12.3 booted though.
Well, apparently at this point filesystem was cleanly unmounted.
So can you just re-confirm how you want me to proceed now.
1. Please test grub2-mount if it works: mkdir /tmp/mnt grbu2-mount /dev/sda5 /tmp/mnt ls -l /tmp/mnt umount /tmp/mnt May be grub2 is still capable of accessing filesystem in this conditions. 2. Try to clean error and re-run grub2-mkconfig mount /dev/sda5 /tmp/mnt umount /tmp/mnt (should now be clean) grub2-mkconfig and verify whether entries from /dev/sda5 are present and you can boot using them. -- 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=799457
https://bugzilla.novell.com/show_bug.cgi?id=799457#c12
--- Comment #12 from Carl Fletcher
https://bugzilla.novell.com/show_bug.cgi?id=799457
https://bugzilla.novell.com/show_bug.cgi?id=799457#c13
--- Comment #13 from Andrey Borzenkov
https://bugzilla.novell.com/show_bug.cgi?id=799457
https://bugzilla.novell.com/show_bug.cgi?id=799457#c14
Hans Löffler
Please test:
zypper ar obs://home:arvidjaar:bnc:799457/openSUSE_Factory bnc799457 zypper refresh bnc799457 zypper dup -r bnc799457
And retry grub2-mkconfig
fixes grub.cfg for me as well (Ubuntu 12.04 on /dev/sda3, Opensuse 12.3 b2 on /dev/sdb4) -- 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=799457
https://bugzilla.novell.com/show_bug.cgi?id=799457#c15
dale ritchey
https://bugzilla.novell.com/show_bug.cgi?id=799457
https://bugzilla.novell.com/show_bug.cgi?id=799457#c16
--- Comment #16 from dale ritchey
https://bugzilla.novell.com/show_bug.cgi?id=799457
https://bugzilla.novell.com/show_bug.cgi?id=799457#c17
--- Comment #17 from Carl Fletcher
Yes, looks good. Please, let me know when you tested booting.
Booting failed with the following: 12.2 Invalid filename video1024x800 Mint error invalid filename 'ro' So I made sure I was using the os-prober from bnc799457, I was. I mounted 12.2 root and Mint root Ran grub2-mkconfig Tested and all was good. Just mention, I assume it's the same for everyone. There is no pretty green suse boot splash at this stage -- 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=799457
https://bugzilla.novell.com/show_bug.cgi?id=799457#c18
Andrey Borzenkov
https://bugzilla.novell.com/show_bug.cgi?id=799457
https://bugzilla.novell.com/show_bug.cgi?id=799457#c19
--- Comment #19 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=799457
https://bugzilla.novell.com/show_bug.cgi?id=799457#c20
Andrey Borzenkov
https://bugzilla.novell.com/show_bug.cgi?id=799457
https://bugzilla.novell.com/show_bug.cgi?id=799457#c21
Andrey Borzenkov
https://bugzilla.novell.com/show_bug.cgi?id=799457
https://bugzilla.novell.com/show_bug.cgi?id=799457#c22
--- Comment #22 from Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=799457
https://bugzilla.novell.com/show_bug.cgi?id=799457#c23
--- Comment #23 from Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=799457
https://bugzilla.novell.com/show_bug.cgi?id=799457#c24
--- Comment #24 from Jeff Mahoney
participants (1)
-
bugzilla_noreply@novell.com