Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 380879 - sys-boot/grub-1.99: /etc/grub.d/30_os-prober references grub-probe instead of grub2-probe
Summary: sys-boot/grub-1.99: /etc/grub.d/30_os-prober references grub-probe instead of...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Tomáš Chvátal (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-27 19:22 UTC by Eric Siegel
Modified: 2011-08-28 18:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Siegel 2011-08-27 19:22:59 UTC
In /etc/grub.d/30_os-prober, under the "macosx" entry (line 170), it's trying to run grub-probe.  This program was installed as grub2-probe, so grub2-mkconfig fails.

Reproducible: Always

Steps to Reproduce:
1. Have Mac OS X installed on a partition
2. sudo grub2-mkconfig
Actual Results:  
Stops running at "Found Mac OS X on /dev/sda2"

Expected Results:  
Completes making grub.cfg file

To fix this, I did "ln -s /sbin/grub2-probe grub-probe"
Comment 1 Eric Siegel 2011-08-27 19:25:48 UTC
Err, that should be "ln -s /sbin/grub2-probe /sbin/grub-probe"
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2011-08-28 10:51:00 UTC
Fixed the hardcoded grub-probe call with revision bump.

Thanks for the report.
Comment 3 Eric Siegel 2011-08-28 18:13:20 UTC
Cool, it's working correctly now!