bobalazs

restore uefi boot loader windows 7810

Aug 22nd, 2019
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1.  
  2. Kyhi said: View Post
  3. - Boot the computer using the Windows 7/8/8.1/10 installation media.
  4. - On the first screen, press SHIFT+F10 to bring up the command prompt.
  5. - Run the following commands at the command prompt.
  6.  
  7. diskpart
  8. list disk
  9. select disk # Note: Select the disk where you want to add the EFI System partition.
  10. list partition
  11. select partition # Note: Select the Windows OS partition (# number) or your data partition.
  12. shrink desired=100
  13. create partition efi size=100
  14. format quick fs=fat32
  15. assign letter=s
  16. list partition
  17. list volume Note: Note the volume letter where the Windows OS is installed.
  18. exit
  19.  
  20. bcdboot X:\windows /s S:
  21. Note: Replace "X" with the volume letter of the Windows OS partition.
  22.  
  23. BCDBoot copies the boot files from the Windows partition to the EFI System partition and creates the BCD store in the same partition.
  24.  
  25. Remove the Windows installation media and restart the computer into your BIOS settings and set the SSD as the First Boot Device.
Advertisement
Add Comment
Please, Sign In to add comment