Automatic Repair Fails
Within Windows recovery select the option to launch command prompt.
With the command prompt open type:
DISKPART
list disk
Find the disk you are trying to fix. This is most likelyDISK 0
sel disk 0
list part
list volume
Find the letter that belongs to the OSexit
(to exit diskpart)bcdboot x:\windows
(wherex
refers to the volume letter belonging to Windows)
Reboot and see if the computer boots now.
If you get an error message when running the bcdboot
command:
- boot into your preferred partition tool
- if the
ESP
partition exists, delete it. - if not, make sure the drive is GPT and find a way to create at least 40mb of unallocated space
- reboot back into windows recovery
Within Windows recovery select the option to launch command prompt.
With the command prompt open type:
DISKPART
list disk
Find the disk you are trying to fix. This is most likelyDISK 0
sel disk 0
list part
create part efi
format quick fs=fat32
list part
(verify you see the new partition)list volume
Find the latter that belongs to the OSexit
(to exit diskpart)bcdboot x:\windows
(wherex
refers to the volume letter belonging to Windows)
Reboot and see if the computer boots now.