Skip to main content

How to Wipe a hard drive

  1) for that you can use Hiren boot cd
           or
       get parted magic and use Unetbootin to make a bootable USB drive

  2 ) The system should booted with parted magic

  3) Determine which drive is the one you want to wipe. The tools on the desktop should show you pretty obviously what drive /dev/sdX, most likely it will be /dev/sda

 4) open terminal type
       hdparm -I /dev/sdX
     This will show the information pertaining to this drive

  5) If the drive shows that it is frozen (no “not” to frozen) you will need to unfreeze it. The most effective way to do this appears to be to put the computer to sleep. To do this:
         a) type
echo -n mem > /sys/power/state
b) This will put the computer to sleep. Once it’s asleep, you should be able to wake the computer up (touch some keys, move the mouse…)

6) Run the informational hdparm command again:
hdparm -I /dev/sdX

  Ideally it will now show “not frozen”. If the drive still shows frozen, ensure that you don’t have any sort of bios password locking on the drive, and then the next best option is probably to move the drive into a different computer.

7)Now set a password so we can continue (here password for example "Pass")

 hdparm --user-master u --security-set-pass pass /dev/sdX

8) We can again run the informational hdparm command.

 hdparm -I /dev/sdX

 Now we should see “enabled” in the security section. Bingo. We also see the estimated time to wipe the drive.

9) Let’s wipe this drive. We can time the command if we’d like information about how long it actually takes:

time hdparm --user-master u --security-erase pass /dev/sdX

10) Relax. Go do something else for awhile. 

We can see that my drive ended up taking 299 minutes.




more information here

Comments

Popular posts from this blog

Ring tester

 In my Electronic repair job I found normal multimeter is somewhat limited  in certain area. so special tools are needed for saving  a lot of time  Ring tester is one of this kind .helping me to check small hi Q inductors SMPS transformer, TV Deflection coils ,LOT ,line driver transformer and almost any inductor working on hi frequency.Normal multimeter can only identify a open coil ,but not a shorted windings.  I found some commercial available ring tester. but it is not available in local shops of my area.also it seems priced high. So  I decided to make a ring tester of my own. Below is the one I successfully made from the junk box components. I found it very useful. and now it is one of my best test tool collection. Two Ic's, few LED's ,one plastic container and few resistors  made this wonderful tool. If we test it with primary of SMPS transformer or LOT windings of a good one shows all its LEDs will light. depending on the inductive reactantce  the number of LED 's

Transistor numbers and codes

Most transistor markings follow one of these codes: JEDEC, JIS or Pro-Electron. For ICs, look for known numbers (e.g. 741, 4001, 7400) between the prefix and the suffix. Don't confuse it with the date code. ICs typically have two numbers: The part number and the date code. 1. Joint Electron Device Engineering Council (JEDEC) These part numbers take the form: digit, letter, sequential number, [suffix] The letter is always 'N', and the first digit is 1 for diodes, 2 for transistors, 3 for four-leaded devices, and so forth. But 4N and 5N are reserved for opto-couplers. The sequential numbers run from 100 to 9999 and indicate the approximate time the device was first made. If present, a suffix could indicate various things. For example, a 2N2222A is an enhanced version of a 2N2222. It has higher gain, frequency, and voltage ratings. Always check the data sheet. Examples: 1N914 (diode), 2N2222, 2N2222A, 2N904 (transistors). NOTE: When a metal-can version of a JEDEC tra

Short Finder

  Today i made this Test instrument using Arduino ..very very usefull in find out shorted electronic components in mainboards.. espcially when lot of ICs sharing same power. if one componet get short the whole track shows 0 resistance when testing with normal multimeter.. its difficult to find which one is the dead rat.  Normally we need to take out each suspected component from board and need to test until we got the defective one.. its tedious job and damage the board.    Another way inject current to the circuit test the heat.. its not safe.   Here is the need of this device. When we trace the power line with this probe.. it gives high pitch audio tone when the probe near the particular shorted component.. It can test micro ohm resistance beyond normal meter range Automatically shut to save battery .if we forget to switch of the tester Auto calibration range. Portable The tester voltage and current safe to testing any components . On board testable.. Happy troubleshooting