I have Lenovo G50-70 laptop. It's hard drive started showing problems. After a diagnostic test, I found out that it had many bad sectors and was corrupted. Then, I zero formatted it using SeaTools bootable and ordered an SSD.
After that, I installed the SSD where the hard drive was and installed the old hard drive in place of optical drive using a 9mm caddy. ([Saw it here](https
/youtu.be/J56yj8_QHVM))
Now, when I boot from a Windows 10 bootable usb, it shows a blue screen with Recovery Your PC needs to be repaired. A required device isn't connected it can't be accessed. Code 0xc00000f
I had a Windows 7 iso, too. It showed that Windows failed to start. This could be due to recent hardware/ software changes
I also had a Kali Linux iso. It works fine. It also gets installed without any problems.
I was finally able to remove the HDD. Yet, it still shows a blue screen after booting from USB. Says -
Recovery
Your PC needs to be repaired
A required device isn't connected or can't be accessed
Please help me. I have searched everywhere for this issue, to no avail. Any input would be highly appreciated.
UPDATE- I tried removing both SSD and HDD and then booting from USB. Still, getting the same error. The boot configuration failed because a required device is inaccessible
After that, I installed the SSD where the hard drive was and installed the old hard drive in place of optical drive using a 9mm caddy. ([Saw it here](https

Now, when I boot from a Windows 10 bootable usb, it shows a blue screen with Recovery Your PC needs to be repaired. A required device isn't connected it can't be accessed. Code 0xc00000f
I had a Windows 7 iso, too. It showed that Windows failed to start. This could be due to recent hardware/ software changes
I also had a Kali Linux iso. It works fine. It also gets installed without any problems.
I was finally able to remove the HDD. Yet, it still shows a blue screen after booting from USB. Says -
Recovery
Your PC needs to be repaired
A required device isn't connected or can't be accessed
Please help me. I have searched everywhere for this issue, to no avail. Any input would be highly appreciated.
UPDATE- I tried removing both SSD and HDD and then booting from USB. Still, getting the same error. The boot configuration failed because a required device is inaccessible