UNABLE TO BOOT WINDOWS 10 AFTER CentOS 7 INSTALLED

Issues related to hardware problems
Post Reply
temidayo1234
Posts: 1
Joined: 2017/05/03 22:28:52

UNABLE TO BOOT WINDOWS 10 AFTER CentOS 7 INSTALLED

Post by temidayo1234 » 2017/05/03 22:36:19

Hi,

I installed CentOS 7 successfully on my windows 10 for dual OS. After installation, I restarted machine and selected the option "Windows Boot Manager (on /dev/sda2)". I get the message "error: cannot load the image". I also don't see the option to enter BIOS or System setup so that I can change the boot order. I should mention that I also have Linux Mint on the Windows 10 machine. When using Linux Mint I was able to select "system setup" and enter bios to change boot order. I don't see that for CentOS.

Any tips on how to get Windows 10 to boot?

hunter86_bg
Posts: 2019
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: UNABLE TO BOOT WINDOWS 10 AFTER CentOS 7 INSTALLED

Post by hunter86_bg » 2017/05/04 11:50:44

First , let's clarify if you did install Windows 10 and CentOS 7 in UEFI mode ???

The following was tested for Windows7/CentOS7 but most probably will work for UEFI too:
1.Add the epel repo and install the ntfs-3g package
2.Mount the windows partitions (most probably /dev/sda1 and sda2) under /mnt/partition_number
3.Run grub2-mkconfig (depends of UEFI or not)
For Non-UEFI:

Code: Select all

grub2-mkconfig -o /etc/grub2.cfg
For UEFI:

Code: Select all

grub2-mkconfig -o /etc/grub2-efi.cfg
4.Reboot and test if the Windows entry is available now

Post Reply