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
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
Code: Select all
awk -F\' '$1=="menuentry " {print i++ " : " $2}' /etc/grub2.cfg
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)
Code: Select all
cat /etc/default/grub
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"
Marco