Repair the EFI Bootloader in Windows 11
If you do have the Installation Media:
- Insert the Media (DVD or USB) in your personal computer and restart.
- Boot from the media.
- Select Repair Your Computer.
- Select Troubleshoot.
- Select Advanced Options.
- Choose Command Prompt from the menu:
- Type and run the command:
diskpart
- Type and run the command:
select disk 0
- Type and run the command:
list vol
- 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:
- Type and run the command:
select vol <number of volume>
- Type and run the command:
assign letter=<drive letter>
- Type and run the command:
exit
If you do not have the Installation Media:
- Use one of the methods in the following article to boot into the Windows Advanced Startup Options Menu:
- Select Repair your computer from the menu that appears.
- Select Command Prompt from the Advanced Options tab in the Troubleshoot screen:
- Type and run the command:
diskpart
- Type and run the command:
select disk 0
- Type and run the command:
list vol
- 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:
- Type and run the command:
select vol <number of volume>
- Type and run the command:
assign letter=<drive letter>
- Type and run the command:
exit
- To repair the boot record:
- Type and run the command:
cd /d <drive letter>:\EFI\Microsoft\Boot\
- Type and run the command:
bootrec /FixBoot
Repair EFI Bootloader in Windows 10
If you do have the Installation Media:
- Insert the Media (DVD or USB) in your personal computer and restart.
- Boot from the media.
- Select Repair Your Computer.
- Select Troubleshoot.
- Select Advanced Options.
- Choose Command Prompt from the menu:
- Type and run the command:
diskpart
- Type and run the command:
sel disk 0
- Type and run the command:
list vol
- 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.):
- Type and run the command:
sel vol <number of volume>
- Type and run the command:
assign letter <drive letter>:
- Type and run the command:
exit
- To repair the boot record:
- Type and run the command:
cd /d <drive letter>:\EFI\Microsoft\Boot\
- Type and run the command:
bootrec /FixBoot
If you do not have the Installation Media:
- Use one of the methods in the following article to boot into the Windows Advanced Startup Options Menu:
- Select Repair your computer from the menu that appears.
- Select Command Prompt from the Advanced Options tab in the Troubleshoot screen:
- Type and run the command:
diskpart
- Type and run the command:
sel disk 0
- Type and run the command:
list vol
- 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:
- Type and run the command:
sel vol <number of volume>
- Type and run the command:
assign letter=<drive letter>:
- Type and run the command:
exit
- To repair the boot record:
- Type and run the command:
cd /d <drive letter>:\EFI\Microsoft\Boot\
- Type and run the command:
bootrec /FixBoot
Rebuild the Boot Configuration Data (BCD) store in Windows 11 and Windows 10 (Version 1709 and newer):
Rebuild the BCD store.
- First run the command below to back up the old BCD:
ren BCD BCD.bak
- 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.)bootrec /rebuildbcd
Rebuild the BCD store in Windows 10 (before Version 1709):
Rebuild the BCD store.
- First run the command below to back up the old BCD:
ren BCD BCD.old
- Now re-create it using this command:
bcdboot c:\Windows /l en-us /s <boot letter>: All
How to repair your Main Boot Record (MBR)
These steps apply to any legacy drive used as a boot drive on a Windows Operating System. It has been left here as a reference.
- 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.
- Click the Repair your Computer link at the bottom of the Install Now screen.
- Click Troubleshoot.
- Select Command Prompt
- Enter the following three commands in turn, following each by pressing the Enter key:
bootrec /fixmbr
bootrec /fixboot
bootrec /rebuildbcd
- Restart the computer with the installation media removed to check if the repair worked.