So I wanted a Hackintosh out of my Haswell i5 and B85M-ITX. I popped in an old hard drive to test it out.
Once my build has been running properly I figured that it would be much faster on my 500GB SSD where Win 10 is running from (obviously, duh...) For this to work, Win 10 must be running on UEFI bootloader, not legacy. For safety, backup your WINDOWS EFI and MAC CLOVER folders, I didn't and for whatever reason, Clover got erased (you can do it just like you would normally on Mac).
That was actually quite simple to move partitions around. I just used a free software called Ease US partition https://www.easeus.com/partition-manager/epm-free.html
My SSD was partitioned in GPT the following way: |1MB (blank)|496MB (Recovery)|100MB (EFI)|16MB (blank)|495GB (NTFS)| For Mac OS X to format some free space, you need the EFI partition to be at least 200MB, so you'll have to move things around just like I did if your EFI partition is not already 200MB
- 0- if your EFI partition is 200MB already, skip steps 2, 3 and 4.
- 1- Shrink your C: to get enough storage for Mac OS X, I personally wanted 200GB on Mac, so I reduced my C: to 300GB
- 2- Move your C: partition by 112MB, that'll create an unallocated 112MB space before the C: partition. Depending on the amount of data you have, that step can take up a long time, for 100GB of data, it took a good 30 minutes
- 3- The 16MB partition now sits in a 128MB chunk of space. Move the 16MB partition to the end of that chunk
- 4- You can now increase the size of the EFI partition to 200+ MB
- 5- Finally, create a new partition at the end of the drive, filling the free space, format it to FAT32 (whatever name) My Drive looked like this when done |1MB (blank)|496MB (recovery)|200MB (EFI)|16MB (blank)|300GB (NTFS)|195GB (FAT32)|
Boot to Mac * 6- mount the PC EFI partition and copy the CLOVER folder to the EFI folder. Windows boots using the /EFI/Windows/bootmgfw.efi file. Clover boots using the /EFI/CLOVER/CLOVERX64.efi * 7- Reboot on your recovery partition or, on your OS X Installer USB key (way easier - because you can select the boot volume from the BIOS menu) * 8- Launch Disk Utility, format the FAT32 partition you just created to HFS+ (journaled) and give it whatever name, it'll be erased anyway * 9- Then select the new formated partition and restore the old hard drive onto it (from the Edit menu) * 10- Once restored, you can boot either Windows or Mac OS X with Clover, if it is on another drive (your USB for instance)
Depending on your BIOS, you might not be able to boot Clover at all, only windows is available in the BIOS boot menu. If it is the case, just like it was for me (Asrock kinda sucks), you'll have to edit the UEFI Bios from the shell. That is really easy. * 11- boot Clover from your USB key, select UEFI Shell. Once launched, a list of volumes will be displayed (named FS0, FS1, FS2 etc...). Then at the prompt ("Shell>") type the following (in bold) and hit enter after the text:
Shell> map fs➝ Show all partitions (FS0, FS1, FS2, etc...) Shell> *fsX:** (X being 0, 1, 2, etc... or fs1: or fs2: ...)➝ Switch to fs0, fs1, fs2,... you must type the : Shell> ls ➝ List the contents of current partition / directory Shell> cd efi ➝ Change the directory to /efi Shell> cd clover ➝ Change the directory to /efi/clover (two steps to avoid any issues) Shell> ls ➝ to list the content of the folder, you should see a lot of files and folders, including CloverX64.efi
Then:
Shell> bcfg boot dump ➝List current boot options (you should see the different entries that you bios boot menu offers, if you want to delete entries, use the command bcfg boot rm XX, XX being the entry number you want to clear 0, or 1 or 01, or 02, etc). Shell> bcfg boot add **X CloverX64.efi "Clover" ➝ Add Cloverx64.efi from the current dir (\efi\clover) as a boot option labeled "Clover" (You will see this name also in the UEFI BIOS Boot menu boot items). X is the boot option number: 0 if you want it to be the first in the list, 1 to be the second, etc. Shell> bcfg boot dump ➝ Check if your entry is added, if you only see Clover and don't see Windows, you'll have to repeat the steps above, change folder where bootmgfw.efi is, and repeat the bcfg boot add X bootmgfw.efi "Windows" command Shell> reset ➝ Restart the system.
Once done with all of that, you can now boot from your BIOS, to either Windows or Clover, but you can also boot to Windows from Clover, and that's how you should proceed. If you boot to Windows from the Bios entry, there is a chance that the Windows bootloader erases your bcfg entries. You may want to set the default boot entry to your new Clover entry instead.
In Clover, you'll see different entries, your Mac OS X partition, but also a bunch of Windows partitions. If you want to just keep Windows and Mac OS X, in Clover configurator, uncheck Legacy from the GUI pane. There is a guide to use BCFG right here, just in case you'd like pictures: https://www.tonymacx86.com/threads/guide-remove-extra-clover-bios-boot-entries-prevent-further-problems.175274/
[link] [comments]
Post a Comment