On 2 Dec 2016 at 18:54, jd1008 wrote:
Subject: Re: Windows missing from grub.cfg after updating to
Fedora 25?
To: Community support for Fedora users
<[email protected]>
From: jd1008 <[email protected]>
Date sent: Fri, 2 Dec 2016 18:54:05 -0700
Send reply to: Community support for Fedora users
<[email protected]>
>
>
> On 12/02/2016 06:34 PM, Michael D. Setzer II wrote:
> > I just recently updated a system from Fedora 24 to Fedora 25, and
> > everything seemed to go just fine. Just noticed that windows is no longer on
> > the grub boot menu? Reran grub2-mkconfig -o /boot/grub2/grub.cfg and still
> > nothing. entries for 30-osprober show nothing. Running os-prober also shows
> > nothing.
> >
> > Just copied the lines from one of the other 19 machines still running Fedora
> > 24 in place of the missing data, and it seems to work just fine?
> >
> > ### BEGIN /etc/grub.d/30_os-prober ###
> > menuentry 'Windows 10 (loader) (on /dev/sda2)' --class windows --class os
> > $menuentry_id_option 'osprober-chain-689A3A3E9A3A08D8' {
> > insmod part_msdos
> > insmod ntfs
> > set root='hd0,msdos2'
> > if [ x$feature_platform_search_hint = xy ]; then
> > search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2
> > --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2'
> > 689A3A3E9A3A08D8
> > else
> > search --no-floppy --fs-uuid --set=root 689A3A3E9A3A08D8
> > fi
> > parttool ${root} hidden-
> > drivemap -s (hd0) ${root}
> > chainloader +1
> > }
> > ### END /etc/grub.d/30_os-prober ###
> >
> > So, not clear what has caused the grub2-mkconfig to no longer see the
> > Windows 10???
> >
> > Thanks.
> >
> So just copy the segment you quoted from your previous grub.cfg into the
> new one
> and reboot.
That is exactly what I did, and it works, but if I run grub2-mkconfig again, or
the system updates the kernels, it is going to be gone again. So, that would
fix the problem for me, since I have 19 other systems in the classroom, but if
this was the only machine would have to figure out the lines.
> _______________________________________________
> users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
+----------------------------------------------------------+
Michael D. Setzer II - Computer Science Instructor
Guam Community College Computer Center
mailto:[email protected]
mailto:[email protected]
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
ABC 16613838.513356 | EINSTEIN 121316819.288695
ROSETTA 53331492.443432 | SETI 96424152.080904
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]