mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-21 06:30:52 +10:00
Add PanicNoKextDump for cleaner kernel panics
This commit is contained in:
@@ -205,6 +205,7 @@ class BuildOpenCore:
|
|||||||
#DEBUG Settings
|
#DEBUG Settings
|
||||||
if self.constants.verbose_debug == True:
|
if self.constants.verbose_debug == True:
|
||||||
print("- Enabling Verbose boot")
|
print("- Enabling Verbose boot")
|
||||||
|
self.config["Kernel"]["Quirks"]["PanicNoKextDump"] = True
|
||||||
self.config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["boot-args"] += " -v"
|
self.config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["boot-args"] += " -v"
|
||||||
if self.constants.kext_debug == True:
|
if self.constants.kext_debug == True:
|
||||||
print("- Enabling DEBUG Kexts")
|
print("- Enabling DEBUG Kexts")
|
||||||
|
|||||||
+10
-2
@@ -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)
|
* [Cannot boot macOS without the USB](#cannot-boot-macos-without-the-usb)
|
||||||
* [Infinite Recovery OS Booting](#infinite-recovery-os-reboot)
|
* [Infinite Recovery OS Booting](#infinite-recovery-os-reboot)
|
||||||
* [Reboot when entering Hibernation (`Sleep Wake Failure`)](#reboot-when-entering-hibernation-sleep-wake-failure)
|
* [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`
|
## 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`)
|
## 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
|
```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.
|
||||||
Reference in New Issue
Block a user