[Solved]Dual Boot Windows 10 and Cent0S7

General support questions
Post Reply
goudeuk
Posts: 32
Joined: 2013/09/02 11:46:50
Location: London

[Solved]Dual Boot Windows 10 and Cent0S7

Post by goudeuk » 2018/11/28 12:36:11

Hello

I have been trying to dual boot Win10 and CentOS7 using EFI with no success. Did anyone have a working dual boot EFI installation of Windows 10 and CentOS7?

Everything seems to be going well until I reboot the machine and it goes straight into CentoOS7, it does not give me the option to start Windows. The latest "How-To" I used was this: http://dalesawanas.myknet.org/how-to-pr ... -centos-7/

grub2-mkconfig outputs this:

Code: Select all

grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.10.0-862.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-862.el7.x86_64.img
Found linux image: /boot/vmlinuz-0-rescue-215fcd01437b4f62b63fbf2f34fbb5b6
Found initrd image: /boot/initramfs-0-rescue-215fcd01437b4f62b63fbf2f34fbb5b6.img
done
I should be able to see the windows partition here but is not showing up, however I can see it mounted inside (proc/mounts).

Code: Select all

/dev/md126p2 /boot/efi vfat rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=winnt,errors=remount-ro 0 0
Any suggestions please?

Many thanks
Last edited by goudeuk on 2018/12/03 15:39:25, edited 1 time in total.

Mike_Rochefort
Posts: 215
Joined: 2016/03/16 02:34:19

Re: Dual Boot Windows 10 and Cent0S7

Post by Mike_Rochefort » 2018/11/28 21:25:49

Using a functional EFI dual-boot over here. Are you trying to add to the grub menu or access windows however possible? I usually just use F11 to access my bootloaders and select Windows Boot Manager when the menu appears.

If you haven’t, disable Fast and Secure Boot in the BIOS.

Cheers,
Mike
Solution Architect @RedHat | RHCE
Former SysAdmin @BlueSkyStudios and @Pixar
Feature animation and VFX enthusiast
--
Report CentOS Stream 8 bugs: https://da.gd/c8s-bugs
Report CentOS Stream 9 bugs: https://da.gd/c9s-bugs

mghe
Posts: 766
Joined: 2015/11/24 12:04:43
Location: Katowice, Poland

Re: Dual Boot Windows 10 and Cent0S7

Post by mghe » 2018/11/29 07:54:47

If You have possibility, You should consider use 2 HDD.
Installing 2 OS on 2 HDD is hassle-free.

goudeuk
Posts: 32
Joined: 2013/09/02 11:46:50
Location: London

Re: Dual Boot Windows 10 and Cent0S7

Post by goudeuk » 2018/12/03 10:51:08

Hi

By pressing F11 Windows boots but it goes into repair mode and asks me to choose an option. If I press nothing the PC boots straight into CentOS7.
I think I should re-install the OS's again. This is going to be the 10th time :roll:

Thank you

Mike_Rochefort
Posts: 215
Joined: 2016/03/16 02:34:19

Re: Dual Boot Windows 10 and Cent0S7

Post by Mike_Rochefort » 2018/12/03 14:11:20

Make sure you disable CSM support in the BIOS of you want to ensure UEFI based systems. Also, a habit cram my Hackintosh days, unplug all other drives when installing an OS, just to make sure their bootloaders don’t mess with each other.

Cheers,
Mike
Solution Architect @RedHat | RHCE
Former SysAdmin @BlueSkyStudios and @Pixar
Feature animation and VFX enthusiast
--
Report CentOS Stream 8 bugs: https://da.gd/c8s-bugs
Report CentOS Stream 9 bugs: https://da.gd/c9s-bugs

goudeuk
Posts: 32
Joined: 2013/09/02 11:46:50
Location: London

[Solved]Re: Dual Boot Windows 10 and Cent0S7

Post by goudeuk » 2018/12/03 15:37:28

Hi Mike

Thank you for your help. I just re-installed the OSs and they start fine so far. Like you suggested, I did have to disable "quickboot" so I could see which button I need to press to get the "boot menu" up. In my case is F9, and from there I can choose which OS to boot from.

Long time ago, I had fedora and windows XP running on a PC. When the PC started, the grub menu was popping up and from there I could choose which OS to boot from. I was expecting the same behaviour this time with the EFI boot.

Anyway, thank you for pointing me to the right direction.

Post Reply