Replacing the Linux distro on my laptop I noticed that CentOS 7 didn’t populate the Windows partition into the boot loader. After reading through the massive number of forum posts on the subject, one of the solutions is quite simple. If you’re using GRUB and have no concerns with adding the EPEL repo, these three steps will get you rolling:
- Install the EPEL repo.
[root@localhost ~]# yum install epel-release [...] Installed: epel-release.noarch 0:7-5 Complete!
- Install NTFS support from the EPEL repo.
[root@localhost ~]# yum install ntfs-3g [...] Installed: ntfs-3g.x86_64 2:2014.2.15-8.el7 Complete!
- Update the grub configuration.
[root@localhost ~]# grub2-mkconfig -o /boot/grub2/grub.cfg Generating grub configuration file ... Found linux image: /boot/vmlinuz-3.10.0-123.el7.x86_64 Found initrd image: /boot/initramfs-3.10.0-123.el7.x86_64.img Found linux image: /boot/vmlinuz-3.10.0-123.20.1.el7.x86_64 Found initrd image: /boot/initramfs-3.10.0-123.20.1.el7.x86_64.img Found linux image: /boot/vmlinuz-0-rescue-a3e1a56c33cc4ead8d1445a45a3254ee Found initrd image: /boot/initramfs-0-rescue-a3e1a56c33cc4ead8d1445a45a3254ee.img Found Windows 7 (loader) on /dev/sda1 done