Impossible d'utiliser bootcamp, problème d'espace disque

  • Créateur du sujet Créateur du sujet titruf
  • Date de début Date de début
Branche la clé au Mac. Une fois que tu as redémarré via ⌘R sur l'OS de secours du disque ( directe > pas de globe terrestre) > passe une commande :
Bloc de code:
diskutil list
  • et poste le tableau des disques => que je voie la clé.
 
Bloc de code:
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *121.3 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                  Apple_HFS Macintosh HD            6.0 GB     disk0s2
   3:                  Apple_HFS Recovery HD             650.0 MB   disk0s3

/dev/disk1 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        +2.1 GB     disk1
   1:                  Apple_HFS OS X Base System        2.0 GB     disk1s1

/dev/disk2 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *15.5 GB    disk2
   1:             Windows_FAT_32 16GO                    15.5 GB    disk2s1

/dev/disk3 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +5.2 MB     disk3

/dev/disk4 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +524.3 KB   disk4

/dev/disk5 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +524.3 KB   disk5

/dev/disk6 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +524.3 KB   disk6

/dev/disk7 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +2.1 MB     disk7

/dev/disk8 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +524.3 KB   disk8

/dev/disk9 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +524.3 KB   disk9

/dev/disk10 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +12.6 MB    disk10

/dev/disk11 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +4.2 MB     disk11

/dev/disk12 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +1.0 MB     disk12

/dev/disk13 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +2.1 MB     disk13

/dev/disk14 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +524.3 KB   disk14

/dev/disk15 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +524.3 KB   disk15

/dev/disk16 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +1.0 MB     disk16

/dev/disk17 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +6.3 MB     disk17

/dev/disk18 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +6.3 MB     disk18

/dev/disk19 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +524.3 KB   disk19

/dev/disk20 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +2.1 MB     disk20
 
Passe la commande :
Bloc de code:
diskutil eraseDisk jhfs+ BOOT gpt disk2
  • qui ré-intialise la clé : table GPT > format jhfs+ > volume BOOT

Poste le retour.
 
Bloc de code:
-bash-3.2# diskutil eraseDisk jhfs+ BOOT gpt disk2
Started erase on disk2
Unmounting disk
Creating the partition map
Waiting for partitions to activate
Formatting disk2s2 as Mac OS Extended (Journaled) with name BOOT
Initialized /dev/rdisk2s2 as a 14 GB case-insensitive HFS Plus volume with a 8192k journal
Mounting disk
Finished erase on disk2
 
Parfait. Enchaîne avec la commande :
Bloc de code:
asr restore --s / --t /Vol*/BOOT --erase --noprompt
  • (respecte espaces et doubles tirets --) la commande restaure le volume OS X Base System de l'OS de secours El Capitan démarré (désigné par son point de montage /) => au volume BOOT de la clé. BOOT va être reformaté > renommé OS X Base System comme la source > cloné d'un OS de secours de 1,3 Go > rendu démarrable à la fin par l'inscription d'un chemin de démarrage sur son en-tête. L'opération s'effectue en 2 passes : Restoring > Validating => la progression en chacune marquée par tranches de 10%

Poste le retour quand tu auras récupéré -bash-3.2# en signal de fin.

Note : tu auras compris que ce clonage d'OS de secours sur la clé => permettra un démarrage indépendant du disque > suite à quoi il sera possible de reformer un volume intégral par réinitialisation du disque interne > avant réinstallation.
 
Bloc de code:
-bash-3.2# asr restore --s / --t /Vol*/BOOT --erase --noprompt
    Validating target...done
    Validating source...done
    Validating sizes...done
    Restoring  ....10....20....30....40....50....60....70....80....90....100
    Verifying  ....10....20....30....40....50....60....70....80....90....100
    Remounting target volume...done
-bash-3.2#
 
Parfait : tu as un volume de secours démarrable sur la clé -->

- redémarre (Menu  > Redémarrer) > et tiens aussitôt pressée la touche "alt" pour obtenir l'écran de choix du volume de démarrage. Choisis le volume intitulé : OS X Base System (orange avec logo USB) = volume de la clé > démarre dessus. Tu récupères le même écran aux 4 Utilitaires OS X que celui que tu viens de quitter.​

Passe alors la commande directe :
Bloc de code:
diskutil eraseDisk jhfs+ "Macintosh HD" gpt disk0
  • ("Macintosh HD" avec les "") la commande réinitialise le disque interne : table GPT > format jhfs+ > volume Macintosh HD

Poste le retour.
 
Bloc de code:
-bash-3.2# diskutil eraseDisk jhfs+ "Macintosh HD" gpt disk0
Started erase on disk0
Unmounting disk
Creating the partition map
Waiting for partitions to activate
Formatting disk0s2 as Mac OS Extended (Journaled) with name Macintosh HD
Initialized /dev/rdisk0s2 as a 113 GB case-insensitive HFS Plus volume with a 16384k journal
Mounting disk
Finished erase on disk0
-bash-3.2#
 
Parfait : ton disque interne est restauré -->

- dans la fenêtre des 4 Utilitaires OS X > lance l'option : "Réinstaller OS X" => et choisis Macintosh HD comme destination lorsque cela te sera proposé.​
 
Bonsoir tout le monde, je me permet de vous écrire car je suis assez débutant en mac. J'aimerais ajouter Windows sur mon Mac Air de début 2014. Au début il me demandais d'avoir 40Go d'espace libre, j'ai donc libéré de l'espace et ensuite ça a continuer.. J'ai donc libéré le plus d'espace possible et je suis à 61Go. J'ai pu voir qu'il fallait 60Go donc j'ai fais mon maximum, essayant même plusieurs manip du topic mais le problème persiste.

Je vais essayer de vous mettre ce que me donne le terminal comme expliqué en page 1.
Merci d'avance de votre aide :D

login: Mon Oct 12 21:15:53 on ttys000


You have new mail.


Air-de-MARCO:~ Maillyw$ diskutil list


/dev/disk0 (internal, physical):


#: TYPE NAME SIZE IDENTIFIER


0: GUID_partition_scheme *121.3 GB disk0


1: EFI EFI 209.7 MB disk0s1


2: Apple_APFS Container disk1 85.0 GB disk0s2


3: Microsoft Basic Data BOOTCAMP 36.1 GB disk0s3





/dev/disk1 (synthesized):


#: TYPE NAME SIZE IDENTIFIER


0: APFS Container Scheme - +85.0 GB disk1


Physical Store disk0s2


1: APFS Volume Disque Dur 58.9 GB disk1s1


2: APFS Volume Preboot 22.0 MB disk1s2


3: APFS Volume Recovery 515.0 MB disk1s3


4: APFS Volume VM 1.1 GB disk1s4





/dev/disk3 (disk image):


#: TYPE NAME SIZE IDENTIFIER


0: CCCOMA_X64FRE_FR-FR... +5.3 GB disk3





Air-de-MARCO:~ Maillyw$ df -H /


Filesystem Size Used Avail Capacity iused ifree %iused Mounted on


/dev/disk1s1 85G 59G 24G 71% 640321 9223372036854135486 0% /


Air-de-MARCO:~ Maillyw$ sudo find -x / -d 1 -regex '.[^\.\].' -exec sudo du -shx {} +


Password:


Sorry, try again.


Password:


find: /private/var/db/ConfigurationProfiles/Store: Operation not permitted


find: /private/var/folders/yc/wt1mrm2j0bl1qklzpp4vbn9w0000gn/0/SafariFamily: Operation not permitted


find: /private/var/folders/yc/wt1mrm2j0bl1qklzpp4vbn9w0000gn/0/com.apple.LaunchServices.dv: Operation not permitted


find: /private/var/folders/yc/wt1mrm2j0bl1qklzpp4vbn9w0000gn/0/com.apple.nsurlsessiond: Operation not permitted


find: /private/var/folders/yc/wt1mrm2j0bl1qklzpp4vbn9w0000gn/0/com.apple.routined: Operation not permitted


find: /private/var/folders/yc/wt1mrm2j0bl1qklzpp4vbn9w0000gn/C/com.apple.WebKit.WebContent.Sandbox: Operation not permitted


find: /private/var/folders/yc/wt1mrm2j0bl1qklzpp4vbn9w0000gn/C/com.apple.WebKit.Networking.Sandbox: Operation not permitted


find: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000y800007k/0/com.apple.nsurlsessiond: Operation not permitted 0B /.HFS+ Private Directory Data


1,0K /home


0B /Informations sur l’utilisateur


743M /usr


315M /.Spotlight-V100


1,0K /net


12K /.DS_Store


0B /.PKInstallSandboxManager


0B /.PKInstallSandboxManager-SystemSoftware


2,6M /bin


4,0K /installer.failurerequests


0B /Network


1,2M /sbin


0B /.file


0B /etc


0B /var


3,3G /Library


0B /.Trashes


6,2G /System


116K /.fseventsd


du: /private/var/db/ConfigurationProfiles/Store: Operation not permitted


du: /private/var/folders/yc/wt1mrm2j0bl1qklzpp4vbn9w0000gn/0/SafariFamily: Operation not permitted


du: /private/var/folders/yc/wt1mrm2j0bl1qklzpp4vbn9w0000gn/0/com.apple.LaunchServices.dv: Operation not permitted


du: /private/var/folders/yc/wt1mrm2j0bl1qklzpp4vbn9w0000gn/0/com.apple.nsurlsessiond: Operation not permitted


du: /private/var/folders/yc/wt1mrm2j0bl1qklzpp4vbn9w0000gn/0/com.apple.routined: Operation not permitted


du: /private/var/folders/yc/wt1mrm2j0bl1qklzpp4vbn9w0000gn/C/com.apple.WebKit.WebContent.Sandbox: Operation not permitted


du: /private/var/folders/yc/wt1mrm2j0bl1qklzpp4vbn9w0000gn/C/com.apple.WebKit.Networking.Sandbox: Operation not permitted


du: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000y800007k/0/com.apple.nsurlsessiond: Operation not permitted


6,4G /private


11M /.DocumentRevisions-V100


0B /.vol


31G /Users


5,6G /Applications


22M /opt


4,5K /dev


17M /Volumes


0B /tmp


0B /cores


Air-de-MARCO:~ Maillyw$
 
Bonjour Maillyw

Tu as déjà une partition BOOTCAMP sur ton SSD > d'une taille de 36,1 Go -->

- souhaites-tu la supprimer et récupérer son espace à la partition apfs de macOS (85 Go actuels) => afin de voir de quel espace libre total tu disposes alors ?​
 
Bonjour Maillyw

Tu as déjà une partition BOOTCAMP sur ton SSD > d'une taille de 36,1 Go -->

- souhaites-tu la supprimer et récupérer son espace à la partition apfs de macOS (85 Go actuels) => afin de voir de quel espace libre total tu disposes alors ?​
Ça dois être une fausse manip je pense qu’il vaut mieux la supprimer pour retourner au point de départ et continuer avec vos conseils. Merci
 
Passe la commande (copiàer-coller) :
Bloc de code:
diskutil eraseVolume free null disk0s3 ; diskutil ap resizeContainer disk1 0b ; diskutil list
  • qui supprime la partition BOOTCAMP > récupère son espace au Conteneur apfs > ré-affiche la configuration des disques

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.​
 
Bonjour :)
Merci de ta réponse, je viens de faire le copier coller et j'ai recommencer la manipulation. Désolé pour le bloc de code

Bloc de code:
Last login: Tue Oct 13 15:05:52 on console
You have new mail.
Air-de-MARCO:~ Maillyw$ diskutil list
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *121.3 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk1         85.0 GB    disk0s2
   3:                 Apple_APFS Container disk2         36.1 GB    disk0s3

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +85.0 GB    disk1
                                 Physical Store disk0s2
   1:                APFS Volume Disque Dur              58.8 GB    disk1s1
   2:                APFS Volume Preboot                 22.0 MB    disk1s2
   3:                APFS Volume Recovery                515.0 MB   disk1s3
   4:                APFS Volume VM                      1.1 GB     disk1s4

/dev/disk2 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +36.1 GB    disk2
                                 Physical Store disk0s3
   1:                APFS Volume BOOTCAMP                864.3 KB   disk2s1

Air-de-MARCO:~ Maillyw$ df -H /
Filesystem     Size   Used  Avail Capacity iused               ifree %iused  Mounted on
/dev/disk1s1    85G    59G    24G    71%  640477 9223372036854135330    0%   /
Air-de-MARCO:~ Maillyw$ sudo find -x / -d 1 -regex '.*[^\.\].*' -exec sudo du -shx {} +
Password:
Sorry, try again.
Password:
find: /private/var/db/ConfigurationProfiles/Store: Operation not permitted
find: /private/var/folders/yc/wt1mrm2j0bl1qklzpp4vbn9w0000gn/0/SafariFamily: Operation not permitted
find: /private/var/folders/yc/wt1mrm2j0bl1qklzpp4vbn9w0000gn/0/com.apple.LaunchServices.dv: Operation not permitted
find: /private/var/folders/yc/wt1mrm2j0bl1qklzpp4vbn9w0000gn/0/com.apple.nsurlsessiond: Operation not permitted
find: /private/var/folders/yc/wt1mrm2j0bl1qklzpp4vbn9w0000gn/0/com.apple.routined: Operation not permitted
find: /private/var/folders/yc/wt1mrm2j0bl1qklzpp4vbn9w0000gn/C/com.apple.WebKit.WebContent.Sandbox: Operation not permitted
find: /private/var/folders/yc/wt1mrm2j0bl1qklzpp4vbn9w0000gn/C/com.apple.WebKit.Networking.Sandbox: Operation not permitted
find: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000y800007k/0/com.apple.nsurlsessiond: Operation not permitted
  0B    /.HFS+ Private Directory Data
1,0K    /home
  0B    /Informations sur l’utilisateur
743M    /usr
333M    /.Spotlight-V100
1,0K    /net
 12K    /.DS_Store
  0B    /.PKInstallSandboxManager
  0B    /.PKInstallSandboxManager-SystemSoftware
2,6M    /bin
4,0K    /installer.failurerequests
  0B    /Network
1,2M    /sbin
  0B    /.file
  0B    /etc
  0B    /var
3,3G    /Library
  0B    /.Trashes
diskutil erase6,2G      /System                                               ; 224K    /.fseventsd
^R
diskutil edu: /private/var/db/ConfigurationProfiles/Store: Operation not permitted
du: /private/var/folders/yc/wt1mrm2j0bl1qklzpp4vbn9w0000gn/0/SafariFamily: Operation not permitted
du: /private/var/folders/yc/wt1mrm2j0bl1qklzpp4vbn9w0000gn/0/com.apple.LaunchServices.dv: Operation not permitted
du: /private/var/folders/yc/wt1mrm2j0bl1qklzpp4vbn9w0000gn/0/com.apple.nsurlsessiond: Operation not permitted
du: /private/var/folders/yc/wt1mrm2j0bl1qklzpp4vbn9w0000gn/0/com.apple.routined: Operation not permitted
du: /private/var/folders/yc/wt1mrm2j0bl1qklzpp4vbn9w0000gn/C/com.apple.WebKit.WebContent.Sandbox: Operation not permitted
du: /private/var/folders/yc/wt1mrm2j0bl1qklzpp4vbn9w0000gn/C/com.apple.WebKit.Networking.Sandbox: Operation not permitted
du: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000y800007k/0/com.apple.nsurlsessiond: Operation not permitted
6,4G    /private
 11M    /.DocumentRevisions-V100
  0B    /.vol
 31G    /Users
5,6G    /Applications
 22M    /opt
4,5K    /dev
 17M    /Volumes
  0B    /tmp
  0B    /cores
Air-de-MARCO:~ Maillyw

Merci d'avance :D
 
Tu n'as certainement pas passé ma commande de suppression / récupération de la partition BOOTCAMP de type Microsoft Basic Data > puisque tu as actuellement une partition de type apfs exportant un Conteneur contenant un volume BOOTCAMP. Tu as donc dans l'Utilitaire de disque effectué une manipulation de reformatage de la partition à l'apfs qui ne résout rien.

- passe la commande (copier-coller - à l'exclusion de toute autre démarche) :​
Bloc de code:
diskutil ap deleteContainer disk2 ; diskutil erasevolume free null disk0s3 ; diskutil ap resizeContainer disk1 0b ; diskutil list
  • la commande supprime le Conteneur apfs du bas (ce qui reformate un volume Untitled standard sur la partition concernée) > supprime la partition du bas reformatée > récupère son espace au Conteneur du haut (et à sa partition de base) > ré-affiche le tableau des disques

Poste l'intégralité du retour de la commande.
 
Voici le résultat :)

Bloc de code:
Last login: Tue Oct 13 15:07:03 on ttys000
You have new mail.
Air-de-MARCO:~ Maillyw$ diskutil ap deleteContainer disk2 ; diskutil erasevolume free null disk0s3 ; diskutil ap resizeContainer disk1 0b ; diskutil list
Started APFS operation on disk2
Deleting APFS Container with all of its APFS Volumes
Unmounting Volumes
Unmounting Volume "BOOTCAMP" on disk2s1
Deleting Volumes
Deleting Container
Wiping former APFS disks
Switching content types
Reformatting former APFS disks
Initialized /dev/rdisk0s3 as a 34 GB case-insensitive HFS Plus volume with a 8192k journal
Mounting disk
1 new disk created or changed due to APFS operation
Disk from APFS operation: disk0s3
Finished APFS operation on disk2
Started erase on disk0s3 Untitled
Unmounting disk
Finished erase on disk0
Started APFS operation
Aligning grow delta to 36 123 070 464 bytes and targeting a new physical store size of 121 123 069 952 bytes
Determined the maximum size for the targeted physical store of this APFS Container to be 121 122 041 856 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 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 84 999 999 488 to 121 123 069 952 bytes
Modifying partition map
Growing APFS data structures
Finished APFS operation
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *121.3 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk1         121.1 GB   disk0s2

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +121.1 GB   disk1
                                 Physical Store disk0s2
   1:                APFS Volume Disque Dur              58.7 GB    disk1s1
   2:                APFS Volume Preboot                 22.0 MB    disk1s2
   3:                APFS Volume Recovery                515.0 MB   disk1s3
   4:                APFS Volume VM                      1.1 GB     disk1s4

Air-de-MARCO:~ Maillyw$
Merci :)