help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grub2-mkconfig question?


From: Andrei Borzenkov
Subject: Re: grub2-mkconfig question?
Date: Sun, 15 Mar 2015 15:10:43 +0300

В Sun, 15 Mar 2015 21:52:36 +1000
"Michael D. Setzer II" <address@hidden> пишет:

> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]