mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-01-14 14:23:28 +01:00
increasing .img disk size #238
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @omarahm3 on GitHub (Aug 28, 2021).
Hey i'm using this image here: https://images.sick.codes/mac_hdd_ng_auto_big_sur.img and i want to increase it's disk size so I did try the approach mentioned in https://github.com/sickcodes/Docker-OSX/issues/13#issuecomment-785604848 and this one too and it did work first time.
Then i needed to increase the disk size again so i can install command line developer tools, so i did it again and now its not actually resizing the disk size of the image. The only thing that increases is the virtual size, and disk size is still constant even after running
diskutil apfs resizeContainercommandHere is the output of
qemu-img info mac_hdd_ng_auto_big_sur.imgso Is there any other approach to do this? or any leads on how to debug that as i'm pretty new to KVM and qemu
much appreciated all
@sickcodes commented on GitHub (Aug 30, 2021):
Yeah that image isn't supposed to be there because of I tried to shrink it then expand it etc.
I couldn't get it to grow back 😂
Might make another soon
@omarahm3 commented on GitHub (Aug 30, 2021):
@sickcodes I can imagine the effort yeah 😂
Are there any docs or references you recommend to create an image, perhaps i can help with this
@mtfurlan commented on GitHub (Jun 6, 2022):
I resized that image by
I'm not sure that messing with the partitions with gdisk was necessary because I think the apfs resizeContainer did the same thing, but it didn't break anything either.