29 October
2007

resizing partitions in os x

so bootcamp is no longer available from the apple.com as it's now been integrated with leopard but i needed to resize a macbook drive so i could install windows.
i searched around and found out that diskutil now does this and it seems that's how bootcamp does the resizing. here's how:



root# diskutil resizeVolume disk0s2 86000M "MS-DOS FAT32" "Windows" 25000M
Started resizing on disk disk0s2 Macbook
Verifying
Resizing Volume
99% ..Adjusting Partitions

Finished resizing on disk disk0s2 Macbook
You will need to manually reformat your new partitions.
WARNING: You must now reboot!

this will resize the current partition to 86GB (no need to mention the filesystem cause you can't change that), then specify that you want a 25GB FAT32 volume labeled Windows.
before this it spit this error 9972 and couldn't resize. i had to run disk utility on the disk but it couldn't repair neither. so i had to boot in single user, repair the filesystem and then back to the system where i run the above command. i tried running it on single user but it just stood there doing nothing, no output whatsoever.

Posted by rgouveia at 13:33 | Comments (1) | Trackbacks (0)
<< using fedora | Main | ksh startup files >>
Comments
Re: resizing partitions in os x

Phat!

Posted by: betabug at October 29,2007 13:40
Trackbacks
Please send trackback to: http://betabug.ch/blogs/bsdcow/27/tbping
There are no trackbacks.
Leave a comment
Please note: Comments are moderated. Your comment will not show up until I can have a look at it and decide it's not SPAM. Sorry for the inconvenience.