Dernière édition par un modérateur:
diskutil list
Last login: Fri Jun 26 12:11:22 on console
MacBook-Pro-de-Olivier:~ oliviertran$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_CoreStorage Sans titre 499.2 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1 (internal, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS Sans titre +498.9 GB disk1
Logical Volume on disk0s2
59451A2F-95EC-4E3B-B4EA-061C7D40AD66
Unlocked Encrypted
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *30.8 GB disk2
1: Windows_FAT_32 NO NAME 30.8 GB disk2s1
MacBook-Pro-de-Olivier:~ oliviertran$
diskutil partitionDisk disk2 gpt jhfs+ CLE 22g jhfs+ BOOT 0b
Started partitioning on disk2
Unmounting disk
Creating the partition map
Waiting for the disks to reappear
Formatting disk2s2 as Mac OS Extended (Journaled) with name CLE
Initialized /dev/rdisk2s2 as a 20 GB case-insensitive HFS Plus volume with a 8192k journal
Mounting disk
Formatting disk2s3 as Mac OS Extended (Journaled) with name BOOT
Initialized /dev/rdisk2s3 as a 8 GB case-insensitive HFS Plus volume with a 8192k journal
Mounting disk
Finished partitioning on disk2
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *30.8 GB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_HFS CLE 21.9 GB disk2s2
3: Apple_HFS BOOT 8.4 GB disk2s3
MacBook-Pro-de-Olivier:~ oliviertran$
sudo /App*/Ins*\Moj*/C*/R*/createinstallmedia --volume /Vol*/BOOT --nointeraction
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
Password:
createinstallmedia: unrecognized option `--volume/Vol*/BOOT'
Usage: createinstallmedia --volume <path to volume to convert>
Arguments
--volume, A path to a volume that can be unmounted and erased to create the install media.
--nointeraction, Erase the disk pointed to by volume without prompting for confirmation.
--downloadassets, Download on-demand assets that may be required for installation.
Example: createinstallmedia --volume /Volumes/Untitled
To use this tool, you must download the macOS installer application on a Mac with 10.12.5 or later, or El Capitan 10.11.6. For more information, please see the following: https://support.apple.com/kb/HT201372.
diskutil verifyVolume /