diskutil eraseDisk exfat CLE mbr disk2
-bash-3.2# diskutil eraseDisk exfat CLE mbr disk2
Started erase on disk2
Unmounting disk
Creating the partition map
Waiting for partitions to activate
Formatting disk2s1 as ExFAT with name CLE
Volume name : CLE
Partition offset : 2 sectors (1024 bytes)
Volume size : 30310398 sectors (15518923776 bytes)
Bytes per sector : 512
Bytes per cluster: 32768
FAT offset : 2048 sectors (1048576 bytes)
# FAT sectors : 4096
Number of FATs : 1
Cluster offset : 6144 sectors (3145728 bytes)
# Clusters : 473503
Volume Serial # : 5c91112f
Bitmap start : 2
Bitmap file size : 59188
Upcase start : 4
Upcase file size : 5836
Root start : 5
Mounting disk
Finished erase on disk2
-bash-3.2#
diskutil umountDisk force disk2
-bash-3.2# diskutil umountDisk force disk2
Forced unmount of all volumes on disk2 was successful
-bash-3.2#
diskutil list
df -H
okTu peux débrancher ta clé du Mac. La brancher à ton PC : le volume CLE sera reconnu. Fais une copie de l'image-disque El Capitan.dmg => dans CLE (6,7 Go).
Puis débranche la clé du PC > branche-la au Mac > passe les 2 commandes (séparément) :
Bloc de code:diskutil list df -H
- qui affichent les configurations des disques et l'occupation des volumes montés
Poste les tableaux --> on pourra voir si un volume CLE est bien disponible cette fois.
-bash-3.2# diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 999.3 GB disk0s2
/dev/disk1 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme +2.1 GB disk1
1: Apple_HFS OS X Base System 2.0 GB disk1s1
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *15.5 GB disk2
1: Windows_NTFS CLE 15.5 GB disk2s1
/dev/disk3 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +5.2 MB disk3
/dev/disk4 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk4
/dev/disk5 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk5
/dev/disk6 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk6
/dev/disk7 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk7
/dev/disk8 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk8
/dev/disk9 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk9
/dev/disk10 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +12.6 MB disk10
/dev/disk11 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +4.2 MB disk11
/dev/disk12 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +1.0 MB disk12
/dev/disk13 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk13
/dev/disk14 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk14
/dev/disk15 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk15
/dev/disk16 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +1.0 MB disk16
/dev/disk17 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +6.3 MB disk17
/dev/disk18 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +6.3 MB disk18
/dev/disk19 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk19
/dev/disk20 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk20
-bash-3.2#
-bash-3.2# df -H
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk1s1 2.0G 1.3G 720M 64% 45181 4294922098 0% /
devfs 205k 205k 0B 100% 694 0 100% /dev
/dev/disk3 5.2M 4.6M 692k 87% 23 4294967256 0% /private/var/log
/dev/disk4 524k 147k 377k 29% 5 4294967274 0% /Volumes
/dev/disk5 524k 147k 377k 29% 7 4294967272 0% /private/var/tmp
/dev/disk6 524k 164k 360k 32% 13 4294967266 0% /private/var/run
/dev/disk7 2.1M 143k 2.0M 7% 2 4294967277 0% /private/tmp
/dev/disk8 524k 143k 381k 28% 2 4294967277 0% /System/Installation
/dev/disk9 524k 307k 217k 59% 22 4294967257 0% /private/var/db
/dev/disk10 13M 8.1M 4.5M 65% 90 4294967189 0% /private/var/folders
/dev/disk11 4.2M 4.0M 180k 96% 398 4294966881 0% /private/var/root/Library
/dev/disk13 2.1M 143k 2.0M 7% 2 4294967277 0% /private/var/root/Library/Containers
/dev/disk14 524k 180k 344k 35% 11 4294967268 0% /Library/Preferences
/dev/disk15 524k 160k 365k 31% 5 4294967274 0% /Library/Preferences/SystemConfiguration
/dev/disk16 1.0M 176k 872k 17% 6 4294967273 0% /Library/Keychains
/dev/disk17 6.3M 176k 6.1M 3% 2 4294967277 0% /private/var/tmp/RecoveryTemp
/dev/disk18 6.3M 176k 6.1M 3% 2 4294967277 0% /private/var/tmp/OSISPredicateUpdateProductTemp
/dev/disk19 524k 143k 381k 28% 2 4294967277 0% /private/var/tmp/InstallerCookies
/dev/disk20 2.1M 143k 2.0M 7% 2 4294967277 0% /Library/Logs/DiagnosticReports
/dev/disk0s2 999G 663M 999G 1% 9 4294967270 0% /Volumes/Macintosh HD
/dev/disk2s1 16G 6.7G 8.8G 44% 204476 269027 43% /Volumes/CLE
-bash-3.2#
cp -av /Volumes/CLE/* /Volumes/"Macintosh HD"
ls /Volumes/Mac*
df -H /Volumes/Mac*
-bash-3.2# cp -av /Volumes/CLE/* /Volumes/"Macintosh HD"
cp: /Volumes/Macintosh HD/El Capitan.dmg: Invalid argument
cp: /Volumes/Macintosh HD/System Volume Information: Invalid argument
cp: /Volumes/CLE/System Volume Information: unable to copy extended attributes to /Volumes/Macintosh HD/System Volume Information: Invalid argument
/Volumes/CLE/System Volume Information -> /Volumes/Macintosh HD/System Volume Information
cp: /Volumes/Macintosh HD/System Volume Information/WPSettings.dat: No such file or directory
cp: /Volumes/Macintosh HD/System Volume Information/IndexerVolumeGuid: No such file or directory
cp: utimes: /Volumes/Macintosh HD/System Volume Information: No such file or directory
cp: chown: /Volumes/Macintosh HD/System Volume Information: No such file or directory
cp: chmod: /Volumes/Macintosh HD/System Volume Information: No such file or directory
cp: chflags: /Volumes/Macintosh HD/System Volume Information: No such file or directory
cp: /Volumes/CLE/System Volume Information: unable to copy ACL to /Volumes/Macintosh HD/System Volume Information: Invalid argument
-bash-3.2#
-bash-3.2# df -H /Volumes/Mac*
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk0s2 999G 663M 999G 1% 9 4294967270 0% /Volumes/Macintosh HD
-bash-3.2#
diskutil partitionDisk disk0 gpt jhfs+ "Macintosh HD" 990g jhfs+ BOOT 0b
-bash-3.2# diskutil partitionDisk disk0 gpt jhfs+ "Macintosh HD" 990g jhfs+ BOOT 0b
Started partitioning on disk0
Unmounting disk
Error: -69888: Couldn't unmount disk
-bash-3.2# diskutil partitionDisk disk0 gpt jhfs+ "Macintosh HD" 990g jhfs+ BOOT 0b
Started partitioning on disk0
Unmounting disk
Error: -69888: Couldn't unmount disk
-bash-3.2#
diskutil umount force disk0s2
-bash-3.2# diskutil umount force disk0s2
Volume Macintosh HD on disk0s2 force-unmounted
-bash-3.2#
-bash-3.2# diskutil umount force disk0s
Unmount failed for disk0s
-bash-3.2# diskutil umount force disk0s2
disk0s2 was already unmounted
-bash-3.2#
diskutil partitionDisk disk0 gpt jhfs+ "Macintosh HD" 990g jhfs+ BOOT 0b
c est long , c'est normal ?Donc repasse la commande de repartitionnement :
Bloc de code:diskutil partitionDisk disk0 gpt jhfs+ "Macintosh HD" 990g jhfs+ BOOT 0b
- et poste le retour.