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?

Thanks.

+----------------------------------------------------------+
  Michael D. Setzer II -  Computer Science Instructor      
  Guam Community College  Computer Center                  
  mailto:[email protected]                            
  mailto:[email protected]
  http://www.guam.net/home/mikes
  Guam - Where America's Day Begins                        
  G4L Disk Imaging Project maintainer 
  http://sourceforge.net/projects/g4l/
+----------------------------------------------------------+

http://setiathome.berkeley.edu (Original)
Number of Seti Units Returned:  19,471
Processing time:  32 years, 290 days, 12 hours, 58 minutes
(Total Hours: 287,489)

BOINC@HOME CREDITS
ROSETTA     26847653.434597   |   SETI        46697021.181847
ABC         16613838.513356   |   EINSTEIN    54328756.346700


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

Reply via email to