If you HDD can’t be read and its format becomes RAW, please open the cmd as a administrator account and then
type the command “chkdsk D:/f /x” (I use D disk as an example).
Then the problem will be solved. This issue is related to the HDD partition table. It is probably ruined by the virus. And it is also possible that you didn’t unplug the cable correctly.
Use the above command to help recover the HDD.