В Sun, 15 Mar 2015 21:52:36 +1000
"Michael D. Setzer II" <[email protected]> пишет:

> Have Lenova machine that have two windows 7 partitions, the first being 
> there recover partition, and the second being the real windows 7. When 
> running grub2-mkconfig it creates entries for both, which sometimes students 
> would select the wrong one. When I installed the Fedora 20, I had found that 
> making a change to 30_osprober to get it to filter out elimanated the option. 
> Just upgraded machines to Fedora 21, and it went back to the old setup, and 
> did the same thing to again correct the issue.
> 
> OSPROBED="`os-prober | grep sda2 | tr ' ' '^' | paste -s -d ' '`"
> 
> The | grep sda2 was added to filter out the sda1 windows partition.
> 
> Is there a better way to do this?

Current grub allows skipping of partitions by adding their UUIDs to
GRUB_OS_PROBER_SKIP_LIST. You need to ask your distribution whether it
is included in version shipped in it.

_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub

Reply via email to