Page 1 of 1

2ssd dual boot windows10 and centos7

Posted: 2018/01/16 07:21:41
by nccer
I have windows10 on my first disk.Today I bought another ssd and installed centos7 on it.
To make sure that I will not lost my windows10 when I formate the centos7,I removed my first disk and then installed the second disk and centos7.
when finished, I install both 2 disk and boot the centos7,login as root
and run grub2-mkconfig -o /boot/grub2/grub.cfg.
The system detected windows10 and updated the grub.cfg.
Until then,things sound like ok,but I did't find the windows10 entry in grub2 menu when I reboot the computer.
Anyone can help me whith this.
Think you.

Re: 2ssd dual boot windows10 and centos7

Posted: 2018/01/16 09:00:22
by TrevorH
You say you ran grub2-mkconfig and it found windows? What did you run and where did you write the output to? Is your system using UEFI or Legacy BIOS?

Re: 2ssd dual boot windows10 and centos7

Posted: 2018/01/16 09:43:54
by owl102
nccer wrote:grub2-mkconfig -o /boot/grub2/grub.cfg.
My guess: You have installed CentOS 7 in UEFI mode. For UEFI, this is not the right destination for grub.cfg, so the file you have written this way is ignored by Grub.

See also: https://access.redhat.com/documentation ... oot_loader