bjornatic Posted March 21, 2020 Share Posted March 21, 2020 (edited) Hello, So I succesfully installed Catalina with @SpaceInvaderOne Macinabox docker. Everything is now working (iMessage etc..) so I'm very cautious with what I'm doing. I started with a 60G vdisk and now I would like to expand the APFS partition. I managed to expand the vdisk to 120G but I coudl not expand the APFS Volume. sudo diskutil apfs resizeContainer disk3 0 Error: -69519: The target disk is too small for this operation, or a gap is required in your partition map which is missing or too small, which is often caused by an attempt to grow a partition beyond the beginning of another partition or beyond the end of partition map usable space I searched for an answer and the best I could get is that the free space I'm trying to add is not adjacent to the volume... The solution I found are creating a new vdisk and cloning (wich is basicaly starting over) or rearanging the partitions. But I'm not confortable with that. Could someone please provide some help ? Here is my disk layout : /dev/disk0 (internal, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *2.1 GB disk0 1: Apple_HFS macOS Base System 2.0 GB disk0s1 /dev/disk1 (internal, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *268.4 MB disk1 1: EFI EFI 101.4 MB disk1s1 2: Linux Filesystem 163.9 MB disk1s2 /dev/disk2 (internal, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *128.8 GB disk2 1: EFI EFI 209.7 MB disk2s1 2: Apple_APFS Container disk3 64.2 GB disk2s2 /dev/disk3 (synthesized): #: TYPE NAME SIZE IDENTIFIER 0: APFS Container Scheme - +64.2 GB disk3 Physical Store disk2s2 1: APFS Volume nV500 - Data 41.8 GB disk3s1 2: APFS Volume Preboot 81.4 MB disk3s2 3: APFS Volume Recovery 526.6 MB disk3s3 4: APFS Volume VM 1.1 MB disk3s4 5: APFS Volume nV500 10.8 GB disk3s5 EDIT : I'm sorry I posted in the wrong section... Edited March 23, 2020 by bjornatic Quote Link to comment
david279 Posted March 21, 2020 Share Posted March 21, 2020 I went thru this a while ago and just went with cloning to the new vdisk using CCC..carbon copy cloner. No amount of command line stuff would work for me. The command line stuff may work in recovery but i wasnt even gonna try that, just went with carbon copy cloner. Quote Link to comment
bjornatic Posted March 21, 2020 Author Share Posted March 21, 2020 I find it hard to believe that there is no (command line) solution... The partition setup is the default setup from a "Macinabox" install. Is there something wrong to begin with ? If there is no other solution I will have to try CCC but what if I want to expand the drive again in the next years ? :-/ Quote Link to comment
bjornatic Posted March 23, 2020 Author Share Posted March 23, 2020 Well, I'm resigned to try CCC, but could someone help me with the procedure... ? From where do I work ? From inside the VM ? I do not believe that you can clone (virtual) drives working on the vdisks ? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.