Alors passe (l'une après l'autre ; copier-coller direct) la série de commandes :
Bloc de code:diskutil ap deleteContainer disk1 diskutil eraseVolume free null disk0s3 diskutil ap resizeContainer disk2 0b
- la 1ère supprime le Conteneur du bas > ce qui reformate la partition du bas n°3
- la 2è supprime la partition reformatée du bas
Si tu ne vois pas passer de message d'erreur en conclusion d'affichage retourné par aucun commande --> repasse un :
- la 3è récupère son espace au Conteneur du haut et à sa partition de base n°2
Bloc de code:diskutil list
- et poste le tableau du disque mis à jour.
Last login: Tue May 28 00:34:16 on ttys000
MacBook-de-Petit:~ petitcu$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *120.0 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk2 58.9 GB disk0s2
3: Apple_APFS Container disk1 60.8 GB disk0s3
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +60.8 GB disk1
Physical Store disk0s3
1: APFS Volume SOS 16.9 GB disk1s1
2: APFS Volume Preboot 22.4 MB disk1s2
3: APFS Volume Recovery 516.1 MB disk1s3
4: APFS Volume VM 4.3 GB disk1s4
/dev/disk2 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +58.9 GB disk2
Physical Store disk0s2
1: APFS Volume Macintosh HD 13.1 GB disk2s1
2: APFS Volume Preboot 22.4 MB disk2s2
3: APFS Volume Recovery 520.6 MB disk2s3
4: APFS Volume VM 4.3 GB disk2s4
MacBook-de-Petit:~ petitcu$
Last login: Sun Jun 2 12:30:47 on ttys000
MacBook-de-Petit:~ petitcu$ dikutil list
-bash: dikutil: command not found
MacBook-de-Petit:~ petitcu$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *120.0 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk2 58.9 GB disk0s2
3: Apple_APFS Container disk1 60.8 GB disk0s3
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +60.8 GB disk1
Physical Store disk0s3
1: APFS Volume SOS 16.9 GB disk1s1
2: APFS Volume Preboot 22.4 MB disk1s2
3: APFS Volume Recovery 516.1 MB disk1s3
4: APFS Volume VM 4.3 GB disk1s4
/dev/disk2 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +58.9 GB disk2
Physical Store disk0s2
1: APFS Volume Macintosh HD 13.1 GB disk2s1
2: APFS Volume Preboot 22.4 MB disk2s2
3: APFS Volume Recovery 520.6 MB disk2s3
4: APFS Volume VM 4.3 GB disk2s4
MacBook-de-Petit:~ petitcu$ diskutil ap deleteContainer disk1
Started APFS operation on disk1
Deleting APFS Container with all of its APFS Volumes
Unmounting Volumes
Unmounting Volume "SOS" on disk1s1
The volume "SOS" on disk1s1 couldn't be unmounted because it is in use by process 0 (kernel)
Error: -69888: Couldn't unmount disk
MacBook-de-Petit:~ petitcu$
diskutil info /
-bash-3.2# diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *121.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: 7C3457EF-0000-11AA-AA11-00306543ECAC 121.1 GB disk0s2
/dev/disk1 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme +2.1 GB disk1
1: Apple_HFS OS X Base System 2.0 GB disk1s1
/dev/disk2 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +5.2 MB disk2
/dev/disk3 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk3
/dev/disk4 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk4
/dev/disk5 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk5
/dev/disk6 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk6
/dev/disk7 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk7
/dev/disk8 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +6.3 MB disk8
/dev/disk9 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk9
/dev/disk10 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +1.0 MB disk10
/dev/disk11 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk11
/dev/disk12 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk12
/dev/disk13 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +1.0 MB disk13
/dev/disk14 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +6.3 MB disk14
-bash-3.2#
2: 7C3457EF-0000-11AA-AA11-00306543ECAC 121.1 GB disk0s2
Bonjour tibo
Est-ce que tu souhaites supprimer le Conteneur du bas (volume SOS) > puis récupérer cet espace au Conteneur du haut (volume Macintosh HD) ?
- si oui il faut déjà que tu sois démarré sur le volume Macintosh HD. Passe la commande :
Bloc de code:diskutil info /
- qui affiche un tableau d'informations sur le volume actuellement démarré
Poste le tableau.
Last login: Sun Jun 2 12:33:21 on ttys000
MacBook-de-Petit:~ petitcu$ diskutil info /
Device Identifier: disk1s1
Device Node: /dev/disk1s1
Whole: No
Part of Whole: disk1
Volume Name: SOS
Mounted: Yes
Mount Point: /
Partition Type: 41504653-0000-11AA-AA11-00306543ECAC
File System Personality: APFS
Type (Bundle): apfs
Name (User Visible): APFS
Owners: Enabled
OS Can Be Installed: Yes
Booter Disk: disk1s2
Recovery Disk: disk1s3
Media Type: Generic
Protocol: SATA
SMART Status: Verified
Volume UUID: 124B2718-B30A-3F9D-8193-6D362F014F95
Disk / Partition UUID: 124B2718-B30A-3F9D-8193-6D362F014F95
Disk Size: 60.8 GB (60824371200 Bytes) (exactly 118797600 512-Byte-Units)
Device Block Size: 4096 Bytes
Volume Total Space: 60.8 GB (60824371200 Bytes) (exactly 118797600 512-Byte-Units)
Volume Used Space: 21.9 GB (21938475008 Bytes) (exactly 42848584 512-Byte-Units) (36.1%)
Volume Free Space: 38.9 GB (38885896192 Bytes) (exactly 75949016 512-Byte-Units) (63.9%)
Allocation Block Size: 4096 Bytes
Read-Only Media: No
Read-Only Volume: No
Device Location: Internal
Removable Media: Fixed
Solid State: Yes
Hardware AES Support: No
MacBook-de-Petit:~ petitcu$
diskutil list
sysctl hw.model
sw_vers -productVersion
Last login: Sun Jun 2 18:19:03 on console
MacBook-de-Petit:~ petitcu$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *120.0 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 58.9 GB disk0s2
3: Apple_APFS Container disk2 60.8 GB disk0s3
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +58.9 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 13.1 GB disk1s1
2: APFS Volume Preboot 22.4 MB disk1s2
3: APFS Volume Recovery 520.6 MB disk1s3
4: APFS Volume VM 4.3 GB disk1s4
/dev/disk2 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +60.8 GB disk2
Physical Store disk0s3
1: APFS Volume SOS 15.8 GB disk2s1
2: APFS Volume Preboot 22.4 MB disk2s2
3: APFS Volume Recovery 516.1 MB disk2s3
4: APFS Volume VM 4.3 GB disk2s4
MacBook-de-Petit:~ petitcu$
diskutil ap deleteContainer disk2 ; diskutil eraseVolume free null disk0s3 ; diskutil ap resizeContainer disk1 0b ; diskutil list
MacBook-de-Petit:~ petitcu$ diskutil diskutil ap deleteContainer disk2 ; diskutil eraseVolume free null disk0s3 ; diskutil ap resizeContainer disk1 0b ; diskutil list
diskutil: did not recognize verb "diskutil"; type "diskutil" for a list
The target disk is in use by APFS as a Physical Store; use diskutil apfs deleteContainer
Started APFS operation
Aligning grow delta to 134 217 728 bytes and targeting a new physical store size of 58 999 996 416 bytes
Determined the maximum size for the targeted physical store of this APFS Container to be 58 999 996 416 bytes
Resizing APFS Container designated by APFS Container Reference disk1
The specific APFS Physical Store being resized is disk0s2
Verifying storage system
Using live mode
Performing fsck_apfs -n -x -l /dev/disk0s2
Checking volume
Checking the container superblock
Checking the EFI jumpstart record
Checking the space manager
Checking the object map
Checking the APFS volume superblock
Checking the object map
Checking the fsroot tree
Checking the snapshot metadata tree
Checking the extent ref tree
Checking the snapshots
Checking snapshot 1 of 2
Checking snapshot 2 of 2
Checking the APFS volume superblock
Checking the object map
Checking the fsroot tree
Checking the snapshot metadata tree
Checking the extent ref tree
Checking the snapshots
Checking the APFS volume superblock
Checking the object map
Checking the fsroot tree
Checking the snapshot metadata tree
Checking the extent ref tree
Checking the snapshots
Checking the APFS volume superblock
Checking the object map
Checking the fsroot tree
Checking the snapshot metadata tree
Checking the extent ref tree
Checking the snapshots
Verifying allocated space
The volume /dev/disk0s2 appears to be OK
[ \ 0%..10%.............................................. ] 15.0% ^[[B^[[A^[[A^[Storage system check exit code is 0
Growing APFS Physical Store disk0s2 from 58 865 778 688 to 58 999 996 416 bytes
Modifying partition map
Growing APFS data structures
Finished APFS operation
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *120.0 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 59.0 GB disk0s2
3: Apple_APFS Container disk2 60.8 GB disk0s3
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +59.0 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 14.7 GB disk1s1
2: APFS Volume Preboot 22.4 MB disk1s2
3: APFS Volume Recovery 520.6 MB disk1s3
4: APFS Volume VM 4.3 GB disk1s4
/dev/disk2 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +60.8 GB disk2
Physical Store disk0s3
1: APFS Volume SOS 15.8 GB disk2s1
2: APFS Volume Preboot 22.4 MB disk2s2
3: APFS Volume Recovery 516.1 MB disk2s3
4: APFS Volume VM 4.3 GB disk2s4
@ nastasiacht
Passe les commandes (l'une après l'autre) :
Bloc de code:sysctl hw.model sw_vers -productVersion
- qui affichent l'identifiant de modèle du Mac et la version de l'OS de secours démarré
Poste ces 2 informations.
diskutil ap deleteContainer disk2 ; diskutil eraseVolume free null disk0s3 ; diskutil ap resizeContainer disk1 0b ; diskutil list
@ tibo
Tu as commis une erreur dans ta saisie > qui fait que diskutil est mentionné 2 fois en tête de commande => ce qui a invalidé la 1ère commande de suppression > et par là invalidé toute la suite.
Repasse la commande exacte en copier-coller :
Bloc de code:diskutil ap deleteContainer disk2 ; diskutil eraseVolume free null disk0s3 ; diskutil ap resizeContainer disk1 0b ; diskutil list
- et poste le retour.
MacBook-de-Petit:~ petitcu$ diskutil ap deleteContainer disk2 ; diskutil eraseVolume free null disk0s3 ; diskutil ap resizeContainer disk1 0b ; diskutil list
Started APFS operation on disk2
Deleting APFS Container with all of its APFS Volumes
Unmounting Volumes
Unmounting Volume "SOS" 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
Started erase on disk0s3 Untitled
Unmounting disk
Finished erase on disk0
Started APFS operation
Aligning grow delta to 60 824 371 200 bytes and targeting a new physical store size of 119 824 367 616 bytes
Determined the maximum size for the targeted physical store of this APFS Container to be 119 823 339 520 bytes
Resizing APFS Container designated by APFS Container Reference disk1
The specific APFS Physical Store being resized is disk0s2
Verifying storage system
Using live mode
Performing fsck_apfs -n -x -l /dev/disk0s2
Checking volume
Checking the container superblock
Checking the EFI jumpstart record
Checking the space manager
Checking the object map
Checking the APFS volume superblock
Checking the object map
Checking the fsroot tree
Checking the snapshot metadata tree
Checking the extent ref tree
Checking the snapshots
Checking snapshot 1 of 2
Checking snapshot 2 of 2
Checking the APFS volume superblock
Checking the object map
Checking the fsroot tree
Checking the snapshot metadata tree
Checking the extent ref tree
Checking the snapshots
Checking the APFS volume superblock
Checking the object map
Checking the fsroot tree
Checking the snapshot metadata tree
Checking the extent ref tree
Checking the snapshots
Checking the APFS volume superblock
Checking the object map
Checking the fsroot tree
Checking the snapshot metadata tree
Checking the extent ref tree
Checking the snapshots
Verifying allocated space
The volume /dev/disk0s2 appears to be OK
Storage system check exit code is 0
Growing APFS Physical Store disk0s2 from 58 999 996 416 to 119 824 367 616 bytes
Modifying partition map
Growing APFS data structures
Finished APFS operation
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *120.0 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 119.8 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +119.8 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 15.8 GB disk1s1
2: APFS Volume Preboot 22.4 MB disk1s2
3: APFS Volume Recovery 520.6 MB disk1s3
4: APFS Volume VM 4.3 GB disk1s4
MacBook-de-Petit:~ petitcu$