Problème de place pour bootcamp

kuscodav

Membre confirmé
15 Septembre 2018
15
0
51
Bonjour, à tous je suis nouveau sur votre forum.
J'ai un petit problème, j'ai supprimé Windows de mon mac, je voudrais le réinstaller avec Bootcamp mais j'ai un message d'erreur: (fichier ci-joint).
Quelqu'un pourrait me dire comment faire pour repartitionner afin d'avoir suffisamment d'espace ?

Merci d'avance.



Note de la modération: pas trop de rapport avec les portables Mac, je déplace dans le forum adéquat.
 

Fichiers joints

  • Capture d’écran 2018-09-15 à 13.49.38.png
    Capture d’écran 2018-09-15 à 13.49.38.png
    34,7 KB · Affichages: 135
Dernière édition par un modérateur:
Maintenant j'avoue que je suis perdu.

Je l'ai supprimé avec bootcamp

Supprimé avec l'utilitaire Bootcamp. Et réalouer la totalité du disque dur à iOs. Mais quand je vois le dur il n'y a que 190 Go de libre sur 250 d'origine.
 
Dernière édition par un modérateur:
Tu lances le Terminal qui est dans Applications/Utilitaires et tu fais un Copier/Coller de cette commande que tu valides par un appui sur la touche Entrée…
Bloc de code:
diskutil list
...en donnant le résultat. Dans ta réponse, tu fais un clic sur cette icône ⊞, tu sélectionnes les balises </> Code, dans la fenêtre qui s'ouvrira, tu fais un Copier/Coller du résultat de la commande, un clic sur Insérer et tu valides ta réponse.

02 Balises Code 02.jpg 03 Fenêtre Code.jpg
 
Bloc de code:
macbook-air-de-david:~ David$ 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         190.7 GB   disk0s2

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +190.7 GB   disk1
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD            122.4 GB   disk1s1
   2:                APFS Volume Preboot                 33.0 MB    disk1s2
   3:                APFS Volume Recovery                519.0 MB   disk1s3
   4:                APFS Volume VM                      2.1 GB     disk1s4

macbook-air-de-david:~ David$
 
Bonjour kuscodav

Il n'y a plus personne ?
  • si

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

  • la commande récupère au Conteneur apfs > et à sa partition de base disk0s2 --> tout l'espace-libre disponible en-dessous

Poste l'affichage retourné par la commande : il dira si l'opération a réussi ; ou > si elle a avorté --> pour quelle raison exacte.
 
Voici la réponse après la commande :
Bloc de code:
Last login: Sat Sep 15 15:08:50 on ttys000
macbook-air-de-david:~ David$ diskutil ap resizeContainer disk1 0b
Started APFS operation
Aligning grow delta to 60 066 529 280 bytes and targeting a new physical store size of 250 790 436 864 bytes
Determined the maximum size for the targeted physical store of this APFS Container to be 250 789 408 768 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 /dev/disk0s2
Checking volume
Checking the container superblock
Checking the EFI jumpstart record
Checking the space manager
Checking the object map
Checking the APFS volume superblock
Checking the object map
Checking the fsroot tree
Checking the snapshot metadata tree
Checking the extent ref tree
Checking the snapshots
Checking snapshot 1 of 2
Checking snapshot 2 of 2
Checking the APFS volume superblock
Checking the object map
Checking the fsroot tree
Checking the snapshot metadata tree
Checking the extent ref tree
Checking the snapshots
Checking the APFS volume superblock
Checking the object map
Checking the fsroot tree
Checking the snapshot metadata tree
Checking the extent ref tree
Checking the snapshots
Checking the APFS volume superblock
Checking the object map
Checking the fsroot tree
Checking the snapshot metadata tree
Checking the extent ref tree
Checking the snapshots
Verifying allocated space
The volume /dev/disk0s2 appears to be OK
Storage system check exit code is 0
Growing APFS Physical Store disk0s2 from 190 723 907 584 to 250 790 436 864 bytes
Modifying partition map
Growing APFS data structures
Finished APFS operation
macbook-air-de-david:~ David$
 
Ça a marché. Repasse un :
Bloc de code:
diskutil list

  • et poste le tableau --> qu'on contemple le paysage...
 
Voici la réponse :
Bloc de code:
Last login: Sat Sep 15 15:52:29 on ttys000
macbook-air-de-david:~ David$ 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         250.8 GB   disk0s2

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +250.8 GB   disk1
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD            130.4 GB   disk1s1
   2:                APFS Volume Preboot                 33.0 MB    disk1s2
   3:                APFS Volume Recovery                519.0 MB   disk1s3
   4:                APFS Volume VM                      2.1 GB     disk1s4

/dev/disk3 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *62.8 GB    disk3
   1:                 DOS_FAT_32 WININSTALL              62.8 GB    disk3s1

macbook-air-de-david:~ David$
 
Tu as récupéré une capacité du Conteneur apfs égale à la totalité de l'espace disque disponible.

---------

Mais je te signale quelque chose : tu as 2 snapshots (instantanés du volume) > qui ont été détectés à la vérification. Ces snapshots sont susceptibles de retenir un espace fantôme dans le volume et de bloquer un repartitionnement par l'Assistant BootCamp.

Passe la commande (copier-coller) :
Bloc de code:
sudo tmutil thinlocalsnapshots / 99000000000 4 ; say 'ENFIN TERMINÉ LA PURGE'

  • à validation > une demande de password s'affiche (commande sudo) --> tape ton mot-de-passe de session admin en aveugle - aucun caractère ne s'affichant à la frappe - et revalide
  • la commande supprime les snapshots existants --> attends d'entendre une voix déclarer : "Enfin ! terminé la purge..." en signal de complétion
----------

Ensuite va à : Menu  > Préférence Système > Time Machine --> décoche la case : "Sauvegarder automatiquement" au cas où elle serait cochée ( c'est ce cochage qui induit la création périodique de snapshots).

----------

Cela fait > tu es paré pour une installation de Windows.
 
Voici la réponse après la commande: celle-ci ne me demande pas de pass
Bloc de code:
macbook-air-de-david:~ David$ udo tmutil thinlocalsnapshots / 99000000000 4 ; say 'ENFIN TERMINÉ LA PURGE'
-bash: udo: command not found
macbook-air-de-david:~ David$

Par contre j'entends bien terminer la purge
 
Dernière édition par un modérateur:
Dans ton copier-coller > tu as "shunté" le s initial de sudo --> ce qui donne "udo". Colle la commande complète :
Bloc de code:
sudo tmutil thinlocalsnapshots / 99000000000 4 ; say 'ENFIN TERMINÉ LA PURGE'

  • et passe la commande valide.
 
Oui exact cette fois c'est bon :
Bloc de code:
macbook-air-de-david:~ David$ sudo tmutil thinlocalsnapshots / 99000000000 4 ; say 'ENFIN TERMINÉ LA PURGE'
Password:
Thinned local snapshots:
com.apple.TimeMachine.2018-09-15-105642
com.apple.TimeMachine.2018-09-15-093247
macbook-air-de-david:~ David$
 
Encore une fois merci pour ton aide. J'attends le DL de Windows et je retente avec Bootcamp.
 
Dernière édition par un modérateur: