Contribute
Register

Recovery HD partition with El Capitan

Status
Not open for further replies.
Joined
May 12, 2012
Messages
10
Motherboard
nope
CPU
nope
Graphics
nope
This is a very quick guide on making the Recovery HD partition usable in El Capitan, bootable via Clover.

1- " diskutil list "
* you will get de partition list, note that the Recovery Partition is obviously named " Recovery HD "...
* check the number of the partition it is in, in this case, 3:, so, you will have disk0s3 as mount device...
---

/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *240.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS El Capitan 239.2 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3

---

2- create a folder in Volumes folder for Recovery HD and mount it there...
" sudo mkdir /Volumes/Recovery\ HD/ "
" sudo mount -t hfs /dev/disk0s3 /Volumes/Recovery\ HD/ "

3- enter the directory and remove the " prelinkedkernel "

" cd /Volumes/Recovery\ HD/com.apple.recovery.boot/ "
" sudo rm -rf prelinkedkernel "

4- now, copy your working prelinkedkernel there...

" sudo cp /System/Library/PrelinkedKernels/prelinkedkernel /Volumes/Recovery\ HD/com.apple.recovery.boot/ "
and just in case...
" sudo touch prelinkedkernel "

5- reboot and test it... (takes some time to load even in real macs)

Enjoy!
 
Nice tip but on #2 instead of creating the folder and the mounting you can just do this

sudo diskutill mount /dev/disk0s3

and it pops up on your desktop and removes itself when ejecting.
 
Nice tip but on #2 instead of creating the folder and the mounting you can just do this

sudo diskutill mount /dev/disk0s3

and it pops up on your desktop and removes itself when ejecting.

Should work too, I had some issues with it though, specially if you are in safe mode.
 
is it normal that i can only access the recovery setup via booting clover with ignore cache and ignore kext?
 
This is a very quick guide on making the Recovery HD partition usable in El Capitan, bootable via Clover.

1- " diskutil list "
* you will get de partition list, note that the Recovery Partition is obviously named " Recovery HD "...
* check the number of the partition it is in, in this case, 3:, so, you will have disk0s3 as mount device...
---

/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *240.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS El Capitan 239.2 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3

---

2- create a folder in Volumes folder for Recovery HD and mount it there...
" sudo mkdir /Volumes/Recovery\ HD/ "
" sudo mount -t hfs /dev/disk0s3 /Volumes/Recovery\ HD/ "

3- enter the directory and remove the " prelinkedkernel "

" cd /Volumes/Recovery\ HD/com.apple.recovery.boot/ "
" sudo rm -rf prelinkedkernel "

4- now, copy your working prelinkedkernel there...

" sudo cp /System/Library/PrelinkedKernels/prelinkedkernel /Volumes/Recovery\ HD/com.apple.recovery.boot/ "
and just in case...
" sudo touch prelinkedkernel "

5- reboot and test it... (takes some time to load even in real macs)

Enjoy!
Nice work but there is a very extensive write up on this already here with a much easier method of deleting and creating a new vanilla recovery that boots in clover
http://www.tonymacx86.com/bootloaders/143437-guide-make-bootable-recovery-hd-partition-clover.html
 
jimmyfoz,
I already had the Recovery partition sitting there and doing nothing. I ran the Terminal commands you posted and in no time at all I could hear Steve say "it just works". Guess he wouldn't since it's a Hackintosh!
:mrgreen:
Thanks!
PS. If someone could write a quick and dirty script it would be even faster.
:thumbup:
 
This is a very quick guide on making the Recovery HD partition usable in El Capitan, bootable via Clover.

1- " diskutil list "
* you will get de partition list, note that the Recovery Partition is obviously named " Recovery HD "...
* check the number of the partition it is in, in this case, 3:, so, you will have disk0s3 as mount device...
---

/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *240.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS El Capitan 239.2 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3

---

2- create a folder in Volumes folder for Recovery HD and mount it there...
" sudo mkdir /Volumes/Recovery\ HD/ "
" sudo mount -t hfs /dev/disk0s3 /Volumes/Recovery\ HD/ "

3- enter the directory and remove the " prelinkedkernel "

" cd /Volumes/Recovery\ HD/com.apple.recovery.boot/ "
" sudo rm -rf prelinkedkernel "

4- now, copy your working prelinkedkernel there...

" sudo cp /System/Library/PrelinkedKernels/prelinkedkernel /Volumes/Recovery\ HD/com.apple.recovery.boot/ "
and just in case...
" sudo touch prelinkedkernel "

5- reboot and test it... (takes some time to load even in real macs)

Enjoy!

This is an amazing fix and much better than creating an entirely new Recovery HD. This should be in the main guide, I'm glad I have a working Recovery HD now! Just like a real Mac. ;)

Thanks!
 
My lordy - that was easy! Nice one jimmyfoz :)

Booted into Recovery HD on an Samsung NVMe m.2 drive too :)

Would a Time Machine restore work OK on a Hackintosh?

(and what's a 'prelinkedkernel' anyway? - EDIT - ah haa! : In OS X, the boot loader looks for the unified prelinked kernel. This cache contains all kernel extensions that may be needed to boot a Mac with any hardware configuration, with the extensions already linked against the kernel.)
 
Last edited:
Status
Not open for further replies.
Back
Top