10.14 Mojave Probleme demarrage bloqué sur la pomme

Vinciane1930

Membre confirmé
9 Novembre 2020
64
1
32
Bonjour,

j'ai un problème au démarrage de mon mac, je reste bloquée sur la pomme sans barre de chargement qui s'affiche et il ne se passe rien :( !
Voici mon diskutil
 

Fichiers joints

  • IMG_20210119_151501.jpg
    IMG_20210119_151501.jpg
    190,4 KB · Affichages: 183
Bonjour Vinciane

Passe la commande :
Bloc de code:
diskutil verifyVolume disk2
  • qui vérifie l'apfs du Conteneur et de ses volumes

Poste le retour => qu'on voie s'il n'y a pas d'anomalie de ce côté-là.
 
Il y a beaucoup d'erreurs dans l'apfs. Tente la commande :
Bloc de code:
diskutil repairVolume disk2
  • qui lance une réparation de l'apfs

Poste le retour.
 
Bloc de code:
-bash-3.2# diskutil repairVolume disk2
Started file system repair on disk2
Repairing storage system
Performing fsck_apfs -y -x /dev/disk1s2
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 was formatted by hfs_convert (945.200.129) and last modified by apfs_kext (945.275.7)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking snapshot 1 of 3
error: directory valence check: directory (oid 0xc0043): nchildren (5) does not match drec count (2)
warning: snapshot fsroot tree corruptions are not repaired; they'll go away once the snapshot is deleted
Checking snapshot 2 of 3
error: directory valence check: directory (oid 0xc0043): nchildren (5) does not match drec count (2)
Checking snapshot 3 of 3
error: directory valence check: directory (oid 0xc0043): nchildren (5) does not match drec count (2)
Checking the extent ref tree
Checking the fsroot tree
error: directory valence check: directory (oid 0xc0043): nchildren (5) does not match drec count (2)
Checking volume
Checking the APFS volume superblock
The volume Preboot was formatted by hfs_convert (945.200.129) and last modified by apfs_kext (945.275.7)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the extent ref tree
Checking the fsroot tree
warning: directory valence check: directory (oid 0xc0043): orphan directory record
warning: directory valence check: directory (oid 0xc0043): orphan directory record
warning: directory valence check: directory (oid 0xc0043): orphan directory record
Checking volume
Checking the APFS volume superblock
The volume Recovery was formatted by diskmanagementd (945.200.129) and last modified by apfs_kext (945.275.7)
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.200.129) and last modified by apfs_kext (945.275.8)
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
Performing deferred repairs
error: nchildren of inode object (id 786499) does not match expected value
Restarting after deferred repairs
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 was formatted by hfs_convert (945.200.129) and last modified by apfs_kext (945.275.7)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking snapshot 1 of 3
Checking snapshot 2 of 3
Checking snapshot 3 of 3
Checking the extent ref tree
Checking the fsroot tree
Checking volume
Checking the APFS volume superblock
The volume Preboot was formatted by hfs_convert (945.200.129) and last modified by apfs_kext (945.275.7)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the extent ref tree
Checking the fsroot tree
warning: directory valence check: directory (oid 0xc0043): orphan directory record
warning: directory valence check: directory (oid 0xc0043): orphan directory record
warning: directory valence check: directory (oid 0xc0043): orphan directory record
Checking volume
Checking the APFS volume superblock
The volume Recovery was formatted by diskmanagementd (945.200.129) and last modified by apfs_kext (945.275.7)
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.200.129) and last modified by apfs_kext (945.275.8)
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/disk1s2 appears to be OK
Storage system check exit code is 0
Finished file system repair on disk2
-bash-3.2#
 
Il y a eu largement réparation de l'apfs -->

- veux-tu redémarrer normalement sur Macintosh HD pour voir si ça fonctionne cette fois ?​
 
Bon : d'accord. Éteins le Mac puis rallume-le avec ⌘R pressées pour revenir dans la session de secours.

- j'ai vu que 3 snapshots (instantanés apfs imageant des états passés du volume) étaient associés à Macintosh HD. Passe la commande :​
Bloc de code:
diskutil ap listSnaps disk2s1
  • la commande affiche les snapshots associés au volume de démarrage

Poste le retour => qu'on voie les dates de prises de ces snapshots. Ils permettent en effet une réversion temporelle du volume à la configuration de telle ou telle date.
 
Bloc de code:
-bash-3.2# diskutil ap listSnaps disk2s1
Snapshots for disk2s1 (3 found)
|
+-- Name: com.apple.TimeMachine.2020-12-29-210020
|   XID:  1365922
|   NOTE: This snapshot sets the minimal allowed size of APFS Container disk2
|
+-- Name: com.apple.TimeMachine.2020-12-30-175003
|   XID:  1367746
|
+-- Name: com.apple.TimeMachine.2020-12-30-184920
    XID:  1368144
-bash-3.2#
 
Les snapshots datent du 29 décembre 2020 (21H) > et 30 décembre (17H 50' & 18H 49'). Opter pour une réversion temporelle de Macintosh HD à une de ces dates > si ça marchait => rétrograderait le volume à la configuration de cette date. Toutes les modifications ultérieures (ajouts de fichiers et installations d'applications notamment) seraient supprimées.

- quel est ton avis ? - car il y a un plan B de sauvetage plus long (la réversion via un snapshot ne prend pas 1 minute) > mais sauvegardant l'état actuel du volume.​
 
D'accord -->

- dans la fenêtre des 4 Utilitaires macOS > lance l'option : "Récupérer une sauvegarde Time Machine" (aucun disque externe qui porterait une sauvegarde TM - si tu en avais - branché à ce moment-là). À l'écran qui s'affiche => choisis Macintosh HD comme cible de la récupération. Les 3 snapshots vont alors être affichés comme sources de restauration possibles de Macintosh HD. Sélectionne 1 des 3 dates => et lance la restauration.​
- régulièrement : le volume Macintosh HD se trouve restauré en moins d'1 minute à sa configuration temporelle de la date choisie > puis le Mac redémarré automatiquement sur le volume restauré.​

Tu n'auras qu'à relater ce qui s'est passé...
 
J'ai restauré a la date du 30, ca n'a même pas duré une minute en effet puis comme prévu le mac a redémarré... et de nouveau je suis bloquée sur la pomme
 
Normalement > Macintosh HD devrait avoir récupéré un Système démarrable. Je me demande bien ce qui bloque le démarrage.

- le symbole de la  signale que le lanceur de l'OS du volume vient de charger en RAM le moteur du Système (le kernel) > avec injection à la clé des extensions => sous forme de processus kernel_task. Ce processus-moteur du kernel supporté en RAM => est censé alors compléter l'initialisation du Système fondamental > puis le lancement de l'OS proprement dit. Ce qui se signale à l'écran sous forme de jauge horizontale avec progression d'une barre de chargement. Ce qui n'a pas lieu > pour une raison qui m'échappe.​

Lance l'option : "Réinstaller macOS" => et choisis Macintosh HD en destination lorsque cela te sera proposé. Tu n'auras qu'à dire comment s'est passé cette restauration logicielle. Si ça plantait encore => j'ai donc en réserve mon plan B qui implique une opération plus longue (à voir demain alors).
 
Visiblement pas besoin de passer par le plan b ! Merci de ton aide encore une fois, troisième fois que tu sauves mon ordi, je t'en suis très reconnaissante !!! :)