Red hat has released an RHEL Subscription for developers under Red Hat Developer Program. And to put a cherry on the cake, it is free of cost Subscription. Me being a newbie to RHEL, I thought it’s worth giving it a try (because now we have it for free. 😉 ) Considering the same, I went ahead, downloaded and installed it alongside windows. Everything looked great until I noticed that windows entry wasn’t listed on grub.
We can figure out if windows is listed by running grub2-mkconfig. grub2-mkconfig which creates a new configuration file with all the operating systems that are installed on the system.
So to ease things out for you, execute the following command and see if windows in listed in the output. (here /dev/null will discard the output.)
sudo grub2-mkconfig > /dev/null
If windows is listed in the output, we can replace the configuration file with this. To do this we will first take a backup of the current configuration file and then replace the original file.
sudo cp /boot/grub2/grub.cfg /boot/grub2/grub.cfg.old sudo grub2-mkconfig -o /boot/grub2/grub.cfg
If windows is not listed in the output, we will have to install ntfs-3g and again try the above commands.
To install ntfs-3g we will have to install EPEL repository. We can do this by
wget -c https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm yum install epel-release-latest-7.noarch.rpm
And now we can install ntfs-3g by
yum install ntfs-3g
now execute the grub2-mkconfig commands displayed above and you should see the windows listed in the output. Additionally, if you want to access NTFS file systems in your file explorer then you can install ntfsprogs.
yum install ntfsprogs