[Bug 747919] New: grub2 os-prober fail whe OSx partition is present

https://bugzilla.novell.com/show_bug.cgi?id=747919 https://bugzilla.novell.com/show_bug.cgi?id=747919#c0 Summary: grub2 os-prober fail whe OSx partition is present Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: All OS/Version: openSUSE 12.1 Status: NEW Severity: Major Priority: P5 - None Component: Bootloader AssignedTo: jsrain@suse.com ReportedBy: simone.tolotti@gmail.com QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.33 Safari/535.19 Launching grub2-mkconfig -o /boot/grub2/grub.cfg fails if a OSX partition is present. Reproducible: Always Steps to Reproduce: 1.install grub2 + os-pober 2.run 'sudo grub2-mkconfig -o /boot/grub2/grub.cfg' 3. Actual Results: The scripts stops when trying to detect Mac OSX. Expected Results: The scripts correctly detects OSx and other linuxes. I've found that if you change line 171 in file /etc/grub.d/30_os-prober from: OSXUUID="`grub-probe --target=fs_uuid --device ${DEVICE} 2> /dev/null`" to: OSXUUID="`${grub_probe} --target=fs_uuid --device ${DEVICE} 2> /dev/null`" fixes the 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=747919 https://bugzilla.novell.com/show_bug.cgi?id=747919#c1 --- Comment #1 from Simone Tolotti <simone.tolotti@gmail.com> 2012-02-20 19:16:52 UTC --- Created an attachment (id=476947) --> (http://bugzilla.novell.com/attachment.cgi?id=476947) patch that fixes the issue, my first patch hope I made it right... -- 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=747919 https://bugzilla.novell.com/show_bug.cgi?id=747919#c Simone Tolotti <simone.tolotti@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|grub2 os-prober fail whe |grub2 os-prober fails when |OSx partition is present |OSX partition is present -- 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=747919 https://bugzilla.novell.com/show_bug.cgi?id=747919#c Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|aj@suse.com |mchang@suse.com -- 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=747919 https://bugzilla.novell.com/show_bug.cgi?id=747919#c4 --- Comment #4 from Michael Chang <mchang@suse.com> 2012-03-21 06:16:33 UTC --- Simone, Your patch is great. Will you submit it to factory? http://en.opensuse.org/openSUSE:How_to_contribute_to_Factory#How_to_submit_a... Let me know if you have any problem. Thanks. -- 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=747919 https://bugzilla.novell.com/show_bug.cgi?id=747919#c5 Michael Chang <mchang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |simone.tolotti@gmail.com --- Comment #5 from Michael Chang <mchang@suse.com> 2012-03-29 03:14:07 UTC --- Hi Simone, I think it would be good to know if you'll submit the patch or not? If not I would submit with your name as "fixed by ..." in changelog. Let me know about your idea. Hope things get done in next release (5 April). Thanks. :) -- 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=747919 https://bugzilla.novell.com/show_bug.cgi?id=747919#c6 --- Comment #6 from Simone Tolotti <simone.tolotti@gmail.com> 2012-03-29 18:14:21 UTC --- Hi, I don't know how to submit the patch, and actually I don't have the time to learn how "osc" works, sorry... If you could submit the fix for me I'll thank you. -- 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=747919 https://bugzilla.novell.com/show_bug.cgi?id=747919#c7 --- Comment #7 from Bernhard Wiedemann <bwiedemann@suse.com> 2012-03-31 16:00:11 CEST --- This is an autogenerated message for OBS integration: This bug (747919) was mentioned in https://build.opensuse.org/request/show/112069 Factory / grub2 -- 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=747919 https://bugzilla.novell.com/show_bug.cgi?id=747919#c8 Simone Tolotti <simone.tolotti@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|simone.tolotti@gmail.com | Resolution| |FIXED AssignedTo|mchang@suse.com |jsrain@suse.com --- Comment #8 from Simone Tolotti <simone.tolotti@gmail.com> 2012-03-31 15:23:15 UTC --- I've found a way to push the changes through OBS, I never thought it was so easy ;-) -- 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=747919 https://bugzilla.novell.com/show_bug.cgi?id=747919#c9 Michael Chang <mchang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mchang@suse.com --- Comment #9 from Michael Chang <mchang@suse.com> 2012-04-02 08:00:27 UTC --- Hey! as you may already know .. JFYI. :) http://en.opensuse.org/openSUSE:How_to_contribute_to_Factory -- 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