My PC was running just fine. I was using a Samsung 870 evo SSD as my system drive. Then I turned off my PC and connected a WD HDD for storage facility. When I turned on the PC, it shows me 'inaccessible boot device' error.
I have checked BIOS. It shows both the SSD and the HDD there - only SSD...