Jump to content

Clover General discussion

Bootloader EFI Clover

  • Please log in to reply
5708 replies to this topic

#341
polkaholga

polkaholga

    InsanelyMac Geek

  • Donators
  • 149 posts
  • Gender:Male
  • Location:Otherland

I'm trying to get TRIM working with KextsToPatch but it does not work with OS 10.8.2. Here is what my /EFI/config.plist looks like:


<dict>
<key>0</key>
<dict>
<key>Name</key>
<string>IOAHCIBlockStorage</string>
<key>Find</key>
<data>QVBQTEUgU1NE</data>
<key>Replace</key>
<data>AAAAAAAAAAAA</data>
</dict>
</dict>
</plist>

I'm editing with xCode the actual data entered was find <4150504c 45205353 44> and replace <00000000 00000000 00>. What am I doing wrong? I know there was some changes made with 10.8.1 regarding TRIM support, do we need to change anything with our Clover configurations regarding the change?

Another thing, why when viewing the plist as text, and with xcode the data find/replace different?

Thanks!


Works here

#342
shiecldk

shiecldk

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 233 posts
  • Gender:Male
  • Location:Taiwan

0xBCB7

Could you show me your config.plist? :)
Do you use the plist for speedstep? What SMBios do you use?

With 0XBCB7, it's able to wake sometime, but sometime not ,and sometime reboot after it wakes... :wallbash:

I found out that it will restart when I open DSDTSE after it wakes...

#343
dmazar

dmazar

    InsanelyMac Sage

  • Coders
  • 271 posts
  • Gender:Male

ps. Now, I only have that annoying 10 sec. delay when booting OSX, see video paused on 00:37

My guess that it is because of kext injection. You may try to install kexts to /S/L/E and not keep them in Clover's /efi/kexts/...
Although, I do not get this error even when using Clover's kext injection.

And here is the version of the driver that will silently fix that error without pausing. You may use that.
Attached File  OsxAptioFixDrv-64.efi.zip   11.19KB   8 downloads

#344
magnifico

magnifico

    InsanelyMac Deity

  • Donators
  • 2,446 posts
  • Gender:Male
:|
dmazar you are superfast

For me you'll be a future forum moderator... :wink2:

#345
Taruga

Taruga

    Retired

  • Retired Developers
  • 532 posts
  • Gender:Male
  • Location:Portugal
Thank you dmazar,

But I think I had removed the 2 kexts I had on the last video I've made, and I still got that error


ps. I just wish you could get some way of skipping Marvel controller searches to avoid that 3 minute delay. That way, I could use 2 HDD´s I have connected to that controller. I can only boot clover fine and fast by disabling the Marvel controller

#346
magnifico

magnifico

    InsanelyMac Deity

  • Donators
  • 2,446 posts
  • Gender:Male
starts to remove the logo boot screen Gigabyte.... :hammer:

#347
dmazar

dmazar

    InsanelyMac Sage

  • Coders
  • 271 posts
  • Gender:Male

Right now, I want to boot clover from hdd (ML) only. Please help me how to do that

DarwinDumper shows that you have installed Clover on all possible places. :wacko:
That's a bad idea.

You should use USB stick, install it there and test it and configure it on that USB stick. Only when you have all working from the USB stick, then it's a good time to move it to HD. In that way you would not mess with your current bootloaders.

Regarding Chameleon ... you can fix it in on your Lion disk:
- remove /boot, /boot3, /boot6, /EFI folder from there (those are Clover files)
- and rename /boot1 to /boot (current boot1 is your Chimera)
- then try to reboot by choosing Lion disk as boot disk - should start your Chimera from that disk

- additionally, you can replace current Clover's "boot1h2" partition boot loader with standard Chameleon's, to get rid of 2 seconds pause during boot:
--- you may use ChameleonWizard and install "boot0hfs" to Lion partition

Regarding ML disk: you can safely delete Clover's files from ML partition, since you have installed Clover to EFI partition on that disk also. Meaning: if you choose ML disk, then that will start Clover from EFI partition and not from ML. So:
- remove /boot, /boot3, /boot6, /EFI folder from ML partition


And use USB stick for Clover tests first. Hope this helps.

#348
kyndder

kyndder

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 145 posts
  • Gender:Male
  • Location:Brazil

Could you show me your config.plist? :)
Do you use the plist for speedstep? What SMBios do you use?

With 0XBCB7, it's able to wake sometime, but sometime not ,and sometime reboot after it wakes... :wallbash:

I found out that it will restart when I open DSDTSE after it wakes...


I'm using your MacPro5_1.plist, custom SSDT made with Revogirl's script and of course, MacPro5,1 SMBIOS, but I only
set on my config.plist the machine model and any other one information, this way, Clover can fill the rest...

I don´t had any restart after wake on 10.7 and 10.8 (at least until now)...

I will send my config.plist later when I came home...

#349
magnifico

magnifico

    InsanelyMac Deity

  • Donators
  • 2,446 posts
  • Gender:Male
@dmazar

but you could create a script to open the hidden EFI partition, without going through the Terminal?

#350
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 2,976 posts
  • Gender:Male
  • Location:Moscow

- additionally, you can replace current Clover's "boot1h2" partition boot loader with standard Chameleon's, to get rid of 2 seconds pause during boot:


--- you may use

ChameleonWizard

and install "boot0hfs" to Lion partition



Caution! Chameleon's boot1h will not load Clover-64 because of limited size of boot file. 440kb for Chameleon's boot1h and 472kb for Clover.

#351
kyndder

kyndder

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 145 posts
  • Gender:Male
  • Location:Brazil

@dmazar

but you could create a script to open the hidden EFI partition, without going through the Terminal?


Why you don't add to fstab for automount???

UUID=PartitionUUID /Volumes/EFI msdos rw,auto


#352
Taruga

Taruga

    Retired

  • Retired Developers
  • 532 posts
  • Gender:Male
  • Location:Portugal

My guess that it is because of kext injection. You may try to install kexts to /S/L/E and not keep them in Clover's /efi/kexts/...
Although, I do not get this error even when using Clover's kext injection.

And here is the version of the driver that will silently fix that error without pausing. You may use that.
Attached File  OsxAptioFixDrv-64.efi.zip   11.19KB   8 downloads


Works well,

http://www.youtube.com/watch?v=HOVV4eOFNr0

ps. Video was recorded with the Marvel controller disabled, else I get a 3 minute delay until I can see Clover GUI
And the system is being booted from an external USB 3 dual dock with one 240GB SSD + 250GB HDD setup as a CoreStorage Volume


Clover it's almost perfect for me to use it from now on, I just wish the developers skipped hard disk searches connected to the marvel controller to avoid the 3 minute delay that I have.

Edited by Taruga, 05 November 2012 - 08:20 PM.


#353
magnifico

magnifico

    InsanelyMac Deity

  • Donators
  • 2,446 posts
  • Gender:Male

Works well,

http://www.youtube.com/watch?v=HOVV4eOFNr0

ps. Video was recorded with the Marvel controller disabled, else I get a 3 minute delay until I can see Clover GUI
And the system is being booted from an external USB 3 dual dock with one 240GB SSD + 250GB HDD setup as a CoreStorage Volume


Clover it's almost perfect for me to use it from now on, I just wish the developers skipped hard disk searches connected to the marvel controller to avoid the 3 minute delay that I have.


Taruga ..you have error hda ???
It is impossible :hammer:

You are a guru for hda ...

I'm playing not to offend you, sorry

#354
Taruga

Taruga

    Retired

  • Retired Developers
  • 532 posts
  • Gender:Male
  • Location:Portugal
It's just a test installation :) and usually I don't use AppleHDA, I have an USB device connected to my Sound Mixer.

#355
magnifico

magnifico

    InsanelyMac Deity

  • Donators
  • 2,446 posts
  • Gender:Male

It's just a test installation :) and usually I don't use AppleHDA, I have an USB device connected to my Sound Mixer.


Me too friend ..have a usb device Dac ...it is fantastic

Sorry for OT

#356
n10jbX1.6

n10jbX1.6

    InsanelyMac Protégé

  • Members
  • Pip
  • 6 posts

Posted Image
dmazar you are superfast
For me you'll be a future forum moderator... :wink2:


:thumbsup_anim:

DarwinDumper shows that you have installed Clover on all possible places. :wacko:
That's a bad idea.

You should use USB stick, install it there and test it and configure it on that USB stick. Only when you have all working from the USB stick, then it's a good time to move it to HD. In that way you would not mess with your current bootloaders.

Regarding Chameleon ... you can fix it in on your Lion disk:
- remove /boot, /boot3, /boot6, /EFI folder from there (those are Clover files)
- and rename /boot1 to /boot (current boot1 is your Chimera)
- then try to reboot by choosing Lion disk as boot disk - should start your Chimera from that disk

- additionally, you can replace current Clover's "boot1h2" partition boot loader with standard Chameleon's, to get rid of 2 seconds pause during boot:
--- you may use ChameleonWizard and install "boot0hfs" to Lion partition

Regarding ML disk: you can safely delete Clover's files from ML partition, since you have installed Clover to EFI partition on that disk also. Meaning: if you choose ML disk, then that will start Clover from EFI partition and not from ML. So:
- remove /boot, /boot3, /boot6, /EFI folder from ML partition


And use USB stick for Clover tests first. Hope this helps.


Thanks, I'll try it

#357
kyndder

kyndder

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 145 posts
  • Gender:Male
  • Location:Brazil

I will send my config.plist later when I came home...


@shiecldk

Here´s my config.plist ....

Spoiler


I commented ou the Volumes section for obvious reasons...

#358
shiecldk

shiecldk

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 233 posts
  • Gender:Male
  • Location:Taiwan

@shiecldk

Here´s my config.plist ....

Spoiler


I commented ou the Volumes section for obvious reasons...

Thanks, kyndder!
But it still can't wake every time. (Only 5% of chance to wake it up successfully.)

I think I should give up "sleeping" at this moment... I had to prepare for my college entrance exam in Taiwan now. :hammer: (Which is eighty days to go.... :shock: )

I'm appreciative of your help. :thumbsup_anim:
Please keep in touch with me. :)

#359
kyndder

kyndder

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 145 posts
  • Gender:Male
  • Location:Brazil

Thanks, kyndder!
But it still can't wake every time. (Only 5% of chance to wake it up successfully.)


:(

Sorry buddy... I don't know what could be this issue...

As I told to you before, I don't have the habit to use sleep function, but on the tests that I
done, every single one was sucessful to sleep and wake up, so 100% sucessfully...

Maybe the GA-P67A-UD3-B3 UEFI BIOS fits better on my machine than on yours...

I think I should give up "sleeping" at this moment... I had to prepare for my college entrance exam in Taiwan now. :hammer: (Which is eighty days to go.... :shock: )


Yes, take care of your future and good luck!

I'm appreciative of your help. :thumbsup_anim:
Please keep in touch with me. :)


You're welcome, but we both helped one to another!!!

;)

#360
Mrengles

Mrengles

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 117 posts
  • Gender:Male
  • Location:United States

Proper config:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
... other sections ...
<key>KernelAndKextPatches</key>
<dict>
<key>Debug</key>
<string>Yes</string>
... other options ...
<key>KextsToPatch</key>
<dict>
<key>0</key>
<dict>
<key>Name</key>
<string>IOAHCIBlockStorage</string>
<key>Find</key>
<data>QVBQTEUgU1NE</data>
<key>Replace</key>
<data>AAAAAAAAAAAA</data>
</dict>
</dict>
</dict>
</dict>
</plist>
Note Debug=Yes above - it's just for testing (although this testing is not complete yet). You can set it to No when you are done.

Data inside <data> is binary and is base64 encoded in plist. Plist editor decodes it and shows real binary data.


Thanks! I've got the TRIM patch working, The problem was that I had the KextsToPatch as its own Dictionary and not under the KernelAndKextPatches Dictionary.

Every thing is working with my build except wake from sleep with USB keyboard/mouse, Bluetooth, or PCI Airport card, Realtek NIC. I also have a weird issue with USB 3.0 when its turned on, that only usb 3.0 devices work in those ports. It's not backwards comatiable with USB 2.0/1.0 devices.

Thanks again dmazar for help with TRIM, any ideas for getting wake/ and USB 3.0 working? Injecting USB did not work.

-Mrengles

PS. power button wake the system, but I have to unplug/replug the keyboard to get it working with either USB 1.0/2.0/3.0

Attached my /EFI/config.plist below...

Thanks again!

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SMBIOS</key>
<dict>
  <key>Family</key>
  <string>Mac Pro</string>
  <key>ProductName</key>
  <string>MacPro3,1</string>
  <key>Board-ID</key>
  <string>Mac-F42C88C8</string>
  <key>SerialNumber</key>
  <string>G8948123XYL</string>
  <key>BiosVersion</key>
  <string>MP31.88Z.006C.B05.0802291410</string>
  <key>SMUUID</key>
  <string>XXXE5967-XXXX-XXXX-XXXX-XXX12A20DDC7</string>
  <key>ChassisAssetTag</key>
  <string>P8Z77-M-Pro</string>
</dict>
<key>SystemParameters</key>
<dict>
  <key>DefaultBootVolume</key>
  <string>Macintosh SSD</string>
  <key>boot-args</key>
  <string>arch=x86_64 slide=0</string>
  <key>CustomUUID</key>
  <string>XXX22B2C-XXXX-XXXX-XXXX-XXX000EE5F09</string>
  <key>prev-lang:kbd</key>
  <string>en:0</string>
  <key>InjectSystemID</key>
  <string>YES</string>
</dict>
<key>ACPI</key>
<dict>
  <key>DsdtName</key>
  <string>DSDT.aml</string>
  <key>FixDsdtMask</key>
  <string>0x3031</string>
  <key>EnableISS</key>
  <string>YES</string>
  <key>GenerateCStates</key>
  <string>YES</string>
  <key>GeneratePStates</key>
  <string>YES</string>
  <key>EnableC2</key>
  <string>YES</string>
  <key>EnableC4</key>
  <string>NO</string>
  <key>EnableC6</key>
  <string>YES</string>
</dict>
<key>PCI</key>
<dict>
  <key>StringInjector</key>
  <string>NO</string>
  <key>PCIRootUID</key>
  <string>0</string>
  <key>HDAInjection</key>
  <string>1</string>
</dict>
<key>CPU</key>
<dict>
  <key>Turbo</key>
  <string>YES</string>
</dict>
<key>Graphics</key>
<dict>
  <key>GraphicsInjector</key>
  <string>NO</string>
  <key>LoadVBios</key>
  <string>NO</string>
  <key>VideoPorts</key>
  <string>4</string>
</dict>
<key>KernelAndKextPatches</key>
<dict>
  <key>AppleRTC</key>
  <string>YES</string>
  <key>AsusAICPUPM</key>
  <string>NO</string>
  <key>KernelCpu</key>
  <string>NO</string>
  <key>KextsToPatch</key>
  <dict>
   <key>0</key>
   <dict>
    <key>Name</key>
    <string>IOAHCIBlockStorage</string>
    <key>Find</key>
    <data>QVBQTEUgU1NE</data>
    <key>Replace</key>
    <data>AAAAAAAAAAAA</data>
   </dict>
  </dict>
</dict>
<key>Volumes</key>
<dict/>
<key>Pointer</key>
<dict>
  <key>Speed</key>
  <string>8</string>
  <key>DoubleClickTime</key>
  <string>500</string>
</dict>
</dict>
</plist>






Also tagged with one or more of these keywords: Bootloader, EFI, Clover


3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy