By "formate the computer" do you mean trying to reformat the main drive? If so, you can do it from the OS install disc. Somewhere in the process of installing the OS, you'll be able to select the option "Format and Install", and that will wipe the drive.
|