M
Membre supprimé 1060554
Invité
En fait > il te faut supprimer le Conteneur apfs entier > car il contient des volumes de prédémarrage > de secours > de données et de système hérités d'une installation antérieure.
diskutil list internal
-bash-3.2# diskutil list internal
/dev/disk0 (internal):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme 121.3 GB disk0
1: EFI EFI 314.6 MB disk0s1
2: Apple_APFS Container disk2 121.0 GB disk0s2
/dev/disk2 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +121.0 GB disk2
Physical Store disk0s2
1: APFS Volume Macintosh HD 880.6 KB disk2s1
2: APFS Volume Preboot 20.5 KB disk2s2
3: APFS Volume Recovery 20.5 KB disk2s3
4: APFS Volume VM 20.5 KB disk2s4
5: APFS Volume Update 1.1 MB disk2s6
6: APFS Volume Macintosh HD 41.0 KB disk2s7
-bash-3.2#
diskutil eraseDisk apfs "Macintosh HD" gpt disk0
-bash-3.2# diskutil eraseDisk apfs "Macintosh HD" gpt disk0
Started erase on disk0
Unmounting disk
Creating the partition map
Waiting for partitions to activate
Formatting disk0s2 as APFS with name Macintosh HD
Mounting disk
Finished erase on disk0
-bash-3.2#
diskutil list
, j'essaie de vous poster le résultat, puis la deuxième : diskutil ap listGroups disk2
, mais pour la suite je préfèrerai être guidé. Last login: Sun Apr 11 14:22:44 on ttys000
synopsie@pc8 ~ % 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: Apple_APFS Container disk1 121.1 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +121.1 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD - Données 118.8 KB disk1s1
2: APFS Volume Preboot 83.1 MB disk1s2
3: APFS Volume Recovery 528.9 MB disk1s3
4: APFS Volume VM 1.1 GB disk1s4
5: APFS Volume Macintosh HD - Données 17.1 GB disk1s5
6: APFS Volume Macintosh HD 11.2 GB disk1s6
synopsie@pc8 ~ % diskutil ap listGroups disk2
Could not find disk for disk2
synopsie@pc8 ~ % diskutil ap listGroups disk1
|
+-- Container disk1 14AE40D6-630B-4B76-9CCE-6497B3B54A12
|
+-> Volume Group 57150198-D96A-4859-986B-2C5DA17CB23A
=================================================
APFS Volume Disk (Role): disk1s5 (Data)
Name: Macintosh HD - Données
Volume UUID: 57150198-D96A-4859-986B-2C5DA17CB23A
Capacity Consumed: 17097916416 B (17.1 GB)
-------------------------------------------------
APFS Volume Disk (Role): disk1s6 (System)
Name: Macintosh HD
Volume UUID: 71778AD8-11D0-4097-B40F-C96C55C62731
Capacity Consumed: 11226681344 B (11.2 GB)
synopsie@pc8 ~ %
1: APFS Volume Macintosh HD - Données 118.8 KB disk1s1
diskutil ap deleteVolume disk1s1 ; diskutil list
diskutil ap deleteVolume disk1s1 ; diskutil list
et voici le résultat :synopsie@pc8 ~ % diskutil ap deleteVolume disk1s1 ; diskutil list
Started APFS operation
Deleting APFS Volume from its APFS Container
Unmounting disk1s1
Erasing any xART session referenced by 93AA2EDD-7921-48D1-AD1E-CBFC8259EB88
Deleting Volume
Removing any Preboot and Recovery Directories
Finished APFS operation
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *121.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 121.1 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +121.1 GB disk1
Physical Store disk0s2
1: APFS Volume Preboot 83.1 MB disk1s2
2: APFS Volume Recovery 528.9 MB disk1s3
3: APFS Volume VM 1.1 GB disk1s4
4: APFS Volume Macintosh HD - Données 17.2 GB disk1s5
5: APFS Volume Macintosh HD 11.2 GB disk1s6
diskutil list internal
$ diskutil ap list
APFS Container (1 found)
|
+-- Container disk1 2A49EF69-015D-4219-82A6-0BE263075CD5
====================================================
APFS Container Reference: disk1
Size (Capacity Ceiling): 250685575168 B (250.7 GB)
Capacity In Use By Volumes: 232401014784 B (232.4 GB) (92.7% used)
Capacity Not Allocated: 18284560384 B (18.3 GB) (7.3% free)
|
+-< Physical Store disk0s2 34FAB0CF-3878-46F9-A62F-F18BC3FCBF10
| -----------------------------------------------------------
| APFS Physical Store Disk: disk0s2
| Size: 250685575168 B (250.7 GB)
|
+-> Volume disk1s1 D642DBA3-EC76-4913-A26A-FC6A570F5074
| ---------------------------------------------------
| APFS Volume Disk (Role): disk1s1 (Data)
| Name: Macintosh HD - Données (Case-insensitive)
| Mount Point: /Volumes/Macintosh HD - Données
| Capacity Consumed: 185991012352 B (186.0 GB)
| Sealed: No
| FileVault: No (Encrypted at rest)
|
+-> Volume disk1s2 9E725D20-F57F-4C10-801D-C4BDA93265BC
| ---------------------------------------------------
| APFS Volume Disk (Role): disk1s2 (Preboot)
| Name: Preboot (Case-insensitive)
| Mount Point: /System/Volumes/Preboot
| Capacity Consumed: 584327168 B (584.3 MB)
| Sealed: No
| FileVault: No
|
+-> Volume disk1s3 89C0AFDC-B941-415B-8320-86C3399B4716
| ---------------------------------------------------
| APFS Volume Disk (Role): disk1s3 (Recovery)
| Name: Recovery (Case-insensitive)
| Mount Point: Not Mounted
| Capacity Consumed: 1269309440 B (1.3 GB)
| Sealed: No
| FileVault: No
|
+-> Volume disk1s4 64BC5CBB-EDBA-4A50-BBB3-35BAFD8B03E7
| ---------------------------------------------------
| APFS Volume Disk (Role): disk1s4 (VM)
| Name: VM (Case-insensitive)
| Mount Point: /System/Volumes/VM
| Capacity Consumed: 24576 B (24.6 KB)
| Sealed: No
| FileVault: No
|
+-> Volume disk1s5 A924D29D-543A-4A33-AB7A-CC5CB5B41231
| ---------------------------------------------------
| APFS Volume Disk (Role): disk1s5 (Data)
| Name: Macintosh HD - Données (Case-insensitive)
| Mount Point: /System/Volumes/Data
| Capacity Consumed: 29365878784 B (29.4 GB)
| Sealed: No
| FileVault: No (Encrypted at rest)
|
+-> Volume disk1s7 8ECBF309-EBE8-4641-A8CC-48A618D4E6E6
---------------------------------------------------
APFS Volume Disk (Role): disk1s7 (System)
Name: Macintosh HD (Case-insensitive)
Mount Point: Not Mounted
Capacity Consumed: 15051173888 B (15.1 GB)
Sealed: Broken
FileVault: No (Encrypted at rest)
|
Snapshot: 13092D53-E977-4E31-B5E8-450DB115EE02
Snapshot Disk: disk1s7s1
Snapshot Mount Point: /
Snapshot Sealed: Yes