Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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
    You were close... Try this one:
    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:
    dd if=/dev/urandom of=/dev/sda bs=1M

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

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

    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