skateguy

GPT boot repair guide

Mar 13th, 2018
432
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 KB | None | 0 0
  1. Method 2. Use diskpart/
  2.  
  3. If you are a Windows 10 or 8 user and you prefer free methods to fix UEFI boot error, you may follow below solution to solve this issue now:
  4.  
  5. 2.1 Use diskpart to repair Windows 10/8 UEFI
  6.  
  7. Insert Windows 10/8.1/8 installation disk or installation USB into PC > Boot from the disk or USB;
  8. Click Repair your computer or hit F8 at the Install now screen;
  9. Click Troubleshoot > Advanced options > Command Prompt;
  10. Type below command and hit Enter each time:
  11.  
  12. diskpart
  13. DISKPART>
  14. sel disk 0
  15. When the message "Disk 0 is now the selected disk" shows up, type:
  16. list vol
  17.  
  18. diskpart will now show the full list of volumes on your PC, find UEFI volume from the list: UEFI partition will be on Volume 2.
  19. Type below command and hit Enter each time:
  20.  
  21. sel vol 2
  22. assign letter=G: Note: G shall be a unique drive letter which cannot be already used;
  23.  
  24. When the message "DiskPart successfully assigned the drive letter or mount point", type below command and hit Enter each time:
  25.  
  26. exit
  27. cd /d G:\EFI\Microsoft\Boot\
  28. cd /d G:\Boot\ or cd /d G:\ESD\Windows\EFI\Microsoft\Boot\
  29. Note: G is the drive letter you signed to UEFI partition and remember to replace G with UEFI’s partition letter.
  30. bootrec /fixboot
  31. ren BCD BCD.bak
  32. bcdboot C:\Windows /l en-us /s x: /f ALL Note: c:\ is the drive where Windows 10/8.1/8 is installed on.
  33.  
  34. You can also run: bootrec /rebuildbcd > hit Enter;
  35.  
  36. Type: exit in Command Prompt > Restart PC.
  37.  
  38. Now UEFI boot is fixed and Windows 10/8.1/8 can be boot again.
Advertisement
Add Comment
Please, Sign In to add comment