Boot Camp : votre disque n'a pas pu être partitionné

lauryp

Membre confirmé
25 Décembre 2019
17
0
26
Bonjour,

J'ai un soucis lorsque j'essaye d'installer Windows avec Boot Camp : à la fin de l'installation, le message d'erreur suivant apparait : "Votre disque n’a pas pu être partitionné. Une erreur s’est produite lors du partitionnement du disque. Veuillez exécuter S.O.S. depuis Utilitaire de disque pour consulter et corriger l’erreur". J'ai fait SOS avec l'utilitaire de disque (en redémarrant mon mac avec cmd R) mais aucune erreur n'a été détectée..
Pouvez-vous m'aider ? Merci !

Laury
 
Bonjour lauryp

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 une fenêtre de code (c'est plus lisible !) par le procédé suivant -->

- utilise le menu ...▾ (à droite de la bobine souriante) 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 ta réponse rapide :)
Voilà le résultat :

Bloc de code:
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *500.1 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk1         499.9 GB   disk0s2

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +499.9 GB   disk1
                                 Physical Store disk0s2
   1:                APFS Volume Untitled - Données      186.8 GB   disk1s1
   2:                APFS Volume Preboot                 28.1 MB    disk1s2
   3:                APFS Volume Recovery                525.4 MB   disk1s3
   4:                APFS Volume VM                      4.3 GB     disk1s4
   5:                APFS Volume Untitled                11.0 GB    disk1s5
   6:                APFS Volume Bootcamp lou            987.1 KB   disk1s6

/dev/disk2 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *16.0 GB    disk2
   1:               Windows_NTFS WinInstall              16.0 GB    disk2s1

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

/dev/disk4 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            Boot Camp              +2.8 GB     disk4

macbook-laury:~ laurytravail$
 
Je vois que l'OS installé est Catalina (distribution à 5 volumes dans le Conteneur). Il y a un volume excédentaire sans emploi (Bootcamp lou - 987 Ko).

- passe la commande (copier-coller) :​
Bloc de code:
diskutil verifyVolume disk1

  • la commande vérifie l'apfs du Conteneur global > puis de ses 6 volumes

Poste le retour intégral de la commande.
 
Bloc de code:
Started file system verification on disk1
Verifying storage system
Using live mode
Performing fsck_apfs -n -x -l /dev/disk0s2
Checking the container superblock
Checking the EFI jumpstart record
Checking the space manager
Checking the space manager free queue trees
Checking the object map
Checking volume
Checking the APFS volume superblock
The volume Untitled - Données was formatted by hfs_convert (945.200.129) and last modified by apfs_kext (1412.61.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 hfs_convert (945.200.129) and last modified by apfs_kext (1412.61.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 Recovery was formatted by diskmanagementd (945.200.129) and last modified by apfs_kext (1412.61.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 VM was formatted by apfs.util (945.200.129) and last modified by apfs_kext (1412.61.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 Untitled was formatted by diskmanagementd (1412.11.7) and last modified by apfs_kext (1412.61.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 Bootcamp lou was formatted by diskmanagementd (1412.61.1) and last modified by apfs_kext (1412.61.1)
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 disk1
macbook-laury:~ laurytravail$
 
La vérification ne fait ressortir aucune erreur explicite (et pas non plus de snapshot verrouilleur d'espace-disque).

- passe la commande test (copier-coller) -->​
Bloc de code:
diskutil ap resizeContainer disk1 400g fat32 BOOTCAMP 0b ; diskutil list internal

  • la commande rétrécit le Conteneur à 400 Go > crée une partition indépendante d'environ 99 Go avec un volume BOOTCAMP en format apfs > réaffiche la configuration interne seule

Poste le retour intrégral de la commande.
 
Voilà le résultat :
Bloc de code:
Started APFS operation
Aligning shrink delta to 99 898 105 856 bytes and targeting a new physical store size of 400 000 000 000 bytes
Determined the minimum size for the targeted physical store of this APFS Container to be 210 889 605 120 bytes
Resizing APFS Container designated by APFS Container Reference disk1
The specific APFS Physical Store being resized is disk0s2
Verifying storage system
Using live mode
Performing fsck_apfs -n -x -l -S /dev/disk0s2
Checking the container superblock
Checking the EFI jumpstart record
Checking the space manager
Checking the space manager free queue trees
Checking the object map
Checking volume
Checking the APFS volume superblock
The volume Untitled - Données was formatted by hfs_convert (945.200.129) and last modified by apfs_kext (1412.61.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 hfs_convert (945.200.129) and last modified by apfs_kext (1412.61.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 Recovery was formatted by diskmanagementd (945.200.129) and last modified by apfs_kext (1412.61.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 VM was formatted by apfs.util (945.200.129) and last modified by apfs_kext (1412.61.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 Untitled was formatted by diskmanagementd (1412.11.7) and last modified by apfs_kext (1412.61.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 Bootcamp lou was formatted by diskmanagementd (1412.61.1) and last modified by apfs_kext (1412.61.1)
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
Shrinking APFS Physical Store disk0s2 from 499 898 105 856 to 400 000 000 000 bytes
Shrinking APFS data structures
APFS Container Resize error code is 49178
Error: -69606: A problem occurred while resizing APFS Container structures
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *500.1 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk1         499.9 GB   disk0s2

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +499.9 GB   disk1
                                 Physical Store disk0s2
   1:                APFS Volume Untitled - Données      186.8 GB   disk1s1
   2:                APFS Volume Preboot                 28.1 MB    disk1s2
   3:                APFS Volume Recovery                525.4 MB   disk1s3
   4:                APFS Volume VM                      4.3 GB     disk1s4
   5:                APFS Volume Untitled                11.0 GB    disk1s5
   6:                APFS Volume Bootcamp lou            1.0 MB     disk1s6

macbook-laury:~ laurytravail$
 
La vérification préalable de l'apfs continue de ne montrer aucune erreur explicite.

- mais l'engagement du redimensionnement retourne ceci :​
Bloc de code:
Shrinking APFS data structures
APFS Container Resize error code is 49178
Error: -69606: A problem occurred while resizing APFS Container structures

  • càd. signale une erreur interne (non explicite) => qui bloque le repartitionnement
----------

Redémarre (via ⌘R) pour ouvrir la session de secours. Lance l'Utilitaire de disque -->

- dans l'angle supérieur gauche du panneau > presse la pastille : "Présentation" > et sélectionne : "Afficher tous les appareils" => ce qui affiche le Conteneur apfs global. Sélectionne le Conteneur > fais un S.O.S. dessus.​

----------

Redémarre pour réouvrir ta session normale d'utilisateur.

- repasse la commande test :​
Bloc de code:
diskutil ap resizeContainer disk1 400g fat32 BOOTCAMP 0b ; diskutil list internal

  • et poste le retour => qu'on voie s'il y a eu une modification.
 
Voilà ce que j'obtiens après avoir fait les manips :
Bloc de code:
Started APFS operation
Aligning shrink delta to 99 898 105 856 bytes and targeting a new physical store size of 400 000 000 000 bytes
Determined the minimum size for the targeted physical store of this APFS Container to be 209 245 437 952 bytes
Resizing APFS Container designated by APFS Container Reference disk1
The specific APFS Physical Store being resized is disk0s2
Verifying storage system
Using live mode
Performing fsck_apfs -n -x -l -S /dev/disk0s2
Checking the container superblock
Checking the EFI jumpstart record
Checking the space manager
Checking the space manager free queue trees
Checking the object map
Checking volume
Checking the APFS volume superblock
The volume Untitled - Données was formatted by hfs_convert (945.200.129) and last modified by apfs_kext (1412.61.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 hfs_convert (945.200.129) and last modified by apfs_kext (1412.61.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 Recovery was formatted by diskmanagementd (945.200.129) and last modified by apfs_kext (1412.61.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 VM was formatted by apfs.util (945.200.129) and last modified by apfs_kext (1412.61.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 Untitled was formatted by diskmanagementd (1412.11.7) and last modified by apfs_kext (1412.61.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 Bootcamp lou was formatted by diskmanagementd (1412.61.1) and last modified by apfs_kext (1412.61.1)
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
Shrinking APFS Physical Store disk0s2 from 499 898 105 856 to 400 000 000 000 bytes
Shrinking APFS data structures
APFS Container Resize error code is 49241
Error: -69606: A problem occurred while resizing APFS Container structures
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *500.1 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk1         499.9 GB   disk0s2

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +499.9 GB   disk1
                                 Physical Store disk0s2
   1:                APFS Volume Untitled - Données      185.2 GB   disk1s1
   2:                APFS Volume Preboot                 28.1 MB    disk1s2
   3:                APFS Volume Recovery                525.4 MB   disk1s3
   4:                APFS Volume VM                      4.3 GB     disk1s4
   5:                APFS Volume Untitled                11.0 GB    disk1s5
   6:                APFS Volume Bootcamp lou            1.0 MB     disk1s6

macbook-laury:~ laurytravail$
 
La même erreur persiste. Il s'agit d'une erreur "non explicite" dans l'apfs = indétectable comme telle à la vérification et donc incorrigible.

- la seule solution pour toi consiste à cloner la distribution de Catalina => à destination d'un DDE > démarrer dessus > supprimer / recréer l'apfs > cloner à rebours la distribution Catalina du clone => dans le nouveau Conteneur apfs interne sans erreur.​

Si tu veux effectuer cette opération de va-et-vient > il te faut un DDE USB avec dans les 250 Go d'espace libre > dont le disque doit être paramétré en table de partition GUID et la partition dédiée doit être de type apfs.
 
Je peux te guider à la manœuvre si tu veux. Il suffit que tu aies un DDE disponible convenablement paramétré.
 
Alors branche-le au Mac. Puis passe les 2 commandes (séparément) :
Bloc de code:
diskutil list external
df -H

  • qui affichent : la configuration des disques externes & l'occupation des volumes montés

Poste les retours.
 
Ah mince désolée, je n'ai pas le disque sur moi en ce moment... Est-ce que je peux reposter un message sur ce sujet quand je l'aurai récupéré ? Merci beaucoup pour ton aide en tout cas !
 
Bonjour,
Tout d'abord je te souhaite une très belle année 2020, j'espère que tu as passé de bonnes fêtes !
Je reviens vers toi pour le disque dur, j'en ai finalement acheté un nouveau (capacité de 1 To). Je te met les retours des commandes du terminal :
Bloc de code:
diskutil list external
/dev/disk2 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk2
   1:                        EFI EFI                     209.7 MB   disk2s1
   2:       Microsoft Basic Data Backup Plus             1000.0 GB  disk2s2

macbook-laury:~ laurytravail$ df -H
Filesystem      Size   Used  Avail Capacity iused      ifree %iused  Mounted on
/dev/disk1s5    500G    11G   294G     4%  484568 4881332872    0%   /
devfs           204k   204k     0B   100%     698          0  100%   /dev
/dev/disk1s1    500G   188G   294G    40%  551770 4881265670    0%   /System/Volumes/Data
/dev/disk1s4    500G   5.4G   294G     2%       3 4881817437    0%   /private/var/vm
map auto_home     0B     0B     0B   100%       0          0  100%   /System/Volumes/Data/home
/dev/disk1s6    500G   1.0M   294G     1%      92 4881817348    0%   /Volumes/Bootcamp lou
/dev/disk2s2    1.0T    36M   1000     1%     271    7628825    0%   /Volumes/Backup Plus
macbook-laury:~ laurytravail$
 
Bonjour et bonne année.

- passe la commande (copier-coller) :​
Bloc de code:
diskutil eraseDisk apfs Clone gpt disk2 ; diskutil list external

  • la commande reparamètre le DDE : table GPT > format apfs > volume Clone - puis réaffiche la configuration externe

Poste le retour.
 
Bloc de code:
diskutil eraseDisk apfs Clone gpt disk2 ; diskutil list external
Started erase on disk2
Unmounting disk
Creating the partition map
Waiting for partitions to activate
Formatting disk2s2 as APFS with name Clone
Mounting disk
Finished erase on disk2
/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_APFS Container disk3         1000.0 GB  disk2s2

/dev/disk3 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +1000.0 GB  disk3
                                 Physical Store disk2s2
   1:                APFS Volume Clone                   782.3 KB   disk3s1

macbook-laury:~ laurytravail$
 
Parfait.

- alors va à cette page internet : ☞Carbon Copy Cloner☜ (clique le lien rouge). Télécharge le logiciel et déplace-le dans les Applications. C'est un logiciel de clonage éprouvé. Tu as droit à une démo gratuite de 1 mois (sans restrictions logicielles) dont tu vas profiter.​

----------

À présent lance CCC > et dans son panneau définis une tâche telle que :

  • SOURCE = Untitled
  • DESTINATION = Clone
  • SafetyNet = Désactivé
  • Presse le bouton "Cloner"

Le logiciel va cloner la distribution de Catalina interne => dans le Conteneur du DDE. Préviens quand c'est fini.