I lost Windows boot option on installation of Fedora 22

Michael D. Setzer II mikes at kuentos.guam.net
Fri May 29 00:26:51 UTC 2015


On 28 May 2015 at 23:02, Bill Oliver wrote:

Date sent:      	Thu, 28 May 2015 23:02:40 +0000 (UTC)
From:           	Bill Oliver <vendor at billoblog.com>
To:             	Community support for Fedora users 
<users at lists.fedoraproject.org>
Subject:        	Re: I lost Windows boot option on installation of Fedora 22
Send reply to:  	Community support for Fedora users 
<users at lists.fedoraproject.org>
	
> On Thu, 28 May 2015, Fred Smith wrote:
> 
> > On Thu, May 28, 2015 at 10:16:27PM +0000, Bill Oliver wrote:
> >>
> >> Help!
> >>
> >> I had a dual boot box using Kubuntu and Windows 8.  In GRUB, the Windows
> >> option was listed as "Windows Boot Loader".  When Fedora 22 came out
> >> yesterday, I jumped to it.  I installed it without a problem, but the
> >> Windows option is no longer listed.
> >>
> >> The Windows partitions are still there(the fdisk output is
> >> below.
> >>
> >> Any help on how to add it to the boot options?
> >
> > I dunno if this will help you with F22, but here it is, FWIW.
> >
> > I have a dual-core netbook that came with Win7, and I shrank the
> > partition and installed F19 in the resulting free space, back when F19
> > was not EOL. The F19 installation found the bootable windoze partition(s)
> > without trouble and set up Grub accordingly.
> >
> > But when I replaced the F19 system with Centos-7, it did not.
> >
> > After some digging and list replies to my queries, one kind person told
> > me to try this:
> >
> > 	1) Install ntfs "support"
> > 	yum install -y epel-release
> > 	yum install -y ntfs-3g ntfsprogs
> >
> > 	2) re-run the grub config gen script
> > 	grub2-mkconfig -o /boot/grub2/grub.cfg
> >
> > now, for Fedora, you probably don't need to install the EPEL repo,
> > I think ntfs-3g is probably available in the Fedora repos.
> >
> > If, by any chance, ntfs-3g and ntfsprogs are NOT installed already,
> > that would explain why the windows partition was not found.
> >
> > to make this long story short(er), once I did those steps, Grub now
> > supports booting windows as well as Centos.
> >
> >
> >
> 
> Thanks, but no joy:
> 
> %grub2-mkconfig -o /boot/grub2/grub.cfg
> Generating grub configuration file ...
> Found linux image: /boot/vmlinuz-4.0.4-301.fc22.x86_64
> Found initrd image: /boot/initramfs-4.0.4-301.fc22.x86_64.img
> Found linux image:
> /boot/vmlinuz-0-rescue-78fbe953ac7541f89d8b08858c868950
> Found initrd image:
> /boot/initramfs-0-rescue-78fbe953ac7541f89d8b08858c868950.img
> done
> 

I was going to recommand the grub2-mkconfig, but you show it isn't finding 
the windows?

With my Fedora 21, I ran it with an strace to see what it was doing to find the 
windows 7 that I have on machine. Seems it is the following.
/etc/grub.d/30_os-prober

The script seems to use os-prober to find the windows partitions.
So, see if os-prober reports that it finds any windows partitions.

Not sure is 22 uses the same script, but you might try running it, and see if it 
finds the windows partition. 

What does cat /proc/partitions show?


> billo
> -- 
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org


+----------------------------------------------------------+
  Michael D. Setzer II -  Computer Science Instructor      
  Guam Community College  Computer Center                  
  mailto:mikes at kuentos.guam.net                            
  mailto:msetzerii at gmail.com
  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 at HOME CREDITS
ROSETTA     30000836.373720   |   SETI        53146742.662541
ABC         16613838.513356   |   EINSTEIN    62223466.390700



More information about the users mailing list