0

I had a dual boot computer with Ubuntu and Windows. I followed this guide with the 'What if you don't have a Windows Installation', i.e. I ran bcdedit /set “{bootmgr}” path \efi\microsoft\boot\bootmgfw.efi. I actually got 'command completed successfully' and I proceeded to remove my Ubuntu partition. Unfortunately, I wasn't able to boot to Windows.

I then created a bootable Windows USB and tried to follow the 'Remove the GRUB bootloader' section however I got 'Access Denied' when I ran bootrec /fixboot.

I then stumbled across this thread which linked to this thread which said that you can fix it with the bcdboot N:\windows /s M: command (I had to use different letters for my disks but the concept holds).

I now manage to boot into Windows but it needs the USB to be inserted. I understand that it is using the bootloader off of the USB but now I can't switch that back...how can I fix it? I can't boot into the USB as a recovery device, it just defaults to the bootloader now. I can't get back to the command line to set the 'correct' bootloader now. When I try to go to 'Advanced Options' it only shows UEFI Options. If I try to boot without UEFI it defaults to the grub installation.

Any suggestions on how to proceed please?

Nik
  • 101

0 Answers0