rm -rf /Volumes/"Cecyl Master"/"macOS Install Data"
ls /Volumes/"Cecyl Master"
@ cmaitre
Diagnostic -->
- volume monté > en lecture & écriture > un OS peut y être installé ou restauré
- tous les dossiers-Système de l'OS déjà installé présents + un dossier macOS Install Data de l'installation bloquée
En résumé : après plusieurs manipulations > tu as 99% de chances de réouvrir ta session sur l'OS en place redémarré
- un chemin de démarrage pointant sur le démarreur de l'OS d'installation > et pas le démarreur de l'OS en place
----------
Passe d'abord la commande :
Bloc de code:rm -rf /Volumes/"Cecyl Master"/"macOS Install Data"
- mets les intitulés avec des "" ; pas d'espace entre Master" et /"macOS---
- la commande supprime le dossier macOS Install Data de l'espace-racine du volume
Cela fait > repasse la commande informative :
- la commande passe sans commentaire
Bloc de code:ls /Volumes/"Cecyl Master"
- et poste le tableau mis à jour > pour vérification.
-bash-3.2# rm -rf /Volumes/"Cecyl Master"/"macOS Install Data"
-bash-3.2# ls /Volumes/"Cecyl Master"
.DS_Store
.DocumentRevisions-V100
.HFS+ Private Directory Data?
.IAProductInfo
.MobileBackups.trash
.PKInstallSandboxManager-SystemSoftware
.Spotlight-V100
.Trashes
.dbfseventsd
.file
.fseventsd
.vol
Applications
Data
Guides de l’utilisateur et informations
Incompatible Software
Kontakt v2.2.0 Application.pkg
Library
Network
System
Users
Volumes
bin
cores
dev
etc
home
installer.failurerequests
net
private
sbin
sockets.log
tmp
usr
var
-bash-3.2#
bless --folder /Volumes/"Cecyl Master"/System/Library/CoreServices --file /Volumes/"Cecyl Master"/System/Library/CoreServices/boot.efi
bless info /Volumes/"Cecyl Master"
Le dossier d'installation a bien disparu. La commande décisive à présent.
Il faut que tu passes la très longue commande :
Bloc de code:bless --folder /Volumes/"Cecyl Master"/System/Library/CoreServices --file /Volumes/"Cecyl Master"/System/Library/CoreServices/boot.efi
- Voici comment tu vas t'y prendre pour la saisir commodément : par un copier-coller à rebours ! Commence par venir à cette page des forums via Safari --> copie la longue commande (déroule le tapis roulant horizontal pour la copier jusqu'au boot.efi final) > quitte Safari > relance le Terminal > colle la commande dans sa fenêtre > exécute-la
La commande passée > passe la commande informative :
- la commande inscrit un chemin de démarrage du volume sur le boot_loader boot.efi de l'OS en place ; elle passe sans commentaire
Bloc de code:bless info /Volumes/"Cecyl Master"
- qui affiche le chemin de boot actif du volume
Poste le tableau retourné.
-bash-3.2# bless --folder /Volumes/"Cecyl Master"/System/Library/CoreServices --file /Volumes/"Cecyl Master"/System/Library/CoreServices/boot.efi
-bash-3.2# bless info /Volumes/"Cecyl Master"
No volume specified
-bash-3.2# bless --info /Volumes/"Cecyl Master"
103 => Blessed System File is <Preboot>/389771EF-6A7D-358C-B873-F454340CFA30/System/Library/CoreServices/boot.efi
23 => Blessed System Folder is <Preboot>/389771EF-6A7D-358C-B873-F454340CFA30/System/Library/CoreServices
The blessed volume in this APFS container is "/Volumes/Cecyl Master"
-bash-3.2#
kextcache -u /Volumes/"Cecyl Master"
diskutil ap updatePreboot disk2s1
Parfait ! - on y est presque.
Commandes de mise-à-jour des informations de démarrage du volume Cecyl Master. Passe les commandes :
Bloc de code:kextcache -u /Volumes/"Cecyl Master" diskutil ap updatePreboot disk2s1
- la 1ère met à jour le cache de démarrage prelinkedkernel interne au volume Cecyl Master ; elle passe sans commentaire
Poste l'affichage retourné par la 2è commande.
- la 2è met à jour les informations de pré-démarrage pour l'EFI > dans le volume apfs auxiliaire Preboot ; elle passe avec un affichage kilométrique
-bash-3.2# kextcache -u /Volumes/"Cecyl Master"
-bash-3.2# diskutil ap updatePreboot disk2s1
Started APFS operation
UpdatePreboot: Commencing operation to update the Preboot Volume for Target Volume disk2s1 Cecyl Master
UpdatePreboot: The Target Volume's OpenDirectory (non-special kind) user count is 1 and the Recovery (any of 3 kinds) user count is 1
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/Cecyl Master
UpdatePreboot: Open Directory Database Search Path = (nil=MacOSSearchPathNotMounted) = /Volumes/Cecyl Master/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/389771EF-6A7D-358C-B873-F454340CFA30
UpdatePreboot: Considering APFS Crypto User 9738CA0D-6C0F-4337-8A7E-AFD76A023F57
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 9738CA0D-6C0F-4337-8A7E-AFD76A023F57 aka "cecilemaitre"
UpdatePreboot: Reading JPEG user picture of length 53302 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 render EFILoginUserGraphics user (graphics/audio) resources Name=Cecyl Master PictureSize=(NoneIsOK)=53302 HintOptional=Moi
UpdatePreboot: After render EFILoginUserGraphics Data=(0=Error)=0x7f9fb9d0ed00=660077
UpdatePreboot: Before rendering EFILoginUserNamesData resources UserArrayCount=4
UpdatePreboot: After rendering EFILoginUserNamesData Data=(NULL=Skip)=0x7f9fb9d18990 DataItemCount=4
UpdatePreboot: Successfully added a macOS OD User to the building dictionary
UpdatePreboot: Successfully processed APFS Volume Crypto User 9738CA0D-6C0F-4337-8A7E-AFD76A023F57
UpdatePreboot: Error for this processed user was 0
UpdatePreboot: Considering APFS Crypto User EC1C2AD9-B618-4ED6-BD8D-50F361C27507
UpdatePreboot: This is the iCloud User for this Volume
UpdatePreboot: Successfully ignoring this type of user
UpdatePreboot: Successfully processed APFS Volume Crypto User EC1C2AD9-B618-4ED6-BD8D-50F361C27507
UpdatePreboot: Error for this processed user was 0
UpdatePreboot: Considering APFS Crypto User 64C0C6EB-0000-11AA-AA11-00306543ECAC
UpdatePreboot: This is the iCloud Recovery Key for this Volume
UpdatePreboot: Treating this APFS Crypto User as an iCloud Recovery Key User
UpdatePreboot: Successfully processed an iCloud Recovery Key User
UpdatePreboot: Successfully processed APFS Volume Crypto User 64C0C6EB-0000-11AA-AA11-00306543ECAC
UpdatePreboot: Error for this processed user was 0
UpdatePreboot: Error among all processed users was 0
UpdatePreboot: At least one RECOVERY-type(s) user was processed successfully, in the presence of at least one successfully-processed OD user, so clearing among-all-users error if any
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/389771EF-6A7D-358C-B873-F454340CFA30/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/389771EF-6A7D-358C-B873-F454340CFA30/var/db/CryptoUserInfo.plist
UpdatePreboot: Successfully wrote DiskManagement Info PList File
UpdatePreboot: Checking for existence of Static EFI Resources directory /Volumes/Cecyl Master/usr/standalone/i386/EfiLoginUI
UpdatePreboot: Before copying contents of directory of Static EFI Resources at /Volumes/Cecyl Master/usr/standalone/i386/EfiLoginUI into directory /Volumes/Preboot/389771EF-6A7D-358C-B873-F454340CFA30/usr/standalone/i386
UpdatePreboot: After copying error=(0=success)=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 FileNamesAndData=(0=error)=0x7f9fb9d1af40=10
UpdatePreboot: Writing localized EFI graphics resource file /Volumes/Preboot/389771EF-6A7D-358C-B873-F454340CFA30/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/loginui.efires
UpdatePreboot: Successfully wrote EFI resource file
UpdatePreboot: Writing localized EFI graphics resource file /Volumes/Preboot/389771EF-6A7D-358C-B873-F454340CFA30/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/389771EF-6A7D-358C-B873-F454340CFA30/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/preferences.efires
UpdatePreboot: Successfully wrote EFI resource file
UpdatePreboot: Writing localized EFI graphics resource file /Volumes/Preboot/389771EF-6A7D-358C-B873-F454340CFA30/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/battery.efires
UpdatePreboot: Successfully wrote EFI resource file
UpdatePreboot: Writing localized EFI graphics resource file /Volumes/Preboot/389771EF-6A7D-358C-B873-F454340CFA30/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/appleLogo.efires
UpdatePreboot: Successfully wrote EFI resource file
UpdatePreboot: Writing localized EFI graphics resource file /Volumes/Preboot/389771EF-6A7D-358C-B873-F454340CFA30/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/389771EF-6A7D-358C-B873-F454340CFA30/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/389771EF-6A7D-358C-B873-F454340CFA30/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/389771EF-6A7D-358C-B873-F454340CFA30/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/Lucida13.efires
UpdatePreboot: Successfully wrote EFI resource file
UpdatePreboot: Writing localized EFI graphics resource file /Volumes/Preboot/389771EF-6A7D-358C-B873-F454340CFA30/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 9738CA0D-6C0F-4337-8A7E-AFD76A023F57
UpdatePreboot: Error among all processed admin users was 0
UpdatePreboot: Writing Admin User Info File to path /Volumes/Preboot/389771EF-6A7D-358C-B873-F454340CFA30/var/db/AdminUserRecoveryInfo.plist
UpdatePreboot: Successfully wrote Admin User Info File
UpdatePreboot: Checking for existence of Secure Access Token file /Volumes/Cecyl Master/var/db/dslocal/nodes/Default/secureaccesstoken.plist
UpdatePreboot: Before copying Secure Access Token file /Volumes/Cecyl Master/var/db/dslocal/nodes/Default/secureaccesstoken.plist into directory /Volumes/Preboot/389771EF-6A7D-358C-B873-F454340CFA30/var/db
UpdatePreboot: After copying error=(0=success)=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=(0=success)=0
Finished APFS operation
-bash-3.2#
-bash-3.2# 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_HFS Mac OS X 999.3 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 +12.6 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 +6.3 MB disk17
/dev/disk18 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk18
/dev/disk19 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk19
-bash-3.2#
Ça roule.
Quitte le Terminal > va à : Menu > Disque de démarrage > sélectionne le volume Cecyl Master > re-démarre dessus
Ça marche ! Merci infiniment !!!
- bonne ré-ouverture de session !
diskutil info /Volumes/"Mac OS X"
ls /Volumes/"Mac OS X"
bless --info /Volumes/"Mac OS X"
-bash-3.2# diskutil info /Volumes/"Mac OS X"
Device Identifier: disk0s2
Device Node: /dev/disk0s2
Whole: No
Part of Whole: disk0
Volume Name: Mac OS X
Mounted: Yes
Mount Point: /Volumes/Mac OS X
Partition Type: Apple_HFS
File System Personality: Journaled HFS+
Type (Bundle): hfs
Name (User Visible): Mac OS Extended (Journaled)
Journal: Journal size 81920 KB at offset 0x1d1c000
Owners: Enabled
OS Can Be Installed: Yes
Booter Disk: disk0s3
Recovery Disk: disk0s3
Media Type: Generic
Protocol: SATA
SMART Status: Verified
Volume UUID: BE9EA3DD-79C5-3211-AFAE-63754205F18E
Disk / Partition UUID: E60F836B-C393-47F3-BB98-18C658D357B6
Disk Size: 999.3 GB (999345127424 Bytes) (exactly 1951845952 512-Byte-Units)
Device Block Size: 512 Bytes
Volume Total Space: 999.3 GB (999345127424 Bytes) (exactly 1951845952 512-Byte-Units)
Volume Used Space: 421.8 GB (421824614400 Bytes) (exactly 823876200 512-Byte-Units) (42.2%)
Volume Available Space: 577.5 GB (577520513024 Bytes) (exactly 1127969752 512-Byte-Units) (57.8%)
Allocation Block Size: 4096 Bytes
Read-Only Media: No
Read-Only Volume: No
Device Location: Internal
Removable Media: Fixed
Solid State: No
-bash-3.2# ls /Volumes/"Mac OS X"
.DS_Store Recovered Items
.DocumentRevisions-V100 Users
.IAProductInfo Volumes
.OSInstallerMessages cores
.PKInstallSandboxManager-SystemSoftware dev
.Spotlight-V100 etc
.TALRestoreApps home
.Trashes macOS Install Data
.fseventsd net
.hotfiles.btree private
.vol tmp
Microsoft Office X var
Network
-bash-3.2# bless --info /Volumes/"Mac OS X"
finderinfo[0]: 6380738 => Blessed System Folder is /Volumes/Mac OS X/macOS Install Data/Locked Files/Boot Files
finderinfo[1]: 6380759 => Blessed System File is /Volumes/Mac OS X/macOS Install Data/Locked Files/Boot Files/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]: 6380738 => OS X blessed folder is /Volumes/Mac OS X/macOS Install Data/Locked Files/Boot Files
64-bit VSDB volume id: 0x2E1DF5E0185B8A62
-bash-3.2#
rm -rf /Volumes/"Mac OS X"/"macOS Install Data"
mv /Volumes/"Mac OS X"/"Recovered Items"/* /Volumes/"Mac OS X"
ls /Volumes/"Mac OS X"
-bash-3.2# rm -rf /Volumes/"Mac OS X"/"macOS Install Data"
-bash-3.2# mv /Volumes/"Mac OS X"/"Recovered Items"/*/Volumes/"Mac OS X"
usage: mv [-f | -i | -n] [-v] source target
mv [-f | -i | -n] [-v] source ... directory
-bash-3.2# ls /Volumes/"Mac OS X"
Users Volumes var
-bash-3.2#
mv /Volumes/"Mac OS X"/"Recovered Items"/* /Volumes/"Mac OS X"