Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

How to Repair the EFI Bootloader on a GPT Hard Drive for Windows Operating Systems on your Dell Computer

Summary: This article provides information about how to resolve an issue with the EFI Bootloader not booting correctly on a GPT Hard Disk Drive. It includes instructions for various Windows Operating Systems. ...

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Symptoms

Cause

Introduction

 

Most people with boot issues on Windows Operating Systems choose to reinstall the operating system rather than attempt to fix the boot issue itself.

This article deals with repairing the Extensible Firmware Interface (EFI) bootloader on a GUID [Globally Unique Identifiers] Partition Table (GPT) Hard Disk Drive.

This solution only works for operating systems that are installed on a Unified Extensible Firmware Interface (UEFI) Basic Input/Output System (BIOS).


Back to Top


Resolution

How to repair your EFI Bootloader

 

Windows 7 and Windows 8 typically install on a Legacy BIOS that uses Main Boot Record (MBR). However, Windows 11 and Windows 10 are designed to install on the UEFI BIOS using the EFI bootloader and GPT.

Note: Attempting to repair the root of a hard drive may cause you to lose any data on the drive that was not previously backed up. It is a best practice to always fully back up any drive before working on it or its operating system.

The GPT structure deals with many of the problems that the Bootsect command was designed to remedy in MBR. However, the following instructions take you through repairing the EFI bootloader:

Windows 11

If you do have the Installation Media:

  1. Insert the Media (DVD/USB) in your personal computer 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:

    1. Type and run the command:

      diskpart

    2. Type and run the command:

      select disk 0

    3. Type and run the command:

      list vol

  7. Verify that the EFI partition (EPS - EFI System Partition) is using the FAT32 file system. Assign a drive letter to it that is not already in use:

    1. Type and run the command:

      select vol <number of volume>

    2. Type and run the command:

      assign letter=<drive letter>

    3. Type and run the command:

      exit

 
Note: Go to the information at the end of this section of instructions.
 

If you do not have the Installation Media:

  1. Use one of the methods in the following article to boot into the Windows Advanced Startup Options Menu:

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

  3. Select Command Prompt from the Advanced Options tab in the Troubleshoot screen:

    1. Type and run the command:

      diskpart

    2. Type and run the command:

      select disk 0

    3. Type and run the command:

      list vol

  4. Verify that the EFI partition (EPS) is using the FAT32 file system and assign a drive letter to it that is not already in use:

    1. Type and run the command:

      select vol <number of volume>

    2. Type and run the command:

      assign letter=<drive letter>

    3. Type and run the command:

      exit

  5. 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

Windows 10

If you do have the Installation Media:

  1. Insert the Media (DVD/USB) in your personal computer 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:

    1. Type and run the command:

      diskpart

    2. Type and run the command:

      sel disk 0

    3. Type and run the command:

      list vol

  7. Verify that the EFI partition (EPS - EFI System Partition) is using the FAT32 file system. Assign a drive letter to it that is not already in use.):

    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

Note: If you are running Windows 10 (version 1709 or newer), ignore step 8 and go to the information at the end of this section of instructions.
 
  1. 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

 

If you do not have the Installation Media:

  1. Use one of the methods in the following article to boot into the Windows Advanced Startup Options Menu:

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

  3. Select Command Prompt from the Advanced Options tab in the Troubleshoot screen:

    1. Type and run the command:

      diskpart

    2. Type and run the command:

      sel disk 0

    3. Type and run the command:

      list vol

  4. Verify that the EFI partition (EPS) is using the FAT32 file system and assign a drive letter to it that is not already in use:

    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

  5. 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

Windows 8 and 8.1

If you do have the Installation Media:

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

  2. Boot from the media.

  3. Select Repair Your Computer.

  4. Select Troubleshoot.

  5. Choose Command Prompt from the menu:

    1. Type and run the command:

      diskpart

    2. Type and run the command:

      sel disk 0

    3. Type and run the command:

      list vol

  6. Verify that the EFI partition (EPS - EFI System Partition) is using the FAT32 file system. Assign a drive letter to it (Assign a letter that is not already in use.):

    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

  7. 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

If you do not have the Installation Media:

  1. Restart your personal computer.

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

    Be aware this may take several attempts. The timing for this option was shortened from that in Windows 7.

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

  4. Select Command Prompt from the Troubleshoot screen:

    1. Type and run the command:

      diskpart

    2. Type and run the command:

      sel disk 0

    3. Type and run the command:

      list vol

  5. Verify that the EFI partition (EPS) is using the FAT32 file system. Assign a drive letter to it (Assign a letter that is not already in use.):

    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

  6. 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

Windows 7

If you do have the Installation Media:

  1. Insert the Media (DVD/USB) in your personal computer 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:

    1. Type and run the command:

      diskpart

    2. Type and run the command:

      sel disk 0

    3. Type and run the command:

      list vol

  6. Verify that the EFI partition (EPS - EFI System Partition) is using the FAT32 file system. Assign a drive letter to it that is not already in use:

    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

  7. 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

If you do not have the Installation Media:

  1. Restart your personal computer.

  2. Tap rapidly on the <F8> key once the personal computer 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.

    1. Type and run the command:

      diskpart

    2. Type and run the command:

      sel disk 0

    3. Type and run the command:

      list vol

  5. Verify that the EFI partition (EPS) is using the FAT32 file system and assign a drive letter to it that is not already in use.

    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

  6. 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

Windows 11 and Windows 10 (Version 1709 and newer):

  1. Rebuild the BCD store.

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

      ren BCD BCD.bak

    2. Now re-create it using this command:

      bcdboot c:\Windows /s <boot letter>: /f ALL (You can add a switch before /s for the computer locale: /l <language code>. By default, /l en-us English USA is used.)

    3. bootrec /rebuildbcd

Windows 10 (before Version 1709), Windows 8, and Windows 7:

  1. Rebuild the BCD store.

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

      ren BCD BCD.old

    2. Now re-create it using this command:

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


Back to Top


 

How to repair your Main Boot Record (MBR)

 

These steps apply to any legacy drive used as a boot drive on any recent Windows Operating System.

  1. Use the F12 key at the Dell Splash screen to enter the boot menu. It lets you boot from the Windows installation media or a bootable disk or flash drive.

  2. Click the Repair your Computer link at the bottom of the Install Now screen.

  3. Click Troubleshoot.

  4. Select Command Prompt

  5. Enter the following three commands in turn, following each by pressing the Enter key:

    bootrec /fixmbr

    bootrec /fixboot

    bootrec /rebuildbcd

  6. Restart the computer with the installation media removed to check if the repair worked.

 

If you require further assistance, contact Technical Support.

 

  Contact Us  


Back to Top


Additional Information

Recommended Articles

Here are some recommended articles related to this topic that might be of interest to you.


Out of Warranty support Out of warranty? No problem. Browse to the Dell.com/support website and enter your Dell Service Tag and view our offers.

NOTE: Offers are only available for US, Canada, UK, France, Germany, China, and Japan personal computer customers. Server and Storage not applicable.

Article Properties


Affected Product

Inspiron, Latitude, Vostro, XPS, Fixed Workstations

Last Published Date

27 Apr 2023

Version

13

Article Type

Solution