Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Within GParted you can delete partitions, but I don't believe you can actually wipe (overwrite) data. For that, you need a DBAN CD, or any Linux live CD and the 'shred' or 'dd' command.
PartedMagick is not a software but a compilation of different softwares for certain usages. PartedMagick in itself is not a software but a specialized operating system for disk management that can include disk partitioning, cloning, data backup, recovery and data shreding among others. It comes a live cd with small desktop environment.
ok basically what I wanna do is forget all whats in the HDD, lay a mushroom cloud on that sucker and start anew....as if the HDD is brand spankin new...how do I do this?
ok basically what I wanna do is forget all whats in the HDD, lay a mushroom cloud on that sucker and start anew....as if the HDD is brand spankin new...how do I do this?
ok basically what I wanna do is forget all whats in the HDD, lay a mushroom cloud on that sucker and start anew....as if the HDD is brand spankin new...how do I do this?
Download the image. Burn to disk. Boot from disk. Erase your data. That is it. Your drive is all as new. Without any data and completely formatted.
PS: Shredding the data could make it irrecoverable. Make sure you know what data you are deleting or have a backup of it.
ok basically what I wanna do is forget all whats in the HDD, lay a mushroom cloud on that sucker and start anew....as if the HDD is brand spankin new...how do I do this?
Hi,
ok here is how I "nuke" my disks. Suppose, the disk you want wiped is /dev/sdb. Boot from any liveCD and then just issue:
Code:
dd if=/dev/zero of=/dev/sdb bs=1M
dd if=/dev/urandom of=/dev/sdb bs=1M
#dd if=/dev/zero of=/dev/sdb bs=1M # This step is optional
Notice the third optional step. If you execute it or not depends on what you want to do further with that disk. If you want to encrypt it then do not perform it. Also make pay attention to the 'bs' option. If you choose the byte-size number too small the command will take longer to finish.
After the commands above have terminated you will have to recreate the disk label and partition table.
Be extremely careful with those commands. Make sure that there is no important data on the device. Better double or triple check that because after the commands finish no data will be recoverable.
ok here is how I "nuke" my disks. Suppose, the disk you want wiped is /dev/sdb. Boot from any liveCD and then just issue:
Code:
dd if=/dev/zero of=/dev/sdb bs=1M
dd if=/dev/urandom of=/dev/sdb bs=1M
#dd if=/dev/zero of=/dev/sdb bs=1M # This step is optional
Notice the third optional step. If you execute it or not depends on what you want to do further with that disk. If you want to encrypt it then do not perform it. Also make pay attention to the 'bs' option. If you choose the byte-size number too small the command will take longer to finish.
After the commands above have terminated you will have to recreate the disk label and partition table.
Be extremely careful with those commands. Make sure that there is no important data on the device. Better double or triple check that because after the commands finish no data will be recoverable.
at the 'bs' option how big is a number should be to consider it minimally tolerable?
at the 'bs' option how big is a number should be to consider it minimally tolerable?
Hi,
a while ago I have been experimenting with that number. From what I have observed, from 512 (Bytes) onwards there was no noticeable change in performance. But this might depend on the architecture. You can try to find that lower boundary for your system. 512 is a good starting point.
Some stats for my system:
Code:
copying from /dev/urandom:
bs average speed
64 4.3 MB/s
128 4.9 MB/s
512 5.6 MB/s
4096 5.8 MB/s
copying from /dev/zero:
bs average speed
64 29.1 MB/s
128 40.8 MB/s
512 37.0 MB/s
4096 37.4 MB/s
The commands ran for approx. 30 seconds. As a rule of thumb, you might want to choose a bigger number if you have more data to copy. E. g. abort the command with bs set to 128 after 2 seconds and you will get a speed somewhere near 60 MB/s. This drops drastically if you let the command run for a minute. Maybe you can post some of your stats when you run the command.
Hope this helps.
[EDIT]:
Since we are talking about erasing HDD of several GB I recommend using a value of at least 4096. I choose 1M to be on the safe side.
Thanks to Everyone..
Nice useful Information,it really helped me a lot,
I request every member that..
Please keep updating this site with there knowledge as Now i am regular visitor of this site.
If you have nothing informational to share, will you please stop spamming the threads with this signature post of yours.
Yup. Me too reported couple of his posts. There are bulk of those. Impossible to report all. Is there a way to directly contact a moderator to report such spam?
Yup. Me too reported couple of his posts. There are bulk of those. Impossible to report all. Is there a way to directly contact a moderator to report such spam?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.