I have the same problem as this guy How to resize Macintosh HD?
But : In the 2nd answer @paulgrav uses diskutil
Now I have this second issue :
Does someone know how to reorder the partitions in diskutil because with me
* disk0s2 is my Macintosh - main partition
* disk0s3 is my Recovery HD
* disk0s4 is my 2nd partition that i want to merge with main partition
And as you could read in the other post, when you typing :
diskutil mergePartitions JHFS+ DiskName disk0s2 disk0s3
Beware that the above will merge partitions between disk0s2 and disk0s3. Data on disk0s2 is preserved, data on all the partitions in-between is erased. In my example the two partitions are contiguous so there’s no problem. But if your recovery partition is in between it will be erased.
Can someone help ?