M
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_HFS Macintosh HD 499.2 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_partition_scheme +24.3 MB disk1
1: Apple_partition_map 32.3 KB disk1s1
2: Apple_HFS Flash Player 24.2 MB disk1s2
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *8.1 GB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_HFS Mac OS X Install ESD 7.7 GB disk2s2
sudo rename disk2s2 CLE ; hdiutil attach /Applications/Install\ OS\ X\ Mountain\ Lion.app/Contents/SharedSupport/InstallESD.dmg ; sudo asr restore --s /Volumes/Mac\ OS\ X\ Install\ ESD --t /Volumes/CLE --erase --noprompt
sudo: rename: command not found
Calcul de la somme de contrôle de Driver Descriptor Map (DDM : 0)…
Driver Descriptor Map (DDM : 0) : vérifiée CRC32 $C4F8F51E
Calcul de la somme de contrôle de (Apple_Free : 1)…
(Apple_Free : 1) : vérifiée CRC32 $00000000
Calcul de la somme de contrôle de Apple (Apple_partition_map : 2)…
Apple (Apple_partition_map : 2) : vérifiée CRC32 $835716AC
Calcul de la somme de contrôle de disk image (Apple_HFS : 3)…
........................................................................................ . disk image (Apple_HFS : 3) : vérifiée CRC32 $C2D35262
Calcul de la somme de contrôle de (Apple_Free : 4)…
(Apple_Free : 4) : vérifiée CRC32 $00000000
vérifiée CRC32 $4F23A76B
/dev/disk3 Apple_partition_scheme
/dev/disk3s1 Apple_partition_map
/dev/disk3s2 Apple_HFS /Volumes/Mac OS X Install ESD 1
Validating target...
"/Volumes/CLE" is not a volume
Could not validate target - Fichier ou répertoire inexistant
sudo diskutil rename disk2s2 CLE ; sudo asr restore --s /Volumes/Mac\ OS\ X\ Install\ ESD\ 1 --t /Volumes/CLE --erase --noprompt
Volume on disk2s2 renamed to CLE
Validating target...done
Validating source...done
Validating sizes...done
Restoring ....10....20....30....40....50....60....70....80....90....100
Verifying ....10....20....30....40....50....60....70....80....90....100
Remounting target volume...done
/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_HFS Macintosh HD 499.2 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_partition_scheme +24.3 MB disk1
1: Apple_partition_map 32.3 KB disk1s1
2: Apple_HFS Flash Player 24.2 MB disk1s2
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *8.1 GB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_HFS Mac OS X Install ESD 7.7 GB disk2s2
/dev/disk3 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_partition_scheme +4.9 GB disk3
1: Apple_partition_map 30.7 KB disk3s1
2: Apple_HFS Mac OS X Install ESD 4.9 GB disk3s2
diskutil rename disk2s2 "Mountain Lion"
sudo bless --folder /Volumes/Mountain\ Lion --file /Volumes/Mountain\ Lion/boot.efi --label "Mountain Lion"