Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Alternative Operating Systems > diskutil resizeVolume doesn't work

diskutil resizeVolume doesn't work
Thread Tools
Fresh-Faced Recruit
Join Date: Nov 2006
Status: Offline
Reply With Quote
Nov 29, 2006, 04:13 PM
 
I'm trying to do something really REALLY simple: Split up my 92GB HFS+ partition into 3 partitions - a 22GB HFS+, 60GB NTFS, and 10GB NTFS. Why does this fail? This isn't really Bootcamp related, as it blows up in diskutil before Bootcamp even comes into the picture!
Thanks

mac-mini-computer:/Users/atramos root# diskutil list
/dev/disk0
#: type name size identifier
0: GUID_partition_scheme *93.2 GB disk0
1: EFI 200.0 MB disk0s1
2: Apple_HFS MacOSX 92.0 GB disk0s2
mac-mini-computer:/Users/atramos root# diskutil verifyVolume disk0s2
Started verify/repair on volume disk0s2 MacOSX
Checking HFS Plus volume.
Checking Extents Overflow file.
Checking Catalog file.
Checking multi-linked files.
Checking Catalog hierarchy.
%)
Checking Extended Attributes file.
Checking volume bitmap.
Checking volume information.
The volume MacOSX appears to be OK.
Mounting Disk
Verify/repair finished on volume disk0s2 MacOSX
mac-mini-computer:/Users/atramos root# diskutil resizeVolume disk0s2 22G NTFS INTERNAL 60G NTFS SYSTEM 10G
Started resizing on disk disk0s2 MacOSX
Verifying
Resizing Volume
Adjusting Partitions
2006-11-29 10:05:55.063 DiskManagementTool[200] *** -[NSCFNumber _getCString:maxLength:encoding:]: selector not recognized [self = 0x30dfd0]
2006-11-29 10:05:55.063 DiskManagementTool[200] *** NSTimer discarding exception '*** -[NSCFNumber _getCString:maxLength:encoding:]: selector not recognized [self = 0x30dfd0]' that raised during firing of timer with target 32c5e0 and selector 'doResizeWork:'
     
Administrator
Join Date: Apr 2001
Location: San Antonio TX USA
Status: Offline
Reply With Quote
Nov 29, 2006, 08:39 PM
 
Disk Utility CANNOT write to NTFS partitions. At all. Period. That includes changing the size of partitions formatted for NTFS. You're stuck. Sorry.
Glenn -----
OTR/L, MOT, Tx
     
atramos  (op)
Fresh-Faced Recruit
Join Date: Nov 2006
Status: Offline
Reply With Quote
Nov 30, 2006, 08:33 AM
 
Originally Posted by ghporter View Post
Disk Utility CANNOT write to NTFS partitions. At all. Period. That includes changing the size of partitions formatted for NTFS. You're stuck. Sorry.
I'm not trying to resize NTFS - rather, to resize the native Apple_HFS partition into a triple-boot scenario, like this: Triple Boot via BootCamp - OnMac.net Wiki, with the only caveat that I don't actually care for the middle partition being bootable (I'm planning to use the middle one as a data disk, rather than Linux system).
     
Professional Poster
Join Date: Sep 2002
Location: New York, NY
Status: Offline
Reply With Quote
Nov 30, 2006, 12:24 PM
 
You're trying to split a single partition into three partitions where two of them are NTFS. Disk Utility can't do NTFS. Try it with FAT first then convert them to NTFS later in Windows.
Vandelay Industries
     
Administrator
Join Date: Apr 2001
Location: San Antonio TX USA
Status: Offline
Reply With Quote
Nov 30, 2006, 04:34 PM
 
You ARE trying to rewrite a partition table that affects NTFS partitions. That means that there is NO way for Disk Utility to do the task because ANY change to the partition table would affect a partition that it can't write to-any change would change at least the relative location of the NTFS partitions, so their entries would need to be rewritten. That's the thing about partitions; they're not easy to mess with to begin with, and they get awfully complicated to deal with when you're talking about multiple file systems.
Glenn -----
OTR/L, MOT, Tx
     
Professional Poster
Join Date: Sep 2002
Location: New York, NY
Status: Offline
Reply With Quote
Nov 30, 2006, 06:36 PM
 
Originally Posted by ghporter View Post
You ARE trying to rewrite a partition table that affects NTFS partitions. That means that there is NO way for Disk Utility to do the task because ANY change to the partition table would affect a partition that it can't write to-any change would change at least the relative location of the NTFS partitions, so their entries would need to be rewritten. That's the thing about partitions; they're not easy to mess with to begin with, and they get awfully complicated to deal with when you're talking about multiple file systems.
What you're saying is true but isn't what he's doing. If you look at his Terminal output above, you can see he has a disk with a single HFS+ partition. He is trying to convert it into one HFS+ and two NTFS partitions.

Either way, it's impossible. As you and I have already stated, Disk Utility does not support NTFS. He could do as I said and convert it to one HFS+ and two FAT32 partitions and later convert the FAT32 to NTFS within Windows.
Vandelay Industries
     
Professional Poster
Join Date: Sep 2002
Location: New York, NY
Status: Offline
Reply With Quote
Nov 30, 2006, 06:38 PM
 
Here's the disk formats that Disk Utility supports

Code:
Valid filesystems: "Case-sensitive HFS+" "Journaled HFS+" "Case-sensitive Journaled HFS+" "HFS+" "HFS" "MS-DOS FAT32" "MS-DOS FAT16" "MS-DOS" "MS-DOS FAT12" "UFS" "Linux" "Swap"
Vandelay Industries
     
Administrator
Join Date: Apr 2001
Location: San Antonio TX USA
Status: Offline
Reply With Quote
Nov 30, 2006, 07:37 PM
 
Originally Posted by Art Vandelay View Post
What you're saying is true but isn't what he's doing. If you look at his Terminal output above, you can see he has a disk with a single HFS+ partition. He is trying to convert it into one HFS+ and two NTFS partitions.
I misread the output-there's a LOT of it! Thanks for the correction.
Glenn -----
OTR/L, MOT, Tx
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:39 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2