10.14 Mojave Récupérer espace de la partition Boot Camp

Utori

Membre enregistré
28 Septembre 2019
2
0
38
Bonjour,

J'aimerais avoir de l'aide pour récupérer l'espace de la partition Boot Camp que j'ai supprimée avec l'Assistant Boot Camp.

Lorsque j'ai utilisé l'assistant Boot Camp, celui-ci m'a indiqué qu'il n'était pas capable de réunir les partition en une seule et que je devais utiliser l'Utilitaire de Disque pour régler le problème. Conséquence de quoi, la partition Boot Camp n'est plus accessible (plus d'icône sur le bureau). Néanmoins, l'espace disque est toujours utilisé par la partition Windows selon l'allocation que j'avais faite lors de l'installation de Windows 10 (via l'assistant).


~ aa$ 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 812.0 GB disk0s2


/dev/disk1 (internal):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme 24.0 GB disk1

1: EFI EFI 314.6 MB disk1s1

2: Apple_APFS Container disk2 23.7 GB disk1s2


/dev/disk2 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +835.7 GB disk2

Physical Stores disk1s2, disk0s2

1: APFS Volume Macintosh HD 559.7 GB disk2s1

2: APFS Volume Preboot 44.6 MB disk2s2

3: APFS Volume Recovery 510.4 MB disk2s3

4: APFS Volume VM 20.5 KB disk2s4

Je vous remercie d'avance de l'aide apportée.
 
Bonsoir Utori

Je vois que tu as un Fusion Drive de type apfs --> associant 2 disques (SSD et HDD) dans un iMac. Mojave installé.

Passe la commande (copier-coller) :
Bloc de code:
diskutil ap resizeContainer disk2 0b ; diskutil list

  • la commande récupère l'espace libre au Conteneur apfs (et spécifiquement à la partition principale du HDD qui était la donneuse d'espace au départ) > puis réaffiche le tableau des disques

Poste l'ensemble de l'affichage retourné > en veillant à faire ton coller dans une fenêtre de code par le procédé suivant -->
  • dans cette page de MacGé > presse le bouton
    1555929346-524315-original.png
    ici :
    1555929346-521520-original.png

    menu  : </> Code > par ⌘V colle dans la fenêtre Code > presse le bouton Insérer (ce procédé permet un affichage fenêtré qui économise l'espace de page en respectant la mise en forme des tableaux du «Terminal» --> d'où une plus grande lisibilité)
 
Merci macomaniac.

Problème résolu :)

Bloc de code:
~ aa$ diskutil ap resizeContainer disk2 0b ; diskutil list
Started APFS operation
Aligning grow delta to 187 993 624 576 bytes and targeting a new physical store size of 999 995 129 856 bytes
Determined the maximum size for the targeted physical store of this APFS Container to be 999 994 101 760 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 hfs_convert (945.200.129) 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 hfs_convert (945.200.129) 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 diskmanagementd (945.200.129) 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.200.129) 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
warning: Overallocation Detected on Main device: (90362+1) bitmap address (1f9d9)
warning: Overallocation Detected on Main device: (90364+1) bitmap address (1f9d9)
warning: Overallocation Detected on Main device: (90366+1) bitmap address (1f9d9)
warning: Overallocation Detected on Main device: (90369+1) bitmap address (1f9d9)
warning: Overallocation Detected on Main device: (90372+1) bitmap address (1f9d9)
warning: Overallocation Detected on Main device: (90374+1) bitmap address (1f9d9)
warning: Overallocation Detected on Main device: (90383+1) bitmap address (1f9d9)
warning: Overallocation Detected on Main device: (90385+1) bitmap address (1f9d9)
warning: Overallocation Detected on Main device: (90387+1) bitmap address (1f9d9)
warning: Overallocation Detected on Main device: (90394+1) bitmap address (1f9d9)
warning: Overallocation Detected on Main device: (90398+1) bitmap address (1f9d9)
warning: Overallocation Detected on Main device: (90401+1) bitmap address (1f9d9)
warning: Overallocation Detected on Main device: (90408+1) bitmap address (1f9d9)
warning: Overallocation Detected on Main device: (90411+1) bitmap address (1f9d9)
warning: Overallocation Detected on Main device: (90414+2) bitmap address (1f9d9)
warning: Overallocation Detected on Main device: (90418+3) bitmap address (1f9d9)
warning: Overallocation Detected on Main device: (90423+1) bitmap address (1f9d9)
warning: Overallocation Detected on Main device: (90426+1) bitmap address (1f9d9)
warning: Overallocation Detected on Main device: (90428+1) bitmap address (1f9d9)
warning: Overallocation Detected on Main device: (90430+1) bitmap address (1f9d9)
warning: Overallocation Detected on Main device: (90433+1) bitmap address (1f9d9)
warning: Overallocation Detected on Main device: (90435+1) bitmap address (1f9d9)
warning: Overallocation Detected on Main device: (90437+3) bitmap address (1f9d9)
warning: Overallocation Detected on Main device: (90441+1) bitmap address (1f9d9)
warning: Overallocation Detected on Main device: (90449+1) bitmap address (1f9d9)
warning: Overallocation Detected on Main device: (139390+1) bitmap address (1f9f4)
warning: Overallocation Detected on Main device: (139392+3) bitmap address (1f9f4)
warning: Overallocation Detected on Main device: (139398+1) bitmap address (1f9f4)
warning: Overallocation Detected on Main device: (139400+2) bitmap address (1f9f4)
warning: Overallocation Detected on Main device: (139404+4) bitmap address (1f9f4)
warning: Overallocation Detected on Main device: (139409+2) bitmap address (1f9f4)
warning: Overallocation Detected on Main device: (139414+1) bitmap address (1f9f4)
warning: Overallocation Detected on Main device: (139421+1) bitmap address (1f9f4)
warning: Overallocation Detected on Main device: (139425+2) bitmap address (1f9f4)
warning: Overallocation Detected on Main device: (139430+3) bitmap address (1f9f4)
warning: Overallocation Detected on Main device: (139435+1) bitmap address (1f9f4)
warning: Overallocation Detected on Main device: (139437+1) bitmap address (1f9f4)
warning: Overallocation Detected on Main device: (139442+1) bitmap address (1f9f4)
warning: Overallocation Detected on Main device: (139448+1) bitmap address (1f9f4)
warning: Overallocation Detected on Main device: (139453+1) bitmap address (1f9f4)
warning: Overallocation Detected on Main device: (139457+1) bitmap address (1f9f4)
warning: Overallocation Detected on Main device: (139460+1) bitmap address (1f9f4)
warning: Overallocation Detected on Main device: (139462+1) bitmap address (1f9f4)
warning: Overallocation Detected on Main device: (139464+1) bitmap address (1f9f4)
warning: Overallocation Detected on Main device: (139466+1) bitmap address (1f9f4)
warning: Overallocation Detected on Main device: (139469+1) bitmap address (1f9f4)
warning: Overallocation Detected on Main device: (139476+2) bitmap address (1f9f4)
warning: Overallocation Detected on Main device: (139479+2) bitmap address (1f9f4)
warning: Overallocation Detected on Main device: (139485+2) bitmap address (1f9f4)
warning: Overallocation Detected on Main device: (139490+1) bitmap address (1f9f4)
too many warnings generated; suppressing subsequent ones
The volume /dev/disk1s2 appears to be OK
Storage system check exit code is 0
Growing APFS Physical Store disk0s2 from 812 001 505 280 to 999 995 129 856 bytes
Modifying partition map
Growing APFS data structures
Finished APFS operation
/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                         24.0 GB    disk1
   1:                        EFI EFI                     314.6 MB   disk1s1
   2:                 Apple_APFS Container disk2         23.7 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            559.7 GB   disk2s1
   2:                APFS Volume Preboot                 44.6 MB    disk2s2
   3:                APFS Volume Recovery                510.4 MB   disk2s3
   4:                APFS Volume VM                      20.5 KB    disk2s4
 
Alors un peu de lecture aux membres qui restent à la rue sous macOS Mojave et avec un Mac dont le disque dur interne possède l'option FusionDrive. Apple a fait récemment une mise à jour très importante qui est celle-ci... https://support.apple.com/fr-fr/HT209149 ...attention je parle de la toute dernière mise à jour qui a exactement la même dénomination en 10.14.6 et qui a été diffusée quasiment en même temps que la mise à jour de Safari 13.0. On apprend dans cette mise à jour cela...
macOS 10.14.6

Cette mise à jour :
  • Rend les numéros téléchargés disponibles dans la section Mes magazines d’Apple News+, à la fois en ligne et hors ligne.
  • Ajoute toutes les publications d’Apple News+, y compris les journaux, au catalogue situé en haut du flux News+.
  • Ajoute la possibilité d’effacer les numéros de magazines téléchargés dans Apple News+ en choisissant Historique > Effacer > Tout effacer.
  • Résout un problème qui empêche la création d’une partition Boot Camp sur l’iMac et le Mac mini avec un disque Fusion Drive.
  • Résout un problème pouvant entraîner un blocage lors d’un redémarrage.
  • Résout un problème graphique pouvant survenir lors d’une sortie du mode veille.
  • Corrige un problème pouvant entraîner l’affichage d’une image noire lors de la lecture d’une vidéo en plein écran sur le Mac mini.
  • Améliore la fiabilité du partage de fichiers via SMB.
Le contenu destiné aux entreprises :
  • Résout un problème pouvant entraîner des pertes de connexion lors du partage de fichiers.
  • Améliore la compatibilité des clients Xsan lors de l’accès à des volumes utilisant des tailles de secteur LUN supérieures ou égales à 1 000.
...c'est navrant de constater que c'est bien Apple qui n'a pas planché plus profondément sur certaines incompatibilités. Mieux vaut tard que jamais, mais quand même ! Pour ma part, n'ayant pas de Mac avec une option FusionDrive, je n'ai jamais pu tenter de comprendre pourquoi certains utilisateurs restaient à la rue.