Using Terminal to erase a hard disk because I cant boot from a DVD to reinstall Tiger

macman2790

macrumors 6502a
Original poster
Sep 4, 2006
720
1
Texas
i know that diskutil has alot of commands and im not sure how to use them, i would specifically want to know how to use eraseDisk properly. Or is there any other way to clean install tiger without using darwin? I know eraseDisk gives me a format to use but i never get it right for some reason.

diskutil eraseDisk "Journaled HFS+" MacintoshHD bootable /dev/disk0 -- this works
i got it right now but it gives me this error:
could not unmount disk for zeroing


holding down c doesnt work either.
 

macman2790

macrumors 6502a
Original poster
Sep 4, 2006
720
1
Texas
also i cant open the installer at all when os x is running, it gives an error that says "Mac OS X cannot be installed on this machine. Please consult the documentation for a list of supported macintosh computers."

just to let you know this is a Macbook pro core 2 duo
 

abrooks

macrumors 6502a
Sep 18, 2004
620
54
London, UK
What happens if you hold Option at boot? Can you select the Tiger disc?

Another possible method is to force the computer to boot off the disc by selecting it in the Start Disk preference panel.

Failing all that and you're desperate to just to format the drive, easiest way would be to hook it up to another Mac in Target Disk Mode and format it.
 

macman2790

macrumors 6502a
Original poster
Sep 4, 2006
720
1
Texas
What happens if you hold Option at boot? Can you select the Tiger disc?

Another possible method is to force the computer to boot off the disc by selecting it in the Start Disk preference panel.

Failing all that and you're desperate to just to format the drive, easiest way would be to hook it up to another Mac in Target Disk Mode and format it.
the start disk method fails everytime so does option, it only shows macintosh hd

one more heartbreaking problem, my network adapter stopped working a month ago so i cant connect to another mac, i need to get that fixed
 

Camelot

macrumors newbie
Jun 18, 2003
1
0
I know eraseDisk gives me a format to use but i never get it right for some reason.

diskutil eraseDisk "Journaled HFS+" MacintoshHD bootable /dev/disk0 -- this works
i got it right now but it gives me this error:
could not unmount disk for zeroing
You can't erase the disk you're booted from. No OS will (or, at least, should) let you do that.

You can only erase your disk when booted from some other volume - either another disk, DVD or similar.
 

CanadaRAM

macrumors G5
Hopefully you have access to an external hard drive. Google for instructions to create a bootable, installable OSX installer image on a partition of a hard drive (you may have to borrow a recent Mac to set this up if yours is oos) and boot from the external hard drive to use Disk Utility, then reinstall.
 

Shanesan

macrumors 6502
Jul 29, 2006
469
237
I need to bump this, because this seems to have just saved me after hours of hassle.

My HD was broken. Completely. Corrupted Windows and OSX. Couldn't Paritition or Erase because "Resource Busy". Couldn't unmount the drive either because all options were faded out.

Tried to Target Disk to another computer, failed. I did the reverse and started up the other system from my computer.

So then I found this site, and tried the following command

diskutil unmountDisk /Volumes/disk0

Suddenly, I got this horrible error saying something about the disk being horribly corrupt and to do what you have to do or something to that effect. Partitioned it fine. Now I'm going to restart to see if this fixed it!

THANK YOU!!