Riley Freeman Posted October 26, 2016 Share Posted October 26, 2016 I noticed there were some recovery-related changes in recent commits. Just checked and I can now boot into the recovery partition on my fusion drive. I haven't tried this for a long time as I assumed it wasn't going to be fixed, but it's nice to see it working at last! Now, if the Clover installer could be fixed so it can mount the EFI partition on the fusion drive during install/update that would be perfect. Currently, it creates an EFI folder in the root of the system drive and I have to mount the fusion drive EFI partition manually and merge the new EFI folder with the existing one. This is the code I use to mount the fusion drive EFI partition. Maybe you could modify the installer to check for a fusion drive (Boot OS X folder is probably it) and allow mounting the EFI? sudo mkdir /Volumes/EFI BootDisk=`diskutil list | grep Boot\ OS\ X | awk '{print $8}' | head -c6` sudo mount_msdos /dev/${BootDisk}1 /Volumes/EFI Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/456/#findComment-2306859 Share on other sites More sharing options...
smolderas Posted October 26, 2016 Share Posted October 26, 2016 I noticed there were some recovery-related changes in recent commits. Just checked and I can now boot into the recovery partition on my fusion drive. I haven't tried this for a long time as I assumed it wasn't going to be fixed, but it's nice to see it working at last! Now, if the Clover installer could be fixed so it can mount the EFI partition on the fusion drive during install/update that would be perfect. Currently, it creates an EFI folder in the root of the system drive and I have to mount the fusion drive EFI partition manually and merge the new EFI folder with the existing one. This is the code I use to mount the fusion drive EFI partition. Maybe you could modify the installer to check for a fusion drive (Boot OS X folder is probably it) and allow mounting the EFI? sudo mkdir /Volumes/EFI BootDisk=`diskutil list | grep Boot\ OS\ X | awk '{print $8}' | head -c6` sudo mount_msdos /dev/${BootDisk}1 /Volumes/EFI Beware of that line with "diskutil list". You are assuming that one has only one (fusion) drive. I have 8 HFS+ drives with every one of them having BOOT OS X partitions... I'm using following (it is still not bullet proof, one should read the boot drive (somehow?) and use it): mountEFI() { efiPartition=`diskutil list|grep "Recovery HD"|awk '{print "/dev/"substr($7,0,6)"1"; exit}'` diskutil info "$efiPartition" printf "Mounting $efiPartition...\n" sudo mkdir -p /Volumes/EFI && sudo mount -t msdos $efiPartition /Volumes/EFI } This exits on the first found of device with Recovery HD, still not bullet proof though. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/456/#findComment-2306866 Share on other sites More sharing options...
Riley Freeman Posted October 26, 2016 Share Posted October 26, 2016 Thanks. I only have one fusion drive and then a removable second disk with regular volumes. There's only one Boot OS X folder. I haven't tried your script, but with my fusion drive setup the EFI partition is on the first disk (ssd) and the recovery partition is on the second (hdd). That's why I'm grepping for the Boot OS X folder. Maybe there's a better way of checking for it. 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/456/#findComment-2306868 Share on other sites More sharing options...
levifig Posted October 26, 2016 Share Posted October 26, 2016 I'm having a super strange issue with Clover: I see no bottom row with extra options AND pressing space bar, although it brings up the boot options for that specific device, I can't pick any: as soon as I hit spacebar or enter on any of the, Clover freezes and I need to reboot the whole computer. Running 3811 and this had been happening before already... Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/456/#findComment-2306971 Share on other sites More sharing options...
Slice Posted October 26, 2016 Share Posted October 26, 2016 A quick question: I have a Nvidia GTX 750Ti graphics card and a Dell U2715H monitor. Is it possible to have full resolution at Clover boot screen? And by that I mean 2560x1440? I'd settle for 1920x1080. I can only achieve 1280x1024 right now. I've read a dozen boards and still have not found a definitive answer. I currently have PatchVBios enabled and that is it for Graphics. Thanks. May be your chipset is not listed in LegacyRegion driver. Show me preboot.log to see this. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/456/#findComment-2307034 Share on other sites More sharing options...
pkdesign Posted October 27, 2016 Share Posted October 27, 2016 May be your chipset is not listed in LegacyRegion driver. Show me preboot.log to see this. Here you go. Thanks! preboot.log.txt Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/456/#findComment-2307186 Share on other sites More sharing options...
Fljagd Posted October 27, 2016 Share Posted October 27, 2016 in the 3871 version many new things.I look forward to reading all the information in the wikiThank you Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/456/#findComment-2307234 Share on other sites More sharing options...
LockDown Posted October 27, 2016 Share Posted October 27, 2016 wow what are those undocumented stuffs Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/456/#findComment-2307237 Share on other sites More sharing options...
Fljagd Posted October 27, 2016 Share Posted October 27, 2016 wow what are those undocumented stuffs Thank you google translate "wow quels sont ces animaux sans-papiers" Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/456/#findComment-2307238 Share on other sites More sharing options...
Balamut Posted October 27, 2016 Share Posted October 27, 2016 wow what are those undocumented stuffs FileVault2 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/456/#findComment-2307252 Share on other sites More sharing options...
Slice Posted October 27, 2016 Share Posted October 27, 2016 Here you go. Thanks! The problem is here 1:840 0:000 the patch is not ready for the desired resolution PatchVBios in the nVidia case can work only for static TABLE_0 nvda_res[RESOLUTIONS_NUMBER] = { {1280, 720}, {1280, 800}, {1360, 768}, {1400, 1050}, {1440, 900}, {1600, 900}, {1600, 1200}, {1680, 1050}, {1920, 1080}, {1920, 1200}, {2048, 1536} }; There is no 2560x1440 resolution. Just a sorry. Tables for those resolutions were discovered by pene and he didn't find tables for 2560x1440. Waiting for new advanced developer. 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/456/#findComment-2307276 Share on other sites More sharing options...
smolderas Posted October 27, 2016 Share Posted October 27, 2016 Hello Slice, after your latest commit (3873) clover can't be build: Relevant logs from command "./ebuild.sh -n 9 --vbios-patch-cloverefi --only-sata0 -D USE_APPLE_HFSPLUS_DRIVER --x64 --force-rebuild" [CC] gma /Users/Smolderas/Documents/CloverGrowerPro/edk2/Clover/rEFIt_UEFI/Platform/guid.c:307:1: error: control reaches end of non-void function [-Werror,-Wreturn-type] } ^ 1 error generated. make: *** [/Users/Smolderas/Documents/CloverGrowerPro/edk2/Build/Clover/RELEASE_XCODE5/X64/Clover/rEFIt_UEFI/refit/OUTPUT/Platform/guid.obj] Error 1 build.py... : error 7000: Failed to execute command make tbuild [/Users/Smolderas/Documents/CloverGrowerPro/edk2/Build/Clover/RELEASE_XCODE5/X64/Clover/rEFIt_UEFI/refit] build.py... : error F002: Failed to build module /Users/Smolderas/Documents/CloverGrowerPro/edk2/Clover/rEFIt_UEFI/refit.inf [X64, XCODE5, RELEASE] - Failed - Build end time: 17:21:15, Oct.27 2016 Build total time: 00:00:35 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/456/#findComment-2307553 Share on other sites More sharing options...
pkdesign Posted October 27, 2016 Share Posted October 27, 2016 Damn. Okay, so someone has to program this into Clover? Shouldn’t I be able to choose 1920x1080 in this case? I went back and added: <key>ScreenResolution</key> <string>1920x1080</string> to my config but don't get that resolution either. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/456/#findComment-2307610 Share on other sites More sharing options...
Micky1979 Posted October 27, 2016 Share Posted October 27, 2016 You should try to build Clover passing "-D ENABLE_VBIOS_PATCH_CLOVEREFI" to ebuild.sh. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/456/#findComment-2307631 Share on other sites More sharing options...
pkdesign Posted October 27, 2016 Share Posted October 27, 2016 You should try to build Clover passing "-D ENABLE_VBIOS_PATCH_CLOVEREFI" to ebuild.sh. I don’t think I'm that sophisticated! I've never built Clover, just downloaded the latest from Sourceforge. But I can certainly try! Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/456/#findComment-2307634 Share on other sites More sharing options...
Micky1979 Posted October 27, 2016 Share Posted October 27, 2016 Are you using "Clover EFI" that use sata or Bios block IO? Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/456/#findComment-2307637 Share on other sites More sharing options...
pkdesign Posted October 27, 2016 Share Posted October 27, 2016 BIOS Block I would love to know how to build this using your Build-Clover command. Could you give me the steps? Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/456/#findComment-2307643 Share on other sites More sharing options...
Micky1979 Posted October 27, 2016 Share Posted October 27, 2016 BIOS Block I would love to know how to build this using your Build-Clover command. Could you give me the steps? Try this way: After downloading Clover, use the option 'build existing revision with custom macros enabled' Select the x64 only architecture: =============================================================================== Select the desired architecture <---------------------------------------------------- 1) Standard with both ia32 and x64 2) x64 only 3) ia32 only 4) Back to Main Menu 5) Exit ? 2 then select the options to add what you can see in the colorized string and press 'b': =============================================================================== BUILD boot7 with additional macros <---------------------------------------------------- 1) USE_APPLE_HFSPLUS_DRIVER 2) NO_GRUB_DRIVERS 3) NO_GRUB_DRIVERS_EMBEDDED 4) ONLY_SATA_0 5) DISABLE_UDMA_SUPPORT 6) ENABLE_PS2MOUSE_LEGACYBOOT 7) DEBUG_ON_SERIAL_PORT 8) ENABLE_SECURE_BOOT 9) USE_ION 10) DISABLE_USB_MASS_STORAGE 11) ENABLE_USB_OHCI 12) ENABLE_USB_XHCI 13) REAL_NVRAM 14) CHECK_FLAGS DISABLE_USB_SUPPORT added! actual macros defined: -D ENABLE_VBIOS_PATCH_CLOVEREFI -D USE_BIOS_BLOCKIO -D DISABLE_USB_SUPPORT enter you choice or press "b" to build: ? 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/456/#findComment-2307645 Share on other sites More sharing options...
pkdesign Posted October 27, 2016 Share Posted October 27, 2016 First of all, thank you! I am excited that I can roll my own Clover now! But, it did not work, unless I am not doing something right. I followed your directions (except for DISABLE_USB_SUPPORT): ===============================================================================BUILD boot7 with additional macros <---------------------------------------------------- 1) USE_APPLE_HFSPLUS_DRIVER 2) DISABLE_USB_SUPPORT 3) ONLY_SATA_0 4) DISABLE_UDMA_SUPPORT 5) ENABLE_PS2MOUSE_LEGACYBOOT 6) DEBUG_ON_SERIAL_PORT 7) ENABLE_SECURE_BOOT 8) USE_ION 9) DISABLE_USB_MASS_STORAGE 10) ENABLE_USB_OHCI 11) ENABLE_USB_XHCI 12) REAL_NVRAM 13) CHECK_FLAGSENABLE_VBIOS_PATCH_CLOVEREFI added!actual macros defined:-D USE_BIOS_BLOCKIO -D NO_GRUB_DRIVERS_EMBEDDED -D NO_GRUB_DRIVERS -D ENABLE_VBIOS_PATCH_CLOVEREFIenter you choice or press "b" to build: But at boot I still only get 1280x1024. At boot screen, if I get Clover info I see: "Screen Output: Graphics Output (UEFI), 1280x1024 Do I remove the "PatchVBios in clover now? Or is this more what Slice said? I've attached preboot log: prebootlog2.txt Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/456/#findComment-2307666 Share on other sites More sharing options...
oswaldini Posted October 27, 2016 Share Posted October 27, 2016 Hi, Filevault works great with Clover rev 3874 - only one bug for now. Keyboard doesn't work until I replug it, then I can enter the password. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/456/#findComment-2307675 Share on other sites More sharing options...
mhaeuser Posted October 27, 2016 Share Posted October 27, 2016 Hi, Filevault works great with Clover rev 3874 - only one bug for now. Keyboard doesn't work until I replug it, then I can enter the password. That is expected behavior... if you want not haing to replug, either flash UsbKbDxe or wait for AmiShim, which will get released... erm... at some point. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/456/#findComment-2307679 Share on other sites More sharing options...
oswaldini Posted October 27, 2016 Share Posted October 27, 2016 OK, thanks for reply. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/456/#findComment-2307684 Share on other sites More sharing options...
Micky1979 Posted October 27, 2016 Share Posted October 27, 2016 First of all, thank you! I am excited that I can roll my own Clover now! But, it did not work, unless I am not doing something right. I followed your directions (except for DISABLE_USB_SUPPORT): =============================================================================== BUILD boot7 with additional macros <---------------------------------------------------- 1) USE_APPLE_HFSPLUS_DRIVER 2) DISABLE_USB_SUPPORT 3) ONLY_SATA_0 4) DISABLE_UDMA_SUPPORT 5) ENABLE_PS2MOUSE_LEGACYBOOT 6) DEBUG_ON_SERIAL_PORT 7) ENABLE_SECURE_BOOT 8) USE_ION 9) DISABLE_USB_MASS_STORAGE 10) ENABLE_USB_OHCI 11) ENABLE_USB_XHCI 12) REAL_NVRAM 13) CHECK_FLAGS ENABLE_VBIOS_PATCH_CLOVEREFI added! actual macros defined: -D USE_BIOS_BLOCKIO -D NO_GRUB_DRIVERS_EMBEDDED -D NO_GRUB_DRIVERS -D ENABLE_VBIOS_PATCH_CLOVEREFI enter you choice or press "b" to build: But at boot I still only get 1280x1024. At boot screen, if I get Clover info I see: "Screen Output: Graphics Output (UEFI), 1280x1024 Do I remove the "PatchVBios in clover now? Or is this more what Slice said? I've attached preboot log: Oh, sorry. The EDID comes from your display's EEPROM, ... not from your video card.... so that should be your monitor supporting this high resolution? EDIT You still need PatchVBios=true EDIT I mean that you should add a correct EDID to be used at boot time, dumping it from windows for example and then inject it in config.plist, but always using one of this resolutions (quoting again what Slice said). .. if supported by your EDID: static TABLE_0 nvda_res[RESOLUTIONS_NUMBER] = { {1280, 720}, {1280, 800}, {1360, 768}, {1400, 1050}, {1440, 900}, {1600, 900}, {1600, 1200}, {1680, 1050}, {1920, 1080}, {1920, 1200}, {2048, 1536} }; Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/456/#findComment-2307687 Share on other sites More sharing options...
PMheart Posted October 27, 2016 Share Posted October 27, 2016 Oops. Cannot compile pkg anymore since r3854... And r3853 was ok. Got this error on 3854+: [OBJCOPY] LegacyRegion2Dxe In file included from /Users/Vanilla/CloverGrowerPro/edk2/Clover/Protocols/HashServiceFix/sha1.h:4:0, from /Users/Vanilla/CloverGrowerPro/edk2/Clover/Protocols/HashServiceFix/HashServiceFix.c:18: /Users/Vanilla/CloverGrowerPro/toolchain/cross/lib/gcc/x86_64-clover-linux-gnu/4.9.3/include/stdint.h:9:26: fatal error: stdint.h: No such file or directory # include_next <stdint.h> ^ compilation terminated. make: *** [/Users/Vanilla/CloverGrowerPro/edk2/Build/Clover/RELEASE_GCC49/X64/Clover/Protocols/HashServiceFix/HashServiceFix/OUTPUT/HashServiceFix.obj] Error 1 build.py... : error 7000: Failed to execute command make tbuild [/Users/Vanilla/CloverGrowerPro/edk2/Build/Clover/RELEASE_GCC49/X64/Clover/Protocols/HashServiceFix/HashServiceFix] build.py... : error F002: Failed to build module /Users/Vanilla/CloverGrowerPro/edk2/Clover/Protocols/HashServiceFix/HashServiceFix.inf [X64, GCC49, RELEASE] - Failed - Build end time: 03:18:35, Oct.28 2016 Build total time: 00:00:45 Cloverx64 ERROR!! Ejecting RAM disk "disk2" unmounted. "disk2" ejected. Any idea? Thanks. PMheart Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/456/#findComment-2307693 Share on other sites More sharing options...
pkdesign Posted October 27, 2016 Share Posted October 27, 2016 Oh, sorry. The EDID comes from your display's EEPROM, ... not from your video card.... so that should be your monitor supporting this high resolution? Yes, the Dell U2715H is a 2K monitor with a native resolution of 2560x1440. The Nvidia GTX 750Ti graphics card has a maximum digital resolution of 4096x2160 (4K). Once booted into macOS the monitor displays beautifully at 2560x1440. It is only during Clover boot that I can only get 1280x1024 which is not even wide screen. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/456/#findComment-2307699 Share on other sites More sharing options...
Recommended Posts