M
diskutil eraseDisk jhfs+ Clone gpt disk4
diskutil list
confirme si tu vois Macintosh HD - Données libellé en noir (= remonté).
defaults read /System/Library/CoreServices/SystemVersion.plist ProductVersion
Voici le retour. Réinstaller mac OS me propose de réinstaller High SierraPoste le retour. Et rappelle-moi en plus quel est l'OS actuellement proposé à la réinstallation par l'option : "Réinstaller macOS" ?
-bash-3.2# diskutil eraseDisk jhfs+ Clone gpt disk4
Started erase on disk4
Unmounting disk
Creating the partition map
Waiting for partitions to activate
Formatting disk4s2 as Mac OS Extended (Journaled) with name Clone
Initialized /dev/rdisk4s2 as a 2 TB case-insensitive HFS Plus volume with a 155648k journal
Mounting disk
Finished erase on disk4
-bash-3.2#
diskutil ap convert disk4s2
-bash-3.2# diskutil ap convert disk4s2
Started APFS operation on disk4s2 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 disk4s2
The target is 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 disk4s2
Starting conversion from HFS to APFS
Performing apfs_hfs_convert -x --verbose=0x400 --efi /usr/standalone/i386/apfs.efi /dev/disk4s2
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 disk4s2 to APFS
Changing the physical disk partition type in shared mode
Partition modification attempt count was 1
Opening and closing disk4s2 to terminate old content driver
Expecting the new APFS Container at Physical Store disk4s2
Confirmed existence of new unencrypted APFS Volume disk22s1
Mounting APFS Volume disk22s1
APFS Volume mount attempt result was 0
Exiting conversion operations with error code 0
Disk from APFS operation: disk22s1
Finished APFS operation on disk4s2 Clone
-bash-3.2#