I'm fighting with command line since yesterday to resize the disk to apply the macOS 12.1 update.
with "hdiutil resize -size 80g -imageonly disk.img" I was able to increase the size but inside the VM I don't find the good command to extend the APFS partition
I was betting on "diskutil apfs resizeContainer disk0s2 0" but it's not working ...
any idea?
I'm fighting with command line since yesterday to resize the disk to apply the macOS 12.1 update.
with "hdiutil resize -size 80g -imageonly disk.img" I was able to increase the size but inside the VM I don't find the good command to extend the APFS partition
I was betting on "diskutil apfs resizeContainer disk0s2 0" but it's not working ... any idea?