al3xtjames / Gigabyte-GA-Z77X-macOS-Install

Support files for running macOS on Gigabyte 7 Series motherboards
101 stars 26 forks source link

Can't install sh #79

Open warb2n opened 7 years ago

warb2n commented 7 years ago

System Information

Issue Description

Can't install sh... doesn't matter --install flag or --update Start screen shot 2017-10-14 at 08 35 56

Then nothing screen shot 2017-10-14 at 08 36 10

Gerard71 commented 7 years ago

the script only works under macos sierra for the moment, it detect the version of the system to work, it will have to wait until al3xtjames the update for 10.13 I think .....

renarsvilnis commented 6 years ago

Can confirm @warb2n, same happens on my setup:

Gerard71 commented 6 years ago

you have to install 10.12 extract the files from the installation script and update them manually for 10.13

waiting for a script update one day can be .......

renarsvilnis commented 6 years ago

@Gerard71 don't get why should I install 10.12, cant I just go through GA-Z77x.sh code and execute parts I need for my mobo?

Anyway I'm going step-by-step through the script execution and the script hangs at gEFIMount=$("$gRepo/acpi/build/tools/mount_efi").

Manually executing Gigabyte-GA-Z77X-macOS-Install/acpi/build/tools/mount_efi I get: No EFI partition present on root volume (/dev/disk3s1)!

As it ends with exit 1 it fails the GA-Z77x.sh script silently.

Clover shows that EFI is on disk2s1 partition. What could disk2 be? I don't see any disk2s* entries in disk utility.

EDIT:

I manually mounted the EFI with Clover and override gEFIMount="/Volumes/EFI". All good until Compiling and copying DSDT: part of the script, where some https://github.com/al3xtjames/hack-acpi code is once again executed which internally detects the invalid location of EFI partition.

cp: No EFI partition present on root volume (/dev/disk3s1)!/EFI/CLOVER/ACPI/patched/DSDT.aml: No such file or directory

al3xtjames commented 6 years ago

The hack-acpi submodule in this repo is somewhat old, which is why mount_efi is hanging - the version in this repo doesn't have APFS support. The updated version of mount_efi does have APFS support. I need to update the submodule in this repo (and make some additional changes for 10.13). /dev/disk2s1 sounds right - look at the output of diskutil list. I think Disk Utility will only show you the APFS volumes by default.

renarsvilnis commented 6 years ago

@al3xtjames Can't wait 😄

Seems like /dev/disk3 APFS is synthesized on top of /dev/disk2.

/dev/disk2 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *250.1 GB   disk2
   1:                        EFI EFI                     209.7 MB   disk2s1
   2:                 Apple_APFS Container disk3         249.8 GB   disk2s2

/dev/disk3 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +249.8 GB   disk3
                                 Physical Store disk2s2
   1:                APFS Volume Macintosh HD            151.5 GB   disk3s1
   2:                APFS Volume Preboot                 22.0 MB    disk3s2
   3:                APFS Volume Recovery                506.6 MB   disk3s3
   4:                APFS Volume VM                      20.5 KB    disk3s4****
Gerard71 commented 6 years ago

the scrip only works under 10.12, if you can not wait for it to be updated do a 10.12 unformatted disk installation in APFS, run the scrip, update clover, update the other kexts, install apfs.efi in the folder drivers64UEFI of clover, install 10.13 the installation will update the disk in apfs

or used an external hard drive to do a 10.12 installation and recovered the necessary files and especially the DSDT