-
-
Notifications
You must be signed in to change notification settings - Fork 17
Debugging
If you have issues with OpenCore and Kryptonite, please follow the described procedures below to generate logs. If you previously used the Kryptonite installer, I recommend using that again. If you have a custom OpenCore configuration (such as OCLP), I recommend following manual configuration.
- Run the installer as you previously did:
cd ~; curl -qLs https://github.com/mayankk2308/kryptonite/raw/main/Installer/Installer.zip -o Installer.zip; ditto -x -k Installer.zip .; cd Installer; chmod +x installer.sh; ./installer.sh; cd ../; rm -rf Installer*
- When prompted to use DEBUG resources, choose [Y]es.
- Select your existing Kryptonite disk and let the installer re-create it.
- Reboot via Kryptonite and logs should be available.
To re-configure your existing OpenCore setup to emit logs, please see OpenCore's guide to replace all release components with debug versions as follows: https://dortania.github.io/OpenCore-Install-Guide/troubleshooting/debug.html
Make sure that you also have the following boot arguments configured in OpenCore along with the others already present:
-liludbgall liludump=60
There will be 3 things to deal with once you are using debug components.
Your OpenCore configuration should be on the created OpenCore/Kryptonite volume at:
/Volumes/<Your Bootloader Disk>/EFI/OC/config.plist
Make sure to provide config.plist
when opening a new issue.
These will be generated on your Kryptonite/OpenCore volume, right next to the EFI folder. The file names look like:
opencore-<timestamp>.txt
# Example
opencore-2021-08-30-083130.txt
The logs generated by kernel extensions will be available after your system has successfully booted into macOS and after some time has elapsed. This time is configured via the liludump=
parameter. By default, the Kryptonite installer uses 60
seconds for this value, so the log should be available after 60 seconds since boot.
The location of the logs will be:
/var/log/Lilu_<Lilu Version>_<macOS Kernel Version>.txt
# Example
/var/log/Lilu_1.5.6_21.1.txt
Kryptonite logs will be within this file as well.
If you have an issue but do not provide logs, it may not be possible to resolve.