Sujet unique Si « le serveur de récupération n’a pas pu être contacté » ou qu’il est « impossible de télécharger les composants supplémentaires »

Diagnostic :

  • volume monté en lecture & écriture > réinstallable
  • distribution des dossiers-Système complète + un dossier d'installation d'OS pré-Sierra OS X Install Data + un dossier d'installation de High Sierra macOS Install Data
  • chemin de démarrage pointant sur le démarreur boot.efi de l'OS d'installation recelé dans le dossier macOS Install Data > et pas sur celui de l'OS en place

Conclusion
: le programme d'installation a planté juste après qu'il y ait eu changement de chemin de démarrage > sans avoir eu le temps de toucher quoi que ce soit à l'OS en place. Je te donne 99% de chances après quelques manipulations dans le Terminal de réouvrir directement ta session. Tu es dans un des cas de figures les plus favorables après un plantage d'installation.

----------

Commence par passer les commandes :
Bloc de code:
rm -rf /Volumes/"Macintosh HD"/"macOS Install Data"
rm -rf /Volumes/"Macintosh HD"/"OS X Install Data"

  • mets les intitulés avec des "" ; pas d'espace entre HD" et /"macOS--- ou "OS---
  • les commandes suppriment les 2 dossiers d'installation ; elles passent sans commentaire si elles passent - sinon elles retournent une erreur

Cela fait > repasse une commande :
Bloc de code:
ls /Volumes/"Macintosh HD"

  • et poste la liste des dossiers --> pour vérifier que macOS Install Data & OS X Install Data ont bien été supprimés.
 
Et voici le résultat:

Bloc de code:
-bash-3.2# rm -rf /Volumes/"Macintosh HD"/"macOS Install Data"
-bash-3.2# rm -rf/Volumes/"Macintosh HD"/"OS X Install Data"
rm: illegal option -- /
usage: rm [-f | -i] [-dPRrvW] file ...
       unlink file
-bash-3.2# rm -rf /Volumes/"Macintosh HD"/"OS X Install Data"
-bash-3.2# ls /Volumes/"Macintosh HD"
.DS_Store                System
.DocumentRevisions-V100            Users
.HFS+ Private Directory Data?        Volumes
.IAProductInfo                bin
.PKInstallSandboxManager        cores
.PKInstallSandboxManager-SystemSoftware    dev
.Spotlight-V100                etc
.Trashes                home
.dbfseventsd                installer.failurerequests
.file                    net
.fseventsd                private
.vol                    sbin
Applications                tmp
Informations sur l’utilisateur        usr
Library                    var
Network
-bash-3.2#
 
Les 2 dossiers ont bien été nettoyés.

À présent > 2è étape --> restauration d'un chemin de démarrage sur le démarreur boot.efi de l'OS en place.

Il s'agit que tu passes la très longue commande -->
Bloc de code:
bless --folder /Volumes/"Macintosh HD"/System/Library/CoreServices --file /Volumes/"Macintosh HD"/System/Library/CoreServices/boot.efi

  • voici comment tu vas t'y prendre pour saisir commodément cette commande : par un "copier-coller à rebours" ! --> commence par venir ici avec Safari > copie ma commande (déclenche le tapis roulant horizontal pour la copier jusqu'au boot.efi final) > quitte Safari > lance le Terminal > colle la commande > exécute-la (tu noteras que > dans la session de secours > les applications se lancent en mode "alternatif" et pas "parallèle" --> il faut quitter le Terminal > pour lancer Safari et vice-versa)
  • la commande inscrit un chemin de démarrage sur le boot.efi de l'OS en place ; elle passe sans commentaire

Cela fait > repasse la commande informative :
Bloc de code:
bless --info /Volumes/"Macintosh HD"

  • qui affiche le chemin de démarrage actif du volume

=> poste ce tableau ici.
 
Bloc de code:
-bash-3.2# bless --folder /Volumes/"Macintosh HD"/System/Library/CoreServices --file /Volumes/"Macintosh HD"/System/Library/CoreServices/boot.efi
-bash-3.2# bless --info /Volumes/"Macintosh HD"
         116 => Blessed System File is <Preboot>/A3576D69-CFA4-3852-B25E-8B0C958E560D/System/Library/CoreServices/boot.efi
          23 => Blessed System Folder is <Preboot>/A3576D69-CFA4-3852-B25E-8B0C958E560D/System/Library/CoreServices
The blessed volume in this APFS container is "/Volumes/Macintosh HD"
-bash-3.2#
 
Parfait !

Maintenant 3è étape : mise à jour des informations de démarrage pour le volume Macintosh HD -->

- passe les commandes :
Bloc de code:
kextcache -u /Volumes/"Macintosh HD"
diskutil ap updatePreboot disk2s1

  • la 1ère met à jour le cache prelinkedkernel chargé par le démarreur boot.efi au démarrage ; elle passe sans commentaire
  • la 2è met à jour les informations de pré-démarrage pour l'EFI dans le volume auxiliaire Preboot ; elle passe avec un très long affichage

Poste l'affichage retourné par la 2è commande.
 
Bloc de code:
-bash-3.2# diskutil ap updatePreboot disk2s1
Started APFS operation
UpdatePreboot: Commencing operation to update the Preboot Volume for Target Volume disk2s1 Macintosh HD
UpdatePreboot: The Target Volume's OpenDirectory (non-special kind) user count is 1 and the Recovery (any of 3 kinds) user count is 0
UpdatePreboot: There are OpenDirectory user(s) but no Recovery user(s)
UpdatePreboot: The above is an abort condition for some purposes but not UpdatePreboot; continuing
UpdatePreboot: No custom Open Directory path given
UpdatePreboot: Using GivenVolumeMountPointOrNilIfNotMounted for the MacOSSearchPath
UpdatePreboot: Using MacOSSearchPath's child dslocal path for the OpenDirectorySearchPath
UpdatePreboot: MacOS Search Path = (nil=NotMounted) = /Volumes/Macintosh HD
UpdatePreboot: Open Directory Database Search Path = (nil=MacOSSearchPathNotMounted) = /Volumes/Macintosh HD/var/db/dslocal/nodes/Default
UpdatePreboot: Preserve EncryptedRootPList When No-OD = 0
UpdatePreboot: Successfully opened Open Directory database; setting AuthODNodeOrNil accordingly
UpdatePreboot: Mounting and ensuring as mounted the related Preboot Volume
UpdatePreboot: Preboot Volume = disk2s2 Preboot
UpdatePreboot: Taking mount hold on Preboot Volume
UpdatePreboot: Preboot Volume Target Directory = /Volumes/Preboot/A3576D69-CFA4-3852-B25E-8B0C958E560D
UpdatePreboot: Considering APFS Crypto User 680791D1-5769-4977-8A35-DD2BBC7DFA5A
UpdatePreboot: Defaulting and requiring that this be an Open Directory User
UpdatePreboot: Treating this APFS Crypto User to be, and requiring to match, an Open Directory User
UpdatePreboot: Correlated APFS Volume Crypto User with Open Directory User 680791D1-5769-4977-8A35-DD2BBC7DFA5A aka "Antoine"
UpdatePreboot: Reading JPEG user picture of length 37153 from Open Directory database
UpdatePreboot: All required data for this Open Directory user has been obtained
UpdatePreboot: Parameters for EFILoginUserGraphics count=1 "unlockOptions"="0"
UpdatePreboot: Before rendering EFILoginUserGraphics user (graphics/audio) resources Name=Antoine PictureSize=(NoneIsOK)=37153 HintOptional=(null)
UpdatePreboot: After rendering EFILoginUserGraphics DataObj=(NullIsError)=0x7ff52551e930 DataLen=470933
UpdatePreboot: Before rendering EFILoginUserNamesData resources UserArrayCount=4
UpdatePreboot: After rendering EFILoginUserNamesData DataObj=(NullMeansWeWillSkip)=0x7ff525518d70 ItemCount=4
UpdatePreboot: Successfully added a macOS OD User to the building dictionary
UpdatePreboot: Processed APFS Volume Crypto User 680791D1-5769-4977-8A35-DD2BBC7DFA5A
UpdatePreboot: Error for this processed user was 0
UpdatePreboot: Error among all processed users was 0
UpdatePreboot: The Encrypted Root PList File content is ready
UpdatePreboot: Not encrypting the Encrypted Root PList File content
UpdatePreboot: Encrypted Root PList File to be created path will or would be /Volumes/Preboot/A3576D69-CFA4-3852-B25E-8B0C958E560D/System/Library/Caches/com.apple.corestorage/EncryptedRoot.plist.wipekey
UpdatePreboot: Proceeding to write Encrypted Root PList, creating a path as neccessary
UpdatePreboot: Successfully wrote Encrypted Root PList File
UpdatePreboot: DiskManagement Info PList File path will be /Volumes/Preboot/A3576D69-CFA4-3852-B25E-8B0C958E560D/var/db/CryptoUserInfo.plist
UpdatePreboot: Successfully wrote DiskManagement Info PList File
UpdatePreboot: Checking for existence of Static EFI Resources directory /Volumes/Macintosh HD/usr/standalone/i386/EfiLoginUI
UpdatePreboot: Before copying contents of directory of Static EFI Resources at /Volumes/Macintosh HD/usr/standalone/i386/EfiLoginUI into directory /Volumes/Preboot/A3576D69-CFA4-3852-B25E-8B0C958E560D/usr/standalone/i386
 
Bloc de code:
UpdatePreboot: After copying error=(ZeroMeansSuccess)=0
UpdatePreboot: Looking for locale list on macOS on Target Volume
UpdatePreboot: Locale list item count is 1
UpdatePreboot: Before rendering EFILoginInterfaceGraphics global localized resources
UpdatePreboot: After rendering EFILoginInterfaceGraphics FileNamesAndDataObj=(NullIsError)=0x7ff525526d30 ItemCount=10
UpdatePreboot: Writing localized EFI graphics resource file /Volumes/Preboot/A3576D69-CFA4-3852-B25E-8B0C958E560D/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/loginui.efires
UpdatePreboot: Successfully wrote EFI resource file
UpdatePreboot: Writing localized EFI graphics resource file /Volumes/Preboot/A3576D69-CFA4-3852-B25E-8B0C958E560D/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/flag_picker.efires
UpdatePreboot: Successfully wrote EFI resource file
UpdatePreboot: Writing localized EFI graphics resource file /Volumes/Preboot/A3576D69-CFA4-3852-B25E-8B0C958E560D/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/preferences.efires
UpdatePreboot: Successfully wrote EFI resource file
UpdatePreboot: Writing localized EFI graphics resource file /Volumes/Preboot/A3576D69-CFA4-3852-B25E-8B0C958E560D/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/battery.efires
UpdatePreboot: Successfully wrote EFI resource file
UpdatePreboot: Writing localized EFI graphics resource file /Volumes/Preboot/A3576D69-CFA4-3852-B25E-8B0C958E560D/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/appleLogo.efires
UpdatePreboot: Successfully wrote EFI resource file
UpdatePreboot: Writing localized EFI graphics resource file /Volumes/Preboot/A3576D69-CFA4-3852-B25E-8B0C958E560D/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/unknown_userUI.efires
UpdatePreboot: Successfully wrote EFI resource file
UpdatePreboot: Writing localized EFI graphics resource file /Volumes/Preboot/A3576D69-CFA4-3852-B25E-8B0C958E560D/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/disk_passwordUI.efires
UpdatePreboot: Successfully wrote EFI resource file
UpdatePreboot: Writing localized EFI graphics resource file /Volumes/Preboot/A3576D69-CFA4-3852-B25E-8B0C958E560D/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/guest_userUI.efires
UpdatePreboot: Successfully wrote EFI resource file
UpdatePreboot: Writing localized EFI graphics resource file /Volumes/Preboot/A3576D69-CFA4-3852-B25E-8B0C958E560D/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/Lucida13.efires
UpdatePreboot: Successfully wrote EFI resource file
UpdatePreboot: Writing localized EFI graphics resource file /Volumes/Preboot/A3576D69-CFA4-3852-B25E-8B0C958E560D/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/Lucida13White.efires
UpdatePreboot: Successfully wrote EFI resource file
UpdatePreboot: Generating AdminUserList for Recovery purposes
UpdatePreboot: Considering admin user FFFFEEEE-DDDD-CCCC-BBBB-AAAA00000000
UpdatePreboot: Considering admin user 680791D1-5769-4977-8A35-DD2BBC7DFA5A
UpdatePreboot: Error among all processed admin users was 0
UpdatePreboot: Writing Admin User Info File to path /Volumes/Preboot/A3576D69-CFA4-3852-B25E-8B0C958E560D/var/db/AdminUserRecoveryInfo.plist
UpdatePreboot: Successfully wrote Admin User Info File
UpdatePreboot: Checking for existence of Secure Access Token file /Volumes/Macintosh HD/var/db/dslocal/nodes/Default/secureaccesstoken.plist
UpdatePreboot: Before copying Secure Access Token file /Volumes/Macintosh HD/var/db/dslocal/nodes/Default/secureaccesstoken.plist into directory /Volumes/Preboot/A3576D69-CFA4-3852-B25E-8B0C958E560D/var/db
UpdatePreboot: After copying error=(ZeroMeansSuccess)=0
UpdatePreboot: Releasing mount hold on Preboot Volume
UpdatePreboot: Unmounting Preboot Volume
UpdatePreboot: Did unmount Preboot Volume err=(ignored)=0
UpdatePreboot: Doing memory releases
UpdatePreboot: Exiting Update Preboot operation with overall error=(ZeroMeansSuccess)=0
Finished APFS operation
-bash-3.2#
 
C'est bon : pas d'erreur. On termine -->

- va à : Menu  > Disque de démarrage > sélectionne Macintosh HD > redémarre dessus -->

  • je te souhaite une bonne ré-ouverture de session-
    361608_original.png
 
T'es un génie mec! Merci infiniment pour ta patience et ta pédagogie. J'aimerais avoir ta logique! Bonne soirée, ciao :)!
 
Bonjour a tous,
je viens sur ce sujet car si aussi un problème d'installation
alors j'ai un macbook uniboody mi 2010 j'ai mis une crucial SSD Bx100 de 500GO j'avais encore la version 10.10 mais aujourd'hui je me suis laissée tenter par l'apple store et mis à jour gratuit sierra.
sauf qu'il me met un messsage d'erreur comme quoi ça n'a pas pu etre installé et je n'arrivais pas à accèder à mon ancien bureau je suis bloqué à l'installation qui se répète sans cesse.
du coup, je pense que j'ai fait une bétise, j'ai effacer mon disque dur et j'ai créer à l'aide de mon Imac qui est sur 10,11,5 une clée pour faire une instllation propre, mais toujours le meme probleme.
j'ai donc mis la requete sur le terminal, voilà ce que j'ai.
pouvez vous m'aider si vous plait.
merci d'avance des réponses.
bonne journée

Bloc de code:
-bash-3.2# diskutil list
/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_HFS Sans titre              499.2 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3

/dev/disk1 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        +2.1 GB     disk1
   1:                  Apple_HFS OS X Base System        2.0 GB     disk1s1

/dev/disk2 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +5.2 MB     disk2

/dev/disk3 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +524.3 KB   disk3

/dev/disk4 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +524.3 KB   disk4

/dev/disk5 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +524.3 KB   disk5

/dev/disk6 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +2.1 MB     disk6

/dev/disk7 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +524.3 KB   disk7

/dev/disk8 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +524.3 KB   disk8

/dev/disk9 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +6.3 MB     disk9

/dev/disk10 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +2.1 MB     disk10

/dev/disk11 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +1.0 MB     disk11

/dev/disk12 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +2.1 MB     disk12

/dev/disk13 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +524.3 KB   disk13

/dev/disk14 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +524.3 KB   disk14

/dev/disk15 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +1.0 MB     disk15

/dev/disk16 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +6.3 MB     disk16

/dev/disk17 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +524.3 KB   disk17

-bash-3.2#
 
Bonjour nanou

Tu vas poursuivre l'enquête en passant les commandes :
Bloc de code:
diskutil info /Volumes/"Sans titre"
ls /Volumes/"Sans titre"
bless --info /Volumes/"Sans titre"

  • respecte tous les espaces ; mets "Sans titre" avec des "" ; le "l" de "ls" est la minuscule de "L"
  • la 1ère retourne un tableau d'information sur le volume
  • la 2è liste ses dossiers de premier niveau
  • la 3è affiche la chemin de démarrage inscrit sur son en-tête

Poste ces tableaux --> que je me rende compte de la situation dans le volume Sans titre.
 
je mets au fur et à mesure les résulatats

1er
Bloc de code:
-bash-3.2# diskutil info /Volumes/"Sans titre"
   Device Identifier:        disk0s2
   Device Node:              /dev/disk0s2
   Whole:                    No
   Part of Whole:            disk0

   Volume Name:              Sans titre
   Mounted:                  Yes
   Mount Point:              /Volumes/Sans titre

   Partition Type:           Apple_HFS
   File System Personality:  Journaled HFS+
   Type (Bundle):            hfs
   Name (User Visible):      Mac OS Extended (Journaled)
   Journal:                  Journal size 40960 KB at offset 0xe8e000
   Owners:                   Enabled

   OS Can Be Installed:      Yes
   Recovery Disk:            disk0s3
   Media Type:               Generic
   Protocol:                 SATA
   SMART Status:             Verified
   Volume UUID:              19F73F19-F16D-3366-81B1-D08320DCCDFA
   Disk / Partition UUID:    72AD9883-EB0D-45BB-81A2-151FF4586F6C

   Disk Size:                499.2 GB (499248103424 Bytes) (exactly 975093952 512-Byte-Units)
   Device Block Size:        512 Bytes

   Volume Total Space:       499.2 GB (499248103424 Bytes) (exactly 975093952 512-Byte-Units)
   Volume Used Space:        5.5 GB (5486628864 Bytes) (exactly 10716072 512-Byte-Units) (1.1%)
   Volume Available Space:   493.8 GB (493761474560 Bytes) (exactly 964377880 512-Byte-Units) (98.9%)
   Allocation Block Size:    4096 Bytes

   Read-Only Media:          No
   Read-Only Volume:         No

   Device Location:          Internal
   Removable Media:          Fixed

   Solid State:              Yes

-bash-3.2#

2 eme
Bloc de code:
-bash-3.2# "l"s /Volumes/"Sans titre"
.IAProductInfo        macOS Install Data
.OSInstallerMessages    private
-bash-3.2#

3eme
Bloc de code:
-bash-3.2# bless --info /Volumes/"Sans titre"
finderinfo[0]:  43058 => Blessed System Folder is /Volumes/Sans titre/macOS Install Data
finderinfo[1]:  43063 => Blessed System File is /Volumes/Sans titre/macOS Install Data/boot.efi
finderinfo[2]:      0 => Open-folder linked list empty
finderinfo[3]:      0 => No alternate OS blessed file/folder
finderinfo[4]:      0 => Unused field unset
finderinfo[5]:  43058 => OS X blessed folder is /Volumes/Sans titre/macOS Install Data
64-bit VSDB volume id:  0xCC5688EC4062B215
-bash-3.2#

si j'essaye de comprendre c'est qu'il ne trouve pas le chemin?
merci de ton aide
 
Dernière édition:
Il n'y a dans le volume Sans titre qu'un dossier d'installation de 5,2 Go = macOS Install Data + un dossier private. Le chemin de démarrage du volume pointe sur le démarreur boot.efi de l'OS d'installation contenu dans le dossier macOS Install Data.

Je te propose de reformater le volume Sans titre par la commande suivante :
Bloc de code:
diskutil eraseVolume jhfs+ "Macintosh HD" disk0s2

  • respecte les espaces ; mets "Macintosh HD" avec des ""
  • la commande reformate le volume > et remonte un volume vide intitulé Macintosh HD

Pose l'affichage retourné par la commande.
 
Bloc de code:
-bash-3.2# diskutil eraseVolume jhfs+ "Macintosh HD" disk0s2
Started erase on disk0s2 Sans titre
Unmounting disk
Erasing
Initialized /dev/rdisk0s2 as a 465 GB case-insensitive HFS Plus volume with a 40960k journal
Mounting disk
Finished erase on disk0s2 Macintosh HD
-bash-3.2#

voilà le resultat
 
Le reformatage s'est bien passé.

Si tu regardes à présent dans la fenêtre des 4 Utilitaires OS X (ou macOS) --> quel OS t'est proposé à la ré-installation (option : Réinstaller OS X ou macOS - selon l'OS) ?