How to initialize HDD using Shell script?
Hi I need help in writing a shell script to clear off all the partitions on a IDE hard drive. Can anyone help?
Thanks gail |
Erase MBR!
dd if=/dev/zero of=/dev/devicetoerase bs=512 count=1
|
can't we use fdisk on whole device?
|
All times are GMT -5. The time now is 07:56 AM. |