Re: Windows missing from grub.cfg after updating to Fedora 25?

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

 





On 12/02/2016 07:33 PM, Michael D. Setzer II wrote:
In doing more research, I am finding an error that might be cuasing the
grub2-mkconfig to not work.

Manually putting the lines in the grub.cfg file, I can boot to the windows 10
with no problem.

Just tried to mount the windows partition from the fedora 25, and get the
following error??
/sbin/mount.ntfs: symbol lookup error: /sbin/mount.ntfs: undefined symbol:
ntfs_xattr_build_mapping

Did a dnf reinstall of ntfs-3g, and got the same error.

Just downloaded the ntfs-3g_ntfsprogs-2016.2.22.tgz which seems to be the
same version, did a configure, make and then make install. Was then able to
mount the partitions, and just now ran the grub2-mkconfig and it worked.

So, not sure what was causign the symbol lookup error??


On 3 Dec 2016 at 11:59, Michael D. Setzer II wrote:
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
<users@xxxxxxxxxxxxxxxxxxxxxxx>
From:           	jd1008 <jd1008@xxxxxxxxx>
Date sent:      	Fri, 2 Dec 2016 18:54:05 -0700
Send reply to:  	Community support for Fedora users
<users@xxxxxxxxxxxxxxxxxxxxxxx>


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.
Then you really should report the error to bugzilla.redhat.com (assuming you have a free account there).
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]
  Powered by Linux