Jump to content

Rebuild prelinked kernel at boot


6 posts in this topic

Recommended Posts

A few days ago I faced a problem - installed ocquirks and it somehow broke my prelinked kernel. System won't boot then, and I spent more than a day restoring from the netatalk  backup to copy working prelinked kernel directory from the backup to the s/l

So, my question is - how to relink prelinked kernel without that? I found boot args -f UseKernelCache=No but it didn't work. I was able to boot to the recovery, if that can help.

Edited by viktr
9 hours ago, viktr said:

A few days ago I faced a problem - installed ocquirks and it somehow broke my prelinked kernel. System won't boot then, and I spent more than a day restoring from the netatalk  backup to copy working prelinked kernel directory from the backup to the s/l

So, my question is - how to relink prelinked kernel without that? I found boot args -f UseKernelCache=No but it didn't work. I was able to boot to the recovery, if that can help.

 

Boot to your recovery partition or USB Installer.

 

In Terminal, type: kernelcache -i /VOLUMES/YOUR_VOLUME_NAME (replace by yours of course).

2 minutes ago, Matgen84 said:

 

Boot to your recovery partition or USB Installer.

 

In Terminal, type: kernelcache -i /VOLUMES/YOUR_VOLUME_NAME (replace by yours of course).

Thank you, didn’t know it’s possible to rebuild on some specific volume

8 minutes ago, viktr said:

Thank you, didn’t know it’s possible to rebuild on some specific volume

 

Of course you've to rebuild the macOS volume, not EFI

 

Download Hackintool.app (on GitHub) for rebuild through the OS (maintenance operation).

 

Sorry for my bad english

Edited by Matgen84
20 minutes ago, Matgen84 said:
20 minutes ago, Matgen84 said:
 
Of you've to rebuild the macOS volume, not EFI


Sure, I’ve got no kernel on efi, just a bootloader

no need to use app, i am able to type keyboard commands by myself lol

thank you so much!


Sent from my iPhone using Tapatalk

Edited by viktr
2 hours ago, Matgen84 said:

 

Boot to your recovery partition or USB Installer.

 

In Terminal, type: kernelcache -i /VOLUMES/YOUR_VOLUME_NAME (replace by yours of course).

It;s a "kextcache" btw ;)

×
×
  • Create New...