seven-of-eleven / Lenovo-ThinkPad-X1C7-OC-Hackintosh

OpenCore configuration for Lenovo ThinkPad X1C7 for MacOS
28 stars 6 forks source link

Stuck On Pre-Installation #5

Closed markchen8717 closed 2 years ago

markchen8717 commented 2 years ago

Specs

Type: 20QD CPU: Intel(R) Core(TM) i5-8265U GPU: Intel UHD 620 SSD: Western Digital SN720 SSD 256GB Screen: 14" 1080p SDR Memory: 16GB / 2133MHz LPDDR3 Wifi & BT: Intel Wireless-AC 9560

Steps to reproduce

  1. Followed the steps to Making the installer in Windows
  2. Copy and pasted the EFI folder from this repo into USB root image image
  3. Apply pre installation BIOS settings shown in the repo
  4. Boot into USB and select EFI

Expected Behavior

The pre-installation phase of the Apple logo and loading bar should finish and be presented with the installation screen.

Actual Behavior

The screen is stuck at the pre-installation phase of the Apple logo and loading bar (with less than 10% loaded)

Debug (the tail of the error file)

222:074 00:043 AAPL: #[EB.LD.OFS|OPEN!] Err(0xE) <"usr\\standalone\\OS.dmg.root_hash"> 222:111 00:037 AAPL: #[EB.RH.LRH|P!] Err(0xE) <- EB.LD.LF 222:149 00:037 AAPL: #[EB.BST.FBS|!] Err(0xE) <- EB.RH.LRH

The full debug error file can be seen here

seven-of-eleven commented 2 years ago

Hi @markchen8717 Sorry for the delayed response. I've never created boot disk with Windows so I'm not sure what problems that could be causing. Do you know if that method creates a complete boot disk or if you need an internet connection during install? Assuming you're installing Monterey how long did you wait for it to boot?

markchen8717 commented 2 years ago

Hey @seven-of-eleven, thanks for getting back to me. You are right that this method doesn't create a complete boot disk and requires an internet connection during install. However, I am not sure if it starts the downloading during the pre-installation phase (where the screen only shows the Apple logo and loading bar) or afterwards inside the welcome screen. I did wait for it to load in the pre-installation phase for ~20 mins. Will try this out again with a boot disk created on MAC.

seven-of-eleven commented 2 years ago

Try also adding "-v" to your boot-args key in the config.plist file as outlined here. It will provide verbose booting and may give more insight to the issue.

markchen8717 commented 2 years ago

Hey @seven-of-eleven, so I went through the USB creation method on a MAC virtual machine, and also added -v to my boot args. This time I was not even able to make it into the Apple logo loading screen. However, I was able to capture a screenshot of the errors below. IMG_7400 P.S I used version 12.4 of Monterey.

seven-of-eleven commented 2 years ago

Looks like it is getting hung up with the WiFi/Bluetooth. Not sure why. If you are installing Monterey the proper Kext files should be in the EFI folder. I am running 12.4 on my computer as well. Try disabling AirportItlwm.kext, BluetoolFixup.kext, and IntelBluetoothFirmware.kext in you config.plist file (set the "Enabled" key to False for each). Then try the install again. If it does boot/install then at least you've narrowed down where the issue is. I hope to update my EFI to the latest version of OpenCore over the next week as well, if you'd prefer to wait for the updated version. Best.

markchen8717 commented 2 years ago

I tried booting back into v12.4 again and got stuck in a different screen, this is before I disabled the wifi / bluetooth kexts. IMG_7406 Update: It is strange that I get stuck in different screens on each re run IMG_7408 IMG_7409 IMG_7410

not-nullptr commented 2 years ago

@markchen8717 Can you be sure it is stuck? It might just be loading.

markchen8717 commented 2 years ago

Hey @NotARobot6969, I gave it another stab, it got stuck over 45 minutes on the screen below. The light on my USB was not blinking at all within this duration. I also tried disabling the network kext suggested by @seven-of-eleven, but no luck :/ IMG_7414

seven-of-eleven commented 2 years ago

@markchen8717 Not sure if you've tried the updated EFI with OC-0.8.1? Let me know if you're having issue with that version as well. Also did you set your Serial numbers. Also try and reset your NVRAM after changing the config.plist file.

markchen8717 commented 2 years ago

Hey @seven-of-eleven, I tried out the updated EFI with OC 0.8.1 and got into a restart boot loop before seeing the apple logo. I want to confirm with you whether the steps I've taken to setup my EFI folder is correct. So I basically copy over the EFI folder from this repo onto the OC 0.8.1 RELEASE x64 EFI by replacing any files that already exists. Then I use genSMBIOS to set my serial numbers. Please let me know if I am missing some steps to create the EFI folder correct, thanks! P.S I've tried resetting my NVRAM after changing the config.plist file but still no luck.

Screenshot before PC reboots:

image
seven-of-eleven commented 2 years ago

Hi @markchen8717 you don't need to copy this EFI into the "OC-0.8.1 RELEASE x64 EFI". The EFI folder you download here will have everything included. You only need to set the SMBIOS/Serial numbers. Then copy this EFI folder (downloaded from the repo) onto the EFI partition of the drive. So in the EFI partition you will have this EFI folder.

If you copy from this EFI into "OC-0.8.1 RELEASE x64 EFI" folder you will have a lot of unnecessary drivers and tools that will not be properly referenced in your config.plist file.

Hope that clarifies things. Best of luck.

markchen8717 commented 2 years ago

Thanks for the swift and detailed reply @seven-of-eleven! I tried copying the EFI folder directly from this repo into the EFI partition of the drive and unfortunately it still crashes during boot. By the way, I used the Install_macOS_12.3.1-21E258.dmg to create my USB. Please correct me if this is the wrong version.

not-nullptr commented 2 years ago

hi @markchen8717! your issue may be stemming from creating a USB from an install dmg and not download from macrecovery? maybe try using the basesystem and chunklist from macrecovery.

markchen8717 commented 2 years ago

Hey @NotARobot6969, thanks for pitching in! Just double checking I understood you correctly, to use the basesystem and chunklist from macrecovery, is this the online installation method from creating the USB using the Windows method at https://dortania.github.io/OpenCore-Install-Guide/installer-guide/winblows-install.html#downloading-macos ?

not-nullptr commented 2 years ago

@markchen8717 yep! it might make a difference as you're downloading the very latest version

markchen8717 commented 2 years ago

Thanks @NotARobot6969 !! Will give this a try right now!

markchen8717 commented 2 years ago

Hey @NotARobot6969 and @seven-of-eleven, so I attempted the macrecovery method with the latest release but the restart loop still occurs. However, when I went back to try out release 1.1 my laptop gets stuck on this screen for over 30 mins. Any ideas about these failure messages? image

P.S I have a Western Digital SN720 SSD which differs from the one in the README, could that be the cause?

seven-of-eleven commented 2 years ago

Hi @markchen8717 so I looked up vm_shared_region_start_address errors for opencore and found the following so it could be related the device-id setting for the GPU in DeviceProperties. Double check your BIOS settings. Not sure which model X1C7 you have but you may try delete the PciRoot(0x0)/Pci(0x2,0x0) key details in the config.plist and try the two outlined in the guide.

Otherwise you can reset you BIOS to default/optimized settings. Save and Exit. Then modify them as required again. This worked for me once on my desktop.

markchen8717 commented 2 years ago

Hi @seven-of-eleven, here are laptop specs:

I went inside the v1.1 confi.plist and looked at the PciRoot(0x0)/Pci(0x2,0x0). It appears that there is 2 of them, hence I deleted the #PciRoot(0x0)/Pci(0x2,0x0) one.

Screenshot 2022-07-07 140214

And set the keys to (removing all the framebuffer-con image Unfortunately, even after reseting my BIOS to default/optimized settings and then modifying them as required still results in the vm_shared_region_start_address errors. Looking at the required BIOS settings in the README, it appears that the option to Total Graphics Memory 256MB is greyed out when Thunderbolt Security Level is set to No security. Please correct me if I've done something wrong, thanks in advance!

markchen8717 commented 2 years ago

Good news @seven-of-eleven and @NotARobot6969! After removing just the device_id entry from the config.plist, I was able to enter the installation GUI!

Since I want to dual boot both windows and Mac OS, I shrunk my Windows volume and created a new volume with the unallocated space. Then proceed to start the recovery installation. Found this video to dual boot Big Sur Unfortunately, the installer has been stuck for over 2 hours with no restarts.

Going to try to create the USB from a MAC and see. Nonetheless, thank you guys once again!!

markchen8717 commented 2 years ago

Good news @seven-of-eleven and @NotARobot6969! After removing just the device_id entry from the config.plist, I was able to enter the installation GUI!

Since I want to dual boot both windows and Mac OS, I shrunk my Windows volume and created a new volume with the unallocated space. Then proceed to start the recovery installation. Followed the Disk Partitioning steps from this video Unfortunately, the installer has been stuck for over 2 hours with no restarts. IMG_7440

Going to try to create the USB from a MAC and see. Nonetheless, thank you guys once again!!

markchen8717 commented 2 years ago

I've successfully installed Monterey with the MAC created USB and booted into it! Thanks @NotARobot6969 @seven-of-eleven for all the help walking me through this !!

mlabajos456 commented 5 months ago

How did you solve it?