Jump to content

Clover General discussion


ErmaC
30,171 posts in this topic

Recommended Posts

I've manually patched the Info.plist and made everything work (had to use a rollback AppleHDA), but just for science's sake, I'll revert it and use DarwinDumper to see what's the problem. Post back later!

 

EDIT: Well this is weird. Now it won't revert back to the non-accelerated state, even if I remove 0x94421002 from Info.plist and reboot without cache... Guess I'll have to wait until next time I reinstall it (GM's around the corner anyway :P)

 

EDIT2: And... After a few more reboots, it's suddenly broken again. I saw something like "Forced load /System/Library/Extensions/AMD4800Controller.kext/Content/Info.plist" at the start of Clover, and then the kext failed to load due to dependency IOGraphicsFamily not yet loaded. Is this a problem with the kext patching/injecting? (Like, when I tried to inject RealtekRTL81xx.kext, it failed also missing IONetworkingFamily. Only worked after I put it in S/L/E).

 

Link to Darwin dump.

 

Another thing that confuses me is that during my experiment, a few kexts remain broken even if I explicitly choose to boot without cache. But guess what? After I rebuild cache and boot "without cache" again, it works. Wha...? What's the policy regarding cache here?

Link to comment
Share on other sites

Guys I would like to patch my AppleHDA with clover/KextsToPatch who gives me a help.

This is my Dump  from Linux

Codec: Conexant CX20590
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x14f1506e
Subsystem Id: 0x1028056d
Revision Id: 0x100003
No Modem Function Group found
Link to comment
Share on other sites

@antoniodapc

not sure you can just patch the binary for cx20590 support. i posted an appleHDA.kext i created based on 10.8.4 for the Lenovo T420. it has 3 or 4 modified/custom files defining custom platform and layout etc. generally need to replace AppleHDA in /S/L/E. 

 

see posts 

            #241             clover bundle + kexts used for Lenovo T420 

 

or             #216             for just the AppleHDA kext for 10.8.4 

 

            #161             from earlier in that thread - more detail writeup about the kext if interested.

  • Like 1
Link to comment
Share on other sites

@atoniodapc

not sure you can just patch the binary for cx20590 support. i posted an appleHDA.kext i created based on 10.8.4 for the Lenovo T420. it has 3 or 4 modified/custom files defining custom platform and layout etc. generally need to replace AppleHDA in /S/L/E. 

 

see posts 

            #241             clover bundle + kexts used for Lenovo T420 

 

or             #216             for just the AppleHDA kext for 10.8.4 

 

            #161             from earlier in that thread - more detail writeup about the kext if interested.

 

Tnks ,

Link to comment
Share on other sites

How to install mavericks with clover? looks like apple separate the installESD and BaseSystem has the installation now.

in dp4 there is a file in content/resourses/createinstallmedia but doesn't boot with clover. is there any way like mountain lion?

The restore base system doesn't create a recovery hd so...

i followed the instructions inside clover documents to installESD with clover. thanks!

Link to comment
Share on other sites

I'm trying to get Clover installed to a USB stick so I can try it out on my P9X79 Pro.

 

First off, I can't install to a USB stick on my P9X79. Every time I get an install failed error. I have to build the stick on my P8Z68. It doesn't seem to be able to format/mount the EFI partition on the stick on my X79 setup. Even if I format it FAT32 first.

 

 

Clover EFI installer log - Sat Sep  7 17:30:21 IST 2013

Installer version: v2 r1995 EFI bootloader
======================================================
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *2.0 TB     disk0
   1:                        EFI                         209.7 MB   disk0s1
   2:                  Apple_HFS Ocelot                  2.0 TB     disk0s2
   3:                        EFI                         104.9 MB   disk0s3
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *4.1 GB     disk1
   1:                        EFI                         209.7 MB   disk1s1
   2:                  Apple_HFS CLOVER                  3.8 GB     disk1s2
Can't find volume with the name /Volumes/CLOVER

 
I tried booting the stick (built on the Z68) on the P9X79. It doesn't work. The BIOS flashes up for a split second and then Chameleon loads. On the P8Z68 it loads the menu and I'm able to boot my 10.8 installation from it. I'm using this now to familiarise myself with Clover but I really want it on the X79.
Link to comment
Share on other sites

Sorry for the stupid question: did you try to mount the volume?

mkdir /Volumes/CLOVER

mount /dev/disk1 -t hfs /dev/disk1 /Volumes/CLOVER

 

As I see you have a problem that there are three volumes with the same name "EFI". How do you think is it clear for installer?

Link to comment
Share on other sites

Hi Slice. Thanks for getting back to me.

 

The volume CLOVER is already mounted on the Desktop. That's why the "can't find volume" error makes no sense. I follow the exact same process on the Z68 system but it works on that.

 

 

Clover EFI installer log - Sat Sep  7 18:40:53 IST 2013

Installer version: v2 r1995 EFI bootloader
======================================================
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *128.0 GB   disk0
   1:               Windows_NTFS 7                       42.9 GB    disk0s1
   2:               Windows_NTFS Apps                    85.1 GB    disk0s2
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *2.0 TB     disk1
   1:         Microsoft Reserved                         134.2 MB   disk1s1
   2:                        EFI                         209.7 MB   disk1s2
   3:                  Apple_HFS Cougar                  199.6 GB   disk1s3
   4:       Microsoft Basic Data Music                   998.6 GB   disk1s4
   5:       Microsoft Basic Data Data3                   801.8 GB   disk1s5
/dev/disk2
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *1.0 TB     disk2
   1:               Windows_NTFS Data1                   423.5 GB   disk2s5
   2:               Windows_NTFS Data2                   576.7 GB   disk2s6
/dev/disk3
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *4.1 GB     disk3
   1:                        EFI                         209.7 MB   disk3s1
   2:       Microsoft Basic Data CLOVER                  3.9 GB     disk3s2
======================================================
Backing up EFI files
 
======================================================
Installing BootSectors/BootLoader
 
Stage 0 - Don't write any of boot0af, boot0md, boot0ss to /Volumes/CLOVER
Stage 1 - Don't write any of boot1h2, boot1f32alt to /Volumes/CLOVER
======================================================
Installing RC Scripts
 
Installing RC scripts in '/' volume
 
 
======================================================
=========== Clover EFI Installation Finish ===========
======================================================

 

On the Z68 system there is an EFI partition on the internal boot disk as well as the target USB and it installs fine. I assumed that the installer would pick up the EFI partition on the same device as the target partition.

Link to comment
Share on other sites

Hi Slice. Thanks for getting back to me.

 

The volume CLOVER is already mounted on the Desktop. That's why the "can't find volume" error makes no sense. I follow the exact same process on the Z68 system but it works on that.

 

On the Z68 system there is an EFI partition on the internal boot disk as well as the target USB and it installs fine. I assumed that the installer would pick up the EFI partition on the same device as the target partition.

maybe stupid idea but u can be 1000% sure if u unplug other disks and try :D ?

Link to comment
Share on other sites

maybe stupid idea but u can be 1000% sure if u unplug other disks and try :D ?

 

There's only one internal disk in the X79 system. The one I want to boot with Clover. I've added the install log from the Z68 system to my previous post.

 

I deleted the second, smaller EFI partition from the internal disk (I think this was left behind by Windows) but still no luck installing on the X79.

 
In case anyone missed it, I'm running 10.6.8 on this X79 setup. Just in case that has some bearing.
Link to comment
Share on other sites

I've had some success. The reason the stick wouldn't boot was because the Secure Boot section under CSM was set to Windows UEFI (derp...).

 

Once I spotted this I edited the config.plist in the root of the stick, copied over the DSDT and was able to boot from the stick fine. Now to find a way to enable logging.

Link to comment
Share on other sites

I've had some success. The reason the stick wouldn't boot was because the Secure Boot section under CSM was set to Windows UEFI (derp...).

 

Once I spotted this I edited the config.plist in the root of the stick, copied over the DSDT and was able to boot from the stick fine. Now to find a way to enable logging.

? enable logging ...what is this ?

Link to comment
Share on other sites

Now that I have the X79 booting from Clover I tried to install over it to see if the installation would now work. But it still fails just after "running package scripts".

 

Here's the full install log. "//EFIROOTDIR: No such file or directory" seems to be the culprit?

 

Sep  8 12:46:34 Ocelot Installer[259]: @(#)PROGRAM:Install  PROJECT:Install-596.1

Sep  8 12:46:34 Ocelot Installer[259]: @(#)PROGRAM:Installer  PROJECT:Installer-430.1
Sep  8 12:46:34 Ocelot Installer[259]: Hardware: MacPro5,1 @ 3.20 GHz (x 12), 32768 MB RAM
Sep  8 12:46:34 Ocelot Installer[259]: Running OS Build: Mac OS X 10.6.8 (10K549)
Sep  8 12:46:34 Ocelot Installer[259]: Env: PATH=/usr/bin:/bin:/usr/sbin:/sbin
Sep  8 12:46:34 Ocelot Installer[259]: Env: TMPDIR=/var/folders/eo/eoh9i-zlEtmlTiGtJCV3Ak+++TI/-Tmp-/
Sep  8 12:46:34 Ocelot Installer[259]: Env: SHELL=/bin/bash
Sep  8 12:46:34 Ocelot Installer[259]: Env: HOME=/Users/rileyfreeman
Sep  8 12:46:34 Ocelot Installer[259]: Env: USER=rileyfreeman
Sep  8 12:46:34 Ocelot Installer[259]: Env: LOGNAME=rileyfreeman
Sep  8 12:46:34 Ocelot Installer[259]: Env: DISPLAY=/tmp/launch-MFtMi3/org.x:0
Sep  8 12:46:34 Ocelot Installer[259]: Env: SSH_AUTH_SOCK=/tmp/launch-P6hY5r/Listeners
Sep  8 12:46:34 Ocelot Installer[259]: Env: Apple_PubSub_Socket_Render=/tmp/launch-w7u2XE/Render
Sep  8 12:46:34 Ocelot Installer[259]: Env: COMMAND_MODE=unix2003
Sep  8 12:46:34 Ocelot Installer[259]: Env: __CF_USER_TEXT_ENCODING=0x1F5:0:0
Sep  8 12:46:34 Ocelot Installer[259]: Clover v2 r1995 EFI bootloader  Installation Log
Sep  8 12:46:34 Ocelot Installer[259]: Opened from: /Users/rileyfreeman/Downloads/Clover_v2_r1995.pkg
Sep  8 12:46:58 Ocelot Installer[259]: ================================================================================
Sep  8 12:46:58 Ocelot Installer[259]: User picked Custom Install
Sep  8 12:46:58 Ocelot Installer[259]: Choices selected for installation:
Sep  8 12:46:58 Ocelot Installer[259]: Install: "Clover v2 r1995 EFI bootloader"
Sep  8 12:46:58 Ocelot Installer[259]: Clover_v2_r1995.pkg#Pre.pkg : org.clover.pre : v2.0.0.1377875578
Sep  8 12:46:58 Ocelot Installer[259]: Install: "Install for UEFI motherboards"
Sep  8 12:46:58 Ocelot Installer[259]: Clover_v2_r1995.pkg#UEFI.only.pkg : org.clover.uefi.only : v2.0.0.1377875578
Sep  8 12:46:58 Ocelot Installer[259]: Install: "Install Clover in the ESP"
Sep  8 12:46:58 Ocelot Installer[259]: Clover_v2_r1995.pkg#Target.ESP.pkg : org.clover.target.esp : v2.0.0.1377875578
Sep  8 12:46:58 Ocelot Installer[259]: Clover_v2_r1995.pkg#Utils.pkg : org.clover.utils : v2.0.0.1377875578
Sep  8 12:46:58 Ocelot Installer[259]: Clover_v2_r1995.pkg#EFIFolder.pkg : org.clover.efifolder : v2.0.0.1377875578
Sep  8 12:46:58 Ocelot Installer[259]: Install: "Bootloader"
Sep  8 12:46:58 Ocelot Installer[259]: Install: "Don't update MBR and PBR sectors"
Sep  8 12:46:58 Ocelot Installer[259]: Clover_v2_r1995.pkg#bootNo.pkg : org.clover.bootloader.bootno : v2.0.0.1377875578
Sep  8 12:46:58 Ocelot Installer[259]: Clover_v2_r1995.pkg#FSInject-32.UEFI.pkg : org.clover.drivers32uefi.mandatory.fsinject-32.uefi : v2.0.0.1377875578
Sep  8 12:46:58 Ocelot Installer[259]: Clover_v2_r1995.pkg#OsxFatBinaryDrv-32.UEFI.pkg : org.clover.drivers32uefi.mandatory.osxfatbinarydrv-32.uefi : v2.0.0.1377875578
Sep  8 12:46:58 Ocelot Installer[259]: Clover_v2_r1995.pkg#VBoxHfs-32.UEFI.pkg : org.clover.drivers32uefi.mandatory.vboxhfs-32.uefi : v2.0.0.1377875578
Sep  8 12:46:58 Ocelot Installer[259]: Clover_v2_r1995.pkg#FSInject-64.UEFI.pkg : org.clover.drivers64uefi.mandatory.fsinject-64.uefi : v2.0.0.1377875578
Sep  8 12:46:58 Ocelot Installer[259]: Clover_v2_r1995.pkg#OsxFatBinaryDrv-64.UEFI.pkg : org.clover.drivers64uefi.mandatory.osxfatbinarydrv-64.uefi : v2.0.0.1377875578
Sep  8 12:46:58 Ocelot Installer[259]: Clover_v2_r1995.pkg#VBoxHfs-64.UEFI.pkg : org.clover.drivers64uefi.mandatory.vboxhfs-64.uefi : v2.0.0.1377875578
Sep  8 12:46:58 Ocelot Installer[259]: Install: "Drivers64UEFI"
Sep  8 12:46:58 Ocelot Installer[259]: Install: "CsmVideoDxe-64"
Sep  8 12:46:58 Ocelot Installer[259]: Clover_v2_r1995.pkg#CsmVideoDxe-64.pkg : org.clover.drivers64uefi.csmvideodxe-64 : v2.0.0.1377875578
Sep  8 12:46:58 Ocelot Installer[259]: Install: "OsxAptioFixDrv-64"
Sep  8 12:46:58 Ocelot Installer[259]: Clover_v2_r1995.pkg#OsxAptioFixDrv-64.pkg : org.clover.drivers64uefi.osxaptiofixdrv-64 : v2.0.0.1377875578
Sep  8 12:46:58 Ocelot Installer[259]: Install: "Install RC scripts on target volume"
Sep  8 12:46:58 Ocelot Installer[259]: Clover_v2_r1995.pkg#rc.scripts.on.target.pkg : org.clover.rc.scripts.on.target : v2.0.0.1377875578
Sep  8 12:46:58 Ocelot Installer[259]: Clover_v2_r1995.pkg#rc.scripts.core.pkg : org.clover.rc.scripts.core : v2.0.0.1377875578
Sep  8 12:46:58 Ocelot Installer[259]: Install: "Install Clover Preference Pane"
Sep  8 12:46:58 Ocelot Installer[259]: Clover_v2_r1995.pkg#CloverPrefpane.pkg : org.clover.cloverprefpane : v2.0.0.1377875578
Sep  8 12:46:58 Ocelot Installer[259]: Clover_v2_r1995.pkg#Post.pkg : org.clover.post : v2.0.0.1377875578
Sep  8 12:46:58 Ocelot Installer[259]: ================================================================================
Sep  8 12:46:58 Ocelot Installer[259]: It took 0.00 seconds to summarize the package selections.
Sep  8 12:46:58 Ocelot Installer[259]: Will use PK session
Sep  8 12:46:58 Ocelot Installer[259]: Starting installation:
Sep  8 12:46:58 Ocelot Installer[259]: Configuring volume "Ocelot"
Sep  8 12:46:58 Ocelot Installer[259]: Preparing disk for local booted install.
Sep  8 12:46:58 Ocelot Installer[259]: Free space on "Ocelot": 1.77 TB (1774693662720 bytes).
Sep  8 12:46:58 Ocelot Installer[259]: Create temporary directory "/var/folders/eo/eoh9i-zlEtmlTiGtJCV3Ak+++TI/-Tmp-//Install.259ZuVAL5"
Sep  8 12:46:58 Ocelot Installer[259]: IFPKInstallElement (18 packages)
Sep  8 12:47:02 Ocelot installd[265]: PackageKit: ----- Begin install -----
Sep  8 12:47:02 Ocelot installd[265]: PackageKit: request=PKInstallRequest <18 packages, destination=/>
Sep  8 12:47:15 Ocelot installd[265]: PackageKit: Executing script "./preinstall" in /private/tmp/PKInstallSandbox.YQPMRc/Scripts/org.clover.pre.UMwJqc
Sep  8 12:47:15 Ocelot installd[265]: ./preinstall: ===============================================
Sep  8 12:47:15 Ocelot installd[265]: ./preinstall: Pre Pre-Install Script
Sep  8 12:47:15 Ocelot installd[265]: ./preinstall: ===============================================
Sep  8 12:47:15 Ocelot installd[265]: ./preinstall: preinstall: Path to installer....... /Users/rileyfreeman/Downloads/Clover_v2_r1995.pkg
Sep  8 12:47:15 Ocelot installd[265]: ./preinstall: preinstall: Path to destination..... /
Sep  8 12:47:15 Ocelot installd[265]: ./preinstall: preinstall: Path to dest volume..... /
Sep  8 12:47:15 Ocelot installd[265]: ./preinstall: preinstall: Root of system folder... /
Sep  8 12:47:15 Ocelot installd[265]: PackageKit: Executing script "./preinstall" in /private/tmp/PKInstallSandbox.YQPMRc/Scripts/org.clover.uefi.only.yXx2AE
Sep  8 12:47:15 Ocelot installd[265]: ./preinstall: preinstall: Path to installer....... /Users/rileyfreeman/Downloads/Clover_v2_r1995.pkg
Sep  8 12:47:15 Ocelot installd[265]: ./preinstall: preinstall: Path to destination..... /EFIROOTDIR
Sep  8 12:47:15 Ocelot installd[265]: ./preinstall: preinstall: Path to dest volume..... /
Sep  8 12:47:15 Ocelot installd[265]: ./preinstall: preinstall: Root of system folder... /
Sep  8 12:47:15 Ocelot installd[265]: ./preinstall: /tmp/PKInstallSandbox.YQPMRc/Scripts/org.clover.uefi.only.yXx2AE/preinstall: line 16: cd: //EFIROOTDIR: No such file or directory
Sep  8 12:47:15 Ocelot installd[265]: PackageKit: Executing script "./preinstall" in /private/tmp/PKInstallSandbox.YQPMRc/Scripts/org.clover.target.esp.1b4z1r
Sep  8 12:47:15 Ocelot installd[265]: ./preinstall: preinstall: Path to installer....... /Users/rileyfreeman/Downloads/Clover_v2_r1995.pkg
Sep  8 12:47:15 Ocelot installd[265]: ./preinstall: preinstall: Path to destination..... /
Sep  8 12:47:15 Ocelot installd[265]: ./preinstall: preinstall: Path to dest volume..... /
Sep  8 12:47:15 Ocelot installd[265]: ./preinstall: preinstall: Root of system folder... /
Sep  8 12:47:15 Ocelot installd[265]: ./preinstall: /tmp/PKInstallSandbox.YQPMRc/Scripts/org.clover.target.esp.1b4z1r/preinstall: line 16: cd: //EFIROOTDIR: No such file or directory
Sep  8 12:47:15 Ocelot installd[265]: PackageKit: Executing script "./preinstall" in /private/tmp/PKInstallSandbox.YQPMRc/Scripts/org.clover.efifolder.70kZIt
Sep  8 12:47:15 Ocelot installd[265]: ./preinstall: ===============================================
Sep  8 12:47:15 Ocelot installd[265]: ./preinstall: EFIFolder Pre-Install Script
Sep  8 12:47:15 Ocelot installd[265]: ./preinstall: ===============================================
Sep  8 12:47:15 Ocelot installd[265]: ./preinstall: preinstall: Path to installer....... /Users/rileyfreeman/Downloads/Clover_v2_r1995.pkg
Sep  8 12:47:15 Ocelot installd[265]: ./preinstall: preinstall: Path to destination..... /EFIROOTDIR
Sep  8 12:47:15 Ocelot installd[265]: ./preinstall: preinstall: Path to dest volume..... /
Sep  8 12:47:15 Ocelot installd[265]: ./preinstall: preinstall: Root of system folder... /
Sep  8 12:47:15 Ocelot Installer[259]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 UserInfo=0x10614f4b0 "An error occurred while running scripts from the package ‚ÄúClover_v2_r1995.pkg‚Äù."
Sep  8 12:47:16 Ocelot Installer[259]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
Sep  8 12:47:16 Ocelot Installer[259]: IFDInstallController 6109280 state = 7
Sep  8 12:47:16 Ocelot Installer[259]: Displaying 'Install Failed' UI.
Sep  8 12:47:16 Ocelot Installer[259]: 'Install Failed' UI displayed message:'The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.'.

Link to comment
Share on other sites

I have a suggestion:

 

Any way you can have Clover pass the boot args to GRUB and have it boot Linux without having to go through the GRUB screen?

Created custom entries? I mean current revision 2061.

Link to comment
Share on other sites

It is a lot of changes config.plist from rev.2061.And I found that NoCaches setting in SystemParameters won't work.

I noticed the same. Usual config.plist doesn't load and some options from the GUI do not work. Ex. Dropping ACPI tables. Good thing I had a USB Clover booter. For now, I'll stick with revision 1995 until I can figure out how to incorporate the new changes into my current config.plist.

Link to comment
Share on other sites

After a botched attempt to boot r2061 on my X79 my ATM screen now shows "Unknown CPU" even when back on r1955. Clearing nvram and trying to manually set it in the config.plist doesnt work.

 

Fixed! The wiki said the key was called "Type", however I had to use "ProcessorType".

Link to comment
Share on other sites

It is a lot of changes config.plist from rev.2061.

And I found that NoCaches setting in SystemParameters won't work.

"NoCaches" means you want to boot without kernelcache. It may be done by type "space" on OS icon.

But what is the reason ALWAYS boot without kernelcache???

I think you want to boot WITH additional kexts located in /EFI/CLOVER/kexts/... ?

For this purpose you may use a key "InjectKexts=true" that works in SystemParameters.

Link to comment
Share on other sites

ProcessorType is for pre-r2000, the other one for past that rev.

 

Yeah I guess things move even faster in Clover land than I expected. Makes it a little rough for newcomers. Especially when the right answer is buried on a forum post somewhere. I would have stuck with 2061 if it had worked. Guess I'll give it another go today.

 

I'd still love to get some feedback on the installation issue I'm having as it means I have to do all future updating on a different system and then manually overwrite files on the X79 setup.

Link to comment
Share on other sites

That's what I was doing initially. Still am, actually, as I'm having to redo my config.plist to match the newer format of r2061. Almost there though :)

 

The issue is that the installer is unable to find or mount the EFI partition to install the Clover files. Regardless of whether the destination is the internal drive or an external USB. My Z68 system works fine however (specs are in my sig).

 

I'm thinking it may be an issue with 10.6 but I don't know the inner workings of the installer script to be sure.

Link to comment
Share on other sites

"NoCaches" means you want to boot without kernelcache. It may be done by type "space" on OS icon.

But what is the reason ALWAYS boot without kernelcache???

I think you want to boot WITH additional kexts located in /EFI/CLOVER/kexts/... ?

For this purpose you may use a key "InjectKexts=true" that works in SystemParameters.

Because my netbook's GMA950 graphics is need to patch kext's binary contain to 27AE.

And these original kexts existed in S/L/E conflict with kexts which in Clover.

Kext patcher function in Clover was not work for a long time.

Only NoCaches function made my patched kext in Clover loaded properly.

Link to comment
Share on other sites

×
×
  • Create New...