10.15 Catalina Pb installation -Diagnostic Apple en boucle

Aslow

Membre confirmé
16 Juillet 2018
125
1
Bloc de code:
-bash-3.2# diskutil ap deleteContainer disk2 "Macintosh HD"
Started APFS operation on disk2
Deleting APFS Container with all of its APFS Volumes
Unmounting Volumes
Unmounting Volume "Macintosh HD - Données" on disk2s1
Unmounting Volume "Preboot" on disk2s2
Unmounting Volume "Recovery" on disk2s3
Unmounting Volume "VM" on disk2s4
Unmounting Volume "Macintosh HD" on disk2s5
Deleting Volumes
Deleting Container
Wiping former APFS disks
Switching content types
Reformatting former APFS disks
Initialized /dev/rdisk0s2 as a 279 GB case-insensitive HFS Plus volume with a 24576k journal
Mounting disk
1 new disk created or changed due to APFS operation
Disk from APFS operation: disk0s2
Finished APFS operation on disk2
-bash-3.2#
 

macomaniac

Ouroboros
Club MacG
20 Septembre 2012
81 673
24 717
Forêt de Fontainebleau
Le formatage est bien passé. Finalisation du sauvetage à présent (ce qui va prendre du temps) -->

  • a) dans la fenêtre des 4 Utilitaires macOS > lance l'option : "Ré-installer macOS" --> à destination du volume Macintosh HD reformaté > ce qui va donner une installation propre.
  • b) en fin d'installation > après un redémarrage et divers paramétrages => une page te propose de récupérer des données --> coche la case : "À partir d'un Mac, d'une sauvegarde Time Machine ou d'un Disque de démarrage" > et choisis le volume Clone en source. L'Assistant de migration (en charge ici) va te proposer de récupérer ton compte > des applications > des réglages --> n'exclus rien et lance. Une récupération par l'Assistant de migration est toujours très lente > avec un débit de copie très variable.

=> tu n'auras qu'à dire si tu as pu ré-ouvrir ta session à la fin.
 

macomaniac

Ouroboros
Club MacG
20 Septembre 2012
81 673
24 717
Forêt de Fontainebleau
Ah ! quand même... Le plan C est toujours gagnant > toutefois assez longuet en tant qu'opération d'ensemble.

- content pour toi donc !​

Reste à supprimer la partition du Clone et à récupérer son espace au Conteneur apfs qui a été recréé en haut de disque. Dans ta session > passe donc une commande :
Bloc de code:
diskutil list internal
  • et poste le tableau de la configuration interne obtenu => qu'on règle ce point.
 
  • J’aime
Réactions: litobar71

Aslow

Membre confirmé
16 Juillet 2018
125
1
Bloc de code:
ps4-936461:~ celine$ diskutil list internal
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *500.1 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk2         299.9 GB   disk0s2
   3:                 Apple_APFS Container disk1         199.8 GB   disk0s3

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +199.8 GB   disk1
                                 Physical Store disk0s3
   1:                APFS Volume Clone                   123.1 GB   disk1s1

/dev/disk2 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +299.9 GB   disk2
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD - Données  123.3 GB   disk2s1
   2:                APFS Volume Preboot                 26.0 MB    disk2s2
   3:                APFS Volume Recovery                525.8 MB   disk2s3
   4:                APFS Volume VM                      8.6 GB     disk2s4
   5:                APFS Volume Macintosh HD            11.1 GB    disk2s5

ps4-936461:~ celine$
 

macomaniac

Ouroboros
Club MacG
20 Septembre 2012
81 673
24 717
Forêt de Fontainebleau
Passe la commande (copier-coller) :
Bloc de code:
diskutil eraseVolume free null disk0s3 ; diskutil ap resizeContainer disk2 0b ; diskutil list internal
  • la commande supprime la partition de Clone > récupère son espace au Conteneur de Macintosh HD > réaffiche la configuration interne

Poste le retour.
 

Aslow

Membre confirmé
16 Juillet 2018
125
1
Bloc de code:
ps4-936461:~ celine$ diskutil eraseVolume free null disk0s3 ; diskutil ap resizeContainer disk2 0b ; diskutil list internal
The target disk is in use by APFS as a Physical Store; use diskutil apfs deleteContainer
Started APFS operation
Aligning grow delta to 134 217 728 bytes and targeting a new physical store size of 299 999 997 952 bytes
Determined the maximum size for the targeted physical store of this APFS Container to be 299 999 997 952 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 (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 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 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
The volume /dev/disk0s2 appears to be OK
Storage system check exit code is 0
Growing APFS Physical Store disk0s2 from 299 865 780 224 to 299 999 997 952 bytes
Modifying partition map
Growing APFS data structures
Finished APFS operation
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *500.1 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk2         300.0 GB   disk0s2
   3:                 Apple_APFS Container disk1         199.8 GB   disk0s3

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +199.8 GB   disk1
                                 Physical Store disk0s3
   1:                APFS Volume Clone                   123.2 GB   disk1s1

/dev/disk2 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +300.0 GB   disk2
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD - Données  126.9 GB   disk2s1
   2:                APFS Volume Preboot                 26.0 MB    disk2s2
   3:                APFS Volume Recovery                525.8 MB   disk2s3
   4:                APFS Volume VM                      8.6 GB     disk2s4
   5:                APFS Volume Macintosh HD            11.1 GB    disk2s5

ps4-936461:~ celine$
 

macomaniac

Ouroboros
Club MacG
20 Septembre 2012
81 673
24 717
Forêt de Fontainebleau
Ah ! oubli de ma part : la partition à supprimer est elle aussi de type apfs. Il faut donc une procédure de suppression dédiée.

- passe la commande éditée :​
Bloc de code:
diskutil ap deleteContainer disk1 ; diskutil eraseVolume free null disk0s3 ; diskutil ap resizeContainer disk2 0b ; diskutil list internal
  • qui rajoute en tête une commande de suppression du Conteneur apfs du bas => ce qui reformate sa partition dans le type "Apple_HFS" standard. La commande initiale prend alors la suite de manière valide.

Poste le retour.
 
  • Wow
Réactions: litobar71

Aslow

Membre confirmé
16 Juillet 2018
125
1
Bloc de code:
ps4-936461:~ celine$ diskutil ap deleteContainer disk1 ; diskutil eraseVolume free null disk0s3 ; diskutil ap resizeContainer disk2 0b ; diskutil list internal
Started APFS operation on disk1
Deleting APFS Container with all of its APFS Volumes
Unmounting Volumes
Unmounting Volume "Clone" on disk1s1
Deleting Volumes
Deleting Container
Wiping former APFS disks
Switching content types
Reformatting former APFS disks
Initialized /dev/rdisk0s3 as a 186 GB case-insensitive HFS Plus volume with a 16384k 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 199 898 107 904 bytes and targeting a new physical store size of 499 898 105 856 bytes
Determined the maximum size for the targeted physical store of this APFS Container to be 499 897 077 760 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 (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 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 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
The volume /dev/disk0s2 appears to be OK
Storage system check exit code is 0
Growing APFS Physical Store disk0s2 from 299 999 997 952 to 499 898 105 856 bytes
Modifying partition map
Growing APFS data structures
Finished APFS operation
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *500.1 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk2         499.9 GB   disk0s2

/dev/disk2 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +499.9 GB   disk2
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD - Données  127.2 GB   disk2s1
   2:                APFS Volume Preboot                 26.0 MB    disk2s2
   3:                APFS Volume Recovery                525.8 MB   disk2s3
   4:                APFS Volume VM                      8.6 GB     disk2s4
   5:                APFS Volume Macintosh HD            11.1 GB    disk2s5

ps4-936461:~ celine$