Le démontage de Macintosh HD a été empêché par un service (assez ennuyeux) - de l'OS de secours démarré ici : un service de surveillance des extensions dans tout volume monté.
Passe la commande :
Bloc de code:diskutil umount force disk21
- qui démonte de force le volume Macintosh HD
Poste le retour.
-bash-3.2# diskutil umount force disk21
Volume Macintosh HD on disk21 force-unmounted
-bash-3.2#
diskutil eraseVolume jhfs+ "Macintosh HD" disk21
Oui, mais pour que le mac voit le disque, il faut le formater avant, non?@ GoLDoZ
S'il n'y a pas de données à préserver sur le disque > le paramétrage se fera aisément via une commande du Terminal de la session de secours du Mac.
@ nono_bew
Parfait. Enchaîne avec la commande :
Bloc de code:diskutil eraseVolume jhfs+ "Macintosh HD" disk21
- qui reformate le volume
Poste le retour.
-bash-3.2# diskutil eraseVolume jhfs+ "Macintosh HD" disk21
Started erase on disk21 Macintosh HD
Unmounting disk
Erasing
Initialized /dev/rdisk21 as a 465 GB case-insensitive HFS Plus volume with a 40960k journal
Mounting disk
Finished erase on disk21 Macintosh HD
-bash-3.2#
OK. J'ai trouvé un DD de 500Go mais je vais sauver ce qu'il y a dedans avant de le formater.Non : pas la peine.
diskutil list
-bash-3.2# 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.8 GB disk0s2
/dev/disk1 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *256.1 GB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_CoreStorage Mac OS SSD 255.2 GB disk1s2
3: Apple_Boot Recovery HD 650.0 MB disk1s3
/dev/disk2 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme +2.1 GB disk2
1: Apple_HFS OS X Base System 2.0 GB disk2s1
/dev/disk3 (internal, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS Mac OS SSD +254.8 GB disk3
Logical Volume on disk1s2
0E2FF6EC-1DC6-40D5-B776-922477CE06CB
Unencrypted
diskutil list
df -H
/dev/disk20 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *500.1 GB disk20
1: Windows_NTFS Elements 500.1 GB disk20s1
-bash-3.2# df -H
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk2s1 2.0G 1.3G 724M 64% 48782 4294918497 0% /
devfs 206k 206k 0B 100% 698 0 100% /dev
/dev/disk4 5.2M 786k 4.5M 15% 21 4294967258 0% /private/var/log
/dev/disk5 524k 147k 377k 29% 6 4294967273 0% /Volumes
/dev/disk6 524k 143k 381k 28% 5 4294967274 0% /private/var/tmp
/dev/disk7 524k 160k 365k 31% 10 4294967269 0% /private/var/run
/dev/disk8 2.1M 143k 2.0M 7% 2 4294967277 0% /private/tmp
/dev/disk9 524k 143k 381k 28% 2 4294967277 0% /System/Installation
/dev/disk10 524k 303k 221k 58% 21 4294967258 0% /private/var/db
/dev/disk11 6.3M 3.4M 2.9M 54% 63 4294967216 0% /private/var/folders
/dev/disk12 2.1M 2.1M 0B 100% 179 4294967100 0% /private/var/root/Library
/dev/disk14 2.1M 143k 2.0M 7% 2 4294967277 0% /private/var/root/Library/Containers
/dev/disk15 524k 176k 348k 34% 10 4294967269 0% /Library/Preferences
/dev/disk16 524k 168k 356k 33% 6 4294967273 0% /Library/Preferences/SystemConfiguration
/dev/disk17 1.0M 143k 905k 14% 2 4294967277 0% /Library/Keychains
/dev/disk18 6.3M 176k 6.1M 3% 2 4294967277 0% /private/var/tmp/RecoveryTemp
/dev/disk19 524k 143k 381k 28% 2 4294967277 0% /private/var/tmp/InstallerCookies
/dev/disk3 255G 227G 28G 89% 1091645 4293875634 0% /Volumes/Mac OS SSD
/dev/disk0s2 500G 473G 27G 95% 199140 4294768139 0% /Volumes/Macintosh HD
/dev/disk20s1 500G 235G 265G 48% 3114 258666502 0% /Volumes/Elements
-bash-3.2#
diskutil eraseDisk jhfs+ Clone gpt disk20
Salut ! Qu’est ce que je doit faire ensuite?@ nono_bew
Parfait. Enchaîne avec la commande :
Bloc de code:diskutil eraseVolume jhfs+ "Macintosh HD" disk21
- qui reformate le volume
Poste le retour.
-bash-3.2# diskutil eraseDisk jhfs+ Clone gpt disk20
Started erase on disk20
Unmounting disk
Creating the partition map
Waiting for partitions to activate
Formatting disk20s2 as Mac OS Extended (Journaled) with name Clone
Initialized /dev/rdisk20s2 as a 465 GB case-insensitive HFS Plus volume with a 40960k journal
Mounting disk
Finished erase on disk20