Bonjour macomaniac,Hé ! mais ça se présente très bien tout ça...
Allez ! "yapuka" créer à présent une partition de type Apple_HFS.
Alors passe la commande :
(si je ne me suis pas planté dans le décompte des blocs à allouer)Bloc de code:sudo gpt add -i 2 -b 409640 -s 5860122624 -t 48465300-0000-11AA-AA11-00306543ECAC /dev/disk2
- cette commande crée une partition dans le type Apple_HFS qui prend le maximum de blocs entre la partition EFI et le backup de la GPT (33 blocs) en queue de disque
Si tu n'as pas de message d'erreur > pareil : tu détaches le DDE > tu le ré-attaches > tu repasses un :
Bloc de code:diskutil list
et tu postes ici le tableau.
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 Sans titre 98.1 GB disk1s1
2: APFS Volume Preboot 21.6 MB disk1s2
3: APFS Volume Recovery 518.1 MB disk1s3
4: APFS Volume VM 2.1 GB disk1s4
/dev/disk2 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *127.9 GB disk2
1: Windows_NTFS 127.8 GB disk2s1
/dev/disk3 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *4.0 TB disk3
1: EFI EFI 209.7 MB disk3s1
2: Apple_HFS BROL 3.0 TB disk3s2
Resizing to full size (fit to fill)
Started partitioning on disk3s2 BROL
Verifying the disk
Verifying file system
Volume was successfully unmounted
Performing fsck_hfs -fn -x /dev/rdisk3s2
Checking Journaled HFS Plus volume
Checking extents overflow file
Checking catalog file
Checking multi-linked files
Checking catalog hierarchy
Checking extended attributes file
Checking volume bitmap
Checking volume information
The volume BROL appears to be OK
File system check exit code is 0
Restoring the original state found as mounted
Resizing
Modifying partition map
Growing file system
A problem occurred; undoing all changes
Modifying partition map
Error: -69787: The partition cannot be resized; try reducing the amount of change in the size of the partition
/dev/disk3 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *4.0 TB disk3
1: EFI EFI 209.7 MB disk3s1
2: Apple_HFS BROL 3.0 TB disk3s2
Password:
start size index contents
0 1 PMBR
1 1 Pri GPT header
2 32 Pri GPT table
34 6
40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
409640 5860122624 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
5860532264 1953504870
7814037134 32 Sec GPT table
7814037166 1 Sec GPT header
sudo diskutil umountDisk force disk3 ; sudo gpt remove -i 2 disk3 ; diskutil list disk3 ; sudo gpt show disk3
Password:
Forced unmount of all volumes on disk3 was successful
disk3s2 removed
/dev/disk3 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *4.0 TB disk3
1: EFI EFI 209.7 MB disk3s1
Password:
start size index contents
0 1 PMBR
1 1 Pri GPT header
2 32 Pri GPT table
34 6
40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
409640 7813627494
7814037134 32 Sec GPT table
7814037166 1 Sec GPT header
sudo gpt add -b 409640 -s 7813627487 -t 48465300-0000-11AA-AA11-00306543ECAC -i 2 disk3 ; diskutil list disk3
Password:
disk3s2 added
/dev/disk3 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *4.0 TB disk3
1: EFI 209.7 MB disk3s1
2: Apple_HFS 4.0 TB disk3s2
2: Apple_HFS 4.0 TB disk3s2
sudo newfs_hfs -J -v BROL /dev/disk3s2 ; diskutil mount disk3s2 ; diskutil list disk3
Password:
newfs_hfs: /dev/disk3s2 is mounted on /Volumes/BROL
Volume BROL on disk3s2 mounted
/dev/disk3 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *4.0 TB disk3
1: EFI EFI 209.7 MB disk3s1
2: Apple_HFS BROL 4.0 TB disk3s2