Restoring MBR after use EasyBCD

tepin

New Member
#1
Hello, I need to undo the modifications made by EasyBCD. I wanted to install XP alongside WIN 10 primary. However, now I am not able to run any system. WIN XP refusing to install - installation ends with a blue screen with the message "Installation was halted because it could damage your computer." Repair installation WIN10 change reports "Disk is locked and it is not possible to install". I am beginner. So please advice on how to proceed step by step. Thank you.
PS: Sorry for my English, I use Google translation.
 

mqudsi

Mostly Harmless
Staff member
#2
This hasn't anything to do with EasyBCD - Windows 10 is installed to a disk that has been GPT-formatted. Windows XP setup aborted because it detected an EFI protective MBR. Windows 10 repair is failing because the drive has been slightly corrupted by XP setup.

Enter the command line instead of automated repair and then follow these instructions:

diskpart.exe
list disk
select disk 0 <----------- from the output of the previous command
attributes disk <-------- displays the attributes of that drive

see if it is marked as readonly
here is what mine shows:
DISKPART> attributes disk
Current Read-only State : No
Read-only : No
Boot Disk : No
Pagefile Disk : No
Hibernation File Disk : No
Crashdump Disk : No
Clustered Disk : No

if it is not marked readonly i would check the partition tables attrbutes

list volume
seclect volume 2 <-------- this is my windows drive
attributes volume <---------this will dump your volume info

here is what mine looks like:

DISKPART> attributes volume
Read-only : No
Hidden : No
No Default Drive Letter: No
Shadow Copy : No

again you are looking for it being marked as readonly.

if they are marked readonly you can clear the attribute

all else fails you can run repair commands to fix the boot record

with bootrec.exe

bootrec /fixmbr
bootrec.exe /fixboot
bootrec.exe /RebuildBcd