https://bugzilla.novell.com/show_bug.cgi?id=758732 https://bugzilla.novell.com/show_bug.cgi?id=758732#c0 Summary: linux-boot-prober doesn't read boot entries from openSUSE and Fedora Grub2. Classification: openSUSE Product: openSUSE 12.2 Version: Milestone 3 Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: Bootloader AssignedTo: jsrain@suse.com ReportedBy: hippolyte@shaw.ca QAContact: jsrain@suse.com Found By: --- Blocker: --- Created an attachment (id=487645) --> (http://bugzilla.novell.com/attachment.cgi?id=487645) support for openSUSE and Fedora grub.cfg User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0 When linux-boot-prober scans for openSUSE and Fedora boot entries (for example), it doesn't even get to read the boot menu ($mpoint/boot/grub2/grub.cfg), because it looks for it in $mpoint/boot/grub/grub.cfg - where the boot menu is actually located on Debian/Ubuntu. As a consequence, os-prober generates a "minimal" boot entry, which is correct because it knows the partition and the kernel name, but misses all kernel boot parameters, because it could not read them from grub.cfg. The problem is not specific to openSUSE. It affects any distro making use of os-prober to scan fo other distros' kernels - including Ubuntu, which fails to read openSUSE and Fedora. However, Ubuntu boot entries are correct when scanned from anoter distro - because in this case, linux-boot-prober looks for grub.cfg in the right directory (/boot/grub/) I attached a patch which solves the issue. Reproducible: Always Steps to Reproduce: 1.# os-prober /dev/sda2:openSUSE 12.2 Milestone 2 (x86_64):SuSE:linux 2. # linux-boot-prober /dev/sda2 Actual Results: /dev/sda2:/dev/sda2::/boot/vmlinuz-3.3.0-2-desktop:/boot/initrd-3.3.0-2-desktop:root=/dev/sda2 /dev/sda2:/dev/sda2::/boot/vmlinux-3.3.0-2-desktop.gz::root=/dev/sda2 Expected Results: /dev/sda2:/dev/sda2:openSUSE, with Linux 3.3.0-2-desktop:/boot/vmlinuz-3.3.0-2-desktop:/boot/initrd-3.3.0-2-desktop:root=UUID=b5f05dbc-ff30-407a-893f-a445b436b2d3 video=1920x1080 resume=/dev/disk/by-uuid/8ae0e410-f8bc-47ee-a290-f9567f725566 splash=silent quiet showopts /dev/sda2:/dev/sda2:openSUSE, with Linux 3.3.0-2-desktop (recovery mode):/boot/vmlinuz-3.3.0-2-desktop:/boot/initrd-3.3.0-2-desktop:root=UUID=b5f05dbc-ff30-407a-893f-a445b436b2d3 single A patched version of os-prober 1.52 is building in OBS and will be availalbe in my repo: https://build.opensuse.org/package/show?package=os-prober&project=home%3Aplease_try_again ... whenever OBS is done - you never know if it takes minutes, hours, days... I ran os-prober on 12.1 to scan for 12.2. It's actually Milestone 3 (bug is discussed here: http://forums.opensuse.org/english/get-technical-help-here/pre-release-beta/...) -- 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.