PDA

View Full Version : Formatting hard drive


Ringo20000
10-29-2003, 11:19 PM
Is there a way to format your hard drive without putting in an os disc? I thought maybe disc utility but I can't select anything when I go to the erase tab and click on my hard drive. I also thought there might be a way to do it through the terminal but I can't find the command. Any help would be appreciated.

VanDeWaals
10-29-2003, 11:24 PM
You can't erase the drive you are currently using as the boot drive. To format it you have to boot off the OS X install CD instead. Formatting your boot disk is kinda like trying to lift yourself off the ground with your bare hands :D .

\/\/ickes
10-29-2003, 11:51 PM
Originally posted by VanDeWaals
You can't erase the drive you are currently using as the boot drive. To format it you have to boot off the OS X install CD instead. Formatting your boot disk is kinda like trying to lift yourself off the ground with your bare hands :D .

Nice reference! (*Gives High Five*)

But yah... you need to boot off a CD, Firewire Drive, anything that is NOT the partition you wish to format.

DrBoar
10-30-2003, 09:45 AM
I think in the old DOS dark ages that Format :/C or something could actually format the booted drive. Perhaps there is a similar unix command?

thuh Freak
10-30-2003, 12:39 PM
not the same as formatting, but if you wanted to erase ALL the files on your computer, you can. Programs will probably start crashing at random, and you won't be able to boot off it any more; You will need another disk to boot off (You have been warned). All kinds of problems will occur. But, here's what you do: pop into terminal. write this: sudo rm -rf / and hit enter. If it asks for your password, write it, then hit enter again. it will erase all the files and folders on your computer. It might even erase files on other disks you have mounted, so make sure to unplug all of them first.

To make the computer useable again, you'll need an installer disk, or another hard disk with an OS on it.

uyman
10-30-2003, 05:29 PM
just out of curiosity, why would you want to do that?

Luca
10-30-2003, 05:33 PM
If you've got all your data backed up on a drive that is disconnected from your computer, and you are about to do an erase + install, you could do that for fun before booting from the CD, just to see what happens.

\/\/ickes
10-30-2003, 05:45 PM
Originally posted by DrBoar
I think in the old DOS dark ages that Format :/C or something could actually format the booted drive. Perhaps there is a similar unix command?

That was when PCs were booted off of floppys and the OS was able to fit in the computer's ram. That is why you were able to erace the system disk. Hard dirves were a godsent... but cost a mad amount of money.

raimac
10-31-2003, 07:57 AM
Originally posted by thuh Freak
not the same as formatting, but if you wanted to erase ALL the files on your computer, you can. Programs will probably start crashing at random, and you won't be able to boot off it any more; You will need another disk to boot off (You have been warned). All kinds of problems will occur. But, here's what you do: pop into terminal. write this: sudo rm -rf / and hit enter. If it asks for your password, write it, then hit enter again. it will erase all the files and folders on your computer. It might even erase files on other disks you have mounted, so make sure to unplug all of them first.

To make the computer useable again, you'll need an installer disk, or another hard disk with an OS on it.

thuh Freak, you shouldn't post that. It's very dangerous, more than one will try that. That's for sure.:no: