Bootcamp "Le disque doit comporter au moins 40 Go d’espace libre"

Je suis sous OS X
Yosemite 10.10.5
Je finis de faire les réglages avec toi puis je fais la dernière mise à jour.

Bloc de code:
MacBook-Air-de-Mac-2:~ macBOOK$ csrutil status
-bash: csrutil: command not found
MacBook-Air-de-Mac-2:~ macBOOK$ csrutil status
-bash: csrutil: command not found
MacBook-Air-de-Mac-2:~ macBOOK$
 
@ Ralph

Passe la commande :
Bloc de code:
diskutil ap resizeContainer disk1 200g fat32 BOOTCAMP 0b ; diskutil list internal
  • qui rétrécit le Conteneur apfs à 200 Go > crée une partition BOOTCAMP de 50 Go en FAT-32 > ré-affiche la configuration interne

Poste le retour.
 
@ Ralph

Passe la commande :
Bloc de code:
diskutil ap resizeContainer disk1 200g fat32 BOOTCAMP 0b ; diskutil list internal
  • qui rétrécit le Conteneur apfs à 200 Go > crée une partition BOOTCAMP de 50 Go en FAT-32 > ré-affiche la configuration interne

Poste le retour.
Hop! :

Bloc de code:
The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
macbook-pro-de-raphael:~ Raph$ diskutil ap listSnaps disk1s1
No snapshots for disk1s1
macbook-pro-de-raphael:~ Raph$ diskutil ap resizeContainer disk1 200g fat32 BOOTCAMP 0b ; diskutil list internal
Started APFS operation
Aligning shrink delta to 50 790 436 864 bytes and targeting a new physical store size of 200 000 000 000 bytes
Determined the minimum size for the targeted physical store of this APFS Container to be 194 364 047 360 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 -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 (1412.141.1) and last modified by apfs_kext (1412.141.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 hfs_convert (1412.141.1) and last modified by apfs_kext (1412.141.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 diskmanagementd (1412.141.1) and last modified by apfs_kext (1412.141.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 (1412.141.1) and last modified by apfs_kext (1412.141.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.141.1) and last modified by apfs_kext (1412.141.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
warning: overallocation detected on Main device: (0x9a6cc+1) bitmap address (0x2e2aa)
The volume /dev/disk0s2 appears to be OK
Storage system check exit code is 0
Shrinking APFS Physical Store disk0s2 from 250 790 436 864 to 200 000 000 000 bytes
Shrinking APFS data structures
Shrinking partition
Modifying partition map
4096 bytes per physical sector
/dev/rdisk0s3: 99174720 sectors in 1549605 FAT32 clusters (32768 bytes/cluster)
bps=512 spc=64 res=32 nft=2 mid=0xf8 spt=32 hds=255 hid=391034880 drv=0x80 bsec=99198976 bspf=12112 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                        *251.0 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk1         200.0 GB   disk0s2
   3:       Microsoft Basic Data BOOTCAMP                50.8 GB    disk0s3

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +200.0 GB   disk1
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD - Données  172.9 GB   disk1s1
   2:                APFS Volume Preboot                 82.9 MB    disk1s2
   3:                APFS Volume Recovery                529.0 MB   disk1s3
   4:                APFS Volume VM                      2.1 GB     disk1s4
   5:                APFS Volume Macintosh HD            11.1 GB    disk1s5

macbook-pro-de-raphael:~ Raph$
 
@ Wassef

Le SIP n'a été créé qu'avec l'OS El Capitan (le successeur immédiat de Yosemite). Donc pas de SIP activé chez toi.

- 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 : MacBook-Air-de-Mac-2:~ macBOOK$ en signal de fin.

Poste le tableau obtenu => qu'on voie s'il y a des anomalies (comme des concentrations de fichiers indues).
 
@ Ralph

Partition BOOTCAMP bien créée avec une taille de 50,8 Go et un format FAT-32 du volume BOOTCAMP. L'Assistant de migration débloque.

- tente d'installer Windows à cette destination.​
 
Voici le résultat obtenu :
Bloc de code:
Last login: Thu Mar 18 16:16:25 on ttys000
MacBook-Air-de-Mac-2:~ macBOOK$ sudo find -x / -d 1 -regex '.*[^\.\].*' -exec sudo du -shx {} +
Password:
2,2M    /.DocumentRevisions-V100
 12K    /.DS_Store
  0B    /.file
2,5M    /.fseventsd
269M    /.Spotlight-V100
  0B    /.Trashes
  0B    /.vol
1,2G    /Applications
2,3M    /bin
  0B    /cores
4,5K    /dev
4,0K    /etc
1,0K    /home
4,0K    /installer.failurerequests
3,2G    /Library
1,0K    /net
  0B    /Network
3,3G    /private
1012K    /sbin
 13G    /System
4,0K    /tmp
 13G    /Users
507M    /usr
4,0K    /var
4,0K    /Volumes
MacBook-Air-de-Mac-2:~ macBOOK$ diskutil list
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *121.3 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                  Apple_HFS Macintosh HD            120.5 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
MacBook-Air-de-Mac-2:~ macBOOK$
 
@ Wassef

Je comptabilise 34,5 Gi = 37 Go de fichiers > dont -->

- fichiers dédiés à l'utilisateur : Applications 1,2 Gi = 1,3 Go + Users 13 Gi = 14 Go => 15,3 Go
- fichiers-Système : le reste soit 37 Go - 15,3 Go = 21,7 Go

La taille du Système (21,7 Go) est régulière. Estimes-tu avoir pour moins de 14 Go de données d'utilisateur ?

----------

Passe encore la commande :
Bloc de code:
df -H /
  • qui mesure (en Go) l'occupation des blocs du volume démarré

Poste le retour = qu'on voie si ça coïncide avec la taille des fichiers.
 
Bloc de code:
Last login: Thu Mar 18 16:35:37 on ttys000
MacBook-Air-de-Mac-2:~ macBOOK$ df -H /
Filesystem     Size   Used  Avail Capacity iused    ifree %iused  Mounted on
/dev/disk0s2   120G    38G    82G    32% 9298521 20113847   32%   /
MacBook-Air-de-Mac-2:~ macBOOK$

Normalement oui je fois avoir moins que 14Go parce que j'ai seulement 10 photos, et 5 document PDF dans mon mac rien de plus !
Merci de ta patiente
 
@ Ralph

Partition BOOTCAMP bien créée avec une taille de 50,8 Go et un format FAT-32 du volume BOOTCAMP. L'Assistant de migration débloque.

- tente d'installer Windows à cette destination.​

Bon, c'est un peu complexe l'affaire. Le message à changer après avoir passer la dernière commande, voici le screen:

Capture d’écran 2021-03-18 à 16.38.14.png

J'ai pas trop compris le sens du message, j'ai alors cliquer sur Restaurer, derrière j'ai relancer bootcamp et le même message concernant les 42 go nécessaire est revenu.
J'ai donc retaper la commande précédente, puisque apparemment le fait de restaurer a supprimer la partition BootCamp qu'on venait de créer.
Ca a réussi, j'ai recupérer la partition, mais quand je lance BootCamp Assistant j'ai une nouvelle fois le même message sur ce screen. A savoir celui ou il me propose donc de Restaurer.

T'as une idée?

@macomaniac
 
@ Wassef

38 Go
de blocs pour 37 Go de fichiers. On va dire que c'est équivalent.

- passe la commande :​
Bloc de code:
sudo du -sh ~/*
  • qui mesure (en Gi) les sous-dossiers de ton dossier de compte macBOOK

Poste le retour.
 
Voici le résultat obtenu :

Bloc de code:
Last login: Thu Mar 18 16:47:24 on ttys000
MacBook-Air-de-Mac-2:~ macBOOK$ sudo du -sh ~/*
Password:
340K    /Users/macBOOK/Applications
8,8M    /Users/macBOOK/Desktop
8,0K    /Users/macBOOK/Documents
188K    /Users/macBOOK/Downloads
 12G    /Users/macBOOK/Library
  0B    /Users/macBOOK/Movies
104K    /Users/macBOOK/Music
 11M    /Users/macBOOK/Pictures
  0B    /Users/macBOOK/Public
8,0K    /Users/macBOOK/fileDownload
MacBook-Air-de-Mac-2:~ macBOOK$
 
@ Ralph

Tu ne peux pas échapper cet écran (proposant une suppression de la partition BOOTCAMP) pour lancer l'installation ?

- est-ce que tu as une clé d'installation de windows toute prête ?​
 
@ Wassef

Les Go se concentrent dans la Bibliothèque invisible de ton compte (non affichée par défaut par le Finder).

- passe la commande :​
Bloc de code:
sudo du -sh ~/Lib*/*
  • qui mesure (en Gi) les sous-dossiers de cette Bibliothèque

Poste le retour.
 
@ Ralph

Tu ne peux pas échapper cet écran (proposant une suppression de la partition BOOTCAMP) pour lancer l'installation ?

- est-ce que tu as une clé d'installation de windows toute prête ?​
@macomaniac

Alors, oui j'ai une clé d'installation windows avec le fichier iso dessus, mais quand je la branche et que je lance l'assistant BootCamp il me demande de retirer tous les stockages externes o_O

+ Non, aucun moyen d'échapper à l'écran que je t'ai screen...

N'y a t-il pas d'autres moyens d'installer windows sans passer par BootCamp Assistant?
 
J'ai 2,1 G de cache, comment le vider ?


Bloc de code:
Last login: Thu Mar 18 16:57:37 on ttys000
MacBook-Air-de-Mac-2:~ macBOOK$ sudo du -sh ~/Lib*/*
Password:
524K    /Users/macBOOK/Library/Accounts
 10G    /Users/macBOOK/Library/Application Support
488K    /Users/macBOOK/Library/Application Supporttransition_a33ac4e2324202399bac8f0e5889a93a.ini
  0B    /Users/macBOOK/Library/Assistants
  0B    /Users/macBOOK/Library/Audio
2,1G    /Users/macBOOK/Library/Caches
1,0M    /Users/macBOOK/Library/Calendars
  0B    /Users/macBOOK/Library/ColorPickers
  0B    /Users/macBOOK/Library/Colors
  0B    /Users/macBOOK/Library/Compositions
 45M    /Users/macBOOK/Library/Containers
 76K    /Users/macBOOK/Library/Cookies
 40K    /Users/macBOOK/Library/Dictionaries
  0B    /Users/macBOOK/Library/Favorites
  0B    /Users/macBOOK/Library/FontCollections
  0B    /Users/macBOOK/Library/Fonts
  0B    /Users/macBOOK/Library/GameKit
9,8M    /Users/macBOOK/Library/Google
8,0K    /Users/macBOOK/Library/Group Containers
 64K    /Users/macBOOK/Library/IdentityServices
  0B    /Users/macBOOK/Library/Input Methods
 72K    /Users/macBOOK/Library/Internet Plug-Ins
  0B    /Users/macBOOK/Library/Keyboard Layouts
1,0M    /Users/macBOOK/Library/Keychains
1,1M    /Users/macBOOK/Library/LanguageModeling
 12K    /Users/macBOOK/Library/LaunchAgents
 13M    /Users/macBOOK/Library/Logs
 40K    /Users/macBOOK/Library/Mail
1,9M    /Users/macBOOK/Library/Messages
  0B    /Users/macBOOK/Library/PreferencePanes
 27M    /Users/macBOOK/Library/Preferences
  0B    /Users/macBOOK/Library/Printers
144K    /Users/macBOOK/Library/PubSub
 32M    /Users/macBOOK/Library/Safari
480K    /Users/macBOOK/Library/Saved Application State
  0B    /Users/macBOOK/Library/Saved Searches
  0B    /Users/macBOOK/Library/Screen Savers
8,7M    /Users/macBOOK/Library/Services
  0B    /Users/macBOOK/Library/Sounds
 16K    /Users/macBOOK/Library/Spelling
 28K    /Users/macBOOK/Library/SyncedPreferences
  0B    /Users/macBOOK/Library/Vivox
  0B    /Users/macBOOK/Library/Voices
  0B    /Users/macBOOK/Library/WebKit
  0B    /Users/macBOOK/Library/com.apple.nsurlsessiond
  0B    /Users/macBOOK/Library/iMovie
 24K    /Users/macBOOK/Library/iTunes
MacBook-Air-de-Mac-2:~ macBOOK$
 
@ Raph

La partition BOOTCAMP créée > branche ta clé au Mac > puis redémarre la touche "alt" pressée pour obtenir l'écran de choix du volume de démarrage -->

- vois-tu alors affichées 2 icônes : une Windows (installation en mode "Legacy") et une EFI Boot (installation en mode UEFI) --> si c'est bien Windows 10 que tu veux installer ?​
 
@ Raph

La partition BOOTCAMP créée > branche ta clé au Mac > puis redémarre la touche "alt" pressée pour obtenir l'écran de choix du volume de démarrage -->

- vois-tu alors affichées 2 icônes : une Windows (installation en mode "Legacy") et une EFI Boot (installation en mode UEFI) --> si c'est bien Windows 10 que tu veux installer ?​
@macomaniac

Alors oui c'est ce que j'ai fait à l'instant du coup! Mais... Seul le EFI Boot apparaît, quand je clique dessus il y'a bien une installation Windows qui se lance mais qui se bloque rapidement en me disant qu'il trouve pas les "pilotes" sur les stockages externes. Quand je clique sur parcourir -> et que je selectionne le disque BootCamp rien ne se passe non plus.

Peut-être que ma clé a été mal faite?
 
@ Wassef

L'essentiel est dans Application Support. Passe la commande :
Bloc de code:
sudo du -sh ~/Lib*/Ap*\Sup*/*
  • qui mesure (en Gi) les contenus de Application Support

Poste le retour.

----------

Note : après sauvegarde de tes fichiers > le plus simple ne serait-il pas de créer un nouvel utilisateur admin avec des identifiants de noms un peu différents > te loger dans sa session > et supprimer carrément le compte macBOOK ?
 
  • J’aime
Réactions: WassefChekili
@ Ralph

Tu ne dois pas avoir téléchargé les pilotes requis depuis le site Apple. Je soupçonne ta clé d'être incomplète.

- mais comme je n'utilise pas Windows ni ne l'installe => tout ce que je t'en dis est pure spéculation de ma part et non le produit de l'expérience. C'est Locke qui serait mieux à même de te conseiller ici.​
 
Ah je comprends mieux maintenant, j'ai pas supprimer définitivement mes anciens jeux, comment faire du coup ?
Oui je veux bien supprimer le compte macBook, mais j'ai peur de faire une mauvaise manipulation !

Bloc de code:
Last login: Thu Mar 18 17:04:36 on ttys000
MacBook-Air-de-Mac-2:~ macBOOK$
MacBook-Air-de-Mac-2:~ macBOOK$ sudo du -sh ~/Lib*/Ap*\Sup*/*
Password:
1,2M    /Users/macBOOK/Library/Application Support/AddressBook
8,0K    /Users/macBOOK/Library/Application Support/Adobe
3,7M    /Users/macBOOK/Library/Application Support/Ankama
  0B    /Users/macBOOK/Library/Application Support/Ankama Launcher
4,0K    /Users/macBOOK/Library/Application Support/AnkamaCertificates
4,0K    /Users/macBOOK/Library/Application Support/App Store
474M    /Users/macBOOK/Library/Application Support/Blitz
  0B    /Users/macBOOK/Library/Application Support/CEF
 70M    /Users/macBOOK/Library/Application Support/Caches
 60K    /Users/macBOOK/Library/Application Support/CallHistoryDB
  0B    /Users/macBOOK/Library/Application Support/CallHistoryTransactions
  0B    /Users/macBOOK/Library/Application Support/CloudDocs
  0B    /Users/macBOOK/Library/Application Support/Console
236K    /Users/macBOOK/Library/Application Support/CrashReporter
4,0K    /Users/macBOOK/Library/Application Support/D2Info0
 52K    /Users/macBOOK/Library/Application Support/Dock
2,0M    /Users/macBOOK/Library/Application Support/Dofus
 26M    /Users/macBOOK/Library/Application Support/Dofus Retro
4,0K    /Users/macBOOK/Library/Application Support/Dofus-2
4,0K    /Users/macBOOK/Library/Application Support/Dofus-3
4,0K    /Users/macBOOK/Library/Application Support/Dofus-4
4,0K    /Users/macBOOK/Library/Application Support/DofusAppId0_1
4,0K    /Users/macBOOK/Library/Application Support/DofusAppId0_2
4,0K    /Users/macBOOK/Library/Application Support/DofusAppId0_3
4,0K    /Users/macBOOK/Library/Application Support/DofusAppId0_4
6,3M    /Users/macBOOK/Library/Application Support/Epic
2,5G    /Users/macBOOK/Library/Application Support/Google
896M    /Users/macBOOK/Library/Application Support/Microsoft
  0B    /Users/macBOOK/Library/Application Support/MobileSync
  0B    /Users/macBOOK/Library/Application Support/Preview
 12K    /Users/macBOOK/Library/Application Support/Quick Look
497M    /Users/macBOOK/Library/Application Support/Riot Games
 59M    /Users/macBOOK/Library/Application Support/Spotify
914M    /Users/macBOOK/Library/Application Support/Steam
484K    /Users/macBOOK/Library/Application Support/SyncServices
4,0K    /Users/macBOOK/Library/Application Support/[Worker]
 12K    /Users/macBOOK/Library/Application Support/[Worker].null
3,4G    /Users/macBOOK/Library/Application Support/arkalys-updater
 36K    /Users/macBOOK/Library/Application Support/com.apple.TCC
8,0K    /Users/macBOOK/Library/Application Support/com.apple.spotlight
 44K    /Users/macBOOK/Library/Application Support/com.apple.spotlight.Shortcuts
4,0K    /Users/macBOOK/Library/Application Support/com.microsoft.teams
  0B    /Users/macBOOK/Library/Application Support/iCloud
  0B    /Users/macBOOK/Library/Application Support/java
1006M    /Users/macBOOK/Library/Application Support/minecraft
365M    /Users/macBOOK/Library/Application Support/tlauncher
 43M    /Users/macBOOK/Library/Application Support/zaap
 19M    /Users/macBOOK/Library/Application Support/zoom.us
MacBook-Air-de-Mac-2:~ macBOOK$