Are you trying to destroy your server? Do you want to wipe a disk clean before sending it somewhere? It is very unusual to try and remove your operating system.
I would put the disks in another server and run "dd if=/dev/zero of=/dev/hdisk#" until the disk filled up with zero's. I do believe there are also disk wiping utilities out there.
You can type something like:
while true
do
echo "\000\c"
done|dd of=/dev/hdisk# bs=1024
This should be enough to destroy everything in the disk...
If you boot from CD and then run the above script the result will be guaranted
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.