I received a hard drive that I suspect might have a virus on it. I'm looking for safe methods to wipe it clean without risking infection to my main PC during the process. Any tips or best practices?
3 Answers
The safest option is definitely to wipe it using a bootable USB tool like DBAN or GParted. This way, your main operating system won't interact with the drive at all, so you're completely avoiding any risk of infection.
I recommend using an external dock to format the drive. You just insert it there and format it. If you don't have one, booting into Linux with a Live USB stick and using its disk management tool is a great second choice. The last option is to connect it to your PC directly and format it in Windows, but there's a tiny risk involved there if there's malware on the drive. Just don't run any files from it and you should be okay.
Is there a way to run a virtual machine to test the drive without risking my system? I've heard about that, but I'm not sure how it works.
The external dock could show drives like when connecting directly. I'd still lean towards booting Linux; it's usually safer.
If you really want to be safe, the best way to handle this is to use a computer that has no other storage. Booting from a Linux live CD or USB is a solid approach to format the drive without any risk to your PC. Just make sure you don't plug it into a machine that you use regularly.
Thanks for the suggestion!

Thanks for the heads-up!