Results 1 to 5 of 5
I just received a dell running ubuntu and would like to start fresh and install Ubuntu Server (unless someone else has a better approach).
Key points:
* I do not ...
- 08-17-2011 #1
n003 alert...Trying to wipe a HD so I can put Ubuntu Server on it...
I just received a dell running ubuntu and would like to start fresh and install Ubuntu Server (unless someone else has a better approach).
Key points:
* I do not have a Ubuntu Live CD.
* I had to change the password bc the previous user didn't remember it.
* For whatever reason I cannot access the GUI but I can hit 'shift' during boot up and get into the command level.
Is there any basic script I can run?
I have tried # shred -vfz -n 100 /dev/hda and I get nothing no error or anything. As if I didn't input a thing.
I have also tried the same script with dev/sdb which prompts me for the password and after I enter it I get No such file or directory.
Any help would be greatly appreciated.
Thanks!
- 08-17-2011 #2forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,099
Hello and welcome!Trying to wipe a HD
The following command issued from the command line should clear the MBR and partition table giving you a fresh start with your hard drive:
You'll get a short message about records in and records out, then your hard drive should be cleared on system reboot. The entire process should only take a few seconds once the command is issued.Code:sudo dd if=/dev/zero of=/dev/sda bs=512 count=1
If needed, you can use the fdisk -l command (that's a lower-case letter L) to determine your device name:
Code:sudo fdisk -l
oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 08-17-2011 #3
WOOHOO! Thanks! That was quick. I totally expected spinning disks and a lengthy process. Thanks a million!
- 08-17-2011 #4forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,099
Keep in mind that command only clears the MBR and partition table. If you want a "secure wipe", you'll need to do it another way.
oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 08-26-2011 #5
Darik's Boot And Nuke | Hard Drive Disk Wipe and Data Clearing
Best option is to securely erase and over write all the data.
DBAN will do it.


Reply With Quote