Add PanicNoKextDump for cleaner kernel panics

This commit is contained in:
Mykola Grymalyuk
2021-03-06 19:21:11 -07:00
parent c556d4dd15
commit 8d6ba46c6f
2 changed files with 11 additions and 2 deletions

View File

@@ -205,6 +205,7 @@ class BuildOpenCore:
#DEBUG Settings
if self.constants.verbose_debug == True:
print("- Enabling Verbose boot")
self.config["Kernel"]["Quirks"]["PanicNoKextDump"] = True
self.config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["boot-args"] += " -v"
if self.constants.kext_debug == True:
print("- Enabling DEBUG Kexts")

View File

@@ -6,6 +6,7 @@ Here are some common errors users may experience while using this patcher:
* [Cannot boot macOS without the USB](#cannot-boot-macos-without-the-usb)
* [Infinite Recovery OS Booting](#infinite-recovery-os-reboot)
* [Reboot when entering Hibernation (`Sleep Wake Failure`)](#reboot-when-entering-hibernation-sleep-wake-failure)
* [Booting with a non-flashed GPU](#booting-with-a-non-flashed-gpu)
## Stuck on `This version of Mac OS X is not supported on this platform`
@@ -27,9 +28,16 @@ With OpenCore Legacy Patcher, we rely on Apple Secure Boot to ensure OS updates
## Reboot when entering Hibernation (`Sleep Wake Failure`)
Currently the patcher does not support hibernation for many machines, we recommend disabling hibernation for now:
Resolved in OpenCore-Legacy-Patcher v0.0.14
## Booting with a non-flashed GPU
For Mac Pro, Xserve and iMac users with non-flashed GPUs, you can still easily boot OpenCore and view the entire boot process. To do so, make sure SIP is disabled and run the following:
```sh
sudo pmset -a hibernatemode 0
sudo bless --verbose --file /Volumes/VOLNAME/EFI/OC/OpenCore.efi --folder /Volumes/VOLNAME/EFI/OC --setBoot
```
* Note you will need to replace `VOLNAME` with the Volume name of your USB or hard drive with OpenCore
Once you boot OpenCore for the first time, LauncherOption will install itself as the top boot priority making OpenCore always launch. Combined with `RequestBootVar`, all boot options must go through OpenCore ensuring seamless usage even with OS installation and updates.