Problème de répartition BootCamp

Passe la commande :
Bloc de code:
diskutil ap resizeContainer disk2 500g fat32 BOOTCAMP 0b

  • la commande rétrécit le Conteneur à 500 Go et crée un volume BOOTCAMP de 500 Go environ en format FAT-32

Poste le retour intégral. Préviens si la commande paraît plantée.
 
Voilà

Bloc de code:
iMac-de-ABFOSS:~ abfoss$ diskutil ap resizeContainer disk2 500g fat32 BOOTCAMP 0b
Started APFS operation
Aligning shrink delta to 527 546 298 368 bytes and targeting a new physical store size of 472 448 831 488 bytes
Determined the minimum size for the targeted physical store of this APFS Container to be 37 245 419 520 bytes
Resizing APFS Container designated by APFS Container Reference disk2
The specific APFS Physical Store being resized is disk0s2
Verifying storage system
Using live mode
Performing fsck_apfs -n -x -l -S /dev/disk1s2
Checking the container superblock
Checking the fusion superblock
Checking the EFI jumpstart record
Checking the space manager
Checking the space manager free queue trees
Checking the object map
Checking the Fusion data structures
Checking volume
Checking the APFS volume superblock
The volume Macintosh HD was formatted by newfs_apfs (945.200.129.100.1) and last modified by apfs_kext (945.250.109.100.1)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the extent ref tree
Checking the fsroot tree
Checking volume
Checking the APFS volume superblock
The volume Preboot was formatted by asr (945.250.109.100.1) and last modified by apfs_kext (945.260.7)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the extent ref tree
Checking the fsroot tree
Checking volume
Checking the APFS volume superblock
The volume Recovery was formatted by asr (945.250.109.100.1) and last modified by apfs_kext (945.260.7)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the extent ref tree
Checking the fsroot tree
Checking volume
Checking the APFS volume superblock
The volume VM was formatted by apfs.util (945.260.7) and last modified by apfs_kext (945.260.7)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the extent ref tree
Checking the fsroot tree
Verifying allocated space
warning: Overallocation Detected on Main device: (3997712+1) bitmap address (114a80)
The volume /dev/disk1s2 appears to be OK
Storage system check exit code is 0
Shrinking APFS Physical Store disk0s2 from 999 995 129 856 to 472 448 831 488 bytes
Shrinking APFS data structures
Shrinking partition
Modifying partition map
4096 bytes per physical sector
/dev/rdisk0s3: 1030109504 sectors in 16095461 FAT32 clusters (32768 bytes/cluster)
bps=512 spc=64 res=32 nft=2 mid=0xf8 spt=32 hds=255 hid=923162624 drv=0x80 bsec=1030361088 bspf=125752 rdcl=2 infs=1 bkbs=6
Mounting disk
1 new disk created or changed due to APFS operation
Disk from APFS operation: disk0s3
Finished APFS operation
iMac-de-ABFOSS:~ abfoss$
 
Ça a marché sans problème -->

- passe une commande :​
Bloc de code:
diskutil list

  • et poste le tableau => qu'on voie le résultat.
 
Donc là j'ai Windows il est installé?
Bloc de code:
iMac-de-ABFOSS:~ abfoss$ 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_APFS Container disk2         472.4 GB   disk0s2
   3:       Microsoft Basic Data BOOTCAMP                527.5 GB   disk0s3

/dev/disk1 (internal):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                         28.0 GB    disk1
   1:                        EFI EFI                     314.6 MB   disk1s1
   2:                 Apple_APFS Container disk2         27.6 GB    disk1s2

/dev/disk2 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +500.0 GB   disk2
                                 Physical Stores disk1s2, disk0s2
   1:                APFS Volume Macintosh HD            35.6 GB    disk2s1
   2:                APFS Volume Preboot                 45.5 MB    disk2s2
   3:                APFS Volume Recovery                517.8 MB   disk2s3
   4:                APFS Volume VM                      2.1 GB     disk2s4

/dev/disk3 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            CCCOMA_X64FRE_FR-FR... +5.4 GB     disk3

iMac-de-ABFOSS:~ abfoss$
 
Volume de 527 Go créé.

- passe la commande de récupération :​
Bloc de code:
diskutil eraseVolume free null disk0s3 ; diskutil ap resizeContainer disk2 0b ; diskutil list

  • qui supprime la partition créée > récupère son espace > réaffiche le tableau des disques

Poste le retour.
 
Le retour

Bloc de code:
/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_APFS Container disk2         1000.0 GB  disk0s2

/dev/disk1 (internal):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                         28.0 GB    disk1
   1:                        EFI EFI                     314.6 MB   disk1s1
   2:                 Apple_APFS Container disk2         27.6 GB    disk1s2

/dev/disk2 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +1.0 TB     disk2
                                 Physical Stores disk1s2, disk0s2
   1:                APFS Volume Macintosh HD            35.8 GB    disk2s1
   2:                APFS Volume Preboot                 45.5 MB    disk2s2
   3:                APFS Volume Recovery                517.8 MB   disk2s3
   4:                APFS Volume VM                      2.1 GB     disk2s4

/dev/disk3 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            CCCOMA_X64FRE_FR-FR... +5.4 GB     disk3

iMac-de-ABFOSS:~ abfoss$
 
Aucun problème -->

- tu pourrais repartitionner avec l'Assistant BootCamp => en demandant la même taille de 500 Go.​

- pour ce qui est de l'installation de Windows à proprement parler => c'est Locke qui s'y entend.​