Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
boot problem notes
========================================================
= BACKSTORY
========================================================
I got a new SSD for my windows 10 home desktop computer recently. I used macrium to clone the HDD -> SSD and changed bios to boot from SSD.
But when I tried cleaning the HDD I somehow corrupted something in the windows boot process (no idea how it happened, I never even touched my SSD).
When I start windows I get error code 0xc000000e (A required device isn't connected or can't be accessed), so I have to go into recovery mode.
Most people online fix this by using bootrec, or worst case scenario bootsect. Nothing works for me.
========================================================
= WINDOWS RECOVERY
========================================================
In bios boot order I have P3: CT500MX500SSD1 (if i boot to this I get Reboot and select proper boot device or Insert boot media in selected boot device and press a key)
If I select windows boot manager (P3: CT500MX500SSD1) then I get error code 0xc000000e (A required device isn't connected or can't be accessed)
It tells me to use recovery tools. Pressing f1 to enter recovery environment just restarts comp and leads back to first screen
so i installed windows recovery onto a usb3 drive and plugged that in. Using that I get the recovery screen.
Doing automatic fix didn't work.
I tried to do system image restore but I don't have any images to restore from.
When I tried a fresh windows reinstall onto my HDD it failed without saying why. Thanks windows!
========================================================
= DISKPART
========================================================
both my disks are gpt (UEFI)
The SSD seems to have all the necessary partitions & volumes
details does not log if vol is active for some reason, so I can't tell which vol is active
My SSD volumes: https://imgur.com/CVvaIlb
========================================================
= BOOTREC
========================================================
bootrec /fixMbr just says operation completed sucesfully
bootrec /fixboot results in access denied
* advice says to use bcdboot copy windows boot files to system partition to fix it instead, but that didnt do anything
* specifically tried bcdboot D:\Windows /s G: /f UEFI (G is my system partition, note both drives are GPT so i probably dont need to specify UEFI as that is default for GPT)
bootrec /rebuidbcd results in "Thre requested system device cannot be found" after trying to add to boot list
========================================================
= CHKDISK
========================================================
chkdsk on C is fine
chkdsk on X results in Errors detected in uppercase file
* but I dont think i should run chkdsk on X
========================================================
= SFC
========================================================
sfc /scannow on x and C results in "windows resource protection could not perform the requested operation"
========================================================
= BCDEDIT
========================================================
bcdedit results in "The boot configuration data store could not be opened. The requested system device cannot be found"
but if i run bcdedit /store EFI\Microsoft\Boot\BCD in the EFI drive it works
then i added onto that /set BOOTLOG true
it will log to C:\windows\ntbootlog.txt
but there's no file there..... :(
========================================================
= BOOTSECT
========================================================
similar thing with bootsect /nt60 sys - i get "the system partiion was not found: the requested system device cannot be found"
maybe i should reset nvram? loooked complicated :(
bcdedit /store F:\EFI\Microsoft\Boot\BCD /displayorder results in:
"THe entry list data is not valid as specified"
========================================================
= NOTES
========================================================
bcdboot: copies boot files from windows to system partition
see https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/bcdboot-command-line-options-techref-di
dskpart: disk partiion manager
EFI/ESP: system partition with OS boot
X drive: special drive in windows recovery mode
PBR/winretools: recovery partitions
boot partition: where windows is installed (main drive)
@Beyarz
Copy link

Beyarz commented Jan 14, 2021

Experiencing the same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment