2ssd dual boot windows10 and centos7

General support questions
Post Reply
Posts: 1
Joined: 2018/01/16 06:59:39

2ssd dual boot windows10 and centos7

Post by nccer » 2018/01/16 07:21:41

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.

User avatar
Forum Moderator
Posts: 24580
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: 2ssd dual boot windows10 and centos7

Post by TrevorH » 2018/01/16 09:00:22

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?
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

Posts: 334
Joined: 2014/06/10 19:13:41

Re: 2ssd dual boot windows10 and centos7

Post by owl102 » 2018/01/16 09:43:54

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

Post Reply