How to repair the EFI bootloader on a GPT HDD for Windows 7, 8, 8.1 and 10

In this post we will see how can we restore/recover our EFI bootloader for Windows system. We will see the steps for Windows 7 , Windows 8 , Windows 10.


Using Installation Media

For Windows 7:

  1. Insert the Media (DVD/USB) in your PC and restart.

  2. Boot from the media.

  3. Select Repair Your Computer.

  4. Select the operating system, and click next.

  5. Choose Command Prompt from the menu

For Windows 8 :

  1. Insert the Media (DVD/USB) in your PC and restart.

  2. Boot from the media.

  3. Select Repair Your Computer.

  4. Select Troubleshoot.

  5. Choose Command Prompt from the me

For Windows 10 :
  1. Insert the Media (DVD/USB) in your PC and restart.

  2. Boot from the media.

  3. Select Repair Your Computer.

  4. Select Troubleshoot.

  5. Select Advanced Options.

  6. Choose Command Prompt from the menu:



-Then run below commands in command prompt:
  1. Type and run the command:

    diskpart

  2. Type and run the command:

    sel disk 0

  3. Type and run the command:

    list vol


- Now Verify that the EFI partition (EPS - EFI System Partition) is using the FAT32 file system. Assign a drive letter to it.

  1. Type and run the command:

    sel vol <number of volume>

  2. Type and run the command:

    assign letter=<drive letter>:

  3. Type and run the command:

    exit

-In order to repair the boot record:

  1. Type and run the command:

    cd /d <drive letter>:\EFI\Microsoft\Boot\

  2. Type and run the command:

    bootrec /FixBoot


-Now rebuild the BCD store

  1. First run the command below to back up the old BCD:

    ren BCD BCD.old

  2. Now recreate it using this command:

    bcdboot c:\Windows /l en-us /s <boot letter>: All


NOTE: If you are creating boot entries on an attached USB Flash or other external drive, add /f between the : and the ALL. Remember that the <boot letter> is replaced with the letter of the drive that you are booting from. (e.g., C:\, D:\)
 

Without Installation Media


  1. Restart your PC.

  2. Tap rapidly on the <F8> key once the PC has turned on, but before the Windows Splash Screen appears.

  3. Select Repair your computer from the menu that appears.

  4. Select Command Prompt from the Recovery Options.

  5. repeat "diskpart"commands from here



Sharing is Caring😀

Post a Comment

0 Comments