Pourquoi en est-on obligé de passer par là et l'utilitaire de disque n'est pas capable de formater ce disque...
MBP-de-Alex-M:~ ALEX$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *121.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 121.1 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +121.1 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 115.9 GB disk1s1
2: APFS Volume Preboot 21.5 MB disk1s2
3: APFS Volume Recovery 520.0 MB disk1s3
4: APFS Volume VM 1.1 GB disk1s4
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *2.0 TB disk2
1: Apple_HFS 2.0 TB disk2s1
diskutil eraseDisk jhfs+ Brol disk2
diskutil list
MBP-de-Alex-M:~ ALEX$ diskutil eraseDisk jhfs+ Brol disk2
Started erase on disk2
Unmounting disk
Creating the partition map
Waiting for partitions to activate
Formatting disk2s2 as Mac OS Extended (Journaled) with name Brol
Initialized /dev/rdisk2s2 as a 2 TB case-insensitive HFS Plus volume with a 155648k journal
Mounting disk
Finished erase on disk2
MBP-de-Alex-M:~ ALEX$ diskutill list
-bash: diskutill: command not found
MBP-de-Alex-M:~ ALEX$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *121.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 121.1 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +121.1 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 116.1 GB disk1s1
2: APFS Volume Preboot 21.5 MB disk1s2
3: APFS Volume Recovery 520.0 MB disk1s3
4: APFS Volume VM 1.1 GB disk1s4
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *2.0 TB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_HFS Brol 2.0 TB disk2s2
Last login: Mon May 7 12:54:00 on ttys000
MacBook-Pro-de-laurent:~ laurent$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *251.0 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 250.8 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +250.8 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 211.3 GB disk1s1
2: APFS Volume Preboot 21.7 MB disk1s2
3: APFS Volume Recovery 518.1 MB disk1s3
4: APFS Volume VM 1.1 GB disk1s4
/dev/disk3 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *1.0 TB disk3
1: Apple_HFS 1.0 TB disk3s1
Bonjour exclusive
Fais signe quand tu seras de nouveau connecté --> je te demanderai alors (ton DDE connecté) de repasser la commande : diskutil list et de poster le tableau --> afin que je sois sûr de l'index actuel du disque externe. Je pourrai alors te passer une commande de ré-initialisation.
Last login: Mon May 7 13:44:01 on ttys000
MacBook-Pro-de-laurent:~ laurent$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *251.0 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 250.8 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +250.8 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 213.9 GB disk1s1
2: APFS Volume Preboot 21.7 MB disk1s2
3: APFS Volume Recovery 518.1 MB disk1s3
4: APFS Volume VM 1.1 GB disk1s4
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *1.0 TB disk2
1: Apple_HFS 1.0 TB disk2s1
diskutil eraseDisk jhfs+ DDE disk2
Alors passe la commande (copier-coller) :
Bloc de code:diskutil eraseDisk jhfs+ DDE disk2
- la commande intialise le disque en table GUID > format jhfs+ > intitulé de volume DDE
Poste l'affichage retourné par la commande.
MacBook-Pro-de-laurent:~ laurent$ diskutil eraseDisk jhfs+ DDE disk2
Started erase on disk2
Unmounting disk
Creating the partition map
Waiting for partitions to activate
Formatting disk2s2 as Mac OS Extended (Journaled) with name DDE
Initialized /dev/rdisk2s2 as a 931 GB case-insensitive HFS Plus volume with a 81920k journal
Mounting disk
Finished erase on disk2
MacBook-Pro-de-laurent:~ laurent$
La commande a fonctionné.
Repasse un :
Bloc de code:diskutil list
- et poste le tableau.
MacBook-Pro-de-laurent:~ laurent$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *251.0 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 250.8 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +250.8 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 214.0 GB disk1s1
2: APFS Volume Preboot 21.7 MB disk1s2
3: APFS Volume Recovery 518.1 MB disk1s3
4: APFS Volume VM 1.1 GB disk1s4
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_HFS DDE 999.9 GB disk2s2
Voici le retour de commande diskutil list :
Bloc de code:MacBook-Pro-de-laurent:~ laurent$ diskutil list /dev/disk0 (internal, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *251.0 GB disk0 1: EFI EFI 209.7 MB disk0s1 2: Apple_APFS Container disk1 250.8 GB disk0s2 /dev/disk1 (synthesized): #: TYPE NAME SIZE IDENTIFIER 0: APFS Container Scheme - +250.8 GB disk1 Physical Store disk0s2 1: APFS Volume Macintosh HD 214.0 GB disk1s1 2: APFS Volume Preboot 21.7 MB disk1s2 3: APFS Volume Recovery 518.1 MB disk1s3 4: APFS Volume VM 1.1 GB disk1s4 /dev/disk2 (external, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *1.0 TB disk2 1: EFI EFI 209.7 MB disk2s1 2: Apple_HFS DDE 999.9 GB disk2s2
La commande a fonctionné.
Repasse un :
Bloc de code:diskutil list
- et poste le tableau.
Est-ce que tu souhaitais un autre paramétrage ? - par exemple compatible Mac <=> PC > avec un format de volume passe-partout ? - ou bien est-ce que tu veux t'en servir uniquement avec ton Mac ?