nikhil.25694
Member
I have a laptop with win 8.1 dual booted with linux. I no longer use linux so i deleted the partition and followed the following steps to repair my win8.1 MBR but I'm able to load windows with the help of pendrive only.
If bootrec utility doesn’t fix your Windows 8/8.1, try following the next commands to fix the EFI bootloader of the Windows 8/8.1:
If bootrec utility doesn’t fix your Windows 8/8.1, try following the next commands to fix the EFI bootloader of the Windows 8/8.1:
- Boot from the installation DVD or the Windows 8 or Windows 8.1 recovery USB
- Click Repair your computer
- Choose Troubleshoot
- Choose Command Prompt
- Type these commands in order and hit Enter after each:
diskpart
sel disk 0
list vol
These commands will select the first disk of your computer and the list all the partitions available on that disk.
- Check for the volume item that has the Fs column FAT32. The EFI partition must be formatted under FAT32.
If the volume number of EFI partition is “2”, type the following command:
sel vol 2
- Assign a letter to this partition, a letter that is different that those already available on your computer, for example x:\. Type this command to assign the letter:
assign letter=x: - Wait for the success message to appear:
DiskPart successfully assigned the drive letter or mount point. - Type exit to quit the DiskPart utility:
exit - Type this command and replace x:\ with the letter you assigned earlier to the EFI partition:
cd /d x:\EFI\Microsoft\Boot\ - Then type the bootrec command to repair the volume:
bootrec /fixboot - Now you need to backup the old BCD and recreate a new one. Type:
ren BCD BCD.backup //this step didn't worked so,I skipped it - Type this command to recreate the BCD and replace the x:\ with the assigned letter earlier:
bcdboot c:\Windows /l en-us /s x: /f ALL In above command, Windows is installed on c:\. If the drive letter where your Windows 8/8.1 is installed is different, replace c:\ with your drive letter. - Remove the DVD from the disk tray
- Type exit
- Restart your computer
Last edited: