Find the answer to your Linux question:
Results 1 to 7 of 7
Hey Noob question: I want to use the shred command from a live cd to wipe all data from my HDD and I would like to know if this command ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! Ozzi's Avatar
    Join Date
    Mar 2007
    Posts
    48

    Check and zero-uot HDD


    Hey
    Noob question: I want to use the shred command from a live cd to wipe all data from my HDD and I would like to know if this command also reports any bad sectors thai it finds on that HDD (like a surface scan). If not, could you recommend me another program that checks and erases the disk in one run?
    Thanks.

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    boot up from any LiveCD and execute this code in terminal/konsole
    Code:
    dd if=/dev/zero of=/dev/hda bs=521 count=1
    you must have 'root' privileges to execute that command.
    'dd' command will *wipe* harddisk but it wont check bad sectors. scan harddisk with UBCD or the tools provided by your disk manufacturer.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined! Ozzi's Avatar
    Join Date
    Mar 2007
    Posts
    48

    xxx

    Anw will it erase and check my hdd in one run? The drive is pretty old and I noticed both erase and disk scan take very long and I wouldnt want to do them one after the other.

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    as i mentioned earlier, dd command will wipe harddisk only and wont scan it. 'dd' command erases partition table and boot loader, and takes only 2-5 seconds.

    scan disk through UBCD. that will take some time.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Just Joined! Ozzi's Avatar
    Join Date
    Mar 2007
    Posts
    48

    xxx

    I'll go with UBCD then. I don't want to simply repartition/reformat my HDD, but erase it. Now if I could only find an iso download on an english site...

    Thanks for your quick replys.

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Now if I could only find an iso download on an english site...
    i posted a link of english site only. post #2.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #7
    Just Joined! Ozzi's Avatar
    Join Date
    Mar 2007
    Posts
    48

    xxx

    True, but that's just a list of mirrors.The only mirrors I've found to host the 4.03 iso image on that page were in germen/italian. Anyway, I figured out the german one and I'm downloading it right now.

Posting Permissions

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