ORIGINAL ISSUE: First I accidentally did bcdedit /deletestore deleted the Windows entry to boot. And so it was unable to boot, and failing with Unable to find BootBCD file, 0xc0000098 error.
I tried various options, but none worked, so decided to recreate BCD from scratch.
RECREATING_BCD_FROM_SCRATCH: When I booted with Windows Install disk, and went into Repair Computer Mode, Command Prompt. Found that System Reserved Partition was on C: drive. And my Windows Install was on E: drive.
So I followed the steps below to recreate BCD in my system Reserved Partition in C drive. These are the steps I did, since the import command in the links above didnt work, followed Nathan Brown's suggestion). bcdedit /createstore C:BootBCD bcdedit.exe /store C:BootBCD /create {bootmgr} /d "Windows Boot Manager" bcdedit.exe /store C:BootBCD /set {bootmgr} device partition=C: bcdedit.exe /store C:BootBCD /timeout 10
bcdedit.exe /create /d "Microsoft Windows" /application osloader bcdedit.exe should retu a message with a GUID for the newly-created entry, something like this: The entry {c0dfc4fa-cb21-11dc-81bf-005056c00008} was successfully created. In my case, Windows was installed on E drive. bcdedit.exe /store C:BootBCD /set {c0dfc4fa-cb21-11dc-81bf-005056c00008} device partition=E: bcdedit.exe /store C:BootBCD /set {c0dfc4fa-cb21-11dc-81bf-005056c00008} osdevice partition=E: bcdedit.exe /store C:BootBCD /set {c0dfc4fa-cb21-11dc-81bf-005056c00008} path Windowssystem32winload.exe bcdedit.exe /store C:BootBCD /set {c0dfc4fa-cb21-11dc-81bf-005056c00008} systemroot Windows
And, last of all, tell the bootmgr bootloader to list the new entry or else it’ll remain hidden: bcdedit.exe /displayorder {c0dfc4fa-cb21-11dc-81bf-005056c00008}
ERROR: But then, it booted, but when I ran bcdedit, I was not getting any output, But I was getting this error, when I ran bcdedit. bcdedit error The boot configuration data store could not be opened. The volume for a file has been exteally altered so that the opened file is no longer valid.
So, I figured that it needs to imported to main drive's(where Windows is Installed) Boot configuration from the System Reserved Folder.
IMPORTING_BCD_FROM_SYSTEM_RESERVED_PARTITION_TO_MAIN_DRIVE_THAT_HAS_WINDOWS:
RESULT: So, now if I run bcdedit command, then I can see the bootmgr and Windows osloader configuration correctly.
NEW_PROBLEM_WITH_BCD: And now my current problem is that, I am not able to enable debugsettings in my local PC, this is the error I am getting: bcdedit /dbgsettings local An error occurred while attempting to access the boot configuration data. The system caot find the file specified.
Can someone let me know, if I made a mistake in re-creating my BCD or importing,and why this problem exists.
برچسب:
نویسنده: استخدام کار