10.13 High Sierra Le disque de démarrage ne peut être ni partitionné, ni restauré en une seule partition...

Grizzlex14

Membre enregistré
23 Juillet 2018
1
0
26
Bonjour,
Cela fait maintenant quelque jour que j'essaie tant bien que mal de désinstaller windows de mon mac mais quand je décide de le faire, un message d'erreur apparait quand je clique sur continuer dans l'assistant boot camp :
Le disque de démarrage ne peut être ni partitionné, ni restauré en une seule partition.
j'ai regardé sur plusieurs forum et essayer plusieurs solution mais sans aucun effet, j'ai toujours le même message et windows n'a pas bougé de mon mac ...
voila ce qui s'affiche dans mon diskuntil list :
/dev/disk0 (internal):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme 500.3 GB disk0

1: EFI EFI 314.6 MB disk0s1

2: Apple_APFS Container disk1 299.0 GB disk0s2

3: Microsoft Basic Data Windows 200.4 GB disk0s3

4: Windows Recovery 514.9 MB disk0s4


/dev/disk1 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +299.0 GB disk1

Physical Store disk0s2

1: APFS Volume Macintosh HD 228.1 GB disk1s1

2: APFS Volume Preboot 26.3 MB disk1s2

3: APFS Volume Recovery 518.1 MB disk1s3

4: APFS Volume VM 2.1 GB disk1s4

Quelqu'un pourrait me sortir de la s'il vous plait ?
 
Bonjour Grizzlex

Si tu veux supprimer les dépendances de l'installation de Windows et récupérer leur espace au Conteneur apfs --> passe les commandes suivantes (l'une après l'autre ; en copier-coller) :
Bloc de code:
diskutil eraseVolume free null disk0s3
diskutil eraseVolume free null disk0s4
diskutil ap resizeContainer disk1 0b

  • la 2 premières suppriment la partition Windows et sa partition de secours
  • la 3è récupère l'espace libéré au Conteneur apfs et à sa partition de résidence disk0s2

Si tu n'as pas vu passer de message d'erreur > termine par un :
Bloc de code:
diskutil list

  • qui affiche la tableau des disques mis à jour

Voici le procédé pour coller ce tableau dans une fenêtre de code (plutôt que de manière brute qui perd la mise en page initiale) -->

  • dans la page de ce fil de MacGé > presse le bouton
    InsererCodeMcGe.jpg
    (carré avec un + inscrit - juste au milieu de la largeur de la fenêtre totale) dans la barre de menus au-dessus du champ de saisie d'un message > menu  : </> Code > par ⌘V colle dans la fenêtre Code > presse le bouton Insérer (ce procédé permet un affichage fenêtré qui économise l'espace de page en respectant la mise en forme des tableaux du «Terminal» --> d'où une plus grande lisibilité)
 
Bonsoir, j'ai le même soucis et j'ai essayé des solutions mais rien à faire. Je me décide de demander directement au pro
J'ai ce message
"Le disque de démarrage ne peut être ni partitionné, ni restauré en une seule partition"
Bloc de code:
Last login: Sun Oct 14 19:17:24 on ttys000
MBPdeBOUSSEMART:~ emilie$ diskutil list
/dev/disk0 (internal):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                         121.3 GB   disk0
   1:                        EFI EFI                     314.6 MB   disk0s1
   2:                 Apple_APFS Container disk1         85.0 GB    disk0s2
   3:       Microsoft Basic Data BOOTCAMP                14.9 GB    disk0s5
   4:                  Apple_HFS Brol                    20.9 GB    disk0s3

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +85.0 GB    disk1
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD            67.7 GB    disk1s1
   2:                APFS Volume Preboot                 22.0 MB    disk1s2
   3:                APFS Volume Recovery                519.0 MB   disk1s3
   4:                APFS Volume VM                      2.1 GB     disk1s4
   5:                APFS Volume boot                    839.7 KB   disk1s5

/dev/disk2 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            CCCOMA_X64FRE_FR-FR... +4.7 GB     disk2

MBPdeBOUSSEMART:~ emilie$ 3:       Microsoft Basic Data BOOTCAMP                14.9 GB    disk0s5
-bash: 3:: command not found
MBPdeBOUSSEMART:~ emilie$ diskutil list
/dev/disk0 (internal):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                         121.3 GB   disk0
   1:                        EFI EFI                     314.6 MB   disk0s1
   2:                 Apple_APFS Container disk1         85.0 GB    disk0s2
   3:       Microsoft Basic Data BOOTCAMP                14.9 GB    disk0s5
   4:                  Apple_HFS Brol                    20.9 GB    disk0s3

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +85.0 GB    disk1
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD            68.1 GB    disk1s1
   2:                APFS Volume Preboot                 22.0 MB    disk1s2
   3:                APFS Volume Recovery                519.0 MB   disk1s3
   4:                APFS Volume VM                      2.1 GB     disk1s4
   5:                APFS Volume boot                    839.7 KB   disk1s5

/dev/disk2 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            CCCOMA_X64FRE_FR-FR... +4.7 GB     disk2

[/B]
 
et la suite ...

Bloc de code:
MBPdeBOUSSEMART:~ emilie$ df -H /
Filesystem     Size   Used  Avail Capacity iused               ifree %iused  Mounted on
/dev/disk1s1    85G    68G    14G    83%  668501 9223372036854107306    0%   /
MBPdeBOUSSEMART:~ emilie$ sudo find -x / -d 1 -regex '.*[^\.\].*' -exec sudo du -shx {} +
Password:
tmutil listlocalsnapshots /find: /private/var/db/ConfigurationProfiles/Store: Operation not permitted
find: /private/var/folders/bc/gphfwdg14j97s98lg1shcd6r0000gn/0/SafariFamily: Operation not permitted
find: /private/var/folders/bc/gphfwdg14j97s98lg1shcd6r0000gn/0/com.apple.LaunchServices.dv: Operation not permitted
find: /private/var/folders/bc/gphfwdg14j97s98lg1shcd6r0000gn/0/com.apple.nsurlsessiond: Operation not permitted
find: /private/var/folders/bc/gphfwdg14j97s98lg1shcd6r0000gn/0/com.apple.routined: Operation not permitted
find: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000y800007k/0/com.apple.nsurlsessiond: Operation not permitted
find: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000z000007r/0/com.apple.nsurlsessiond: Operation not permitted
find: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000z000007r/0/com.apple.routined: Operation not permitted
1,0K    /home
457M    /usr
163M    /.Spotlight-V100
1,0K    /net
12K    /.DS_Store
  0B    /.PKInstallSandboxManager
  0B    /.PKInstallSandboxManager-SystemSoftware
2,6M    /bin
4,0K    /installer.failurerequests
  0B    /Network
1,1M    /sbin
  0B    /.file
  0B    /etc
  0B    /var
3,9G    /Library
  0B    /.Trashes
7,3G    /System
452K    /.fseventsd
du: /private/var/db/ConfigurationProfiles/Store: Operation not permitted
du: /private/var/folders/bc/gphfwdg14j97s98lg1shcd6r0000gn/0/SafariFamily: Operation not permitted
du: /private/var/folders/bc/gphfwdg14j97s98lg1shcd6r0000gn/0/com.apple.LaunchServices.dv: Operation not permitted
du: /private/var/folders/bc/gphfwdg14j97s98lg1shcd6r0000gn/0/com.apple.nsurlsessiond: Operation not permitted
du: /private/var/folders/bc/gphfwdg14j97s98lg1shcd6r0000gn/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_n00000z000007r/0/com.apple.nsurlsessiond: Operation not permitted
du: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000z000007r/0/com.apple.routined: Operation not permitted
4,1G    /private
15M    /.DocumentRevisions-V100
  0B    /.vol
43G    /Users
3,1G    /Applications
4,5K    /dev
10,0K    /Volumes
  0B    /tmp
  0B    /cores
MBPdeBOUSSEMART:~ emilie$ tmutil listlocalsnapshots /
[/code]
 
Bonsoir melhia

Quel est exactement ton problème ? --> tu veux supprimer les partitions BOOTCAMP et Brol et récupérer leur espace au Conteneur apfs ? - ou bien est-ce autre chose ?
 
Alors passe la commande (copier-coller) :
Bloc de code:
diskutil eraseVolume free null disk0s5 ; diskutil ap resizeContainer disk1 0b

  • la commande supprime la partition BOOTCAMP > puis récupère son espace au Conteneur apfs de dessus
  • note que j'ai laissé intacte la partition Brol de 20 Go pour l'instant --> c'est juste pour vérifier que le Conteneur apfs accepte bien les redimensionnements

Poste l'affichage retourné.
 
Alors passe la commande (copier-coller) :
Bloc de code:
diskutil eraseVolume free null disk0s5 ; diskutil ap resizeContainer disk1 0b

  • la commande supprime la partition BOOTCAMP > puis récupère son espace au Conteneur apfs de dessus
  • note que j'ai laissé intacte la partition Brol de 20 Go pour l'instant --> c'est juste pour vérifier que le Conteneur apfs accepte bien les redimensionnements
Poste l'affichage retourné.
Bloc de code:
Last login: Sun Oct 14 21:05:45 on ttys000
MBPdeBOUSSEMART:~ emilie$ diskutil eraseVolume free null disk0s5 ; diskutil ap resizeContainer disk1 0b
Unable to find disk for disk0s5
Started APFS operation
Aligning grow delta to 692 224 bytes and targeting a new physical store size of 85 000 691 712 bytes
Determined the maximum size for the targeted physical store of this APFS Container to be 85 000 691 712 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
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 85 000 691 712 bytes
Modifying partition map
Growing APFS data structures
Finished APFS operation
MBPdeBOUSSEMART:~ emilie$
 
Ça a marché. Passe la commande :
Bloc de code:
diskutil list

  • et poste le tableau des disques mis à jour --> on pourra régler le compte de la partition Brol.
 
Ça a marché. Passe la commande :
Bloc de code:
diskutil list

  • et poste le tableau des disques mis à jour --> on pourra régler le compte de la partition Brol.
Bloc de code:
Last login: Sun Oct 14 21:14:05 on ttys000
MBPdeBOUSSEMART:~ emilie$ diskutil list
/dev/disk0 (internal):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                         121.3 GB   disk0
   1:                        EFI EFI                     314.6 MB   disk0s1
   2:                 Apple_APFS Container disk1         85.0 GB    disk0s2
   3:       Microsoft Basic Data BOOTCAMP                14.9 GB    disk0s3
   4:                  Apple_HFS Brol                    20.9 GB    disk0s4

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +85.0 GB    disk1
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD            68.1 GB    disk1s1
   2:                APFS Volume Preboot                 22.0 MB    disk1s2
   3:                APFS Volume Recovery                519.0 MB   disk1s3
   4:                APFS Volume VM                      1.1 GB     disk1s4
   5:                APFS Volume boot                    987.1 KB   disk1s5

MBPdeBOUSSEMART:~ emilie$
 
Tu es sûre que c'est le nouveau tableau ? --> je vois toujours la partition BOOTCAMP intacte dans celui-ci...
 
Tu es sûre que c'est le nouveau tableau ? --> je vois toujours la partition BOOTCAMP intacte dans celui-ci...
je viens de le refaire Par contre j'ai fermé boot camp car il était ouvert je ne sais pas si ça joue
Bloc de code:
Last login: Sun Oct 14 21:48:34 on ttys000
MBPdeBOUSSEMART:~ emilie$ diskutil list
/dev/disk0 (internal):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                         121.3 GB   disk0
   1:                        EFI EFI                     314.6 MB   disk0s1
   2:                 Apple_APFS Container disk1         85.0 GB    disk0s2
   3:       Microsoft Basic Data BOOTCAMP                14.9 GB    disk0s3
   4:                  Apple_HFS Brol                    20.9 GB    disk0s4

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +85.0 GB    disk1
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD            68.1 GB    disk1s1
   2:                APFS Volume Preboot                 22.0 MB    disk1s2
   3:                APFS Volume Recovery                519.0 MB   disk1s3
   4:                APFS Volume VM                      1.1 GB     disk1s4
   5:                APFS Volume boot                    987.1 KB   disk1s5

MBPdeBOUSSEMART:~ emilie$
 
Bon ! on recommence. Passe la commande :
Bloc de code:
diskutil eraseVolume free null disk0s3

  • qui supprime la partition BOOTCAMP

Poste le retour.
 
Bon ! on recommence. Passe la commande :
Bloc de code:
diskutil eraseVolume free null disk0s3

  • qui supprime la partition BOOTCAMP

Poste le retour.
Last login: Sun Oct 14 21:48:56 on ttys000

MBPdeBOUSSEMART:~ emilie$ diskutil eraseVolume free null disk0s3

Started erase on disk0s3 BOOTCAMP

Unmounting disk

Finished erase on disk0

MBPdeBOUSSEMART:~ emilie$
 
Alors repasse un :
Bloc de code:
diskutil list

  • et poste le tableau (dans une fenêtre de code !) --> que je voie si cette partition a enfin disparu...
 
Alors repasse un :
Bloc de code:
diskutil list

  • et poste le tableau (dans une fenêtre de code !) --> que je voie si cette partition a enfin disparu...
Bloc de code:
Last login: Sun Oct 14 22:01:06 on ttys000
MBPdeBOUSSEMART:~ emilie$ diskutil list
/dev/disk0 (internal):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                         121.3 GB   disk0
   1:                        EFI EFI                     314.6 MB   disk0s1
   2:                 Apple_APFS Container disk1         85.0 GB    disk0s2
   3:                  Apple_HFS Brol                    20.9 GB    disk0s4

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +85.0 GB    disk1
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD            68.1 GB    disk1s1
   2:                APFS Volume Preboot                 22.0 MB    disk1s2
   3:                APFS Volume Recovery                519.0 MB   disk1s3
   4:                APFS Volume VM                      1.1 GB     disk1s4
   5:                APFS Volume boot                    987.1 KB   disk1s5

MBPdeBOUSSEMART:~ emilie$
 
Ah ! quand même ...

Continue avec les 2 commandes (une à la fois) :
Bloc de code:
diskutil eraseVolume free null disk0s4
diskutil ap resizeContainer disk1 0b

  • la 1ère supprime la partition Brol
  • la 2è récupère tout l'espace libre au Conteneur

Poste l'affichage retourné par la 2è + le retour d'un nouveau :
Bloc de code:
diskutil list
 
Ah ! quand même ...

Continue avec les 2 commandes (une à la fois) :
Bloc de code:
diskutil eraseVolume free null disk0s4
diskutil ap resizeContainer disk1 0b

  • la 1ère supprime la partition Brol
  • la 2è récupère tout l'espace libre au Conteneur
Poste l'affichage retourné par la 2è + le retour d'un nouveau :
Bloc de code:
diskutil list
Bloc de code:
Last login: Sun Oct 14 22:04:48 on ttys000
MBPdeBOUSSEMART:~ emilie$ diskutil eraseVolume free null disk0s4
Started erase on disk0s4 Brol
Unmounting disk
Finished erase on disk0
MBPdeBOUSSEMART:~ emilie$ diskutil ap resizeContainer disk1 0b
Started APFS operation
Aligning grow delta to 36 017 516 544 bytes and targeting a new physical store size of 121 018 208 256 bytes
Determined the maximum size for the targeted physical store of this APFS Container to be 121 017 180 160 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
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 85 000 691 712 to 121 018 208 256 bytes
Modifying partition map
Growing APFS data structures
Finished APFS operation
MBPdeBOUSSEMART:~ emilie$