ERROR.

Recursos simbólicos para la Praxis cotidiana.

Add preexisting Windows 10 to Grub2 bootloader on CentOS 8

So… I installed a CentOS 8 copy beside a preexisting Windows 10, just to realize on first boot that the install process didn’t recognized the Windows partition, nor added the corresponding entry to Grub menu. Damn!

I panicked a little, at first. Then I found this post which helped relieve the anxiety (thank you Technopia!)
https://www.techotopia.com/index.php/Dual_Booting_RHEL_with_Windows

But then I found that the problem, in the first place, was that CentOS base doesn’t come with ntfs-3g package, and that was the reason why the Grub2 installation didn’t recognize the Windows partition.

So, to add the Windows entry to Grub2 menu, you just need to:

1. Add EPEL repository to yum:

# dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
# yum update

Credits to:
https://linuxconfig.org/redhat-8-epel-install-guide

2. Install ntfs-3g:

# yum install ntfs-3g

3. Finally, renegarate Grub2 config file:

# grub2-mkconfig --output=/boot/grub2/grub.cfg

Thanks all! Good luck!


Buy Me A Coffee

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.