diskutil list
Last login: Wed Mar 25 11:39:26 on ttys000
MAC-CG:~ claragirbal$
[Restauré 25 mars 2020 à 17:44:59]
Last login: Wed Mar 25 15:48:54 on ttys000
Restored session: Mer 25 mar 2020 15:49:00 CET
MAC-CG:~ claragirbal$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_CoreStorage Macintosh HD 499.4 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1 (internal, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS Macintosh HD +499.1 GB disk1
Logical Volume on disk0s2
1169E4F6-C3B3-4CA8-81F2-BDB65755795E
Unencrypted
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *2.0 TB disk2
MAC-CG:~ claragirbal$
diskutil eraseDisk free null gpt disk2 ; diskutil list disk2
MAC-CG:~ claragirbal$ diskutil eraseDisk free null gpt disk2 ; diskutil list disk2
Started erase on disk2
Unmounting disk
Creating the partition map
Waiting for partitions to activate
Finished erase on disk2
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *2.0 TB disk2
1: EFI 209.7 MB disk2s1
MAC-CG:~ claragirbal$
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *2.0 TB disk2
1: EFI 209.7 MB disk2s1
sudo gpt show disk2
sudo gpt add -b 409640 -s 3906553776 -t 48465300-0000-11AA-AA11-00306543ECAC -i 2 disk2 ; diskutil list disk2
2: Apple_HFS 2.0 TB disk2s2