Jump to content
stevezheng

Fail to use OpenCore to boot Windows

8 posts in this topic

Recommended Posts

Hi, first of all, I'd like to extend my hearty thanks to the team's hard work. The reason why I don't post this topic in OpenCore Discussion room because I don't have access to reply in that room.

 

I successfully boot into macOS, but when I choose BOOTCAMP Windows, the boot loader returns a critical error. `IgnoreForWindows` option do not work for me.

Also, when I first come in OpenCore boot page, it shows `OCS: Failed to parse real field of type 1`, and quickly disappears.

Here's my config.plist, and hope for suggestions. 

P.S. My device is running in UEFI mode.

config.plist

Edited by zhengshiqi

Share this post


Link to post
Share on other sites
Advertisement

Solved. I accidentally turn off HPET device. After I enable it, I successfully boot into Windows.

BTW, I find that _OSI -> XOSI rename + SSDT-XOSI would cause blue screen in Windows. I replace that patch with other tiny hotpatches.

Share this post


Link to post
Share on other sites
1 hour ago, zhengshiqi said:

Solved. I accidentally turn off HPET device. After I enable it, I successfully boot into Windows.

BTW, I find that _OSI -> XOSI rename + SSDT-XOSI would cause blue screen in Windows. I replace that patch with other tiny hotpatches.

I've noticed that renames doesn't work, in my case for example EHC1 to EH01. I consider renaming manually in my dsdt or I don't know wait for some kind of fix?:help:

Edited by hardcorehenry

Share this post


Link to post
Share on other sites
1 minute ago, hardcorehenry said:

I've noticed that renames doesn't work, in my case for example EHC1 to EHC01. I consider renaming manually in my dsdt or I don't know wait for some kind of fix?:help:

Because ACPI grammar only allow 4-character device name, you can try rename EHC1 to EH01 instead of EHC01.

For example, 

<key>Find</key>
<data>RUhDMQ==</data>
<key>Replace</key>
<data>RUgwMQ==</data>

 

Share this post


Link to post
Share on other sites

 

It was misprint :blink: corrected. My patch looks like this and it simply doesnt work:no:ren.png.2a8da166382dbc47d22f75eba2cd7e54.png

 

reg.png.28b471332efbe46b56c4b191436b741e.png

 

Edit:Solved!!! I did was I was going to, renamed all referances EHC1, EHC2 to EH01, EH02 manually in my dsdt. Everything works, can wake my PC with mouse.

 

 

Edit:Problem with USB was ultimately SOLVED with Legacy_USB3.kext and SSDT-EHCx_OFF.aml (no renames needed). Thanks developers for amazing work!

Edited by hardcorehenry

Share this post


Link to post
Share on other sites

That's great. But OpenCore rename theoretically should work too. Maybe you can try to update to the latest release.

Share this post


Link to post
Share on other sites
On 5/21/2019 at 6:45 PM, stevezheng said:

Solved. I accidentally turn off HPET device. After I enable it, I successfully boot into Windows.

BTW, I find that _OSI -> XOSI rename + SSDT-XOSI would cause blue screen in Windows. I replace that patch with other tiny hotpatches.

Hello, Steve. Can you please share those tiny hotpatches and your DSDT/SSDTs so I can see how they are applied?

Share this post


Link to post
Share on other sites

Renaming your device *just* in DSDT will not rename it in other tables, e.g. in SSDT. This leaves undefined references to your device and effectively makes Windows crash (no idea why macOS eats it in the first place).

 

You should leave TableSignature empty or have multiple patches for all sorts of tables you need. Please read the manual properly next time, this should be relatively obvious from TableSignature description.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

Announcements

  • Similar Content

    • By STLVNUB
      *Put the script into its own folder as it will create other folders*
      What is BTB?
      Script file to clone and help build Clover or Opencore repos
      Script will create link to itself in /usr/local/bin/bob
      Script SHOULD fix up any stray bobs you may have.
      Then you only need to type bob. and a parameter
      "a" for ACID repo, official
      "d" for ACID repo DUET build
      "c" for CLOVER
      "e" to erase UDK Folder
      Easier typing bob than.....usual stuff
      YOU WILL NEED TO cmod+x THE SCRIPT
      Enjoy
       
    • By datta0
      Hi, I have a small problem with my Open core Hackintosh build.
      I actually got EFI from someone on the internet and tweaked it a bit so I could get up and running.
      Here is my EFI.
      My laptop boots fine but while booting, it shows the apple logo for the first 5 seconds, then goes blank for 2-3minutes and then I see apple login screen.
      This happens every time. I tried a few config edits but didn't work.
      Can someone look into my EFI and suggest any necessary changes that can improve boot times?

      Thanks in advance 
    • By Raffay1234
      I'm transitioning from Clover to Opencore. I thought the process will be simpler but it turns out it isn't. I have created a bootable Catalina USB with Opencore but stuck at this error. I have attached my EFI and the verbose output. Anyone please provide some guidance please?
       
      The laptop is HP Pavilion 15 Gaming:
      Intel Core i7-9750H
      16GB RAM
      256GB SSD + 1TB SSD
      PS2 Keyboard + I2C Trackpad
       

      EFI.zip
    • By rawmassen
      Hi there,
       
      If anyone could help I'd be very grateful, I'm trying to move from Clover to OC but have hit a brick wall for the last 2 days.
       
      It's an ACPI table error: SB_.PCIO.XHC_RHUB.HS11, Namespace lookup failure.
       


      Skylake Build:
      OpenCore 0.5.9
      Mojave 10.14.6, iMac17,1
      Asus Maximus Hero VIII
      6700K
       
      I've attached the config.plist and ACPI folder.
       
      EFI Drivers: OpenRuntime.efi and HfsPlus.efi
      Kexts: IntelMausi, Lilu, VirtualSMC, Whatevergreen
       
      Things I've tried...
       
      1) Clearing NVRAM (as it was previously booted by Clover)
       
      2) Hackintool USB Mapping: both the SSDT files and the USBPorts.kext
       
      3) USBInjectAll.kext (with and without SSDT files)
       
      4) SSDT-RHUB.aml. This seems to be directly involved, spent a long time with this but with no luck.
       
      I followed this guide:
       
      https://dortania.github.io/Getting-Started-With-ACPI/Universal/rhub-methods/manual.html
       
      Everything is XHC in my DSDT, except these definitions at the top (line 72 and 73):
       
          External (_SB_.PCI0.XHC_.DUAM, MethodObj)    // Warning: Unknown method, guessing 0 arguments     External (_SB_.PCI0.XHC_.RHUB.INIR, MethodObj)    // Warning: Unknown method, guessing 0 arguments  
      So I edited the SSDT-RHUB.dsl to this:
       
      /* * Goal of this SSDT is to shut off the RHUB to force macOS into * manually building ports when the ACPI is screwed up */ DefinitionBlock ("", "SSDT", 2, "DRTNIA", "RhubOff", 0x00001000) { External (_SB_.PCI0.XHC.RHUB, DeviceObj) // Full pathing to RHUB, change to yours Scope (_SB.PCI0.XHC.RHUB) // Full pathing to RHUB, change to yours { Method (_STA, 0, NotSerialized) { If (_OSI ("Darwin")) { Return (Zero) // This disables the device only in macOS } Else { } } } } Which results in this AML version:
      DefinitionBlock ("", "SSDT", 2, "DRTNIA", "RhubOff", 0x00001000) { External (_SB_.PCI0.XHC_.RHUB, DeviceObj) Scope (_SB.PCI0.XHC.RHUB) { Method (_STA, 0, NotSerialized) // _STA: Status { If (_OSI ("Darwin")) { Return (Zero) } Else { } } } } But I get the same error. 
       
      I'm at a complete loss, can anyone help?
       
       
      config.plist
      ACPI.zip
    • By nyichiban1
      So I got some new hardware:
      Asus Z490I Gaming ITX
      NZXT H1 Case
      Intel i9-10900
      samsung 970 EVO plus NVME
      SK Hynix 1TB SSD
      32GB G.Skill 3200 C14 Ram
      MSI 5700 XT Evoke
       
      So I got windows installed and wanted to install macOS using opencore. I had no luck getting past the [EB|#LOG:EXITBS:START] error and decided to use someone else's EFI who had the same motherboard minus the CPU and GPU (i7-10700k and Radeon VII). I went ahead with that EFI and voila got it to install and got past the error I had. The issue was after the install there is a reboot and that's where it hangs and give me an error log that I attached. Tried a few more things to see what I could do but was stuck on that error log every single time. Decided to try again today and now I can't get past the original error log. I've looked at the dortania guide for that error and tried everything it suggested but still won't get past the error. Not sure what else to do but to try Clover maybe. Anyone have any suggestions? I've attached my EFI as well. Thanks in advance.
      Installer_Log_8-Jul-2020.txt
      EFI.zip
×