Find the answer to your Linux question:
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 ...
  1. #1
    Just Joined! JectWon's Avatar
    Join Date
    Aug 2011
    Location
    Charleston, SC
    Posts
    2

    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!

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,099
    Trying to wipe a HD
    Hello and welcome!

    The following command issued from the command line should clear the MBR and partition table giving you a fresh start with your hard drive:

    Code:
    sudo dd if=/dev/zero of=/dev/sda bs=512 count=1
    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.

    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.

  3. #3
    Just Joined! JectWon's Avatar
    Join Date
    Aug 2011
    Location
    Charleston, SC
    Posts
    2
    WOOHOO! Thanks! That was quick. I totally expected spinning disks and a lengthy process. Thanks a million!

  4. #4
    oz
    oz is offline
    forum.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.

  5. #5
    Just Joined! reginaldperrin's Avatar
    Join Date
    Oct 2010
    Posts
    66
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...