rm -rf /Volumes/"Macintosh HD"/"macOS Install Data"
ls /Volumes/"Macintosh HD"
-bash-3.2# ls /Volumes/Macintosh\ HD/
.DS_Store .Trashes Library dev tmp
.DocumentRevisions-V100 .dbfseventsd Network etc usr
.HFS+ Private Directory Data? .file System home var
.OSInstallerMessages .fseventsd Users installer.failurerequests
.PKInstallSandboxManager .vol Volumes net
.PKInstallSandboxManager-SystemSoftware Applications bin private
.Spotlight-V100 Informations sur l’utilisateur cores sbin
-bash-3.2#
bless --folder /Volumes/"Macintosh HD"/System/Library/CoreServices --file /Volumes/"Macintosh HD"/System/Library/CoreServices/boot.efi
bless --info /Volumes/Mac*
-bash-3.2# bless --info /Volumes/Macintosh\ HD/
555 => Blessed System File is <Preboot>/835BB8D2-6590-3B51-97F4-993C766473EC/System/Library/CoreServices/boot.efi
29 => Blessed System Folder is <Preboot>/835BB8D2-6590-3B51-97F4-993C766473EC/System/Library/CoreServices
The blessed volume in this APFS container is "/Volumes/Macintosh HD"
-bash-3.2#
kextcache -u /Volumes/"Macintosh HD"
diskutil ap updatePreboot disk2s1
-bash-3.2# diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *121.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk2 121.1 GB disk0s2
/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 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +121.1 GB disk2
Physical Store disk0s2
1: APFS Volume Macintosh HD 100.6 GB disk2s1
2: APFS Volume Preboot 20.9 MB disk2s2
3: APFS Volume Recovery 518.1 MB disk2s3
4: APFS Volume VM 1.1 GB disk2s4
/dev/disk3 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +5.2 MB disk3
-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 2 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/835BB8D2-6590-3B51-97F4-993C766473EC
UpdatePreboot: Considering APFS Crypto User 0D997792-8FCD-4418-AE59-CD080AF2CB3E
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 0D997792-8FCD-4418-AE59-CD080AF2CB3E aka "Benjamin"
UpdatePreboot: Reading JPEG user picture of length 300254 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=Benjamin LAFARGE PictureSize=(NoneIsOK)=300254 HintOptional=(null)
UpdatePreboot: After rendering EFILoginUserGraphics DataObj=(NullIsError)=0x7fed14c14cb0 DataLen=632896
UpdatePreboot: Before rendering EFILoginUserNamesData resources UserArrayCount=6
UpdatePreboot: After rendering EFILoginUserNamesData DataObj=(NullMeansWeWillSkip)=0x7fed14c10970 ItemCount=6
UpdatePreboot: Successfully added a macOS OD User to the building dictionary
UpdatePreboot: Processed APFS Volume Crypto User 0D997792-8FCD-4418-AE59-CD080AF2CB3E
UpdatePreboot: Error for this processed user was 0
UpdatePreboot: Considering APFS Crypto User DD4C714B-175E-4679-B12F-79332A4C9A59
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 DD4C714B-175E-4679-B12F-79332A4C9A59 aka "charlotte"
UpdatePreboot: Reading JPEG user picture of length 19790 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=Charlotte PictureSize=(NoneIsOK)=19790 HintOptional=
...
...
UpdatePreboot: After rendering EFILoginUserGraphics DataObj=(NullIsError)=0x7fed14c170a0 DataLen=556931
UpdatePreboot: Before rendering EFILoginUserNamesData resources UserArrayCount=2
UpdatePreboot: After rendering EFILoginUserNamesData DataObj=(NullMeansWeWillSkip)=0x7fed14c18f60 ItemCount=2
UpdatePreboot: Successfully added a macOS OD User to the building dictionary
UpdatePreboot: Processed APFS Volume Crypto User DD4C714B-175E-4679-B12F-79332A4C9A59
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/835BB8D2-6590-3B51-97F4-993C766473EC/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/835BB8D2-6590-3B51-97F4-993C766473EC/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/835BB8D2-6590-3B51-97F4-993C766473EC/usr/standalone/i386
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)=0x7fed14c1ec50 ItemCount=10
UpdatePreboot: Writing localized EFI graphics resource file /Volumes/Preboot/835BB8D2-6590-3B51-97F4-993C766473EC/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/loginui.efires
UpdatePreboot: Successfully wrote EFI resource file
UpdatePreboot: Writing localized EFI graphics resource file /Volumes/Preboot/835BB8D2-6590-3B51-97F4-993C766473EC/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/835BB8D2-6590-3B51-97F4-993C766473EC/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/preferences.efires
UpdatePreboot: Successfully wrote EFI resource file
UpdatePreboot: Writing localized EFI graphics resource file /Volumes/Preboot/835BB8D2-6590-3B51-97F4-993C766473EC/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/battery.efires
UpdatePreboot: Successfully wrote EFI resource file
UpdatePreboot: Writing localized EFI graphics resource file /Volumes/Preboot/835BB8D2-6590-3B51-97F4-993C766473EC/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/appleLogo.efires
UpdatePreboot: Successfully wrote EFI resource file
UpdatePreboot: Writing localized EFI graphics resource file /Volumes/Preboot/835BB8D2-6590-3B51-97F4-993C766473EC/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/835BB8D2-6590-3B51-97F4-993C766473EC/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/835BB8D2-6590-3B51-97F4-993C766473EC/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/835BB8D2-6590-3B51-97F4-993C766473EC/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/Lucida13.efires
UpdatePreboot: Successfully wrote EFI resource file
UpdatePreboot: Writing localized EFI graphics resource file /Volumes/Preboot/835BB8D2-6590-3B51-97F4-993C766473EC/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/Lucida13White.efires
UpdatePreboot: Successfully wrote EFI resource file
UpdatePreboot: Generating AdminUserList for Recovery purposes
...