I had Ubuntu installed in dual boot on my macbook pro 2018 with macOS Ventura 13.2.1 . Now I deleted the partition on which Linux was located and saw in Disk Utility that I don't have all of my SSD memory available.
Using the diskutil list command, I get the following:
How can I reassign the "free space
" to the container disk0s2?
I already tried this command: "diskutil addpartition disk0s1 apfs NewAPFS 0
" and got following:
The new partition will be added following disk0s1 Started partitioning on disk0 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