MacOS – Resize APFS container after cloning to bigger drive
Apparently, when you clone a disk in a hardware-cloner (fx to get a bigger disk in an old Mac or upgrade from HDD to SSD), then it’s quite hard to find out HOW to get the mac to use this newly added diskspaces.
Disk utility can actually see it, but you can’t seem to resize your APFS container – because it just stays the same. So, after searching for 30-45 minutes I finally found the solution. Repair it first!
This is what I did to get my old Macbook Pro running MacOS Catalina (10.15) to recognize the disk and use all the newly added space:
diskutil repairdisk disk0 diskutil apfs resizeContainer disk0s2 0
Yay.. finally more space, without reinstalling MacOS.