LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices

Reply
 
Search this Thread
Old 09-06-2011, 10:20 AM   #1
Super TWiT
Member
 
Registered: Oct 2009
Location: Cyberville
Distribution: Debian
Posts: 132

Rep: Reputation: 16
Secure Erase flash media?


Hi everyone, I need a way to secure erase my old mp3 player which I am selling on ebay. I also used it as a thumbdrive, and so I think I may have some important data on there. I know how to secure erase a hard drive (software like dban, which does many writes of random data), but doing so to a flash-memory device could destroy it due to its limited number of write cycles. Any ideas?
 
Old 09-06-2011, 10:35 AM   #2
angel115
Member
 
Registered: Jul 2005
Location: France / Ireland
Distribution: Debian mainly, and Ubuntu
Posts: 494

Rep: Reputation: 75
Quote:
but doing so to a flash-memory device could destroy it due to its limited number of write cycles.
Well you will at least need to write it once to erase your data although 7 pass is recommended:

Try the following as root (where XX is where your flash card is "ex: sdb1")
Code:
dd if=/dev/urandom of=/dev/sdXX

and when they say "limited number of write cycles" it is in thousand or even million times, so it's not this few pass that will put your memory flash into the grave

Last edited by angel115; 09-06-2011 at 10:38 AM.
 
Old 09-06-2011, 02:16 PM   #3
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
A single pass with zeros or random data should be enough. There is no proof of any kind to validate the 7 pass theory.

I don't think that this will destroy the drive, but there's no guarantee of that.

Code:
dd if=/dev/zero of=/dev/sdx
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
hdparm secure erase dman777 Linux - General 5 01-13-2011 05:28 PM
Secure Erase causes HDD to stop being detected galapogos Linux - Hardware 4 07-16-2010 11:17 PM
Secure erase HDD from within itself paddyrooney Linux - Security 4 12-16-2009 05:20 PM
Best method to secure erase an external hard drive xri Linux - Hardware 1 01-17-2009 12:40 AM
Secure Erase Tool? subaruwrx General 5 08-14-2004 11:51 PM


All times are GMT -5. The time now is 06:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration