M
estelles-MacBook-Pro:~ estelle$ diskutil ap convert disk2s7
Started APFS operation on disk2s7 Catalina
Converting HFS Volume to an APFS Container which will export one APFS Volume
The target is the Journaled HFS+ volume "Catalina" backed by the GPT partition disk2s7
The target is a data disk; it is not a macOS system disk
Found APFS EFI driver /usr/standalone/i386/apfs.efi to install into the APFS Container
The target is not encrypted
Unmounting disk2s7
Starting conversion from HFS to APFS
Performing apfs_hfs_convert -x --verbose=0x400 --efi /usr/standalone/i386/apfs.efi /dev/disk2s7
Reporting post-conversion statistics
A problem occurred during conversion from HFS to APFS
APFS Converter exit code is 1
Aborted conversion in commit mode so will restore type
Setting type of disk2s7 to HFS
Changing the physical disk partition type in shared mode
Partition modification attempt count was 1
Opening and closing disk2s7 to terminate old content driver
Not mounting APFS Volume
Exiting conversion operations with error code 0
Error: -69860: The underlying task reported failure on exit
Underlying error: 1: Operation not permitted
estelles-MacBook-Pro:~ estelle$
estelles-MacBook-Pro:~ estelle$ diskutil ap convert disk2s7
Started APFS operation on disk2s7 Catalina
Converting HFS Volume to an APFS Container which will export one APFS Volume
The target is the Journaled HFS+ volume "Catalina" backed by the GPT partition disk2s7
The target is a data disk; it is not a macOS system disk
Found APFS EFI driver /usr/standalone/i386/apfs.efi to install into the APFS Container
The target is not encrypted
Unmounting disk2s7
Starting conversion from HFS to APFS
Performing apfs_hfs_convert -x --verbose=0x400 --efi /usr/standalone/i386/apfs.efi /dev/disk2s7
Reporting pre-conversion statistics
Reporting post-conversion statistics
Successfully finished conversion from HFS to APFS
Successful conversion in commit mode so will switch type to APFS
Setting type of disk2s7 to APFS
Changing the physical disk partition type in shared mode
Partition modification attempt count was 1
Opening and closing disk2s7 to terminate old content driver
Expecting the new APFS Container at Physical Store disk2s7
Confirmed existence of new unencrypted APFS Volume disk3s1
Mounting APFS Volume disk3s1
APFS Volume mount attempt result was 0
Exiting conversion operations with error code 0
Disk from APFS operation: disk3s1
Finished APFS operation on disk2s7 Catalina
estelles-MacBook-Pro:~ estelle$
diskutil list internal
MacBook-Pro-de-estelle:~ estellelhm$ diskutil list internal
/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 177.8 GB disk1s1
2: APFS Volume Preboot 169.4 MB disk1s2
3: APFS Volume Recovery 1.1 GB disk1s3
4: APFS Volume VM 1.1 GB disk1s4
diskutil eraseDisk apfs "Macintosh HD" gpt disk0 ; diskutil list internal
MacBook-Pro-de-estelle:~ estellelhm$ 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 782.3 KB disk1s1
diskutil list external
MacBook-Pro-de-estelle:~ estellelhm$ diskutil list external
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *4.0 TB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_HFS Maxtor Mac 600.0 GB disk2s2
3: Apple_APFS Container disk3 299.9 GB disk2s3
4: Microsoft Basic Data W 100.2 GB disk2s4
5: Apple_HFS MAXTOR WIND 3.0 TB disk2s5
6: Apple_Boot Recovery HD 650.0 MB disk2s6
/dev/disk3 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +299.9 GB disk3
Physical Store disk2s3
1: APFS Volume Catalina - Données 124.8 GB disk3s1
2: APFS Volume Preboot 82.4 MB disk3s2
3: APFS Volume Recovery 529.0 MB disk3s3
4: APFS Volume Catalina 11.9 GB disk3s4
5: APFS Volume VM 5.4 GB disk3s5
/dev/disk4 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme +12.9 GB disk4
1: EFI EFI 209.7 MB disk4s1
2: Apple_HFS Shared Support 12.6 GB disk4s2