Contribute
Register

Recovery HD partition with El Capitan

Joined
Aug 18, 2011
Messages
438
Motherboard
ASUS Z390-I Gaming
CPU
i5-9600K
Graphics
RX 580
Mac
  1. iMac
  2. MacBook Pro
Mobile Phone
  1. iOS
Does the Recovery partition in High Sierra have to be mounted as APFS or can it stay as in post #1 of this thread as HFS?

In short does:

" sudo mount -t hfs /dev/disk0s3 /Volumes/Recovery\ HD/ "

become :
sudo mount -t apfs /dev/disk0s3 /Volumes/Recovery\ HD/

on 10.13.16 ?

or does it become :

sudo diskutil mount /dev/disk0s3

simply?
 
Joined
Aug 18, 2011
Messages
438
Motherboard
ASUS Z390-I Gaming
CPU
i5-9600K
Graphics
RX 580
Mac
  1. iMac
  2. MacBook Pro
Mobile Phone
  1. iOS
Basically my problem is that my Recovery partition has disappeared following a Time Machine restore, and I'm trying to get it back.

As suggested in my earlier post I did the simpler: "sudo diskutil mount /dev/disk0s3" . to mount the Recovery partition. But when I looked at the file system there, it was very different from what was suggested in post #1 of this thread:

The just mounted Recover partition contains these TWO directories:

:Recovery $ ll

total 0

drwxr-xr-x 5 root wheel 160 Sep 15 17:01 .
drwxr-xr-x@ 10 root wheel 320 Sep 16 21:54 ..
d-wx-wx-wt 4 root wheel 128 Sep 1 14:20 .Trashes
drwxr-xr-x 13 root wheel 416 Jul 9 19:14 6C97A77D-566E-335E-8481-50C871A14957
drwxr-xr-x 13 root wheel 416 Sep 15 17:17 6F9BA544-26EF-41D0-9757-9065DB9D744D

and both of these directories contain these files/directories (similar in both):

cd ../6F9BA544-26EF-41D0-9757-9065DB9D744D/
$ ls -l

drwxr-xr-x 13 root wheel 416 Sep 15 17:17 .
drwxr-xr-x 5 root wheel 160 Sep 15 17:01 ..
drwxr-xr-x 5 root wheel 160 Sep 15 17:17 .diagnostics
-rw-r--r-- 1 root wheel 1984 Sep 15 17:01 BaseSystem.chunklist
-rw-r--r-- 1 root wheel 486219126 Sep 15 16:57 BaseSystem.dmg
-rw-r--r-- 1 root wheel 5082 Jun 20 00:27 PlatformSupport.plist
-r--r--r-- 1 root wheel 480 Jul 4 03:33 SystemVersion.plist
-rw-r--r-- 1 root wheel 576056 Sep 15 17:16 boot.efi
-rw-r--r-- 1 root wheel 2738 Jul 4 04:35 boot.efi.j137ap.im4m
-rw-r--r-- 1 root wheel 397 Sep 15 17:17 com.apple.Boot.plist
-rw-r--r-- 2 root wheel 29263691 Jun 29 02:06 immutablekernel
-rw-r--r-- 1 root wheel 2738 Jul 4 04:35 immutablekernel.j137ap.im4m
-rw-r--r-- 2 root wheel 29263691 Jun 29 02:06 prelinkedkernel

Should I delete one of the upper directories?

6C97A77D-566E-335E-8481-50C871A14957

or

6F9BA544-26EF-41D0-9757-9065DB9D744D

Any suggestiions?
 
Joined
Dec 23, 2010
Messages
3
Motherboard
GA-H97M-D3H
CPU
i5 4600
Graphics
GTX 650
Mac
  1. MacBook
Classic Mac
  1. iBook
  2. Power Mac
  3. PowerBook
Mobile Phone
  1. Other
HS 10.13.6 here

the prelinkedkernel didn't do the trick for me
what i did was (in addition to the prelinkedkernel), renaming those number-folders to
Code:
com.apple.recovery.boot

then go into the folder
com.apple.recovery.boot
and edit the file
Code:
com.apple.Boot.plist

replace those numbers (2 lines) with
com.apple.recovery.boot

should look like this
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Kernel Cache</key>
    <string>\com.apple.recovery.boot\immutablekernel</string>
    <key>Kernel Flags</key>
    <string>root-dmg=file:///com.apple.recovery.boot/BaseSystem.dmg</string>
</dict>
</plist>

not sure if the prelinkedkernel file still needs to be removed+replaced

what i forgot to do, was to actually compare those numbers (the folder and the one on the com.apple.Boot.plist) perhaps they were not matching, and thats why the recovery didn't show up

was coming from an OS-move from SSD to SSD (single container, 2 volumes) and afterwards, the Recovery Volume was there (diskutil list) but didn't show up in clover

why has cloning drives become so cumbersome ? why cant i just backup a single volume to restore it to another drive ?
perhaps i am doing it wrong or have my head still stuck in previous, more traditional ways cloning/imaging a drive

good luck !
 
Last edited:
Top