Jump to content

Secure Erase Samsung 840 EVO on Ubuntu

HI,

 

After messing around with my 840 EVO a bit wth partitions and installing 4 different Ubuntu distros in partitions, I need to secure erase my SSD ( or format it but heard it's not recommended) how do I Secure Erase my SSD on Ubuntu ??

Link to comment
Share on other sites

Link to post
Share on other sites

You mean you want to erase all data on it?

Several ways. You could just zero the entire drive:

dd if=/dev/zero of=/dev/ssdpath bs=1M
That will probably be the fastest way. If you need

to randomize the drive:

dd if=/dev/urandom of=/dev/ssdpath bs=1M
That will be a pretty slow operation though, I usually

get around 5 MB/s write speed for that.

EDIT:

Be careful though that you select the correct drive,

dd will not ask for confirmation, it will just do what

you tell it to.

BUILD LOGS: HELIOS - Latest Update: 2015-SEP-06 ::: ZEUS - BOTW 2013-JUN-28 ::: APOLLO - Complete: 2014-MAY-10
OTHER STUFF: Cable Lacing Tutorial ::: What Is ZFS? ::: mincss Primer ::: LSI RAID Card Flashing Tutorial
FORUM INFO: Community Standards ::: The Moderating Team ::: 10TB+ Storage Showoff Topic

Link to comment
Share on other sites

Link to post
Share on other sites

You mean you want to erase all data on it?

Several ways. You could just zero the entire drive:

dd if=/dev/zero of=/dev/ssdpath bs=1M
That will probably be the fastest way. If you need

to randomize the drive:

dd if=/dev/urandom of=/dev/ssdpath bs=1M
That will be a pretty slow operation though, I usually

get around 5 MB/s write speed for that.

EDIT:

Be careful though that you select the correct drive,

dd will not ask for confirmation, it will just do what

you tell it to.

I made a few partitions and so and am missing about 16gb of storage. So instead of the 116Gb or so I am left with when installing Ubuntu I am left with 104Gb. No partitions though come up when I look at Disk utilitization :/ I only have this one boot drive but have a fresh install of Ubuntu, so I don't mind reinstalling it

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×