Andres ZeroCross Posted December 16, 2019 Share Posted December 16, 2019 (edited) 18 hours ago, Download-Fritz said: The order you declare the PS2 kexts is wrong. Is IgnoreInvalidFlexRatio on? Ok, now i can boot to MacOS with OC. You're right "IgnoreInvalidFlexRatio" is the key. But i got new problem, I need to set "SetupVirtualMap = Yes" to boot in macOS, but i can't boot to windows (crash reboot before loading windows) with this options. If i set "SetupVirtualMap = No" then i can boot to Windows, but can't boot macOS (Just Apple Logo without Loading Bar). Any clue about this? Device - Dell E5450 - Proc : i3 Broadwell - RAM : 4GB - Storage SSD OC version : latest compiled commit (0.5.4) Edited December 16, 2019 by Andres ZeroCross Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/108/#findComment-2700794 Share on other sites More sharing options...
moozuki Posted December 17, 2019 Share Posted December 17, 2019 Booting Windows thru OC caused me more than a few issues. The latest being random BSOD's, which I could then only solve by formatting and re-installing Windows. I now will only use the bios boot picker to boot Windows there by avoiding all the acpi changes etc done by OC. Maybe a Full blown programmer can make it work, but I'm just a hobbiest and can barely understand programming. Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/108/#findComment-2700874 Share on other sites More sharing options...
n.d.k Posted December 17, 2019 Share Posted December 17, 2019 43 minutes ago, moozuki said: Booting Windows thru OC caused me more than a few issues. The latest being random BSOD's, which I could then only solve by formatting and re-installing Windows. I now will only use the bios boot picker to boot Windows there by avoiding all the acpi changes etc done by OC. Maybe a Full blown programmer can make it work, but I'm just a hobbiest and can barely understand programming. If patching acpi correctly, there shouldn't be any problem booting Windows like many others here, booting Windows just fine. If one has to use bios to boot Windows then there are other choices out there, that doesn't apply acpi patches for other OS. Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/108/#findComment-2700877 Share on other sites More sharing options...
ameenjuz Posted December 17, 2019 Share Posted December 17, 2019 26 minutes ago, n.d.k said: If patching acpi correctly, there shouldn't be any problem booting Windows like many others here, booting Windows just fine. If one has to use bios to boot Windows then there are other choices out there, that doesn't apply acpi patches for other OS. I don't want to apply acpi patch on windows how to boot windows without acpi patch on opencore bootloader because i have dsdt patched are there any way on opencore 1 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/108/#findComment-2700878 Share on other sites More sharing options...
Andres ZeroCross Posted December 17, 2019 Share Posted December 17, 2019 5 hours ago, anmool said: I don't want to apply acpi patch on windows how to boot windows without acpi patch on opencore bootloader because i have dsdt patched are there any way on opencore There is no way,, just use CLOVER instead. OC will force use patched DSDT/SSDT to any os you are booting with 3 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/108/#findComment-2700890 Share on other sites More sharing options...
n.d.k Posted December 17, 2019 Share Posted December 17, 2019 29 minutes ago, Andres ZeroCross said: There is no way,, just use CLOVER instead. OC will force use patched DSDT/SSDT to any os you are booting with Not my OC version, it's an option on mine with couple lines of code. Read the README https://github.com/n-d-k/OpenCorePkg 4 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/108/#findComment-2700892 Share on other sites More sharing options...
ameenjuz Posted December 17, 2019 Share Posted December 17, 2019 1 hour ago, Andres ZeroCross said: There is no way,, just use CLOVER instead. OC will force use patched DSDT/SSDT to any os you are booting with Thanks for reply Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/108/#findComment-2700898 Share on other sites More sharing options...
Matgen84 Posted December 17, 2019 Share Posted December 17, 2019 37 minutes ago, n.d.k said: Not my OC version, it's an option on mine with couple lines of code. Read the README https://github.com/n-d-k/OpenCorePkg Thanks for your Fork A stupid question by a non english user: ACPI patches is now optional for non macOS with setting ACPI->Quirks->EnableForAll to yes (default is no). To boot Windows from Picker---->I've to select: NO Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/108/#findComment-2700899 Share on other sites More sharing options...
mhaeuser Posted December 17, 2019 Share Posted December 17, 2019 fyi, patching for all OSes is an explicit design decision and not a programming problem, any such changes submited by bug or PR will not be accepted without good reasoning why it is required. Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/108/#findComment-2700902 Share on other sites More sharing options...
Andres ZeroCross Posted December 17, 2019 Share Posted December 17, 2019 38 minutes ago, Download-Fritz said: fyi, patching for all OSes is an explicit design decision and not a programming problem, any such changes submited by bug or PR will not be accepted without good reasoning why it is required. Hi DownloadFritz, how about my question above?? I can't boot into windows with "SetupVirtualMap=Yes". Should i wait dev fix this?? Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/108/#findComment-2700913 Share on other sites More sharing options...
hardcorehenry Posted December 17, 2019 Share Posted December 17, 2019 (edited) I’d like to refer to my previous post about fixing Mutex and HPET. This fixes are not required, my hackintosh boots and works without them perfectly well. But since in Acidanthera Bugtracker there are a lot of speculations about problems with trackpad and AppleALC not working correctly, (fix_Mutex(for some this fix might look differently, only showed the way), HPET and IRQ fixes)as culprits. So I thought this might be good idea to even temporarily enable this fixes to cut those speculations, and find real cause of that problems. Edited December 17, 2019 by hardcorehenry Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/108/#findComment-2700914 Share on other sites More sharing options...
Andres ZeroCross Posted December 17, 2019 Share Posted December 17, 2019 4 hours ago, n.d.k said: Not my OC version, it's an option on mine with couple lines of code. Read the README https://github.com/n-d-k/OpenCorePkg Can you make customize for Quirck Booter?? I need to set "SetupVirtualMap=No" to boot into windows. But i need this to YES if i want to boot to macOS 1 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/108/#findComment-2700920 Share on other sites More sharing options...
n.d.k Posted December 17, 2019 Share Posted December 17, 2019 4 hours ago, Matgen84 said: Thanks for your Fork A stupid question by a non english user: ACPI patches is now optional for non macOS with setting ACPI->Quirks->EnableForAll to yes (default is no). To boot Windows from Picker---->I've to select: NO Correct! NO if you don't want the ACPI patches applied to Other OSes. 1 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/108/#findComment-2700922 Share on other sites More sharing options...
mhaeuser Posted December 17, 2019 Share Posted December 17, 2019 @Andres ZeroCross It works for about everyone else and there is no info to look into Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/108/#findComment-2700925 Share on other sites More sharing options...
Andres ZeroCross Posted December 17, 2019 Share Posted December 17, 2019 34 minutes ago, Download-Fritz said: @Andres ZeroCross It works for about everyone else and there is no info to look into https://github.com/acidanthera/bugtracker/issues/614 I have created issue in bugtracker, and i have upload debug log Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/108/#findComment-2700928 Share on other sites More sharing options...
mhaeuser Posted December 17, 2019 Share Posted December 17, 2019 An OC log has 0 info about why Windows crashes obviously Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/108/#findComment-2700929 Share on other sites More sharing options...
Andres ZeroCross Posted December 17, 2019 Share Posted December 17, 2019 5 minutes ago, Download-Fritz said: An OC log has 0 info about why Windows crashes obviously Then what files or information do you need?? Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/108/#findComment-2700930 Share on other sites More sharing options...
n.d.k Posted December 17, 2019 Share Posted December 17, 2019 2 hours ago, Andres ZeroCross said: https://github.com/acidanthera/bugtracker/issues/614 I have created issue in bugtracker, and i have upload debug log I looked into your logs, seem OC grab the wrong dp to boot from. Try this, create a manual entry with DevicePath = PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x1,0xFFFF,0x0)/HD(1,GPT,13690F01-A5BF-4EC0-A8DC-836AA3ACDA51,0x28,0x64000)/\EFI\Microsoft\Boot\bootmgfw.efi and boot from your manual entry. Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/108/#findComment-2700944 Share on other sites More sharing options...
Andres ZeroCross Posted December 17, 2019 Share Posted December 17, 2019 (edited) 42 minutes ago, n.d.k said: I looked into your logs, seem OC grab the wrong dp to boot from. Try this, create a manual entry with DevicePath = PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x1,0xFFFF,0x0)/HD(1,GPT,13690F01-A5BF-4EC0-A8DC-836AA3ACDA51,0x28,0x64000)/\EFI\Microsoft\Boot\bootmgfw.efi and boot from your manual entry. If it's about that, then why if i set "SetupVirtualMap = No" then i can boot into windows with OC??? But i will try you suggestion,,, i will report ASAP 42 minutes ago, n.d.k said: I looked into your logs, seem OC grab the wrong dp to boot from. Try this, create a manual entry with DevicePath = PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x1,0xFFFF,0x0)/HD(1,GPT,13690F01-A5BF-4EC0-A8DC-836AA3ACDA51,0x28,0x64000)/\EFI\Microsoft\Boot\bootmgfw.efi and boot from your manual entry. Tried it,, but result still same. After i press 4 (Windows 10 Enterprise) then i get instant reboot. Edited December 17, 2019 by Andres ZeroCross 1 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/108/#findComment-2700946 Share on other sites More sharing options...
n.d.k Posted December 18, 2019 Share Posted December 18, 2019 6 hours ago, Andres ZeroCross said: If it's about that, then why if i set "SetupVirtualMap = No" then i can boot into windows with OC??? But i will try you suggestion,,, i will report ASAP Tried it,, but result still same. After i press 4 (Windows 10 Enterprise) then i get instant reboot. Since you're the only one with this problem, I don't know if I want to make an extra quirk for it. But if you are comfortable with editing 5 lines the code and can compile the source yourself, I can show you how to make the Booter->Quirks options only apply to macOs. Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/108/#findComment-2700970 Share on other sites More sharing options...
Andres ZeroCross Posted December 18, 2019 Share Posted December 18, 2019 2 hours ago, n.d.k said: Since you're the only one with this problem, I don't know if I want to make an extra quirk for it. But if you are comfortable with editing 5 lines the code and can compile the source yourself, I can show you how to make the Booter->Quirks options only apply to macOs. I am not sure i am the only one, because most of people didn't want to boot into windows with OC. 3 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/108/#findComment-2700972 Share on other sites More sharing options...
n.d.k Posted December 18, 2019 Share Posted December 18, 2019 1 minute ago, Andres ZeroCross said: I am not sure i am the only one, because most of people didn't want to boot into windows with OC. Here we go, just copy the boot.patch file below into the official OpenCorePkg folder then cd to OpenCorePkg and use "git apply boot.patch" then compile. I will make the quirk available later on. booter.patch Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/108/#findComment-2700973 Share on other sites More sharing options...
Pavo Posted December 18, 2019 Share Posted December 18, 2019 Any discussion related to a modified version of Opencore should be moved to its own thread. This way users do not get confused between the supported and un-supported configurations of the two. 3 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/108/#findComment-2700974 Share on other sites More sharing options...
Shaneee Posted December 18, 2019 Share Posted December 18, 2019 What would stop OC booting one version of macOS but not the other? My current EFI will boot my Catalina install with no issues but stalls when booting either a HS installer or a Mojave Installer with 3 kexts not being injected. 33:271 00:074 OC: Prelink injection Lilu.kext () - Success 33:330 00:059 OC: Prelink injection WhateverGreen.kext () - Success 33:386 00:056 Vtable patching failed for kext org.netkas.FakeSMC 33:431 00:045 OC: Prelink injection FakeSMC.kext () - Invalid Parameter 33:481 00:049 Dependency org.netkas.FakeSMC was not found for kext org.slice.sensor.AmdCPUMonitor 33:533 00:052 Vtable patching failed for kext org.slice.sensor.AmdCPUMonitor 33:579 00:046 OC: Prelink injection AmdCPUMonitor.kext () - Invalid Parameter 33:628 00:049 Dependency org.netkas.FakeSMC was not found for kext org.slice.RadeonMonitor 33:682 00:053 OC: Prelink injection RadeonMonitor.kext () - Success 33:737 00:055 Dependency org.netkas.FakeSMC was not found for kext org.mozodojo.ITEIT87x 33:791 00:053 Vtable patching failed for kext org.mozodojo.ITEIT87x 33:837 00:046 OC: Prelink injection ITEIT87x.kext () - Invalid Parameter 33:884 00:046 OC: Prelink injection AGPMInjector.kext () - Success 33:942 00:058 OC: Prelink injection AppleALC.kext () - Success 34:006 00:063 OC: Prelink injection RealtekRTL8111.kext () - Success 34:051 00:045 OC: Prelink injection AppleMCEReporterDisabler.kext () - Success 34:098 00:046 OC: Prelink injection AMD-USB-Map.kext () - Success 34:172 00:074 Prelinked status - Success 44:227 10:054 OCABC: Freeing balloon area: 0x0 (0 pages) Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/108/#findComment-2701033 Share on other sites More sharing options...
UefiBooter Posted December 18, 2019 Share Posted December 18, 2019 (edited) Vtable patching failed for kext ... error i believe means the kext was compiled with a later SDK than the version the os your trying to loads supports. recompile the kext with an older SDK Edited December 18, 2019 by UefiBooter Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/108/#findComment-2701046 Share on other sites More sharing options...
Recommended Posts