Wiping out a hard drive in Linux

To wipe a hard drive using zeros:

dd if=/dev/zero | pv -s 250000000000 | dd of=/dev/sdX bs=10M

To wipe a hard drive with random data (more secure):

dd if=/dev/urandom | pv -s 250000000000 | dd of=/dev/sdX bs=10M

For the "pv" progress bar, do "apt-get install pv" or similar. I highly recommend using "pv" so you have some idea of when the dd job is going to finish.

Tags: 

Comments

For the "pv" progress bar, do "apt-get install pv" or similar. I highly recommend using "pv" so you have some idea of when the dd job is going to finish. Have a look at Kerala vacation packages, Rajasthan tours, Nepal vacation packages, golden triangle tour, affordable yoga retreat, Kerala Honeymoon Packages, tibet tour packages, wildlife safari india, South India Temple Tour, Kerala Ayurveda Tour, kerala tour packages, Nepal Tour, goa tours, Hindu Pilgrimage Tour Packages and India Tour Packages, Holidays to India and India Tours at Simons Holidays which are the best.

Great post full of useful tips! My site is fairly new and I am also having a hard time getting my readers to leave comments. Analytics shows they are coming to the site but I have a feeling “nobody wants to be first”

Wow, great, I was wondering how to cure acne naturally. and found your site by google, learned a lot, now i’m a bit clear. I’ve bookmark your site and also add rss. keep us updated.rent a car dubai

Really decent post. I just discovered your weblog and needed to say that I have truly delighted in searching your blog entries. After all I'll be subscribing to your food and I trust you compose again soon!moving house?

Original-degrees.com provides real, original, accredited university degrees. Buy a degree from us at cheap and reasonable price. Buy real degree, bachelors degree, masters degree, PhD degree from us for a better future career path.buy a degree

Hi I found your site by mistake when i was searching yahoo for this acne issue, I must say your site is really helpful I also love the design, its amazing!. I don’t have the time at the moment to fully read your site but I have bookmarked it and also add your RSS feeds. I will be back in a day or two. thanks for a great site. SwingCushions

i read a lot of stuff and i found that the way of writing to clearifing that exactly want to say was very good so i am impressed and ilike to come again in future.. ClickHowTo

I think this is an informative post and it is very useful and knowledgeable. therefore. I would like to thank you for the efforts you have made in writing this article. TechGoo

Add new comment