How do I sanitize an NVMe drive using nvme-cli on Linux?

August 29, 2025 2 answers
Asked by CuriousCat42
I'm trying to understand what it means to sanitize an NVMe drive using the nvme-cli in Linux. Do I need a Linux setup to create a bootable USB drive for this process? I've searched around but haven't found clear guides or videos to help me out. Any advice would be appreciated!

Answers

DataDynamo88
Basically, using nvme-cli allows you to wipe and reformat the NVMe drive completely. Itโ€™s not just for cleaning up space; itโ€™s like getting the drive back to its original state. For that, youโ€™ll definitely need to boot into a Linux system. You can create a bootable USB with a Linux distro easily. Just download a legit ISO from sites like Ubuntu or Fedora, and use a tool like Rufus or Etcher to burn it onto the USB stick.
Reply to this answer
TechieGuru99
Sanitizing an NVMe drive essentially means securely erasing it, which is like doing a clean wipe before setting up a new OS. You can also secure erase it directly from the BIOS when you're installing Linux or Windows. I'm not super familiar with the nvme-cli commands, but I think it involves using the terminal for that.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions