I have laptop with two HDD. Each HDD has its own Windows 10 installation. Bios mode is UEFI. I have change boot sequence in bios and start system from second disc. System has done some windows update, but next time I was trying boot my first hdd it failed and got into repair mode. How to get back my main system that in picture below is shown as volume D. Picture is taken while booted from second HDD.
UPD
I have removed my second drive and have booted in recovery mode. I got to command prompt and this is how my partitions look like:
UPD 2
I used DISKPART
and assigned drive letter to system partition:
assign letter=s
then
bcdboot c:\Windows /s S: /f EFI
And not got blue screen with error:
Your device needs to be repaired:
\Windows\system32\driver\pdc.sys
error code 0x000000d