PDA

View Full Version : Problems with resizeVolume on diskutil


ogando_jose
4th August 2006, 01:15 AM
Hi all!

Well, first of all I don't know if this is the right forum to post this. So, my apologize if its not.

Well, first I tryed out windows XP with Bootcamp, it was cool, but then I wanted a triple boot. So I deleted my windows partition via diskutil as seen on the wiki page about triple boot.

Now, Im trying to do a resize volume like this:

sudo diskutil resizeVolume disk0s2 33000M "Linux" Linux 5000M "MS-DOS FAT32" Windows 19000M

And I get this error:

Started resizing on disk disk0s2 Macintosh HD_1
Verifying
Resizing Volume

Resizing encountered error The chosen size is not valid for the chosen filesystem (-9962) on disk disk0s2 Macintosh HD_1

I've tryed different sizes and even checked the limits with this:

For device disk0s2 Macintosh HD_1:
Current size: 35433480192 bytes
Minimum size: 30289244160 bytes
Maximum size: 35433480192 bytes

What can I do? Thanks in advance :confused:

UPDATE:

OK, Now I've tryed checking the disk from Boot Disk, didn't work.

Also, I tryed setting a single partition again with resizevolume to 55 gigs, didn't work

Please, Help!

fkefer
17th October 2006, 09:11 PM
Had the same problem, it means (i _suppose_) that due to some restrictions of creating partitions your setup would need _more_ space than available; check availible mem with
diskutil list
and make the sum of your partitions a _little_ bit smaller - that's it