Last login: Sat Oct 13 17:10:13 on ttys000
MacBook-Pro-de-ROBINET:~ Antoine$
[Restauré 23 sept. 2020 à 16:06:17]
Last login: Wed Sep 23 13:10:14 on console
MacBook-Pro-de-ROBINET:~ Antoine$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *251.0 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 250.8 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +250.8 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 235.0 GB disk1s1
2: APFS Volume Preboot 45.7 MB disk1s2
3: APFS Volume Recovery 510.5 MB disk1s3
4: APFS Volume VM 2.1 GB disk1s4
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_HFS CLONE macOS 499.8 GB disk2s2
MacBook-Pro-de-ROBINET:~ Antoine$
[Restauré 23 sept. 2020 à 16:48:27]
Last login: Wed Sep 23 16:06:19 on ttys000
diskutil eraseDisk apfs "Macintosh HD" gpt disk0 ; diskutil list internal
Restored session: Mer 23 sep 2020 16:48:12 CEST
MacBook-Pro-de-ROBINET:~ Antoine$ diskutil eraseDisk apfs "Macintosh HD" gpt disk0 ; diskutil list internal
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
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *251.0 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 250.8 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +250.8 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 786.4 KB disk1s1
MacBook-Pro-de-ROBINET:~ Antoine$