[Top][All Lists]

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

grub2-mkconfig question?

From: Michael D. Setzer II
Subject: grub2-mkconfig question?
Date: Sun, 15 Mar 2015 21:52:36 +1000

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?


  Michael D. Setzer II -  Computer Science Instructor      
  Guam Community College  Computer Center                  
  Guam - Where America's Day Begins                        
  G4L Disk Imaging Project maintainer
+----------------------------------------------------------+ (Original)
Number of Seti Units Returned:  19,471
Processing time:  32 years, 290 days, 12 hours, 58 minutes
(Total Hours: 287,489)

address@hidden CREDITS
ROSETTA     26847653.434597   |   SETI        46697021.181847
ABC         16613838.513356   |   EINSTEIN    54328756.346700

reply via email to

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