D-an-W Posted October 31, 2016 Share Posted October 31, 2016 Hi guys, First of all, I want to congratulate everyone who brought the FileVault feature closer to reality. Great job! Now, maybe I missed this part, but is FileVault supposed to work with Clover 3882? Cause I'm having some issues entering the password after restart, although the keyboard is recognized in Clover UI and in another installation of Sierra (not encrypted though). And both my keyboard and my mouse are working fine in BIOS. Also, the mouse works ok on that screen, and both my keyboard and mouse are wireless and connected to the same wifi base. So, I would say that, in theory, if one works, the other one should too. ) Still, I can't enter that HDD cause I can't enter the password to decrypt it. I also tried unplugging and replugging my wifi base. But same issue. Only mouse works. The keyboard doesn't. Any idea how to fix this? Did you also add one of the two keyboard drivers? I have Apple Magic keyboard and Apple Bluetooth but still require the AptioFix driver (2nd one) for it to work on the password entry screen. Link to comment Share on other sites More sharing options...
arsradu Posted October 31, 2016 Share Posted October 31, 2016 Did you also add one of the two keyboard drivers? I have Apple Magic keyboard and Apple Bluetooth but still require the AptioFix driver (2nd one) for it to work on the password entry screen. 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? Link to comment Share on other sites More sharing options...
Riley Freeman Posted October 31, 2016 Share Posted October 31, 2016 The pity is that diskutil output in Sierra and EC are different. The modded script attached can handle logical volumes. Tester needed. Thanks Micky. This fixed the install on 3890. Pls try this prebuilt binaries... I made a mirated revert for some migrated function from commit 3885... And this fixed the failed boot 3 Link to comment Share on other sites More sharing options...
Micky1979 Posted October 31, 2016 Share Posted October 31, 2016 Thanks Riley Freeman. Tried also on logical volumes such file vault, corestorage or fusiondrive? Link to comment Share on other sites More sharing options...
ErmaC Posted October 31, 2016 Author Share Posted October 31, 2016 And this fixed the failed boot Good... later I will made a new pre-builded binaries... for target exactly where the problem coming from... I will need tester... ErmaC Link to comment Share on other sites More sharing options...
Riley Freeman Posted October 31, 2016 Share Posted October 31, 2016 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 =========== ====================================================== Link to comment Share on other sites More sharing options...
Slice Posted October 31, 2016 Share Posted October 31, 2016 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. 1 Link to comment Share on other sites More sharing options...
arsradu Posted October 31, 2016 Share Posted October 31, 2016 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/ Link to comment Share on other sites More sharing options...
Riley Freeman Posted October 31, 2016 Share Posted October 31, 2016 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. 1 Link to comment Share on other sites More sharing options...
artur_pt Posted October 31, 2016 Share Posted October 31, 2016 Pls try this prebuilt binaries... I made a mirated revert for some migrated function from commit 3885... ->3890_NO_HDA_MIGRATE.zip ErmaC hello Ermac from Portugal that one solve boot problems i'm in now . and is working thanks Link to comment Share on other sites More sharing options...
Slice Posted October 31, 2016 Share Posted October 31, 2016 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. 1 Link to comment Share on other sites More sharing options...
Micky1979 Posted October 31, 2016 Share Posted October 31, 2016 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 1 Link to comment Share on other sites More sharing options...
Mork vom Ork Posted October 31, 2016 Share Posted October 31, 2016 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. 1 Link to comment Share on other sites More sharing options...
Riley Freeman Posted October 31, 2016 Share Posted October 31, 2016 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 =========== ====================================================== 1 Link to comment Share on other sites More sharing options...
Micky1979 Posted October 31, 2016 Share Posted October 31, 2016 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. 1 Link to comment Share on other sites More sharing options...
ErmaC Posted October 31, 2016 Author Share Posted October 31, 2016 hello Ermac from Portugal that one solve boot problems i'm in now . and is working thanks Other test pls... -> 3892_platformPointer.zip ErmaC 1 Link to comment Share on other sites More sharing options...
artur_pt Posted October 31, 2016 Share Posted October 31, 2016 Other test pls... -> 3892_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 Link to comment Share on other sites More sharing options...
ErmaC Posted November 1, 2016 Author Share Posted November 1, 2016 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 Link to comment Share on other sites More sharing options...
Sherlocks Posted November 1, 2016 Share Posted November 1, 2016 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 . thank you Link to comment Share on other sites More sharing options...
vit9696 Posted November 1, 2016 Share Posted November 1, 2016 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 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 Link to comment Share on other sites More sharing options...
Micky1979 Posted November 1, 2016 Share Posted November 1, 2016 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 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? Link to comment Share on other sites More sharing options...
Slice Posted November 1, 2016 Share Posted November 1, 2016 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. 1 Link to comment Share on other sites More sharing options...
vit9696 Posted November 1, 2016 Share Posted November 1, 2016 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 Good job & sorry for bothering. 1 Link to comment Share on other sites More sharing options...
Micky1979 Posted November 1, 2016 Share Posted November 1, 2016 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. Link to comment Share on other sites More sharing options...
Fabio1971 Posted November 1, 2016 Share Posted November 1, 2016 Clover 3895 Fabio 1 Link to comment Share on other sites More sharing options...
Recommended Posts