grub2 dual boot windows entry

asked 2017-09-17 09:35:31 -0500

sandeep gravatar image

Got a new acer spin 3 machine. Install fedora on dual boot. However windows partition will not show up. I followed instruction posted here: https://www.reddit.com/r/Fedora/comme...windowsbootafterinstallingfedora25/

Essentially
1. copied the Windows/Boot/EFI to /boot/efi/Microsoft/Boot
2. Then added a entry to the grub.d/40_custom

```

#!/bin/sh
exec tail -n +3 $0
menuentry 'Microsoft Windows 10' {
set root='hd0,gpt1'
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
boot
}
```

  1. update grub

grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg

However, I still don't see windows partition:

sh [root@localhost ~]# grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg Generating grub configuration file ... Found linux image: /boot/vmlinuz-4.12.8-300.fc26.x86_64 Found initrd image: /boot/initramfs-4.12.8-300.fc26.x86_64.img Found linux image: /boot/vmlinuz-4.11.8-300.fc26.x86_64 Found initrd image: /boot/initramfs-4.11.8-300.fc26.x86_64.img Found linux image: /boot/vmlinuz-0-rescue-227f1017eeeb4359a87087474f3eecf7 Found initrd image: /boot/initramfs-0-rescue-227f1017eeeb4359a87087474f3eecf7.img done

edit retag flag offensive close merge delete

Comments

copied the Windows/Boot/EFI to /boot/efi/Microsoft/Boot

Should that not have been /boot/efi/EFI/Microsoft/Boot

villykruse gravatar imagevillykruse ( 2017-09-18 02:43:44 -0500 )edit