Find the answer to your Linux question:
Results 1 to 2 of 2
Ok so I chose to use SLAX and it's all I have now. My goal is to zero write or low level format the hdd on my computer. So I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2012
    Posts
    3

    How do I zero write the hdd with SLAX?


    Ok so I chose to use SLAX and it's all I have now. My goal is to zero write or low level format the hdd on my computer. So I use the dd if=/dev/zero of=/dev/hda1 command and it comes back with a message that there isn't any free space and it doesn't write zeros like I want. Can someone please tell me what I'm doing wrong and get me on track please? Thanks....

  2. #2
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,025
    You were close... Try this one:
    Code:
    dd if=/dev/zero of=/dev/sda bs=1M
    It may take a while, as it writes a 0 to every bit of data.

    If you're looking to wipe it for security reasons (selling/giving the drive), you can write random data instead of 0s:
    Code:
    dd if=/dev/urandom of=/dev/sda bs=1M

    NOTE!
    Make sure that /dev/sda is, indeed, the drive that you want to wipe!


    *EDIT*
    Just re-read the original post... if needed, replace sda with hda.
    Last edited by jayd512; 09-22-2012 at 10:13 PM. Reason: See EDIT
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

Posting Permissions

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