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

Comme tu peux le voir =>
Bloc de code:
   3:       Microsoft Basic Data BOOTCAMP                80.1 GB    disk0s3

  • aucun problème logique pour créer une partition de 80 Go

Passe la commande :
Bloc de code:
diskutil eraseVolume free null disk0s3 ; diskutil ap resizeContainer disk2 0b ; diskutil list internal

  • qui ramène à la situation de départ

Poste le retour.

En résumé : l'Assistant BootCamp déraille.
 
Voici le retour:
Bloc de code:
Mac-Pro-de-Franck:~ franck$ diskutil eraseVolume free null disk0s3 ; diskutil ap resizeContainer disk2 0b ; diskutil list internal
Started erase on disk0s3 BOOTCAMP
Unmounting disk
Finished erase on disk0
Started APFS operation
Aligning grow delta to 80 068 038 656 bytes and targeting a new physical store size of 500 068 036 608 bytes
Determined the maximum size for the targeted physical store of this APFS Container to be 500 067 006 464 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/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 Macintosh HD - Données was formatted by hfs_convert (748.1.47) and last modified by apfs_kext (1412.101.1)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the extent ref tree
Checking the fsroot tree
warning: xf : INO_EXT_TYPE_DSTREAM : found unexpected dstream associated with non-regular file
warning: xf : INO_EXT_TYPE_DSTREAM : found unexpected dstream associated with non-regular file
warning: xf : INO_EXT_TYPE_DSTREAM : found unexpected dstream associated with non-regular file
warning: found orphan dstream id object (id 6989241, refcnt 1)
warning: found orphan dstream id object (id 50352262, refcnt 1)
warning: found orphan dstream id object (id 50352263, refcnt 1)
Checking volume
Checking the APFS volume superblock
The volume Preboot was formatted by newfs_apfs (748.1.47) and last modified by apfs_kext (1412.101.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 newfs_apfs (748.1.47) and last modified by apfs_kext (1412.101.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 newfs_apfs (748.1.47) and last modified by apfs_kext (1412.101.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 Macintosh HD was formatted by diskmanagementd (1412.41.1) and last modified by apfs_kext (1412.101.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
Performing deferred repairs
warning: found orphan dstream id object (id 6989241)
Skipped 3 repairs of this type in total
warning: found unexpected dstream associated with non-regular inode (object-id 6989241)
Skipped 3 repairs of this type in total
The volume /dev/disk0s2 appears to be OK
Storage system check exit code is 0
Growing APFS Physical Store disk0s2 from 419 999 997 952 to 500 068 036 608 bytes
Modifying partition map
Growing APFS data structures
Finished APFS operation
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *500.3 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk2         500.1 GB   disk0s2

/dev/disk2 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +500.1 GB   disk2
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD - Données  367.5 GB   disk2s1
   2:                APFS Volume Preboot                 82.1 MB    disk2s2
   3:                APFS Volume Recovery                528.2 MB   disk2s3
   4:                APFS Volume VM                      2.1 GB     disk2s4
   5:                APFS Volume Macintosh HD            11.1 GB    disk2s5
 
Comme je le fais remarquer en réponse #513, c'est un Mac Pro. Alors est-ce un problème de table GPT/MBR/Hybride ou est-ce qu'il y a d'autres disques durs de présents, car Assistant Boot Camp n'en supportera aucun lors d'une installation ?
 
Bonjour Locke,
J'ai 2 autres disques externes mais ils ne sont pas branchés pour le moment - je les avais également déconnectés lors du lancement de l'assistant BootCamp.
 
@ fran

Partition BOOTCAMP supprimée > espace récupéré : ton Conteneur apfs n'a aucun problème de redimensionnement.
 
Bonjour à tous, navré d'arriver en pleine conversation mais comme tout le monde j'ai le même problème : impossible de partitionner mon mac pour installer windows (quand bien même je l'ai déjà fait par le passé et que j'ai l'espace théorique suffisant pour le faire). J'ai tapé lignes dans la console pour le rapport, je n'y connais rien, si quelqu'un veut bien m'aider ce serait super, voici ce dernier :
Last login: Thu Apr 9 15:55:37 on ttys000

macbook-pro-de-antonin:~ natotelbah$ 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 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 Macintosh HD 72.6 GB disk1s1

2: APFS Volume Preboot 39.4 MB disk1s2

3: APFS Volume Recovery 515.0 MB disk1s3

4: APFS Volume VM 2.1 GB disk1s4



/dev/disk2 (external, physical):

#: TYPE NAME SIZE IDENTIFIER

0: FDisk_partition_scheme *1.0 TB disk2

1: DOS_FAT_32 DD NATO FAT 650.2 GB disk2s1

2: Apple_HFS DD NATO MAC 350.0 GB disk2s2



macbook-pro-de-antonin:~ natotelbah$ df -H /

Filesystem Size Used Avail Capacity iused ifree %iused Mounted on

/dev/disk1s1 121G 73G 46G 62% 814407 9223372036853961400 0% /

macbook-pro-de-antonin:~ natotelbah$ sudo find -x / -d 1 -regex '.[^\.\].' -exec sudo du -shx {} +tmutil listlocalsnapshots /

Password:

find: listlocalsnapshots: unknown primary or operator

macbook-pro-de-antonin:~ natotelbah$


Je ne suis pas sûr de l'avoir fait correctement mille excuses si ce n'est pas le cas, bonne après midi !
 
Merci macomaniac pour ton retour.

Je viens de relancer l'assistant Bootcamp mais malheureusement toujours le même problème dés le départ..:(:dead:

Ember.jpeg
 
@ fran

Tout ça paraît absurde -->

- car si l'Assistant BootCamp s'obstinue à déclarer qu'il n'y a pas 42 Go d'espace libre dans le Conteneur > le repartitionnement via le terminal prouve qu'il y a au moins 80 Go de disponibles par la création réussie d'une partition BOOTCAMP de cette taille.​
Passe la commande :
Bloc de code:
diskutil repairDisk disk0

  • à validation > une demande de confirmation s'affiche => tape y (yes) et revalide
  • la commande lance une réparation totale du disque > dont celle de la table GPT qui décrit les partitions

Poste le retour.
 
Bonjour Natolier

Passe la commande :
Bloc de code:
csrutil status

  • qui affiche le statut du SIP (protocole de sécurisation)

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 ...▾ (à 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.

[Ne poste pas de tableaux dans une citation.]
 
@macomaniac
Ok je viens de le faire, voici le résultat:
Bloc de code:
Mac-Pro-de-Franck:~ franck$ diskutil repairDisk disk0
Repairing the partition map might erase disk0s1, proceed? (y/N) y
Started partition map repair on disk0
Checking prerequisites
Checking the partition list
Adjusting partition map to fit whole disk as required
Checking for an EFI system partition
Checking the EFI system partition's size
Checking the EFI system partition's file system
Checking the EFI system partition's folder content
Checking all HFS data partition loader spaces
Checking booter partitions
Reviewing boot support loaders
Checking Core Storage Physical Volume partitions
The partition map appears to be OK
Finished partition map repair on disk0

Je retente avec l'assistant Bootcamp ?
 
Passe la commande :
Bloc de code:
csrutil status

  • qui affiche le statut du SIP (protocole de sécurisation)

Poste le retour. Une activation du SIP bloquerait une commande de lecture des tables de partitions que j'ai l'intention de te passer.
 
Bonjour macomaniac, merci, voici le statut du protocol de sécurité :

Bloc de code:
Last login: Thu Apr  9 17:26:50 on console
macbook-pro-de-antonin:~ natotelbah$ csrutil status
System Integrity Protection status: enabled.
macbook-pro-de-antonin:~ natotelbah$

Pardonnez moi j'ai essayé de jouer les apprentis sorcier et ai tenté quelques solutions proposées plus tôt dans ce post (ce qui est relativement stupide aux vues d'à quel point ce genre de problème semblent situationnel je vous l'accorde). J'ai fini avec différentes partitions de mon disque dur principal que j'ai réussi à "supprimer", je vous redonne toutes les informations au cas où celles-ci auraient changé. Mille pardon :

Bloc de code:
Last login: Thu Apr  9 17:26:50 on console
macbook-pro-de-antonin:~ natotelbah$ csrutil status
System Integrity Protection status: enabled.
macbook-pro-de-antonin:~ natotelbah$ 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         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 Macintosh HD            72.7 GB    disk1s1
   2:                APFS Volume Preboot                 39.4 MB    disk1s2
   3:                APFS Volume Recovery                515.0 MB   disk1s3
   4:                APFS Volume VM                      2.1 GB     disk1s4

/dev/disk2 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *1.0 TB     disk2
   1:                 DOS_FAT_32 DD NATO FAT             650.2 GB   disk2s1
   2:                  Apple_HFS DD NATO MAC             350.0 GB   disk2s2

macbook-pro-de-antonin:~ natotelbah$ df -H /
Filesystem     Size   Used  Avail Capacity iused               ifree %iused  Mounted on
/dev/disk1s1   121G    73G    46G    62%  815193 9223372036853960614    0%   /
macbook-pro-de-antonin:~ natotelbah$ sudo find -x / -d 1 -regex '.*[^\.\].*' -exec sudo du -shx {} +
Password:
Nfind: /private/var/db/ConfigurationProfiles/Store: Operation not permitted
Bfind: /private/var/folders/19/6xllj6d17l7_03967dhj774c0000gn/0/SafariFamily: Operation not permitted
find: /private/var/folders/19/6xllj6d17l7_03967dhj774c0000gn/0/com.apple.LaunchServices.dv: Operation not permitted
find: /private/var/folders/19/6xllj6d17l7_03967dhj774c0000gn/0/com.apple.nsurlsessiond: Operation not permitted
find: /private/var/folders/19/6xllj6d17l7_03967dhj774c0000gn/0/com.apple.routined: Operation not permitted
Kfind: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000y800007k/0/com.apple.nsurlsessiond: Operation not permitted
find: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000s4000069/0/SafariFamily: Operation not permitted
find: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000s4000069/0/com.apple.nsurlsessiond: Operation not permitted
find: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000s4000069/0/com.apple.routined: Operation not permitted
^R
  0B    /.HFS+ Private Directory Data
1,0K    /home
746M    /usr
3,0M    /ssud_installation
758M    /.Spotlight-V100
1,0K    /net
12K    /.DS_Store
  0B    /.PKInstallSandboxManager
  0B    /.PKInstallSandboxManager-SystemSoftware
2,6M    /bin
  0B    /.adobeTemp
36M    /Incompatible Software
4,0K    /installer.failurerequests
  0B    /Network
1,2M    /sbin
  0B    /.file
  0B    /etc
  0B    /var
11G    /Library
  0B    /.Trashes
8,5G    /System
112K    /.fseventsd
du: /private/var/db/ConfigurationProfiles/Store: Operation not permitted
du: /private/var/folders/19/6xllj6d17l7_03967dhj774c0000gn/0/SafariFamily: Operation not permitted
du: /private/var/folders/19/6xllj6d17l7_03967dhj774c0000gn/0/com.apple.LaunchServices.dv: Operation not permitted
du: /private/var/folders/19/6xllj6d17l7_03967dhj774c0000gn/0/com.apple.nsurlsessiond: Operation not permitted
du: /private/var/folders/19/6xllj6d17l7_03967dhj774c0000gn/0/com.apple.routined: Operation not permitted
du: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000y800007k/0/com.apple.nsurlsessiond: Operation not permitted
du: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000s4000069/0/SafariFamily: Operation not permitted
du: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000s4000069/0/com.apple.nsurlsessiond: Operation not permitted
du: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000s4000069/0/com.apple.routined: Operation not permitted
4,0G    /private
116M    /.DocumentRevisions-V100
  0B    /.vol
31G    /Users
10G    /Applications
154M    /opt
5,0K    /dev
32K    /Volumes
  0B    /tmp
  0B    /cores
macbook-pro-de-antonin:~ natotelbah$ tmutil listlocalsnapshots /
com.apple.TimeMachine.2020-04-09-173220
macbook-pro-de-antonin:~ natotelbah$

De ce que je comprend l'ordinateur me demande mon mot de passe, j'ai essayé de le taper mais il semble qu'une foule d'accès à des informations n'est toujours pas autorisé ?
 
Passe la commande :
Bloc de code:
csrutil status

  • qui affiche le statut du SIP (protocole de sécurisation)

Poste le retour. Une activation du SIP bloquerait une commande de lecture des tables de partitions que j'ai l'intention de te passer.

Voilà c'est fait:
Bloc de code:
Mac-Pro-de-Franck:~ franck$ csrutil status
System Integrity Protection status: enabled.
 
@ Natolier

C'est le SIP (protocole de sécurité) dont l'activation bloque en accès de lecture certains dossiers (d'où la mention : "operation not permitted"). Mais je vois que tu as aussi un snapshot (instanté archivant un état passé du volume et verrouillant comme "occupés" tous les blocs correspondant aux fichiers archivés).

- passe la commande (copier-coller) :​
Bloc de code:
sudo tmutil deletelocalsnapshots 2020-04-09-173220

  • qui supprime le snapshot

Poste le retour.
 
@ fran

SIP
activé (enabled).

----------

Pour désactiver le SIP > redémarre > les 2 touches ⌘R (cmd R) tenues pressées de l'écran noir => à la  = démarrage sur l'OS de secours. Tu obtiens un écran affichant une fenêtre de 4 Utilitaires macOS. Va à la barre de menus supérieure de l'écran > Menu Utilitaires > sous-menu : Terminal.

Lance-le et passe la commande :
Bloc de code:
csrutil disable

  • qui désactive le SIP

Cela fait > quitte le Terminal > va à : Menu  > Disque de démarrage > sélectionne Macintosh HD > redémarre dessus.

----------

De retour dans ta session > passe la commande (copier-coller) :
Bloc de code:
sudo gpt show disk0

  • à validation > une demande de password s'affiche (commande sudo) --> tape ton mot-de-passe de session admin en aveugle - aucun caractère ne se montrant à la frappe - et revalide
  • la commande lit les tables de partitions d'en-tête du disque et affiche la distribution de blocs qui en découle

Poste le tableau.
 
Voici le retour obtenu :
Bloc de code:
Last login: Thu Apr  9 17:29:32 on ttys000
macbook-pro-de-antonin:~ natotelbah$ sudo tmutil deletelocalsnapshots 2020-04-09-173220
Password:
Deleted local snapshot '2020-04-09-173220'
macbook-pro-de-antonin:~ natotelbah$
 
@ Natolier

Snapshot
supprimé. Passe la commande-test (copier-coller) :
Bloc de code:
diskutil ap resizeContainer disk1 90g fat32 BOOTCAMP 0b ; diskutil list

  • qui rétrécit le Conteneur à 90 Go > et crée un volume BOOTCAMP d'environ 30 Go > puis affiche le tableau des disques

Poste le retour complet => qu'on voie si tu as un message d'erreur.
 
Voici le retour :
Bloc de code:
Last login: Thu Apr  9 17:48:08 on ttys000
macbook-pro-de-antonin:~ natotelbah$ diskutil ap resizeContainer disk1 90g fat32 BOOTCAMP 0b ; diskutil list
Started APFS operation
Aligning shrink delta to 31 123 070 976 bytes and targeting a new physical store size of 89 999 998 976 bytes
Determined the minimum size for the targeted physical store of this APFS Container to be 78 110 109 696 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
Shrinking APFS Physical Store disk0s2 from 121 123 069 952 to 89 999 998 976 bytes
Shrinking APFS data structures
Shrinking partition
Modifying partition map
4096 bytes per physical sector
/dev/rdisk0s3: 60754912 sectors in 1898591 FAT32 clusters (16384 bytes/cluster)
bps=512 spc=32 res=32 nft=2 mid=0xf8 spt=32 hds=255 hid=176191488 drv=0x80 bsec=60784640 bspf=14840 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                        *121.3 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk1         90.0 GB    disk0s2
   3:       Microsoft Basic Data BOOTCAMP                31.1 GB    disk0s3

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

/dev/disk2 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *1.0 TB     disk2
   1:                 DOS_FAT_32 DD NATO FAT             650.2 GB   disk2s1
   2:                  Apple_HFS DD NATO MAC             350.0 GB   disk2s2

macbook-pro-de-antonin:~ natotelbah$

Merci encore, j'ai été voir avec l'utilitaire de disque, la partition bootcamp a bien été créée !