Jump to content

Fusion Drive - Easy Step With Clover EFI

clover fusion

  • Please log in to reply
9 replies to this topic

#1
alpha.delta

alpha.delta

    InsanelyMac Protégé

  • Members
  • Pip
  • 40 posts

Install Fusion Drive With Clover Easy step

 

1) boot to usb installer with clover. http://cloverboot.weebly.com

 

2) Open Disk Utility ease hdd ssd for Fusion Drive

 

3) Open Terminal

diskutil list

seek for HDD SSD Device /dev/diskX 

diskutil cs create “Fusion Drive” disk[Y SSD] disk[X HDD]  # or disk[Y SSD]s[YA SSD partition] disk[X HDD]s[XA HDD Partition]

when this operation success you will got UUID

copy it

diskutil coreStorage createVolume [Fusion Drive UUID] jhfs+ "[Name The Drive]" 100%

4) open disk Utility format Fusion drive as HFS+

5) install OS X to Fusion Drive

6) Open Terminal

mkdir /Volumes/{EFI,ESP1,ESP2} 
diskutil list

remember  Fusion drive,Usb installer  Device /dev/diskX 

/dev/disk0
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *500.1 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:          Apple_CoreStorage                         499.8 GB   disk0s2
   3:                 Apple_Boot Boot OS X               134.2 MB   disk0s3
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *250.1 GB   disk1
   1:                        EFI EFI                     209.7 MB   disk1s1
   2:          Apple_CoreStorage                         249.7 GB   disk1s2
   3:                 Apple_Boot Boot OS X               134.2 MB   disk1s3
/dev/disk2
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                  Apple_HFS Macintosh HD           *748.9 GB   disk2
/dev/disk3
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *8.0 GB     disk3
   1:                        EFI EFI                     209.7 MB   disk3s1
   2:                  Apple_HFS Install OS X Mavericks  7.7 GB     disk3s2

  mount EFI partition on USB installer

mount -t msdos /dev/disk3s1 /Volumes/EFI

Mount Fusion Drive EFI Partition

 

 
mount -t msdos /dev/disk0s1 /Volumes/ESP1 
mount -t msdos /dev/disk1s1 /Volumes/ESP2

Copy data in EFI partition to Fusion drive

cp -r /Volumes/EFI/EFI/ /Volumes/ESP1/EFI/
cp -r /Volumes/EFI/EFI/ /Volumes/ESP1/EFI/

7) Install Ethernet kext to Fusion Drive for first Login

cp -r /Volumes/EFI/EFI/CLOVER/kexts/10.9/RTL81111.kext/ /Volumes/Macintosh\ HD/System /System/Library/Extensions/RTL81111.kext/  #replace RTL81111.kext with your ethernet or wifi kext

8) Restart boot form UEFI Bios menu choose UEFI: SSD Model

 

9) After post installations you must install clover component for load and save NVRAM

Screen+Shot+2557-01-30+at+2.26.31.png

10) Open Disk Utility get info about fusion drive partition and copy UUID

fusion.png

11) mount EFI partition open Clover's config.plist at EFI/EFI/CLOVER/config.plist set Default Volume by put UUID=[UUID you copy from Disk Utility] to boot section as ( easy edit config.plist with Clover Configure )

<key>Boot</key>
    <dict>
        <key>DefaultVolume</key>
        <string>UUID=58376EA1-C080-3883-9B1D-3A8DE1BA1177</string>
        <key>Timeout</key>
        <integer>5</integer>
    </dict>

Screen+Shot+2557-01-31+at+1.22.33.png

12) Complete

 

#P.S. Load Nvram Script

if nvram not load to system you can use this script to fix it.

You must enable iCloud, iMessage Before use this.

save this code as FusionLoadNvram.command or Download and Run one.

Script Base on http://www.idelta.in..._on_hackintosh/

osascript -e 'do shell script "sudo echo \"nvram -xp > /nvram.plist;chflags hidden /nvram.plist;\" >> /etc/rc.shutdown.local;sudo nvram -xp > /tmp/nvram;sudo cp -r /tmp/nvram /nvram.plist;sudo rm -rf /tmp/nvram;sudo chflags hidden /nvram.plist;sudo rm -rf /tmp/alpha.delta.fusion.LoadNvram.plist;sudo cat >> /tmp/alpha.delta.fusion.LoadNvram.plist << EOF
<?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>Label</key>
    <string>alpha.delta.fusion.LoadNvram</string>
    <key>KeepAlive</key>
    <true/>
    <key>RunAtLoad</key>
    <true/>
    <key>ProgramArguments</key>
    <array>
      <string>/usr/sbin/nvram</string>
      <string>-xf</string>
      <string>/nvram.plist</string>
    </array>
    <key>UserName</key>
    <string>root</string>
    <key>StandardErrorPath</key>
    <string>/dev/null</string>
    <key>StandardOutPath</key>
    <string>/dev/null</string>
  </dict>
</plist>
EOF

sudo cp -R /tmp/alpha.delta.fusion.LoadNvram.plist /Library/LaunchDaemons/alpha.delta.fusion.LoadNvram.plist;sudo chmod 755 /Library/LaunchDaemons/alpha.delta.fusion.LoadNvram.plist;sudo chown root:wheel /Library/LaunchDaemons/alpha.delta.fusion.LoadNvram.plist;sudo launchctl load /Library/LaunchDaemons/alpha.delta.fusion.LoadNvram.plist" with administrator privileges'




#2
Hackmodford

Hackmodford

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 233 posts
  • Gender:Male
  • Location:'Merica's Mitt

I already have a fusion drive with Chameleon setup and have been experimenting with clover on a usb flash drive.

 

Essentially you're saying, once I have it all working on my usb drive, I can simply copy the usb EFI partition over my actual EFI partitions?

 

Also why is it necessary to put it on both EFI partitions?



#3
Hackmodford

Hackmodford

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 233 posts
  • Gender:Male
  • Location:'Merica's Mitt

I only put it on one of the EFI partitions and it works fine...



#4
alpha.delta

alpha.delta

    InsanelyMac Protégé

  • Members
  • Pip
  • 40 posts

I only put it on one of the EFI partitions and it works fine...

great to read this. I copy both EFI Partition B'cuz I try in first time. And Work fine for me.



#5
Doug the Impaler

Doug the Impaler

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 188 posts

Maybe it's because software has been updated since this was written, but my experience was very different.

 

Clover doesn't install to ESPs even if you tell it to, so what I did was install OS X through step 5 (I used tonymacx86's guide to create a Clover USB drive).  Then I had to:

 

1.) Boot to OS X and get a user account set up

2.) Install Clover, which copied to the root of my main partition

3.) Copy the appropriate kexts and clover config file from the EFI folder from the ESP on the USB drive to the correct location in the EFI folder on my system partiion

4.) Reboot and in Clover look at the UUID (the UUID for the volume from Disk Utility would not auto-boot)

5.) Use Clover Configurator to manually type the UUID into the boot area and save

6.) Mount both ESPs and copy the EFI folder to each

 

Then I could remove the EFI and EFI-backups folders from the big partition and reboot successfully.  I'm also doing a lot of on-the-fly patching for my onboard audio, trim, and so on.  But after that, it survives upgrades without losing audio.  I can also skip my Realtek ethernet kext because my Rosewill wifi card is natively supported without any kext edits or patches, but if you need ethernet you should not skip it.  It works fantastic, and I thank you for putting something together. I was afraid I was going to have to install to a HDD and then clone it like the first Fusion Drive guide I found, and I didn't have a spare HDD.



#6
Commandant Sylvestre

Commandant Sylvestre

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts

Hello to all and thanks a lot for this great tutorial. My Hackintosh is working good, faster than #####/##### setup.

I set up clover on my  GA-Z87MX-D3H but I got a few questions... anyone could help me ?

 

- First thing... How to update clover ?... I use the control panel to update, but the boot loader used for booting is still the old one... 

- Second thing... I think I made a mistake... my audio was not working after the setup of Mavericks, and I didn't find a solution... so I used ##### to set it up... but I understand it's not the right way, and it will be a problem for the next update of Mac OS X. Could you help me too ? My audio is ALC892.

 

Thanks to all.



#7
jamiethemorris

jamiethemorris

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 413 posts
  • Gender:Male
  • Location:San Rafael, CA

Using the preference pane to update has never worked for me on the Fusion drive, I just mount the EFI partition and run the latest package installer.

As for your audio, that's a completely different issue and it's best to ask about that in another thread. But you probably installed the wrong patched AppleHDA. If you installed the correct one, then you either need a DSDT edit or HDAEnabler for it to work. If you don't have audio enabled in your DSDT then make sure you have HDAEnabler.



#8
Commandant Sylvestre

Commandant Sylvestre

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts

You're right, I should deal with the problem of the audio on another thread.

 

Anyway, could you tell me more about the way of updating clover on a fusion drive ?... I mounted the two EFI partitions, but the package installer doesn't update them. It's impossible to select these partitions. And so it is just creating another folder on the root of the Fusion Drive. Thanks in advance.



#9
Doug the Impaler

Doug the Impaler

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 188 posts

You're right, I should deal with the problem of the audio on another thread.

 

Anyway, could you tell me more about the way of updating clover on a fusion drive ?... I mounted the two EFI partitions, but the package installer doesn't update them. It's impossible to select these partitions. And so it is just creating another folder on the root of the Fusion Drive. Thanks in advance.

 

Best I can tell you're supposed to let it install to the Fusion drives and then copy stuff manually to the EFI partitions (be careful to not overwrite your config or kexts). 

 

What I did was this:

 

1.) Install to system volume

2.) Mount one EFI partition

3.) Copy the system volume EFI folder to the desktop

4.) Copy the EFI partition's kexts to the /EFI/Clover/kexts/10.9 folder on the desktop

5.) Copy the EFI partition's config file to /EFI/Clover

6.) Copy from the desktop to the EFI partition, replacing what's there

7.) Unmount one EFI partition, mount the other, and repeat step 6

 

Then I rebooted and held my breath. Reboot was successful and everything still worked.  It now shows "currently booted" 2818 instead of the previous 2795.

 

I'm not 100% sure but I'm thinking I could just upgrade in place to Yosemite by copying my kexts to a 10.10 folder and then running the installer.  I'm not brave enough to try it, though, even with a full Time Machine backup ready and waiting.



#10
Commandant Sylvestre

Commandant Sylvestre

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts

Great !... I made it, only in one partition, and it was enough to update it !... Thanks a lot for your help !







Also tagged with one or more of these keywords: clover, fusion


0 user(s) are reading this topic

0 members, 0 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