Donc tu passes les 2 commandes (l'une après l'autre) :
Bloc de code:diskutil ap deleteContainer disk2 diskutil ap resizeContainer disk1 0b
- la 1ère supprime le Conteneur du bas
Si tu n'as pas eu de message d'erreur > repasse un :
- la 2è récupère son espace au Conteneur du haut
Bloc de code:diskutil list
- et poste le tableau.
Bloc de code:
Last login: Mon Feb 12 02:27:23 on ttys000
MacBook-Pro-de-Patatoo:~ lannguyen$ diskutil ap deleteContainer disk2
Started APFS operation on disk2
Deleting APFS Container with all of its APFS Volumes
Unmounting Volumes
Unmounting Volume "Restore" on disk2s1
Unmounting Volume "Preboot" on disk2s2
Unmounting Volume "Recovery" on disk2s3
Unmounting Volume "VM" on disk2s4
Deleting Volumes
Deleting Container
Wiping former APFS disks
Switching content types
Reformatting former APFS disks
Initialized /dev/rdisk0s3 as a 57 GB case-insensitive HFS Plus volume with a 8192k journal
Mounting disk
1 new disk created or changed due to APFS operation
Disk from APFS operation: disk0s3
Finished APFS operation on disk2
MacBook-Pro-de-Patatoo:~ lannguyen$ diskutil ap resizeContainer disk1 0b
Started APFS operation
Error: -69771: The target disk is too small for this operation
MacBook-Pro-de-Patatoo:~ lannguyen$