[SOLVED] Windows 10 dual boot problem

General support questions
Post Reply
merlino3d
Posts: 5
Joined: 2015/04/03 18:41:37

[SOLVED] Windows 10 dual boot problem

Post by merlino3d » 2018/03/05 16:47:27

SOLUTION: It seems that I just messed up with boot partitions so I had too much of them. I started reinstalling win 10 (efi), then centos (mounting the already existing efi boot partition at /boot/efi) and then all worked right. Thanks a lot for all the other posts that helped me to achieve the desired result! It's a great community! The only problem I found now is that my ati 7970 video card isn't supported and I work in the 3D industry, and this is NOT good. Too bad the amd support right now (at least for my video card)


Hi everyone, I have a strange problem (maybe it's really simple but I can't see it) configuring grub for dual boot: CentOS 7 and Windows 10
Grub2 find Windows 10, and typing:

Code: Select all

grub2-mkconfig -o /boot/grub2/grub.cfg
gives me this result:

Code: Select all

Found linux image: /boot/vmlinuz-4.15.7-1.el7.elrepo.x86_64
Found initrd image: /boot/initramfs-4.15.7-1.el7.elrepo.x86_64.img
Found linux image: /boot/vmlinuz-3.10.0-693.17.1.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-693.17.1.el7.x86_64.img
Found linux image: /boot/vmlinuz-3.10.0-693.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-693.el7.x86_64.img
Found linux image: /boot/vmlinuz-0-rescue-c31abfd5f9554e228c59f249d5327825
Found initrd image: /boot/initramfs-0-rescue-c31abfd5f9554e228c59f249d5327825.img
Found Windows Boot Manager on /dev/sdc1@/EFI/Microsoft/Boot/bootmgfw.efi
done
if I type:

Code: Select all

awk -F\' '$1=="menuentry " {print i++ " : " $2}' /etc/grub2.cfg
it gives me:

Code: Select all

0 : CentOS Linux (4.15.7-1.el7.elrepo.x86_64) 7 (Core)
1 : CentOS Linux (3.10.0-693.17.1.el7.x86_64) 7 (Core)
2 : CentOS Linux (3.10.0-693.el7.x86_64) 7 (Core)
3 : CentOS Linux (0-rescue-c31abfd5f9554e228c59f249d5327825) 7 (Core)
4 : Windows Boot Manager (on /dev/sdc1)
Typing:

Code: Select all

cat /etc/default/grub
Returns me:

Code: Select all

GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_SAVEDEFAULT=true
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet"
GRUB_DISABLE_RECOVERY="true"
The problem is: when I reboot I can only see the CentOS options. Any idea? Thanks!
Marco

Post Reply