M
diskutil list
macbook-pro-de-admin:~ florian$ 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 62.9 GB disk1s1
2: APFS Volume Preboot 45.0 MB disk1s2
3: APFS Volume Recovery 517.0 MB disk1s3
4: APFS Volume VM 1.1 GB disk1s4
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: Florian *128.0 GB disk2
macbook-pro-de-admin:~ florian$
diskutil eraseDisk jhfs+ Clone gpt disk2
macbook-pro-de-admin:~ florian$ diskutil eraseDisk jhfs+ Clone gpt disk2
Started erase on disk2 Florian
Unmounting disk
Creating the partition map
Waiting for partitions to activate
Formatting disk2s2 as Mac OS Extended (Journaled) with name Clone
Initialized /dev/rdisk2s2 as a 119 GB case-insensitive HFS Plus volume with a 16384k journal
Mounting disk
Finished erase on disk2
macbook-pro-de-admin:~ florian$
diskutil ap convert disk2s2 ; diskutil list disk2
macbook-pro-de-admin:~ florian$ diskutil eraseDisk jhfs+ Clone gpt disk2
Started erase on disk2 Florian
Unmounting disk
Creating the partition map
Waiting for partitions to activate
Formatting disk2s2 as Mac OS Extended (Journaled) with name Clone
Initialized /dev/rdisk2s2 as a 119 GB case-insensitive HFS Plus volume with a 16384k journal
Mounting disk
Finished erase on disk2
macbook-pro-de-admin:~ florian$ diskutil ap convert disk2s2 ; diskutil list disk2
Converting the volume on disk2s2 to an APFS Volume on an APFS Container
Started APFS operation on disk2s2 Clone
Converting HFS Volume to an APFS Container which will export one APFS Volume
The target is the Journaled HFS+ volume "Clone" backed by the GPT partition disk2s2
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 disk2s2
Starting conversion from HFS to APFS
Performing apfs_hfs_convert -x --verbose=0x400 --efi /usr/standalone/i386/apfs.efi /dev/disk2s2
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 disk2s2 to APFS
Changing the physical disk partition type in shared mode
Partition modification attempt count was 1
Opening and closing disk2s2 to terminate old content driver
Expecting the new APFS Container at Physical Store disk2s2
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 disk2s2 Clone
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *128.0 GB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_APFS Container disk3 127.7 GB disk2s2
diskutil list
macbook-pro-de-admin:~ florian$ 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 63.7 GB disk1s1
2: APFS Volume Preboot 45.0 MB disk1s2
3: APFS Volume Recovery 517.0 MB disk1s3
4: APFS Volume VM 1.1 GB disk1s4
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *128.0 GB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_APFS Container disk3 127.7 GB disk2s2
/dev/disk3 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +127.7 GB disk3
Physical Store disk2s2
1: APFS Volume Clone 61.7 GB disk3s1
2: APFS Volume Preboot 42.8 MB disk3s2
3: APFS Volume Recovery 528.7 MB disk3s3
macbook-pro-de-admin:~ florian$
diskutil list
macbook-pro-de-admin:~ florian$
[Restauré 6 févr. 2019 à 23:49:01]
Last login: Wed Feb 6 23:47:56 on console
macbook-pro-de-admin:~ florian$ 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 63.7 GB disk1s1
2: APFS Volume Preboot 45.0 MB disk1s2
3: APFS Volume Recovery 517.0 MB disk1s3
4: APFS Volume VM 1.1 GB disk1s4
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *128.0 GB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_APFS Container disk3 127.7 GB disk2s2
/dev/disk3 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +127.7 GB disk3
Physical Store disk2s2
1: APFS Volume Clone 62.2 GB disk3s1
2: APFS Volume Preboot 42.8 MB disk3s2
3: APFS Volume Recovery 528.7 MB disk3s3
4: APFS Volume VM 1.1 GB disk3s4
macbook-pro-de-admin:~ florian$
diskutil ap deleteContainer disk1 "Macintosh HD" ; diskutil ap convert disk0s2 ; diskutil list
macbook-pro-de-admin:~ florian$ diskutil ap deleteContainer disk1 "Macintosh HD" ; diskutil ap convert disk0s2 ; diskutil list
Started APFS operation on disk1
Deleting APFS Container with all of its APFS Volumes
Unmounting Volumes
Unmounting Volume "Macintosh HD" on disk1s1
Unmounting Volume "Preboot" on disk1s2
Unmounting Volume "Recovery" on disk1s3
Unmounting Volume "VM" on disk1s4
Deleting Volumes
Deleting Container
Wiping former APFS disks
Switching content types
Reformatting former APFS disks
Initialized /dev/rdisk0s2 as a 233 GB case-insensitive HFS Plus volume with a 24576k journal
Mounting disk
1 new disk created or changed due to APFS operation
Disk from APFS operation: disk0s2
Finished APFS operation on disk1
Converting the volume on disk0s2 to an APFS Volume on an APFS Container
Started APFS operation on disk0s2 Macintosh HD
Converting HFS Volume to an APFS Container which will export one APFS Volume
The target is the Journaled HFS+ volume "Macintosh HD" backed by the GPT partition disk0s2
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 disk0s2
Starting conversion from HFS to APFS
Performing apfs_hfs_convert -x --verbose=0x400 --efi /usr/standalone/i386/apfs.efi /dev/disk0s2
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 disk0s2 to APFS
Changing the physical disk partition type in shared mode
Partition modification attempt count was 1
Opening and closing disk0s2 to terminate old content driver
Expecting the new APFS Container at Physical Store disk0s2
Confirmed existence of new unencrypted APFS Volume disk1s1
Mounting APFS Volume disk1s1
APFS Volume mount attempt result was 0
Exiting conversion operations with error code 0
Disk from APFS operation: disk1s1
Finished APFS operation on disk0s2 Macintosh HD
/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.7 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +250.7 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 1.0 MB disk1s1
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *128.0 GB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_APFS Container disk3 127.7 GB disk2s2
/dev/disk3 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +127.7 GB disk3
Physical Store disk2s2
1: APFS Volume Clone 62.1 GB disk3s1
2: APFS Volume Preboot 42.8 MB disk3s2
3: APFS Volume Recovery 528.7 MB disk3s3
4: APFS Volume VM 1.1 GB disk3s4
macbook-pro-de-admin:~ florian$
macbook-pro-de-admin:~ florian$
[Restauré 7 févr. 2019 à 00:14:52]
Last login: Thu Feb 7 00:14:18 on console
macbook-pro-de-admin:~ florian$
macbook-pro-de-admin:~ florian$ 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.7 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +250.7 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 60.8 GB disk1s1
2: APFS Volume Preboot 45.0 MB disk1s2
3: APFS Volume Recovery 526.6 MB disk1s3
4: APFS Volume VM 1.1 GB disk1s4
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *128.0 GB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_APFS Container disk3 127.7 GB disk2s2
/dev/disk3 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +127.7 GB disk3
Physical Store disk2s2
1: APFS Volume Clone 62.3 GB disk3s1
2: APFS Volume Preboot 42.8 MB disk3s2
3: APFS Volume Recovery 528.7 MB disk3s3
4: APFS Volume VM 1.1 GB disk3s4