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

Bonjour Jenn

Le SIP (protocole de sécurité) est manifestement activé et suscite des "Operation not permitted".

----------

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 find -x / -d 1 -regex '.*[^\.\].*' -exec sudo du -shx {} +

  • à 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 mesure (en Gi = gibibytes : base 2) les objets de 1er rang du volume de démarrage (fichiers ou dossiers / visibles ou cachés). Elle est très lente d'exécution : attends le retour de l'invite de commande : Air-de-Jennifer:~ jennifergaffin$ en signal de fin.

Poste le tableau complet dans une fenêtre de code.
 
Avec 40 Go restants, ce n'est pas jouable, car macOS demande un minimum de 15/20 Go de libre. Il va te falloir faire un gros ménage et/ou stocker une partie de tes données dans un autre disque USB.
 
Merci à toi macomaniac de prendre le temps de me répondre. Ci-joint les données obtenues.

Bloc de code:
Last login: Tue Nov 26 16:33:15 on console
Air-de-Jennifer:~ jennifergaffin$ sudo find -x / -d 1 -regex '.*[^\.\].*' -exec sudo du -shx {} +
Password:
  0B    /.HFS+ Private Directory Data
1,0K    /home
474M    /usr
529M    /.Spotlight-V100
1,0K    /net
 12K    /.DS_Store
  0B    /.PKInstallSandboxManager
  0B    /.PKInstallSandboxManager-SystemSoftware
2,5M    /bin
  0B    /installer.failurerequests
  0B    /Network
1,0M    /sbin
  0B    /.file
  0B    /etc
  0B    /var
6,0G    /Library
7,2G    /System
4,0K    /.fseventsd
4,6G    /private
 22M    /.DocumentRevisions-V100
  0B    /.vol
163G    /Users
 13G    /Applications
4,5K    /dev
  0B    /Volumes
  0B    /tmp
  0B    /cores
Air-de-Jennifer:~ jennifergaffin$
 
Je comptabilise 194,8 Gi = 209 Go de fichiers recensés. Et tu avais 207 Go d'occupation du volume Macintosh HD.

- ce qui fait une petite (et peu courante) sous-allocation de blocs occupés de 2 Go. Rien qui mérite qu'on creuse. Il n'y a donc pas d'espace occupé "fantôme" (sans fichiers correspondants).​

La taille des dossiers-Système est régulière et même minimaliste. Est-ce que 163 Gi = 175 Go pour les Utilisateurs => te paraît excéder la taille de tes données personnelles ou pas ?
 
Bonjour à tous,
Quand je souhaite installer Windows 10 sur mon MacBook Air je tombe sur l'erreur suivante :
Ce disque de démarrage ne peut être partitionné car l'espace y est insuffisant
J'ai donc exécuté la commande : sudo find -x / -d 1 -regex '.*[^\.\].*' -exec sudo du -shx {} +
Et là surprise ! Je vois que le système fait 65 Go.
Bloc de code:
MacBook-Air-de-Louis:~ louisraverdy$ sudo find -x / -d 1 -regex '.*[^\.\].*' -exec sudo du -shx {} +
Password:
find: /System/Volumes/Data/.Spotlight-V100: No such file or directory
find: /System/Volumes/Data/.PKInstallSandboxManager: No such file or directory
find: /System/Volumes/Data/.PKInstallSandboxManager-SystemSoftware: No such file or directory
find: /System/Volumes/Data/mnt: No such file or directory
find: /System/Volumes/Data/macOS Install Data: No such file or directory
find: /System/Volumes/Data/.DocumentRevisions-V100: No such file or directory
find: /System/Volumes/Data/.TemporaryItems: No such file or directory
find: /System/DriverKit: No such file or directory
  0B    /home
449M    /usr
  0B    /.DS_Store
2,4M    /bin
4,0K    /installer.failurerequests
1020K    /sbin
  0B    /.file
  0B    /etc
  0B    /var
7,9G    /Library
65G    /System
  0B    /.VolumeIcon.icns
12K    /.fseventsd
3,5G    /private
  0B    /.vol
24G    /Users
13G    /Applications
  0B    /opt
4,5K    /dev
  0B    /Volumes
  0B    /tmp
  0B    /cores

Es-ce un bug ?
Merci
 
Bonsoir Louis

Oui : il y a bien anomalie. Le dossier System devrait faire dans les 7 Go > et il fait ici 65 Gi = 70 Go !

- passe la commande :​
Bloc de code:
sudo du -sh /System/Library/*

  • qui mesure (en Gi = gibibytes : base 2) les sous-dossiers de la Bibliothèque du Système

Poste le retour.
 
Merci de votre réponse très rapide.
Voila les donnés obtenues :
Bloc de code:
MacBook-Air-de-Louis:~ louisraverdy$ sudo du -sh /System/Library/*
Password:
184K    /System/Library/AWD
 21M    /System/Library/Accessibility
136K    /System/Library/AccessibilityBundles
876K    /System/Library/AccessoryUpdaterBundles
 11M    /System/Library/Accounts
2,4M    /System/Library/Address Book Plug-Ins
 28K    /System/Library/AssetCache
 52K    /System/Library/AssetTypeDescriptors
 71M    /System/Library/Assets
175M    /System/Library/AssetsV2
 13M    /System/Library/Assistant
 19M    /System/Library/Audio
105M    /System/Library/Automator
116K    /System/Library/BridgeSupport
 92K    /System/Library/CacheDelete
 41M    /System/Library/Caches
 20K    /System/Library/CardKit
6,0M    /System/Library/ColorSync
504K    /System/Library/Colors
 70M    /System/Library/Components
 44M    /System/Library/Compositions
1,8M    /System/Library/ConfigurationProfiles
 88K    /System/Library/CoreAccessories
928K    /System/Library/CoreImage
759M    /System/Library/CoreServices
228K    /System/Library/CryptoTokenKit
 32K    /System/Library/DTDs
 12K    /System/Library/DefaultsConfigurations
990M    /System/Library/Desktop Pictures
616K    /System/Library/DifferentialPrivacy
1,1M    /System/Library/DirectoryServices
7,5M    /System/Library/Displays
600K    /System/Library/DistributedEvaluation
172K    /System/Library/DriverExtensions
364K    /System/Library/DuetActivityScheduler
4,0K    /System/Library/DuetKnowledgeBase
861M    /System/Library/Extensions
 48K    /System/Library/FeatureFlags
 21M    /System/Library/Filesystems
180K    /System/Library/Filters
590M    /System/Library/Fonts
1,1G    /System/Library/Frameworks
584K    /System/Library/Graphics
376K    /System/Library/HIDPlugins
260K    /System/Library/IdentityServices
 11M    /System/Library/Image Capture
 32M    /System/Library/Input Methods
176K    /System/Library/InternetAccounts
724K    /System/Library/Java
112K    /System/Library/KerberosPlugins
 15M    /System/Library/Kernels
656K    /System/Library/Keyboard Layouts
 32K    /System/Library/Keychain
352K    /System/Library/Keychains
2,6M    /System/Library/LASecureIO
1,2M    /System/Library/LaunchAgents
1,3M    /System/Library/LaunchDaemons
616M    /System/Library/LinguisticData
744K    /System/Library/LocationBundles
1,1M    /System/Library/LoginPlugins
 76K    /System/Library/MediaStreamPlugins
104K    /System/Library/MessageTracer
2,5M    /System/Library/Messages
  0B    /System/Library/Metadata
 68K    /System/Library/Modem Scripts
7,7M    /System/Library/MonitorPanels
 40K    /System/Library/MultiversePlugins
 12K    /System/Library/NetworkServiceProxy
 13M    /System/Library/OnBoardingBundles
1020K    /System/Library/OpenDirectory
 44K    /System/Library/OpenSSL
392K    /System/Library/PDF Services
 12K    /System/Library/PairedSyncServices
8,0K    /System/Library/Password Server Filters
 69M    /System/Library/Perl
440K    /System/Library/PreferenceBundles
153M    /System/Library/PreferencePanes
1,2M    /System/Library/Preferences
  0B    /System/Library/PreinstalledAssets
  0B    /System/Library/PreinstalledAssetsV2
 45M    /System/Library/PrelinkedKernels
204K    /System/Library/Printers
1,6G    /System/Library/PrivateFrameworks
 31M    /System/Library/QuickLook
 69M    /System/Library/Receipts
204K    /System/Library/Recents
 32K    /System/Library/RunningBoard
844K    /System/Library/Sandbox
7,4M    /System/Library/Screen Savers
 19M    /System/Library/ScreenReader
1,0M    /System/Library/Script Editor Plugins
1,0M    /System/Library/ScriptingAdditions
 16K    /System/Library/ScriptingDefinitions
9,3M    /System/Library/Security
7,7M    /System/Library/Services
1,7M    /System/Library/Sounds
1,5G    /System/Library/Speech
7,6M    /System/Library/Spotlight
  0B    /System/Library/StartupItems
2,2M    /System/Library/SyncServices
4,5M    /System/Library/SystemConfiguration
  0B    /System/Library/SystemDiagnostic
 14M    /System/Library/SystemProfiler
 11M    /System/Library/Tcl
927M    /System/Library/Templates
520K    /System/Library/TextEncodings
3,8M    /System/Library/TextInput
8,0K    /System/Library/Trial
  0B    /System/Library/User Template
1,8M    /System/Library/UserEventPlugins
4,0K    /System/Library/UserManagement
5,8M    /System/Library/UserNotifications
2,5M    /System/Library/Video
MacBook-Air-de-Louis:~ louisraverdy$
 
Je n'arrive pas à voir d'excédent dans la Bibliothèque du Système. Alors dans le répertoire System > il doit y avoir un autre dossier en plus de celui de la Bibliothèque > contenant le surplus de données.

- passe la commande :​
Bloc de code:
sudo du -sh /Library/*

  • qui mesure les dossiers de 1er ordre du répertoire Système

Poste le retour
 
Salut macomaniac !
Voila les donnés obtenues :
Bloc de code:
MacBook-Air-de-Louis:~ louisraverdy$ sudo du -sh /Library/*
Password:
39M    /Library/Apple
5,6G    /Library/Application Support
1,7G    /Library/Audio
135M    /Library/Caches
88K    /Library/Catacomb
  0B    /Library/ColorPickers
104K    /Library/ColorSync
  0B    /Library/Components
  0B    /Library/Compositions
  0B    /Library/Contextual Menu Items
72K    /Library/CoreAnalytics
4,0K    /Library/CoreMediaIO
  0B    /Library/Desktop Pictures
128M    /Library/Developer
  0B    /Library/DirectoryServices
5,9M    /Library/Documentation
  0B    /Library/DriverExtensions
4,5M    /Library/Extensions
  0B    /Library/Filesystems
456K    /Library/Fonts
84K    /Library/Frameworks
  0B    /Library/GPUBundles
  0B    /Library/Graphics
14M    /Library/Image Capture
  0B    /Library/Input Methods
  0B    /Library/InstallerSandboxes
2,6M    /Library/Internet Plug-Ins
  0B    /Library/Java
  0B    /Library/Keyboard Layouts
10M    /Library/Keychains
24K    /Library/LaunchAgents
48K    /Library/LaunchDaemons
60M    /Library/Logs
1,2M    /Library/Modem Scripts
12K    /Library/OSAnalytics
  0B    /Library/OpenDirectory
316K    /Library/Perl
  0B    /Library/PreferencePanes
384K    /Library/Preferences
31M    /Library/Printers
388K    /Library/PrivilegedHelperTools
8,0K    /Library/Python
28M    /Library/QuickLook
3,9M    /Library/QuickTime
47M    /Library/Receipts
2,2M    /Library/Ruby
  0B    /Library/Sandbox
  0B    /Library/Screen Savers
76K    /Library/ScriptingAdditions
1,4M    /Library/Scripts
48K    /Library/Security
  0B    /Library/Speech
72K    /Library/Spotlight
  0B    /Library/StagedDriverExtensions
4,6M    /Library/StagedExtensions
  0B    /Library/StartupItems
  0B    /Library/SystemExtensions
52K    /Library/SystemMigration
  0B    /Library/SystemProfiler
1,1M    /Library/Updates
21M    /Library/User Pictures
1,4M    /Library/User Template
5,9M    /Library/Video
13M    /Library/WebServer
Merci
 
Je viens de tester la commande que vous m'avez donné mais sans le /Library.
Ce qui nous donne : sudo du -sh /
Et la réponse du terminal est assez surprenant :
Bloc de code:
MacBook-Air-de-Louis:~ louisraverdy$ sudo du -sh /
131G    /
Le problème c'est que le disque de mon mac ne fait que 128 Go.
Que mesure la commande ? Es-ce un bug ou alors normal ?
Merci
 
Je voulais en fait te passer la commande :
Bloc de code:
sudo du -sh /System/*

  • qui mesure (en Gi) les contenus de 1er ordre du répertoire Système

Poste le retour.

----------

131 Gi = 140 Go. Il s'agit de la mesure d'occupation des blocs. En cas d'erreurs dans le système de fichiers (formateur du volume) => une sur-allocation de blocs (= une mesure erronée) peut se produire.
 
Voici le résultat :
Bloc de code:
louisraverdy$ sudo du -sh /System/*
Password:
719M    /System/Applications
2,0M    /System/DriverKit
 10G    /System/Library
 63G    /System/Volumes
271M    /System/iOSSupport
J'ai donc exécuté la commande : sudo du -sh /System/Volumes/Data/*
Et voila :
Bloc de code:
sudo du -sh /System/Volumes/Data/*
 13G    /System/Volumes/Data/Applications
7,9G    /System/Volumes/Data/Library
2,0G    /System/Volumes/Data/System
 29G    /System/Volumes/Data/Users
  0B    /System/Volumes/Data/Volumes
  0B    /System/Volumes/Data/cores
1,0K    /System/Volumes/Data/home
3,9G    /System/Volumes/Data/macOS Install Data
  0B    /System/Volumes/Data/mnt
  0B    /System/Volumes/Data/opt
6,1G    /System/Volumes/Data/private
  0B    /System/Volumes/Data/sw
  0B    /System/Volumes/Data/tmp
2,4M    /System/Volumes/Data/usr
Plus de trace de notre gros dossier...
 
Je m'avise que l'OS installé est Catalina (ce que tu n'as jamais précisé). OS qui a une distribution spécifique à 5 volumes (avec un volume-Données monté dans le volume-Système démarré at: /System/Volumes/Data).

- passe les commandes :​
Bloc de code:
diskutil list internal
df -H /

  • qui affichent : la configuration interne seule & l'espace libre global dans le Conteneur apfs (à côté de l'occupation du volume démarré)

Poste les 2 retours.
 
Ha oui c'est vrai je suis sous MacOS Catalina. Voici les résultats :
Bloc de code:
 louisraverdy$ diskutil list internal
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *121.3 GB   disk0
   1:                 Apple_APFS Container disk1         121.0 GB   disk0s1

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +121.0 GB   disk1
                                 Physical Store disk0s1
   1:                APFS Volume Macintosh HD - Données  64.7 GB    disk1s1
   2:                APFS Volume Preboot                 157.9 MB   disk1s2
   3:                APFS Volume Recovery                528.6 MB   disk1s3
   4:                APFS Volume VM                      2.1 GB     disk1s4
   5:                APFS Volume Macintosh HD            10.5 GB    disk1s5

MacBook-Air-de-Louis:~ louisraverdy$ df -H /
Filesystem     Size   Used  Avail Capacity iused      ifree %iused  Mounted on
/dev/disk1s5   121G    11G    43G    20%  478500 1181339940    0%   /
 
On voit que Macintosh HD - Données a une occupation spécifique de 64,7 Go -->

- comme ce volume est monté au démarrage dans le volume-Système Macintosh HD at: /System/Volumes/Data (le dossier Data étant alors identique au volume Macintosh HD - Données monté) => une commande de mesure des dossiers de Macintosh HD --> mesure le répertoire Système avec l'inclusion des 64,7 Go d'occupation du volume-Données monté dans le sous-dossier Data. Le Système n'est donc pas hypertrophié : il est mesuré avec l'adjonction du volume-Données monté dans un de ses sous-dossiers.​

Passe les 2 commandes :
Bloc de code:
diskutil ap listSnaps disk1s1
diskutil verifyVolume disk1

  • la 1ère liste d'éventuels snapshots rétenteurs d'espace disque > associés au volume-Données
  • la 2è vérifie l'apfs du Conteneur et de ses 5 volumes

Poste les 2 retours.
 
Bloc de code:
MacBook-Air-de-Louis:~ louisraverdy$ diskutil ap listSnaps disk1s1
No snapshots for disk1s1
MacBook-Air-de-Louis:~ louisraverdy$ diskutil verifyVolume disk1
Started file system verification on disk1
Verifying storage system
Using live mode
Performing fsck_apfs -n -x -l /dev/disk0s1
Checking the container superblock
warning: container has been mounted by APFS version 1412.0.28.171.1, which is newer than 1412.0.16.0.1
warning: disabling overallocation repairs by default; use -o to override
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 newfs_apfs (945.200.84) and last modified by apfs_kext (1412.0.16.0.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 newfs_apfs (748.77.4) and last modified by apfs_kext (1412.0.16.0.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.77.4) and last modified by apfs_kext (1412.0.16.0.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.230.6) and last modified by apfs_kext (1412.0.16.0.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 diskmanagement (1409.0.0.141.4) and last modified by apfs_kext (1412.0.16.0.1)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking snapshot 1 of 1 (com.apple.apfs.purgatory.4dfa3)
Checking the extent ref tree
Checking the fsroot tree
Verifying allocated space
The volume /dev/disk0s1 appears to be OK
Storage system check exit code is 0
Finished file system verification on disk1
Aucune anomalie, snapshots pourtant quand je vérifie le système il est marqué :
Checking snapshot 1 of 1 (com.apple.apfs.purgatory.4dfa3)
Es-ce un vrai snapshot ?
 
Passe la commande :
Bloc de code:
diskutil ap listSnaps disk1s5

  • qui liste les snapshots associés à Macintosh HD

Poste le retour.
 
Boujour, désolé pour la réponse tardive.
Bloc de code:
louisraverdy$ diskutil ap listSnaps disk1s5
No snapshots for disk1s5
Aucun snapshot détecté je ne comprends pas.
 
On peut soupçonner l'existence d'un snapshot corrompu : il n'est pas listable ni supprimable > mais il verrouille quand même des blocs.

On va tenter de réparer > ce qu'on ne peut pas faire le volume Macintosh HD démarré (et donc obligatoire maintenu monté) => une réparation de système de fichiers impliquant la désactivation de sa prise en charge par le kernel (via le démontage du volume qui en dépend).

- redémarre et tiens aussitôt pressées les 2 touches ⌘R (cmd R) pour ouvrir la session de secours. Tu obtiens un écran affichant une fenêtre de 4 Utilitaires macOS. Lance l'Utilitaire de disque -->​

- sélectionne Macintosh HD > et presse le bouton S.O.S. => qui induit une réparation du système de fichiers.​

Cela fait > redémare (Menu  > Disque de démarrage > Macintosh HD > Redémarrer).

- de retour dans ta session > repasse la commande :​
Bloc de code:
diskutil verifyVolume disk1

  • et poste le retour => que je vérifie à mon tour la vérification du système de fichiers.
 
Bloc de code:
Louisraverdy$ diskutil verifyVolume disk1
Started file system verification on disk1
Verifying storage system
Using live mode
Performing fsck_apfs -n -x -l /dev/disk0s1
Checking the container superblock
warning: container has been mounted by APFS version 1412.0.28.171.1, which is newer than 1412.0.16.0.1
warning: disabling overallocation repairs by default; use -o to override
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 newfs_apfs (945.200.84) and last modified by apfs_kext (1412.0.16.0.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 newfs_apfs (748.77.4) and last modified by apfs_kext (1412.0.16.0.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.77.4) and last modified by apfs_kext (1412.0.16.0.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.230.6) and last modified by apfs_kext (1412.0.16.0.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 diskmanagement (1409.0.0.141.4) and last modified by apfs_kext (1412.0.16.0.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/disk0s1 appears to be OK
Storage system check exit code is 0
Finished file system verification on disk1
Voila, j'espère que vous pourrez trouver une solution
Merci