Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
21
rated 0 times [  21] [ 0]  / answers: 1 / hits: 286542  / 2 Years ago, tue, may 17, 2022, 9:47:47

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?


More From » boot

 Answers
1

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.


[#34254] Tuesday, May 17, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
aclavadoug

Total Points: 317
Total Questions: 103
Total Answers: 125

Location: Bangladesh
Member since Wed, Mar 24, 2021
3 Years ago
;