Erase Hard Drive from Rescue?
Anyone know if I can erase all my partitions or erase completly my hard drive from rescue mode? Thank you =)
|
Can anyone help me please?
|
yes you can but what are trying to do? if you want to get rid of linux you dont need to mess with recuse and also if you want to install linux again you dont nned to erease them too. :0
|
Rescue
Thank you for your time, anyway do you know how to invoke or what commands do I have to put to erase all the partitions in the Hard Drive? Thank you
|
To answer your original question, assuming you've previously installed Linux on the first hard disk on the primary controller, once you've booted the machine from the rescue CD or floppy, type the following from the command line:
* * * WARNING * * * THIS WILL MAKE DATA ON THE HARD DISK INACCESSIBLE * * * * * * * * * * * * dd if=/dev/zero of=/dev/hda bs=512 count=1 * * * WARNING * * * THIS WILL MAKE DATA ON THE HARD DISK INACCESSIBLE * * * * * * * * * * * * This will write zero's over the Master Boot Record, wiping out the Initial Program Loader (IPL) and the disk partition table. It is possible to rebuild a MBR written over in this way, but it would be a right royal pain. |
simple use the shred command
|
|
All times are GMT -5. The time now is 05:19 PM. |