Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to get to the installer using provided files #5

Closed
rakbladsvalsen opened this issue Jan 8, 2018 · 39 comments
Closed

Unable to get to the installer using provided files #5

rakbladsvalsen opened this issue Jan 8, 2018 · 39 comments

Comments

@rakbladsvalsen
Copy link

rakbladsvalsen commented Jan 8, 2018

First, I would like to thank you for making a guide for the z420.

I have a working Sierra system, which I used to make a bootable USB (UEFI enabled, injected nvidia drivers, high sierra, etc).

Then, I copied the files from the repo (AppleIntelE1000.kext, FakeSMC.kext, NullCPUPower.kext, USBInjectAll.kext, VoodooHDA.kext, VoodooTSCSync.kext) to /Volumes/[usb install media]/EFI/CLOVER/kexts/Other/, and edited config.plist according to the guide (Disable nvidia driver, mark all acpi patches, select MacPro5,1). No success, as soon as the progress bar starts loading the pc will reboot. Verbose output doesn't seem to show any problems - the last line is just a plain "Attempting system restart" with some lines of @ksc.[...] before that.

Also had no success if I replace the CLOVER folder with the one in your repo (yes, I disabled nvidia drivers and set SMBIOS to MacPro5,1). Same thing happens, computer reboots when the bar starts loading, and even verbose output is the same. There was an issue where you said that replacing the clover folder would do the trick, but it doesn't in my case.

I don't think my setup is different from yours (Intel E5-1650, Nvidia Quadro 4000). By the way, I already selected AHCI mode in BIOS and disabled VT-x.
Help me please :(

@JohnnyOpcode
Copy link

Same configuration here. Still no luck getting my z420 going.

There has to be some nuance that is escaping us.

j.

@NTT123
Copy link
Owner

NTT123 commented Jan 9, 2018

@possessedbysatan You don't need to disable VT-x as I'm running with VT-x enabled right now.

I'm booting macOS from Legacy BIOS mode (not UEFI).

@rakbladsvalsen
Copy link
Author

Hi. Thanks for the answer.

I tried creating the bootable USB selecting Legacy mode. Then, I replaced UniBeast's clover folder with the one in the repo. Same thing happens. It just takes a while longer to load (maybe because it isn't uefi) but at the end it reboots.

I also tried updating directly from Sierra, with no luck. Selecting "Install macOS High Sierra" in clover results in "attempting system restart... mach reboot". So far I tried this to no avail:

  • Copy all the kexts from CLOVER/kexts/10.12 (from my current install) to /kexts/Others, /kexts/10.13.2/ and /kexts/10.13/
  • Disable DART, BGRT and MATS tables in Clover.
  • Use -x flag.
  • Delete /System/Library/Extensions/FakeSMC.kext
  • Create bootable USB in UEFI mode, then try to boot it in legacy mode. It doesn't boot. I think this is pretty obvious. My current sierra install is UEFI, though.

Basically I did everything suggested in this thread. Setting nvidia to vesa doesn't make any difference.

@NTT123
Copy link
Owner

NTT123 commented Jan 10, 2018

Idk if this will help or not, I uploaded my clover USB image (.dmg file) used to boot my macOS 10.13.2 (which I'm running on)

Here: https://github.com/NTT123/Hackintosh-HP-Z420-MacOS-High-Sierra-10.13/raw/master/10.13.2/image.dmg

To create the boot USB: use Disk Utility app -> select your USB -> Click Restore on Toolbar -> Click Image button -> Select image.dmg -> Boot with UEFI from USB.

Good luck.

@rakbladsvalsen
Copy link
Author

rakbladsvalsen commented Jan 11, 2018

Did as suggested, and either I'm unlucky or there's something wrong in my BIOS. Since it's only the EFI partition of an actual bootable USB (it's only 22MB), I tried booting from it and then selecting the macOS High Sierra Installer (which is created if you try to directly updgrade to High Sierra from Sierra). Also, selecting the bootable USB created with UniBeast fails; the computer just simply reboots when the progress bar appears.

Maybe I created the bootable USB with the wrong options, or I'm booting it incorrectly. Currently this is pretty what I'm doing: UniBeast > select UEFI mode > Inject nvidia drivers > select USB from UEFI boot drives > press space in boot image > mark verbose and nvidia to vesa > boot with injected kexts > ...pc reboots

How did you create the bootable USB? Did you use UEFI+Inject nvidia drivers? I feel like the only thing I need to successfully boot is the kext folder present in your backup, but I don't think it's going to boot without nvidia or apfs drivers. I really don't know. @JohnnyOpcode, have you been able to install High Sierra using the clover USB image?

@long1eu
Copy link

long1eu commented Feb 16, 2018

any updates on this?

@JohnnyOpcode
Copy link

No luck here as of yet. The USB install just reboots. There is a substantial difference in the config.plist between the repo variants that I am trying to grasp. I would love to see an image of the final harddrive EFI partition for 10.13.x (not the USB one).

I did encounter a forum post that suggested the USB is at fault (hence the reboot) so I am trying to just build a SSD drive manually. It boots (via SATA) but crashes/locks because something is amiss in the config.plist file.

Just so we are not missing something, what is the z420 BIOS version that this is working with? Which USB port are you inserting the installer in?

@rakbladsvalsen
Copy link
Author

rakbladsvalsen commented Feb 19, 2018

@JohnnyOpcode I don't think the problem is related to the USB ports. I mean, when I tried to install it, the progress bar starts to load, and after a while it reboots. I think the problem relies in CPU-related configs, because otherwise it would just plainly reboot after selecting "macOS High Sierra". I'm using Sierra with the latest BIOS update (3.91).

@NTT123 I don't know if it would be too much to ask, but it would be great if you made a backup of a clean High Sierra installation. In the past I used dd+pigz in order to dd and compress the output at the same time. Here are the commands I usually use to make a full system backup:

Bootloader:
sudo bash -c "dd if=/dev/sda1 bs=1024 conv=noerror,sync status=progress | pigz -c -9 > bootloader.gz"
System partition:
sudo bash -c "dd if=/dev/sda2 bs=1024 conv=noerror,sync status=progress | pigz -c -9 > system.gz"
Partition table layout:
sfdisk -d /dev/sda > layout
The output should be extremely small if the hard drive was zero'ed before the install.

@JohnnyOpcode
Copy link

Front USB 2.0 port I get the constant reboot (maybe a flash of the progress bar occasionally)

Front USB 3.0 port I can't get to Clover screen.

My BIOS is 3.91 as well.

@long1eu
Copy link

long1eu commented Feb 19, 2018

I get a kernel panic, but can't read it, and I can't find the log.

@JohnnyOpcode
Copy link

I'm using ECC (4x8G) memory. Could that be an issue?

@Tomygames
Copy link

Activate Legacy ACPI CPU Tables in BIOS, That works :D

@Tomygames
Copy link

Tomygames commented Feb 23, 2018

config.plist.zip

As it took me all day to get it working here are a few more steps i had to do to get my mackintosh working:
Activate Legacy ACPI CPU Tables in BIOS (As said above)
Change Video(something) from Legacy to EFI in BIOS
Use MacPro 5.1 not 6.1 for your SMBIOS (I personally forgot this step thinking 6.1 would do the job)
Don't forget to switch storage options to AHCI in BIOS

Hope that helps ;)

@JohnnyOpcode
Copy link

Can you attach your config.plist Tomygames?

@JohnnyOpcode
Copy link

Finally success! Tonygames you made me aware of something I had not known about in the BIOS. Once I 'Activate Legacy ACPI CPU Tables' everything started to proceed without a hitch.

Thank-you, thank-you, thank-you :)

@long1eu
Copy link

long1eu commented Feb 25, 2018

Same here!

@NTT123
Copy link
Owner

NTT123 commented Feb 26, 2018

Wow. congrats!

@rakbladsvalsen
Copy link
Author

Sorry for the late reply and for leaving this issue open.

Thanks for the hack, @Tomygames .
Since I struggled a lot trying to install macOS High Sierra and the instructions are not clear at all (for newbies), here is what I did:

  1. Create macOS installer using UniBeast. (UEFI mode, no nvidia/radeon drivers).
  2. Replace CLOVER folder inside usb stick with the one in this repo . The folder should be located inside your usb's EFI partition.
  3. Replace config.plist inside usb stick with the one provided by @Tomygames
  4. Boot usb stick (UEFI). There will be probably several options: hit space in "Install macOS High Sierra" and then choose Boot with injected kexts. Selecting just "Install macOS..." won't work (or at least, didn't work for me).
  5. Proceed to install macOS. In my case, the installer automatically rebooted after the progress bar was complete and nothing was apparently installed. To solve this, click in the X (to cancel installation) but don't click anything else. The installer will reboot unexpectedly again.
  6. Boot from the usb stick again. Then, there will be an entry called "Install macOS high sierra" in the hard drive that had been previously selected. Hit space and boot it again with injected kexts.
  7. It should install normally. It took around 20 minutes for me to complete. After that, you can use your usb stick to boot the new installation. You will need to install Clover and VoodoHDA and some other things, though. Surprisingly, nvidia drivers are installed by default.

@NTT123 you might want to post detailed instructions in your README.md. It is very easy to get confused. Below I attach the final EFI folder which I used to install macOS.
EFI.zip

@NTT123
Copy link
Owner

NTT123 commented Jun 23, 2018

@possessedbysatan, thanks for the instructions. I've added the link to your above comment to the README file.

@sergiocs
Copy link

in the part of instal macOs show me a message: a firmware update is necesary.
how i can resolve this?

@rakbladsvalsen
Copy link
Author

rakbladsvalsen commented Jul 25, 2018

@sergiocs
You need to open with (the latest version of) Clover the config.plist in the EFI partition of your USB drive.
After that, go to SMBIOS and select in the dropdown menu MacPro 5.1. Don't forget to save the changes.

Or if you're feeling lazy, just copy the contents of this ZIP to your USB's EFI partition (or extract the config.plist). It's working with the latest version of macOS (10.13.6). This zip is basically the same zip file I uploaded a few comments above but with a modified config.plist.

EFI.zip

@sajidunnar
Copy link

sajidunnar commented Jul 30, 2018

Hello Guys

I have followed the guides and I am in boot as installer section it disk section dont show my list of drives but if I run df in terminal I can see only USB is showing? anything wrong I might have done ? but also bootloader show list of other OS

@rakbladsvalsen
Copy link
Author

@sajidunnar Could you elaborate further? I'm not trying to be mean, but your english is barely understandable.

I guess you have problems creating the USB installer. Go to Disk Utility, click View and check [Show all devices], then format your USB drive (HFS+ as filesystem, GPT for partition table). After that, your USB drive be showing up in UniBeast.

@sajidunnar
Copy link

sajidunnar commented Jul 31, 2018 via email

@rakbladsvalsen
Copy link
Author

Alright. Have you tried formatting your hard drive with an Apple-compatible filesystem (hfs+ or apfs) before trying to install macOS? That usually happens when the installer doesn't detect a drive with an apfs/hfs+ filesystem.

@sajidunnar
Copy link

I have 3 drives attached
1 SSD RUnning Ubuntu ,
2 Sata as data drive
3 HFS+ from my old imac ( I think this should be detectable by default)

but currently, I fall into the bootloader once the Unibeast installation is done then I am replacing EFI with your given zip content, so sometimes it boots and if i follow below instruction it always restarts

Though thanks for such prompt responses, my mac is down and so trying this if it works then I can save my money over getting the new one

Boot usb stick (UEFI). There will be probably several options: hit space in "Install macOS High Sierra" and then choose Boot with injected kexts. Selecting just "Install macOS..." won't work (or at least, didn't work for me).

@Amitcolorist
Copy link

I am new to this Hackintosh stuff. I have HP z420, 4 Core E-1620 3.6Ghz, 20gb ram, GTX 1080Ti.
I am able to install high sierra 13.6.02 with this guide.
https://github.com/NTT123/Hackintosh-HP-Z420-MacOS-High-Sierra-10.13.

My problem is I have to depand on pendirve for boot that I made to install High Sierra and another problem is when i try to install nvidia web driver system just get restart without any warning because of that i am not able to install nvidia web driver. In system Info Graphics memory shows only 256MB.

@rakbladsvalsen
Copy link
Author

@sajidunnar
My best guess is that there's something wrong going on with your PC. Did you change RAID to AHCI mode in your BIOS settings? Did you disable secure boot? Are you on the latest BIOS firmware? I'm pretty sure the problem lies in your BIOS settings, but who knows. For me it was just matter of formatting the drive in hfs+ to make it available to the installer.

@Amitcolorist
You need to install Clover in the drive where you installed macOS. After installing it just copy the contents of the EFI partition located in your USB installer to the EFI partition in your current system. You'll need to mount the partitions with Clover Configurator (or with a terminal).
As for the GPU, I don't know. macOS High Sierra already includes drivers for the default GPU that comes with this workstation. You might need to enable nvda_drv=1 in your config.plist.

@sajidunnar
Copy link

@possessedbysatan

Yes man u were right it was bios , I upgraded then I got the secure boot and drive mode as AHCI before it was with raid .

Now getting error related to firmware update so , I would follow your given instructions again but I have downloaded latest version 10.13.6 so everything would work or I have to change few thing in it ?

@Amitcolorist
Copy link

@possessedbysatan

Thank you for your response. As you mention I copy the EFI partition in system and now I can boot without USB installer and I am able to solve the problem regarding GPU gtx 1080ti I just change Video from EFI to Legacy in BIOS and its work perfectly.

@rakbladsvalsen
Copy link
Author

@sajidunnar
I uploaded a few comments above a new EFI.zip which includes the fixes for the latest version of macOS High Sierra. It should be working fine.

@Amitcolorist I'm glad I helped you. The guide doesn't mention the change of video mode, but I guess it's needed with recent cards for macOS High Sierra to work. Hopefully this issue will be useful for someone with the same problems in the future.

@Amitcolorist
Copy link

@possessedbysatan
Hi, Can you help me with one more thing. My usb 3.0 is not working . I try to download GenericUSBXHCI.kext and install with kext beast in library/ Extensions as you mention in here about fix usb 3.0 but not working.
Hackintosh-HP-Z420-MacOS-High-Sierra-10.13

@rakbladsvalsen
Copy link
Author

Don't use tools to install kexts. Copy the kext file to this location (mount your EFI partition first):
/EFI/CLOVER/kexts/10.13/
It should be working after rebooting. Personally I haven't taken a look a it, but I'll be updating my EFI.zip in the next days to include the required kext.

@sajidunnar
Copy link

@possessedbysatan Thanks for support man Finally I got the MacOS working Much appreciated your help

Now I have some issue related to drivers of Bluetooth Dongle and Wifi

  • Intel® Wireless 7265 Dubal band wifi and blueetooth its installed
  • Have Bluetooth dongle simple one ( as with above I can use only wifi so needed to buy this)

So can we support them? I saw this kext https://github.com/ammulder/AppleIntelWiFiMVM/releases but when I am trying its restarting my box

I have generic bluetooth dongle by some chine brand it was w

Note for Others

  1. My firmware was old so needed to upgrade
  2. My Drives were formatted with linux and needed to get acpi to access them

@sajidunnar
Copy link

Also I notices usb 3.0 not working but I have the same kext u shared with your folder .

@sajidunnar
Copy link

Hello ,
I found that USB 3.0 is working fine but the usb hubs connected via USB 3.0 not working like Monitor USb hub is not working any workaround ?

@Amitcolorist
Copy link

@possessedbysatan
Thank now my usb 3.0 port is working but when I check in system information there no USB 3.0 you can check also i attached the screenshot and i find It doesn't work properly like if i try to play any video from my hard drive that is connected to usb 3.0 port it doesn't play is just stuck on waiting try to play but on usb 2.0 port it play without any problem.
screen shot 2018-08-05 at 3 31 17 am

@coicoicoi
Copy link

coicoicoi commented Aug 12, 2019

Hi
I have a similar problem, I can't see the device when I attach it to usb 3.0, but the device is still visible on the desktop, please help me, thank you.
Screen Shot 2019-08-12 at 10 26 27
note : macOS 10.12.6

@coicoicoi
Copy link

225/5000
hi @Tomygames
I cannot start the HPZ40 hackintosh 10.13.6, although I have customized the BIOS and copied EFI as a guide, I don't know why I haven't booted into MacOS screen 10.13.6, thanks for your help. , thank you
https://youtu.be/SlgT-iJF45w

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants