bottikelli@MacBook-Pro-de-Baptiste ~ % diskutil ap deleteContainer disk2 ; diskutil eraseVolume free null disk0s3 ; diskutil ap resizeContainer disk1 0b ; diskutil list internal
Started APFS operation on disk2
Deleting APFS Container with all of its APFS Volumes
Unmounting Volumes
Unmounting Volume "Macintosh HD - Données" on disk2s1
The volume "Macintosh HD - Données" on disk2s1 couldn't be unmounted because it is in use by process 1 (launchd)
Error: -69888: Couldn't unmount disk
The target disk is in use by APFS as a Physical Store; use diskutil apfs deleteContainer
Started APFS operation
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
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.3 GB disk0
1: EFI EFI 314.6 MB disk0s1
2: Apple_APFS Container disk2 449.9 GB disk0s2
3: Apple_APFS Container disk1 50.0 GB disk0s3
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +50.0 GB disk1
Physical Store disk0s3
1: APFS Volume High Sierra 28.9 GB disk1s1
2: APFS Volume Preboot 22.6 MB disk1s2
3: APFS Volume Recovery 519.1 MB disk1s3
4: APFS Volume VM 2.1 GB disk1s4
/dev/disk2 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +449.9 GB disk2
Physical Store disk0s2
1: APFS Volume Macintosh HD - Données 383.4 GB disk2s1
2: APFS Volume Preboot 297.4 MB disk2s2
3: APFS Volume Recovery 613.6 MB disk2s3
4: APFS Volume VM 1.1 MB disk2s4
5: APFS Volume Macintosh HD 15.1 GB disk2s5
6: APFS Snapshot com.apple.os.update-... 15.1 GB disk2s5s1
bottikelli@MacBook-Pro-de-Baptiste ~ %