Bootcamp "Le disque doit comporter au moins 40 Go d’espace libre"

Aucune difficulté pour effectuer le repartitionnement.

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

  • et poste le tableau des disques => qui va montrer le résultat.
 
Et voici le résultat :

Bloc de code:
macbook-pro-de-alexandre-1:~ alexandre$ 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         209.0 GB   disk0s2
   3:       Microsoft Basic Data BOOTCAMP                41.8 GB    disk0s3

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +209.0 GB   disk1
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD - Données  178.4 GB   disk1s1
   2:                APFS Volume Preboot                 81.9 MB    disk1s2
   3:                APFS Volume Recovery                528.1 MB   disk1s3
   4:                APFS Volume VM                      1.1 GB     disk1s4
   5:                APFS Volume Macintosh HD            11.3 GB    disk1s5

J'ai relancé l'utilitaire Bootcamp qui ne me fait plus d'erreur. J'ai déjà créé avec l'outil une clé USB bootable.
Je peux donc redémarrer directement depuis la clé ?

En tout cas, merci pour tout :)
 
Est-ce que l'Assistant BootCamp accepte le volume tel qu'on vient de le créer ?

- ou bien faut-il le supprimer et récupérer son espace => pour que l'Assistant BootCamp reprenne la tâche du début ?​
 
Juste en lançant l'assistant, je n'ai plus d'erreur et tombe sur l'écran ou je peux créer une clé USB bootable et/ou restaurer la partition pour passer de Windows à Mac. Ca me semble OK du coup.

Merci :)
 
Bonjour Macomaniac, je viens aussi demander ton aide pour une opération bootcamp impossible à lancer, j'ai "en théorie" 220 giga de libre sur 2 tera, mais malgré mes copiés collés (pris sur tes conseils précédents), je n'arrive pas à passer au delà du message d'erreur "Une erreur s’est produite lors du partitionnement du disque. Veuillez exécuter Utilitaire de disque pour consulter et corriger l’erreur.", et vu cette capture d'écran jointe, je pense qu'il y a effectivement maldonne par rapport a 220 théoriques et réel...
 
Bonjour Olivar

Voici comment tu vas pouvoir fournir les informations de base -->

- va à : Applications > Utilitaires > lance le «Terminal». Dans la fenêtre ouverte > saisis la commande informative (ce qui est inscrit sous Bloc de code) :​
Bloc de code:
diskutil list
et ↩︎ (presse la touche "Entrée" du clavier pour exécuter la commande)
  • tu vas voir s'afficher le tableau des disques attachés au Mac (en interne / externe) > avec leurs configurations

Poste le retour en copier-coller > en veillant à faire le coller dans un Bloc de code (c'est plus lisible !) par le procédé suivant -->

- en bas de cette page des forums MacGé => utilise le menu (le 16è depuis la gauche = vers le milieu de la barre) dans la barre de menus au-dessus du champ de saisie d'un message > sous-menu : </> (= Bloc de code) => tu fais ton coller dans la fenêtre de code et Continuer.​

=> ces informations montreront la configuration du disque.
 
Merci pour la réponse rapide, voilà le résultat de la configuration :

Bloc de code:
Last login: Sat Feb 27 18:41:19 on ttys000
imac-de-olivier:~ olivartripas$ diskutil list
/dev/disk0 (internal):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                         121.3 GB   disk0
   1:                        EFI EFI                     314.6 MB   disk0s1
   2:                 Apple_APFS Container disk2         121.0 GB   disk0s2

/dev/disk1 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *2.0 TB     disk1
   1:                        EFI EFI                     209.7 MB   disk1s1
   2:                 Apple_APFS Container disk2         2.0 TB     disk1s2

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

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

imac-de-olivier:~ olivartripas$
 
Passe la commande :
Bloc de code:
diskutil verifyVolume disk2
  • qui vérifie l'apfs

Poste le retour => qu'on voie s'il n'y a pas d'anomalies à ce niveau.
 
Ok !

voilà la vérification :

Bloc de code:
Last login: Sun Feb 28 03:57:01 on ttys000
imac-de-olivier:~ olivartripas$ diskutil verifyVolume disk2
Started file system verification on disk2
Verifying storage system
Using live mode
Performing fsck_apfs -n -x -l /dev/disk0s2
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.84) and last modified by apfs_kext (945.275.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 Preboot was formatted by asr (945.200.105.0.1) and last modified by apfs_kext (945.275.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.200.105.0.1) and last modified by apfs_kext (945.275.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.250.134) and last modified by apfs_kext (945.275.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
The volume /dev/disk0s2 appears to be OK
Storage system check exit code is 0
Finished file system verification on disk2
imac-de-olivier:~ olivartripas$
 
Dernière édition:
Aucune erreur n'est signalée nulle part.

- passe la commande-test :​
Bloc de code:
diskutil ap resizeContainer disk2 2000g fat32 BOOTCAMP 0b ; diskutil list internal
  • qui rétrécit le Conteneur du Fusion Drive à 2 To > crée un volume BOOTCAMP de 100 Go en format FAT-32 > ré-affiche la configuration interne

Poste le retour.
 
Ok, il m'a affiché un message d'erreur :
Bloc de code:
Last login: Sun Feb 28 11:08:58 on ttys000
imac-de-olivier:~ olivartripas$ diskutil ap resizeContainer disk2 2000g fat32 BOOTCAMP 0b ; diskutil list internal
Started APFS operation
Aligning shrink delta to 121 207 386 112 bytes and targeting a new physical store size of 1 878 981 791 744 bytes
Determined the minimum size for the targeted physical store of this APFS Container to be 1 973 000 601 600 bytes
Error: -69521: Your APFS Container resize request is below the APFS-system-imposed minimal container size (perhaps caused by APFS Snapshot usage by Time Machine)
/dev/disk0 (internal):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                         121.3 GB   disk0
   1:                        EFI EFI                     314.6 MB   disk0s1
   2:                 Apple_APFS Container disk2         121.0 GB   disk0s2

/dev/disk1 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *2.0 TB     disk1
   1:                        EFI EFI                     209.7 MB   disk1s1
   2:                 Apple_APFS Container disk2         2.0 TB     disk1s2

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

imac-de-olivier:~ olivartripas$
 
Il doit y avoir un snapshot rétenteur d'espace. Passe la commande :
Bloc de code:
diskutil ap listSnaps disk2s1
  • qui liste les snapshots associés au volume-Données

Poste le retour.
 
Merci de ta patience ! C'est parti : il me dit qu'il n'y en a aucun... ?


Bloc de code:
imac-de-olivier:~ olivartripas$ diskutil ap listSnaps disk2s1
No snapshots for disk2s1
imac-de-olivier:~ olivartripas$ ;
 
Redémarre > les 2 touches ⌘R tenues pressées pour ouvrir la session de secours.

- quand tu as les 4 Utilitaires macOS > lance l'Utilitaire de disque. Presse la pastille : "Présentation" > "Afficher tous les appareils". Sélectionne alors le Conteneur apfs > fais un S.O.S. dessus pour réparer l'apfs.​

Redémarre ensuite (Menu  > Redémarrer). De retour dans ta session > repasse la commande :
Bloc de code:
diskutil ap resizeContainer disk2 2000g fat32 BOOTCAMP 0b ; diskutil list internal
  • et poste le retour.
 
Redémarrage fait après réparation du conteneur AFPS, voilà ce que ça donne (après un long moment d'analyse)
Bloc de code:
Last login: Sun Feb 28 18:10:30 on console
imac-de-olivier:~ olivartripas$ diskutil ap resizeContainer disk2 2000g fat32 BOOTCAMP 0b ; diskutil list internal
Started APFS operation
Aligning shrink delta to 121 207 386 112 bytes and targeting a new physical store size of 1 878 981 791 744 bytes
Determined the minimum size for the targeted physical store of this APFS Container to be 1 549 409 452 032 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.84) and last modified by apfs_kext (945.275.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 Preboot was formatted by asr (945.200.105.0.1) and last modified by apfs_kext (945.275.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.200.105.0.1) and last modified by apfs_kext (945.275.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.250.134) and last modified by apfs_kext (945.275.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
The volume /dev/disk1s2 appears to be OK
Storage system check exit code is 0
Shrinking APFS Physical Store disk0s2 from 2 000 189 177 856 to 1 878 981 791 744 bytes
Shrinking APFS data structures
Shrinking partition
Modifying partition map
4096 bytes per physical sector
/dev/rdisk0s3: 236674560 sectors in 3698040 FAT32 clusters (32768 bytes/cluster)
bps=512 spc=64 res=32 nft=2 mid=0xf8 spt=32 hds=255 hid=3670296576 drv=0x80 bsec=236732416 bspf=28896 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
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *2.0 TB     disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk2         1.9 TB     disk0s2
   3:       Microsoft Basic Data BOOTCAMP                121.2 GB   disk0s3

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

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

imac-de-olivier:~ olivartripas$
:
 
Ça fonctionné : volume BOOTCAMP de 120 Go créé ! Une erreur clandestine dans l'apfs bloquait le repartitionnement sans s'avérer à la vérification.

- passe la commande (copier-coller) destinée à ramener au point de départ :​
Bloc de code:
diskutil eraseVolume free null disk0s3 ; diskutil ap resizeContainer disk2 0b ; diskutil list
  • la commande supprime la partition BOOTCAMP > récupère son espace au Conteneur du Fusion Drive > ré-affiche le tableau des disques

Poste le retour.
 
Voilà le nouveau tableau des disques :

Bloc de code:
The volume /dev/disk1s2 appears to be OK
Storage system check exit code is 0
Growing APFS Physical Store disk0s2 from 1 878 981 791 744 to 2 000 189 177 856 bytes
Modifying partition map
Growing APFS data structures
Finished APFS operation
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *2.0 TB     disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk2         2.0 TB     disk0s2

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

/dev/disk2 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +2.1 TB     disk2
                                 Physical Stores disk1s2, disk0s2
   1:                APFS Volume Macintosh HD            1.5 TB     disk2s1
   2:                APFS Volume Preboot                 44.4 MB    disk2s2
   3:                APFS Volume Recovery                510.5 MB   disk2s3
   4:                APFS Volume VM                      2.1 GB     disk2s4
 
Retour à la case départ : Conteneur du Fusion Drive de 2,1 To.

- tu n'as plus qu'à relancer ton Assistant BootCamp.​
 
  • J’aime
Réactions: litobar71