Ubuntu – Unable to boot into Windows after installing Ubuntu, how to fix


I installed Windows on my computer, followed by an installation of Ubuntu. However, now I'm unable to boot into my Windows install.

What can I do to fix this?

Best Answer

  • I am going to make some assumptions:

    1. That Windows is installed and configured to boot via UEFI.
    2. Ubuntu is installed and configured to boot via UEFI.
    3. You're currently seeing the grub menu at boot.

    If any of those assumptions is false, then the following advice will not help you (though it won't hurt anything either):

    Create a file, /boot/grub/custom.cfg (by running sudo -H gedit /boot/grub/custom.cfg) with these contents:

    #This entry should work for any version of Windows installed for UEFI booting
    menuentry "Windows (UEFI)" {
     search --set=root --file /EFI/Microsoft/Boot/bootmgfw.efi
     chainloader /EFI/Microsoft/Boot/bootmgfw.efi

    (Copy and paste the above into the Gedit window that comes up, then save and quit Gedit)

    Reboot and you should see an entry titled "Windows (UEFI)" and if you select it then Windows should boot. If that does not work, please run boot info script (http://bootinfoscript.sourceforge.net/ ) and post the RESULTS.txt that it produces so that I have the information needed to give you proper advice.

  • Related Question