Jump to content
30960 posts in this topic

Recommended Posts

Just tried on Fusion Drive. It installs to the EFI partition on the second disk instead of the first.

 

 

 


Clover EFI installer log - Mon Oct 31 20:19:36 GMT 2016
Installer version: v2.3k r3890 EFI bootloader
======================================================
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *128.0 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:          Apple_CoreStorage                         127.7 GB   disk0s2
   3:                 Apple_Boot Boot OS X               134.2 MB   disk0s3
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *2.0 TB     disk1
   1:                        EFI EFI                     209.7 MB   disk1s1
   2:          Apple_CoreStorage                         2.0 TB     disk1s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk1s3
/dev/disk2
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                  Apple_HFS Macintosh HD           *2.1 TB     disk2
                                 Logical Volume on disk0s2, disk1s2
                                 CD6DD151-926E-46AF-B6F8-744137969981
                                 Unencrypted Fusion Drive
/dev/disk3
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *62.1 GB    disk3
   1:       Microsoft Basic Data SanDisk                 62.1 GB    disk3s1
disk2 is a logical volume
======================================================
Backing up EFI files

Backing up /Volumes/Macintosh HD/EFIROOTDIR/EFI folder to /Volumes/Macintosh HD/EFI-Backups/r0000/2016-10-31-20h19/EFI
======================================================
Installing BootSectors/BootLoader

Stage 0 - Don't write any of boot0af, boot0md, boot0ss to /
Stage 1 - Don't write any of boot1h2, boot1f32alt, boot1xalt to /

Theme 'metal' (defined in config.plist) not found !
Using default theme 'embedded'
======================================================
=========== Clover EFI Installation Finish ===========
======================================================

 

 

Hmm...I don't think I added any keyboard drivers... Since everything works with the default Apple driver (when not encrypted), I figured I don't need one. But tell me, which driver should I use for this case? I already use AptioFixDrv2?

Password input requires a keyboard driver working with AppleBootKeyPress protocol. Only special constructed drivers: UsbKbDxe from Clover 3882+, or AptioInputFix by vit9696. Thats all for now.

  • Like 1

Password input requires a keyboard driver working with AppleBootKeyPress protocol. Only special constructed drivers: UsbKbDxe from Clover 3882+, or AptioInputFix by vit9696. Thats all for now.

Thanks!

 

I already tried UsbKbDxe and..no luck. I'm gonna try AptioInputFix by vit9696 and let you know. :)

 

Also, thank you for the explanation and for the driver.

 

 

Update:

@Slice, the AptioInputFix driver worked for me. Thank you very much!

 

 I thought I'd never see the day when FileVault will work on a Hackintosh. This is incredible!

 

Congratulations to everyone who contributed to this release! You guys rock! \m/

I always assumed that with a fusion drive I should use the EFI partition on the first disk. But I tried moving the files to the second disk (the one Clover installs to) and it still boots fine.

 

So I guess Clover is officially installing ok to fusion drives now.

  • Like 1

Pls try this prebuilt binaries...

I made a mirated revert for some migrated function from commit 3885...

 

->attachicon.gif3890_NO_HDA_MIGRATE.zip

 

ErmaC

 

hello Ermac from Portugal

 

that one solve boot problems

 

i'm in now . and is working 

 

thanks

The pity is that diskutil output in Sierra and EC are different.

 

The modded script attached can handle logical volumes. Tester needed.

 

PS for all ( goes in ~/src/edk2/Clover/CloverPackage/package/Scripts.templates/EFIFolder/ )

As I see confirmations I committed this.

  • Like 1

Just tried on Fusion Drive. It installs to the EFI partition on the second disk instead of the first.

 

 

 


Clover EFI installer log - Mon Oct 31 20:19:36 GMT 2016
Installer version: v2.3k r3890 EFI bootloader
======================================================
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *128.0 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:          Apple_CoreStorage                         127.7 GB   disk0s2
   3:                 Apple_Boot Boot OS X               134.2 MB   disk0s3
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *2.0 TB     disk1
   1:                        EFI EFI                     209.7 MB   disk1s1
   2:          Apple_CoreStorage                         2.0 TB     disk1s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk1s3
/dev/disk2
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                  Apple_HFS Macintosh HD           *2.1 TB     disk2
                                 Logical Volume on disk0s2, disk1s2
                                 CD6DD151-926E-46AF-B6F8-744137969981
                                 Unencrypted Fusion Drive
/dev/disk3
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *62.1 GB    disk3
   1:       Microsoft Basic Data SanDisk                 62.1 GB    disk3s1
disk2 is a logical volume
======================================================
Backing up EFI files

Backing up /Volumes/Macintosh HD/EFIROOTDIR/EFI folder to /Volumes/Macintosh HD/EFI-Backups/r0000/2016-10-31-20h19/EFI
======================================================
Installing BootSectors/BootLoader

Stage 0 - Don't write any of boot0af, boot0md, boot0ss to /
Stage 1 - Don't write any of boot1h2, boot1f32alt, boot1xalt to /

Theme 'metal' (defined in config.plist) not found !
Using default theme 'embedded'
======================================================
=========== Clover EFI Installation Finish ===========
======================================================

 

 

the modded script first look for the uuid of the logical volume using 'diskutil info diskX', then grep 'diskutil list' for the line before the uuid that containings what on my corestorage volume is:

Logical Volume on disk0s3
30ACF980-FE7C-48BA-86F4-C5105F357D0A

i.e. disk0s3

 

but your output show:

Logical Volume on disk0s2, disk1s2
                                 CD6DD151-926E-46AF-B6F8-744137969981

two disks.

 

Actually I'm using the last column, in your case is disk1s2. So if that is wrong I can use the fourth column that should be really enough for all.

But the question is,  is that right? is ok for all of you?

 

Attached script that use fourth column that is always the first disk.

 

MountESP.zip

As I see confirmations I committed this.

Wait.... se above

  • Like 1

The pity is that diskutil output in Sierra and EC are different.

 

The modded script attached can handle logical volumes. Tester needed.

 

PS for all ( goes in ~/src/edk2/Clover/CloverPackage/package/Scripts.templates/EFIFolder/ )

fixed the problem here: running rev. 3889 on 10.12.2 (build 16C32e) <--- out now for Devs.

  • Like 1

I moved my Clover files from the second (hard) disk back to the first (ss) disk and tried your new script. Now it mounted the first disk and updated the existing Clover install.

 

I can't say which way is more "correct", but I like the new script better as it makes more sense to me to use the EFI partition on the SSD for the Clover files as it's the first disk in the CS volume.

 

 

 

Clover EFI installer log - Mon Oct 31 21:36:10 GMT 2016
Installer version: v2.3k r3890 EFI bootloader
======================================================
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *128.0 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:          Apple_CoreStorage                         127.7 GB   disk0s2
   3:                 Apple_Boot Boot OS X               134.2 MB   disk0s3
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *2.0 TB     disk1
   1:                        EFI EFI                     209.7 MB   disk1s1
   2:          Apple_CoreStorage                         2.0 TB     disk1s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk1s3
/dev/disk2
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                  Apple_HFS Macintosh HD           *2.1 TB     disk2
                                 Logical Volume on disk0s2, disk1s2
                                 CD6DD151-926E-46AF-B6F8-744137969981
                                 Unencrypted Fusion Drive
/dev/disk3
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *62.1 GB    disk3
   1:       Microsoft Basic Data SanDisk                 62.1 GB    disk3s1
disk2 is a logical volume
======================================================
Backing up EFI files

Backing up /Volumes/Macintosh HD/EFIROOTDIR/EFI folder to /Volumes/Macintosh HD/EFI-Backups/r3866/2016-10-31-21h36/EFI
======================================================
Installing BootSectors/BootLoader

Stage 0 - Don't write any of boot0af, boot0md, boot0ss to /
Stage 1 - Don't write any of boot1h2, boot1f32alt, boot1xalt to /

Removing drivers64UEFI/VBoxHfs-64.efi driver because HFSPlus driver present

======================================================
=========== Clover EFI Installation Finish ===========
======================================================

 

 

  • Like 1

I can't say which way is more "correct", but I like the new script better as it makes more sense to me to use the EFI partition on the SSD for the Clover files as it's the first disk in the CS volume.

disk at index 0 (the first) is a good rule.

  • Like 1

Other test pls...

 

-> attachicon.gif3892_platformPointer.zip

 

ErmaC

 

hello Ermac

 

that one also is booting .. to me is slow on the boot stage

 

edit : forget the slow .. i boot from the new 10.12.2 and need to update the cache

 

i test also in el capo last version and is normal

 

thanks

hello Ermac

 

that one also is booting .. to me is slow on the boot stage

 

edit : forget the slow .. i boot from the new 10.12.2 and need to update the cache

 

i test also in el capo last version and is normal

 

thanks

 

 

Ok changes avaiables... -> http://www.insanelymac.com/forum/topic/306156-clover-bugissue-report-and-patch/page-65?p=2311549&do=findComment&comment=2311549

 

ErmaC

 

good working, thank ErmaC

 

@Slice, return bug is fixed, so r3887 is good code :D . 

 

thank you

the modded script first look for the uuid of the logical volume using 'diskutil info diskX', then grep 'diskutil list' for the line before the uuid that containings what on my corestorage volume is:

Logical Volume on disk0s3
30ACF980-FE7C-48BA-86F4-C5105F357D0A
i.e. disk0s3

 

but your output show:

Logical Volume on disk0s2, disk1s2
                                 CD6DD151-926E-46AF-B6F8-744137969981
two disks.

 

Actually I'm using the last column, in your case is disk1s2. So if that is wrong I can use the fourth column that should be really enough for all.

But the question is,  is that right? is ok for all of you?

 

Attached script that use fourth column that is always the first disk.

 

attachicon.gifMountESP.zip

Wait.... se above

 

Hi,

I checked the recent alterations to Clover, and they are done improperly. The code is supposed to return the list of all logical volumes, and the latter code does not assume this possibility:

$ LC_ALL=C diskutil list | \
> grep -B 1 "$UUID" | \
> grep -i 'logical volume' | awk '{print $4}' | \
> sed -e 's/,//g' | sed -e 's/ //g'
disk1s2
disk2s4

Hi vit9696,

 

 The code is supposed to return the list of all logical volumes, and the latter code does not assume this possibility:

 

 

no, Is supposed to find only the line before the matching partition uuid on the logical volume firstly, for example:

Logical Volume on disk0s2, disk1s2
                                 CD6DD151-926E-46AF-B6F8-744137969981

and then it should find 4th column

  1. Logical
  2. Volume
  3. on
  4. disk0s2, (cleaned by sed is disk0s2)
  5. disk1s2

 

Not a list of all logical Volumes, only the first physical disk. If that is wrong we should elaborate what is better.

Can you show me your 'diskutil list'? may be the partition uuid is repeated for you?

just want to ask a fast thing bare with me please slice:

how well does clover read acpi tables ?

could how acpi effect a gpu working right or not?

the reason i ask is the 290x works oob on a macpro 5,1 with all ports working and 

we have been thinking it's a acpi reading issue 

now with ozmosis the RX480 works without igpu with clover it needs the igpu

if you could help clear this up please do i willl be following the post and i will get you debug files 

soon when my new mobo comes thanks for your time.

 

1. Clover read ACPI tables. But what is read? Not as imaginative literature. It get it from BIOS and put to OS. Someone can make patches on the fly for his responsibility.

2. "290x works oob on a macpro 5,1" . Yes, I know there is a difference between real MAC and Hackintosh but nobody told me what namely.

3. Oz is not accessible for me and I can't discuss what it can.

  • Like 1

Hi vit9696,

 

 

no, Is supposed to find only the line before the matching partition uuid on the logical volume firstly, for example:

Logical Volume on disk0s2, disk1s2
                                 CD6DD151-926E-46AF-B6F8-744137969981
and then it should find 4th column

 

  • Logical
  • Volume
  • on
  • disk0s2, (cleaned by sed is disk0s2)
  • disk1s2
Not a list of all logical Volumes, only the first physical disk. If that is wrong we should elaborate what is better.

Can you show me your 'diskutil list'? may be the partition uuid is repeated for you?

 

Oh, have finally seen that $UUID and the -n check, missed it in the latest diff in the morning. Looks like you are right, I ran the commands in order and it gave me the right partition now  :whistle: Good job & sorry for bothering.

  • Like 1

No problem Bro, if produce problem we can fix it, if work I'm happy  :)


now I want to see if Diskarbitration framenwork can tell something about logical volumes.. may be usefull to update the partutil command.

@ pkdesign

If PatchVBios isn´t working automaticly you can have a look on your vbios, find the correct entry and patch it on the fly via the key PatchVBiosBytes.

 

@ Slice

Have you seen this post: http://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page-578?do=findComment&comment=2309338

I posted it because since 10.12 a custom hibernatefile isn´t working.

can someone help?

 

i have no idea why i am not seeing my drive on the boot screen in Clover - should see MacHD and Test.

 

e834fb512606110.jpg

 

Attached is my Config... so frustrated right now.

 

Edit - seems to be clover 3882... went back to 3763 and it booted....

config.plist.zip

Hi

 

I just setup FileVault2, but now my nvram.plist is not loaded on boot (Which it shouldn't as the disk is encrypted), can I somehow tell 80.save_nvram_plist.local to save the nvram.plist to the EFI partition instead of the root of the boot drive?

 

Also I tested out the EnableHWP flag, it's working great!

 

EDIT: Does anyone know if it is possible to have native NVRAM on Gigabyte Z170? I have been searching high and low, but haven't found anything, as that would fix the nvram.plist problem. (Sorry if this is OT, but I was just thinking that this was bootloader related).

 

Thanks for all your hard work.

Hi

 

I just setup FileVault2, but now my nvram.plist is not loaded on boot (Which it shouldn't as the disk is encrypted), can I somehow tell 80.save_nvram_plist.local to save the nvram.plist to the EFI partition instead of the root of the boot drive?

 

Also I tested out the EnableHWP flag, it's working great!

 

EDIT: Does anyone know if it is possible to have native NVRAM on Gigabyte Z170? I have been searching high and low, but haven't found anything, as that would fix the nvram.plist problem. (Sorry if this is OT, but I was just thinking that this was bootloader related).

 

Thanks for all your hard work.

Yes, this is related. This is a part of Dmazar's work on OsxAptioFixDrv but he is absent and nobody can continue.

 

The question about nvram.plist location is very interesting. May be Micky1979 may look at the script how to write a file into unmounted volume.

I also think that for the case of FV2 it will  be better to use Recovery HD.

Or we should propose always use ESP and account it to be always mounted. Else logic?

×
×
  • Create New...