iMac Comment supprimer une partition Bootcamp / restaurer en une seule partition OS

La partition a été supprimée et son espace récupéré au volume iMac 21 --> problème résolu !
 
@Pasc04
Relis la fin de la réponse #2 et n'utilise pas le gras pour les caractères, j'ai corrigé. Tu as su le faire en réponse #3.
 
Bonjour,
J'ai un problème similaire: supprimer la partition bootcamp de mon disque mais lorsque je passe par l'assistant bootcamp cela ne fonctionne pas. Je suis allé dans l'utilitaire de disque, mais j'ai peut être fait une mauvaise manip.
Avant d'aller plus loin je préfère avoir un avis... Pouvez-vous m'aider?
Merci!

Voici le résultat de ma commande diskutil list:

diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk2 899.0 GB disk0s2
3: Apple_APFS Container disk3 101.0 GB disk0s3

/dev/disk1 (internal):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme 28.0 GB disk1
1: EFI EFI 314.6 MB disk1s1
2: Apple_APFS Container disk2 27.7 GB disk1s2

/dev/disk2 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +926.7 GB disk2
Physical Stores disk1s2, disk0s2
1: APFS Volume Macintosh HD 419.1 GB disk2s1
2: APFS Volume Preboot 42.9 MB disk2s2
3: APFS Volume Recovery 509.7 MB disk2s3
4: APFS Volume VM 2.1 GB disk2s4

/dev/disk3 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +101.0 GB disk3
Physical Store disk0s3
1: APFS Volume BOOTCAMP 1.5 MB disk3s1

/dev/disk4 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *2.0 TB disk4
1: EFI EFI 209.7 MB disk4s1
2: Apple_HFS TOSHIBA EXT 2.0 TB disk4s2
 
Bonjour Relax

Passe la commande (copier-coller direct - copie-la bien jusqu'au list final) :
Bloc de code:
diskutil ap deleteContainer disk3 ; diskutil eraseVolume free null disk0s3 ; diskutil ap resizeContainer disk2 0b ; diskutil list

  • cette commande concaténée : a) supprime l'apfs du bas > ce qui reformate le volume BOOTCAMP en le renommant Untitled > b) supprime la partition de ce volume reformaté en queue de HDD > c) récupère l'espace libéré au Conteneur apfs collectif du Fusion Drive (et spécifiquement à la partition apfs du HDD qui était la donneuse d'espace au départ) > d) réaffiche le tableau des disques

Poste l'ensemble de l'affichage retourné > mais veille à faire ton coller dans une fenêtre de code par le procédé suivant -->
  • dans cette page de MacGé > presse le bouton
    1555929346-524315-original.png
    ici :
    1555929346-521520-original.png

    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é)
 
  • J’aime
Réactions: RelaxDMJ
Merci Macomaniac!
J'ai fait l'opération proposée.
Voici les résultats:

Finished APFS operation
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk2 1000.0 GB disk0s2

/dev/disk1 (internal):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme 28.0 GB disk1
1: EFI EFI 314.6 MB disk1s1
2: Apple_APFS Container disk2 27.7 GB disk1s2

/dev/disk2 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +1.0 TB disk2
Physical Stores disk1s2, disk0s2
1: APFS Volume Macintosh HD 419.4 GB disk2s1
2: APFS Volume Preboot 42.9 MB disk2s2
3: APFS Volume Recovery 509.7 MB disk2s3
4: APFS Volume VM 4.3 GB disk2s4
 
Poste l'ensemble de l'affichage retourné > mais veille à faire ton coller dans une fenêtre de code par le procédé suivant -->
  • dans cette page de MacGé > presse le bouton
    1555929346-524315-original.png
    ici :
    1555929346-521520-original.png

    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é)
Désolé, j'ai l'impression que la manip pour faire mon collé n'a pas fonctionné...
 
Désolé, j'ai l'impression que la manip pour faire mon collé n'a pas fonctionné...
Ton problème est résolu : partition BOOTCAMP supprimée et espace récupéré.
Merci beaucoup macomaniac!
C'est bien ce que je pressentais...

Je découvre le forum, un grand merci pour tes interventions toujours très judicieuses et complètes!
 
Bonjour à tous,

J'ai le même problème, avec une partition bootcamp vide, à la suite de l'acquisition d'un macbook reconditionné,

J'aimerais la supprimer et retrouver un seul et unique volume "Macintosh HD", mais l'assistant Bootcamp ne m'affiche pas l'option...

En rentrant la commande "diskutil", voici ce que j'obtiens:

Bloc de code:
MacBook-Pro-de-user:~ mathieu$ diskutil list
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *121.3 GB   disk0
   1:                        EFI EFI                     314.6 MB   disk0s1
   2:                 Apple_APFS Container disk2         76.0 GB    disk0s2
   3:                 Apple_APFS Container disk1         45.0 GB    disk0s3

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +45.0 GB    disk1
                                 Physical Store disk0s3
   1:                APFS Volume BOOTCAMP                864.3 KB   disk1s1
   2:                APFS Volume Preboot                 46.3 MB    disk1s2
   3:                APFS Volume Recovery                20.5 KB    disk1s3

/dev/disk2 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +76.0 GB    disk2
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD - Données  6.2 GB     disk2s1
   2:                APFS Volume Preboot                 82.8 MB    disk2s2
   3:                APFS Volume Recovery                528.5 MB   disk2s3
   4:                APFS Volume VM                      1.1 GB     disk2s4
   5:                APFS Volume Macintosh HD            10.7 GB    disk2s5

MacBook-Pro-de-user:~ mathieu$

Quelqu'un pourrait m'aider ? Merci d'avance !
 
Bonsoir balsam

Passe la commande (copier-coller - copie-la bien jusqu'au list final) :
Bloc de code:
diskutil ap deleteContainer disk1 ; diskutil eraseVolume free null disk0s3 ; diskutil ap resizeContainer disk2 0b ; diskutil list

  • cette commande concaténée : supprime le Conteneur du bas (ce qui reformate un volume Untitled standard sur la partition du bas) > supprime la partition du bas > récupère son espace au Conteneur du haut (et à sa partition de base) > réaffiche le tableau des disques

Poste le retour intégral de la commande (que je voie où - s'il y avait un blocage à un point donné).
 
Hello,

Merci beaucoup de ta réponse,

Voilà le code affiché:

Bloc de code:
Last login: Thu Nov 21 19:53:34 on console

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-user:~ mathieu$ diskutil ap deleteContainer disk1 ; diskutil eraseVolume free null disk0s3 ; diskutil ap resizeContainer disk2 0b ; diskutil list
Started APFS operation on disk1
Deleting APFS Container with all of its APFS Volumes
Unmounting Volumes
Unmounting Volume "BOOTCAMP" on disk1s1
Unmounting Volume "Preboot" on disk1s2
Unmounting Volume "Recovery" on disk1s3
Deleting Volumes
Deleting Container
Wiping former APFS disks
Switching content types
Reformatting former APFS disks
Initialized /dev/rdisk0s3 as a 42 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 disk1
Started erase on disk0s3 Untitled
Unmounting disk
Finished erase on disk0
Started APFS operation
Aligning grow delta to 45 017 444 352 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 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 diskmanagementd (945.275.7) and last modified by apfs_kext (1412.41.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.30.60) and last modified by apfs_kext (1412.41.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.30.60) and last modified by apfs_kext (1412.41.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.57.19) and last modified by apfs_kext (1412.41.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.41.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/disk0s2 appears to be OK
Storage system check exit code is 0
Growing APFS Physical Store disk0s2 from 76 000 763 904 to 121 018 208 256 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                     314.6 MB   disk0s1
   2:                 Apple_APFS Container disk2         121.0 GB   disk0s2

/dev/disk2 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +121.0 GB   disk2
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD - Données  6.9 GB     disk2s1
   2:                APFS Volume Preboot                 82.8 MB    disk2s2
   3:                APFS Volume Recovery                528.5 MB   disk2s3
   4:                APFS Volume VM                      1.1 GB     disk2s4
   5:                APFS Volume Macintosh HD            10.7 GB    disk2s5