GrabDuck

[Guide] Install Windows 8 UEFI on Legacy BIOS with Clover (and Dual boot with ...

:

Creating Installation Media:
We will prepare a single USB drive which can be used to install Yosemite, Windows (and even Ubuntu if you fancy!).

 

 

Just wanted to share a few tips on installing Linux Mint 17.1 in UEFI mode for a triple boot :).

 

1.  Leave 30-60GB of free space for the install

2.  Download the x64 linux iso version from here

3.  Boot with Clover into the UEFI linux media (DVD or USB)

         a.  Make sure that VBoxExt4-64.efi is installed in /EFI/CLOVER/drivers64

         b.  If you want to install via a Linux Mint DVD, install GrubUDF-64.efi and VBoxIso9600-64.efi in /EFI/CLOVER/drivers64

              Choose “Boot UEFI optical from CDROM” at the Clover Main Menu....

Attached File  Linux Mint DVD UEFI mode1.png   285.64KB   33 downloads

         c.  If you want to install via a UEFI USB installer, make sure it is formatted to FAT32 and copy the entire contents of the iso to it.  I did this in Windows with 7zip...

Attached File  Use 7zip to extract iso to FAT32 USB.png   217.31KB   30 downloads

              Create a folder eg “linuxmint” or “ubuntu” in the /EFI folder of the USB installer and copy the grubx64.efi file to it (from /EFI/boot). 

Attached File  Copy grubx64 to ubuntu folder.png   306.21KB   43 downloads

              Choose “Linux Mint EFI boot menu” or “Ubuntu EFI boot menu” (depending on how you named the folder above) at the Clover Main Menu to start the installer...

Attached File  Boot Ubuntu EFI boot menu from LINUX.png   283.64KB   22 downloads

4. Follow this procedure to install Mint 17.  Note:

       a.  Format with GParted

                /          Ext4    10-20GB

               Home    Ext4    18-36GB

               Swap    swap    2-4GB

       b.  make sure to install the GRUB bootloader into the EFI partition

 

5.  After the installation has completed, reboot the computer with Clover...you will see 2 entries.  Both will boot into linux Mint....

Boot Ubuntu EFI boot menu from EFI ---> runs grubx64.efi to launch Mint

Attached File  Boot GRUB Ubuntu EFI boot menu.png   215.96KB   23 downloads

Boot vmlinuz from xxxx (Ext 4 / partition name) --->  runs the linux kernel directly to launch Mint

Attached File  Boot linux kernel vmlinuz directly.png   221.31KB   20 downloads

 

 

Don't know why at the part of windows and yosemite installer, you format the USB as GPT ? MBR format on the USB can boot Windows UEFI installer just fine ( of course FAT32 partition ). If so then you must create another FAT32 partition for Clover ( the Test Clover Config section at the beginning ). Different method, same result

That’s a valid point since some machines with legacy BIOS won’t boot from a USB if it is GPT formatted (this doesn’t affect booting from GPT hard drives in those systems though).

In summary, to create a multi-boot Clover MBR installer USB, @avin7000’s procedure needs a few modifications:

1.    In Disk Utility, create an extra 200MB FAT32 partition.  In the screenshot below, I’ve named this CLOVER.

 

Attached File  200MB Clover FAT32.png   130.44KB   16 downloads


a. Choose 4 Partition Layout with 5GB FAT32 for WIN, 3GB FAT32 for LINUX, 8GB HFS+ for OSX (if using a 16GB or larger USB).
b. Under “Options”, choose MBR format, then apply changes.
c. Unmount, then format the 200MB CLOVER partition to FAT32 using terminal:

diskutil list
diskutil unmount /dev/diskXs1 (where X=disk number of USB)
sudo newfs_msdos -v CLOVER -F 32 /dev/rdiskXs1 

2.  Copy the Windows and Linux install files from DVD or mounted ISO into the respective FAT32 partitions.  Note in the files from the Linux Mint iso, there is a hidden folder named ".disk" that needs to be copied across, so I enabled "show all files" in Finder.

 

       a. Enable showing of hidden files in Finder by typing in terminal

 defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder

       b. For Windows, make sure bootmgfw.efi is copied to /efi/Microsoft/boot and rename cdboot.efi to cdboot.bak

Attached File  bootmgfw.efi in :efi:microsoft:boot.png   201.69KB   11 downloads

Notes:  For Windows 8 and 10, copy bootx64.efi in the efi/boot folder to efi/microsoft/boot and rename it bootmgfw.efi.

   For Windows 7, extract bootmgfw.efi from the "install.wim" using 7-Zip (open the iso and navigate to sources/install.wim/1/Windows/Boot/EFI/bootmgfw.efi) and copy to efi/microsoft/boot.

 

       c. For Linux, make sure to create a folder inside the /efi folder for the bootloader eg “ubuntu” or “linuxmint” and copy grubx64.efi into it.

Attached File  grub64.efi in :EFI:linuxmint.png   156.32KB   18 downloads

 

3.  For the OSX partition, use the createinstallmedia method (ensure OS X installer app is in /Applications folder).

sudo /Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources/createinstallmedia --volume /Volumes/OSX --applicationpath /Applications/Install\ OS\ X\ Yosemite.app

4.  Install Clover targeting the “CLOVER” partition instead of the EFI partition.

 

Attached File  Clover install target 200MB FAT32.png   149.48KB   11 downloads


a. I use the following custom install options...

 

Attached File  Custom Install Options.png   135.45KB   9 downloads

 

       b. Copy the config.plist, DSDT/SSDT.aml file(s) which are specific to your system into the Clover folder:

           - Put config.plist in /EFI/CLOVER directory
- Put DSDT.aml in /EFI/CLOVER/ACPI/patched
- Put FakeSMC.kext and other kexts required in EFI/CLOVER/kexts/10.x (where x is your version of OSX)

5.  Boot from the USB and you should see the following options at the Clover Main Menu:

 

Attached File  Boot Linux Mint EFI boot menu from LINUX partition.png   284.41KB   12 downloads

“Boot Microsoft EFI boot menu from WIN” ---> boots Windows installer via bootmgfw.efi

“Boot Linux Mint EFI boot menu from LINUX” ---> boots Linux installer via grubx64.efi
“Boot OS X Install from Install OS X …” ---> boots OSX installer via boot.efi