fusion71au Posted May 3, 2015 Share Posted May 3, 2015 For those wanting to try Windows 10, I thought I would create a short guide on how to create a Clover/UEFI Windows 10 installer with Rufus and clean install. This guide is tailored for legacy BIOS machines but should also work in systems with native UEFI firmware.Prerequisites1. Access to OSX and Windows to run Rufus and install Clover2. Install Rufus: Download from here 3. Download the Windows 10 insider preview ISO (build 10074) from here. Edit 29/7/15 RTM build 10240 available!: Download MediaCreationTool. Making the UEFI Windows Installer1. In Windows, Insert a 4GB or larger USB and start Rufus with the following settings Partition scheme and target system device = MBR for UEFI computer File System FAT32 2. Click the “Create a bootable disk using ISO image” checkbox and the CDROM icon to browse/choose your downloaded ISO3. Click Start & OK to burn the image to the USB. Notice the USB takes on the name of the original ISO. 4. After the image has been burned to the USB, copy bootx64.efi from the /efi/boot folder of the Windows ISO/DVD into /efi/microsoft/boot. Rename the file to "bootmgfw.efi" and also rename cdboot.efi to cdboot.bak. For Windows 7, you need to extract bootmgfw.efi from "install.wim" eg using 7-Zip, open the iso and navigate to \sources\install.wim\1\Windows\Boot\EFI\bootmgfw.efi and copy to efi\microsoft\boot on the USB. Installing Legacy Clover (for legacy BIOS machines to boot the installer in UEFI mode) 1. Install Clover onto the USB drive (in OSX) with the “use alternative booting PBR” option ticked as shown below. Note - you can also install legacy Clover onto the USB in Windows using the Bootice program - see post#23 2. 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)Installation of Windows 101. Create free space on the target hard drive for Windows 10. This can be done in OSX using Disk Utility or in Windows with Disk Management/Diskpart.exe.2. It is recommended to temporarily disconnect all hard drives except the target hard drive when installing or updating Windows 10.3. Boot the computer with the Installer USB, pressing <F12> (or whatever your system’s BIOS boot selection key is) to choose the USB and then pressing the number <6> key when you see Clover’s flashing underscore4. At the Clover Main Menu, choose “Boot Microsoft EFI boot menu from your_USB_name” ---> start the Windows 10 installer GUI 5. Follow the rest of the steps in this guide - http://www.tenforums.com/tutorials/1950-windows-10-clean-install.html Notes Choose the “Custom: Install Windows only (advanced)” option and just select the Unallocated Space for the installation —> the correct partitions will be automatically set up At the first reboot, boot to the USB again but at the Clover Main Menu, select “Boot Microsoft EFI boot menu from EFI” As the final step, don’t forget to install Clover on the hard drive . Major version upgrades through Windows Update (as opposed to a clean install) may overwrite the bootsector so legacy Clover might need to be re-installed. I recommend clean installing instead of letting Windows update perform an upgrade. If you run Windows 10 or 8 with Windows 7, you should turn off "Windows Hybrid Boot" to avoid chkdsk running every time you change from booting Windows 8/10 to Windows 7. Chameleon/Clover Emergency Boot Disk As an added bonus, by adding the attached Chameleon boot file to the root of the USB, you can use the installer as an emergency boot disk for Clover or Chameleon: Set your BIOS to boot first from USB ---> when you see the flashing underscore, press <1> to boot with Chameleon or <6> to boot with Clover . Chameleon v2737_boot1.zip Chameleon v2795_boot1.zip 14 1 Link to comment Share on other sites More sharing options...
insanelyDeepak Posted September 6, 2015 Share Posted September 6, 2015 i tried but getting this error “Windows installation encountered an unexpected error. Verify that the installation sources are accessible, and restart the installation.Error Code: 0xC0000005” any fix ??? Link to comment Share on other sites More sharing options...
fusion71au Posted September 6, 2015 Author Share Posted September 6, 2015 Install the UEFI Windows Bootloader in an existing Legacy Windows MBR Installation Sometimes, you have the scenario where there is an already existing install of legacy Windows on an MBR disk. Afterwards, you install OSX on a separate GPT disk with Clover and find that it won't boot the existing Windows MBR drive. What to do without formatting and re-installing Windows in UEFI mode? Answer: Install the Windows EFI bootloader, bootmgfw.efi on the existing Windows NTFS partition using bcdboot.exe. This program can be executed from the command prompt and is also found in Windows installation media (iso, DVD or usb). The Windows 8 or newer versions of bcdboot.exe are required for exclusive installation of UEFI boot files in an EFI folder (and will also work with Windows 7). Clover will also require the NTFS.efi driver in order to read data from NTFS partitions. Procedure1. Boot to OSX on the GPT drive and mount the EFI System Partition. This can be done with terminal: diskutil list diskutil mount diskXs1 (where X is the disk number of your OSX GPT drive) 2. Copy NTFS.efi into the /EFI/CLOVER/drivers64 & /drivers64UEFI folders.3. Insert a Windows 8/10 installer USB and reboot the computer to the Windows installer using the BIOS boot select key (eg <F12> on Gigabyte boards).4. At the Windows Installer GUI, press <Shift> and <F10> keys simultaneously to bring up the Windows Command Prompt 5. Type the following lines into the terminal, pressing <Enter> after each line: diskpart list disk select disk # (where # is the number of the MBR hard disk with Windows installed) list partition select partition * (where * is the Windows partition number) assign letter=W exit bcdboot W:\windows /s W: /f UEFI 6. Close the command prompt and reboot the computer to Clover on your OSX drive. With any luck, you should now have a "Boot Microsoft EFI boot menu from ####" entry ---> boots Windows in UEFI mode by running bootmgfw.efi. 7. You can add the following lines to the GUI section of your Clover config.plist to hide the extraneous legacy Windows entries: <key>Scan</key> <dict> <key>Entries</key> <true/> <key>Legacy</key> <false/> <key>Tool</key> <true/> </dict> bcdboot.zip 6 Link to comment Share on other sites More sharing options...
insanelyDeepak Posted September 6, 2015 Share Posted September 6, 2015 (edited) @fusion71au i have looked to google provides me same result . Either HDD or USB is not Corrupted cuz install OSX from same USB to same Drive ... Im trying it on UEFI BIOS does this require additional steps ?? Edited September 6, 2015 by InsanelyDeepak 1 Link to comment Share on other sites More sharing options...
insanelyDeepak Posted September 6, 2015 Share Posted September 6, 2015 (edited) @fusion71au i found fix to my system what i did1. Use rufus instead MBR I select GPT UEFI2. Renamed bootx64.efi to bootmgfw.efi and above instructions said3. Installed clover to usb , selected -> UEFI Mobo instead no kext required4. Just booted with my UEFI USB and selected to efi usb ( boot with bootmgfw.efi )5. As OSX is previously installed and left free space I selected Note : Don't forget to install clover to ESP (EFI Patition ) and , Preferable if you boot from ESP and select USB (windows ) this way UEFI Bios will add entry to Both Bootloader Windows and Clover , otherwise Windows Bootloader will rule over it .. re-installing clover doesn't fix this (in My Situation) , Everything is Fine and working perfect with Dual Boot PS: I tested this on Asus H61M-D Motherboard UEFI BIOS , will test on legacy bios and update soon Edited September 7, 2015 by InsanelyDeepak 2 Link to comment Share on other sites More sharing options...
fusion71au Posted September 7, 2015 Author Share Posted September 7, 2015 ^^ @InsanelyDeepak, That's great and thanks for the feedback! I'm happy that you found a workaround to your problem, although by remaking the RUFUS installer again, your USB drive would have been repartitioned and reformatted, which was what I was recommending anyway in post#4 . Personally, I've never had the error 0xc0000005 with the installer USB made with an MBR partition layout. Choosing the "GPT partition scheme for UEFI computer" certainly works if your computer has native UEFI firmware but some systems with legacy BIOS eg my desktop GA-P55aUD3/Intel i5 750/ATI HD 5770 will refuse to boot from a GPT partitioned USB so I chose a FAT32 MBR to be compatible with more systems. Also if you have UEFI BIOS, you don't really even need to install Clover onto the USB - just directly choose the UEFI boot option for the USB and it will load bootx64.efi/bootmgfw.efi --> install UEFI Windows.That being said, I've tested my MBR formatted installer to install UEFI Windows 10 on all my legacy BIOS systems, a desktop GA-B75M-D3H with UEFI BIOS and also on my real Mac Mini - see pictures below.... Clover successfully chainloads to the Windows bootmanager bootmgfw.efi and then Setup.exe ---> installed UEFI Windows 10. Obviously I didn't use Clover to boot into OSX on my Mac Mini . 1 Link to comment Share on other sites More sharing options...
insanelyDeepak Posted September 7, 2015 Share Posted September 7, 2015 @fusion71au but some systems with legacy BIOS eg my desktop GA-P55aUD3/Intel i5 750/ATI HD 5770 will refuse to boot from a GPT partitioned USB yes you are legacy system often refuse it , i have tested this GA-H61M-D2H Mobo Also if you have UEFI BIOS, you don't really even need to install Clover onto the USB - just directly choose the UEFI boot option for the USB and it will load bootx64.efi/bootmgfw.efi --> install UEFI Windows. this also right but i did for safe side when windows bootloader rule to ESP then i again need a to boot to Hack to get clover back ... I've tested my MBR formatted installer to install UEFI Windows 10 on all my legacy BIOS systems, a desktop GA-B75M-D3H with UEFI BIOS and also on my real Mac Mini maybe differ workaround due to having a Asus Mobo i think ..and i don't have macmini to test it but aswell as i know it don't require a custom bootloader Clover successfully chainloads to the Windows bootmanager bootmgfw.efi and then Setup.exe ---> installed UEFI Windows 10 i was having a issue with my system i always need to rename cloverx64.efi to bootmgfw to bootclover and i'm totally having new exp with UEFI (renaming alwasy irritate me windows updates take over it ) and if i choose USB Windows directly from Bios which again make Windows to take over ESP , no clover but now with this workaround i have successfully added option now my Bios prompt me to Choose Windows BootManager or OtherOS (which is clover ) which is really Awesome Link to comment Share on other sites More sharing options...
InfintyGhost Posted October 7, 2015 Share Posted October 7, 2015 Would This Guide Work With Windows 7 ? Link to comment Share on other sites More sharing options...
insanelyDeepak Posted October 7, 2015 Share Posted October 7, 2015 Would This Guide Work With Windows 7 ? Sure , but not tested Link to comment Share on other sites More sharing options...
fusion71au Posted October 7, 2015 Author Share Posted October 7, 2015 @InfintyGhost, Yes, with slight modification in "Making the Installer" step 4: For Windows 7, you need to extract bootmgfw.efi from "install.wim" eg using 7-Zip, open the iso and navigate to \sources\install.wim\1\Windows\Boot\EFI\bootmgfw.efi and copy to efi\microsoft\boot on the USB. For Windows 8 and 10, copy the bootx64.efi found in the \efi\boot folder to \efi\microsoft\boot and rename it bootmgfw.efi. 3 1 Link to comment Share on other sites More sharing options...
owbp Posted November 17, 2015 Share Posted November 17, 2015 Thank you for this great guide! It worked for me with Win 8,1 minus Rufus, since I did it from OS X with just copying files from installation media to usb. 1 Link to comment Share on other sites More sharing options...
morpheousman Posted November 25, 2015 Share Posted November 25, 2015 This process worked great on my Optiplex 780 Desktop. On my Latitude e6420 I get an error when choosing partition to install windows 10 to: "Windows cannot be installed to this disk. The selected disk has an MBR partition table. On EFI systems, Windows can only be installed to GPT disks." I remember getting this error with my Optiplex 780. I had an extra USB flash drive plugged in to the back of the box, and I only needed to unplug the unneeded flash drive, and Windows 10 installed without any more errors. There are no other drives plugged in to my Latitude e6420. It does have a SSD hard drive. Arg! Link to comment Share on other sites More sharing options...
fusion71au Posted November 25, 2015 Author Share Posted November 25, 2015 @morpheousman, Most likely your SSD has a hybrid MBR/GPT layout that's causing the error message. Just download GDisk and follow the directions in post#359 to create a new "protective" MBR ---> convert your drive back to full GPT ---> try the UEFI Windows install again . 3 Link to comment Share on other sites More sharing options...
owbp Posted November 25, 2015 Share Posted November 25, 2015 Just to confirm, GDisk fixed that error for me (post #359, steps 1-6). I've made empty Win partition from OS X, so that's probably why we get those errors. 2 Link to comment Share on other sites More sharing options...
morpheousman Posted November 29, 2015 Share Posted November 29, 2015 @morpheousman, Most likely your SSD has a hybrid MBR/GPT layout that's causing the error message. Just download GDisk and follow the directions in post#359 to create a new "protective" MBR ---> convert your drive back to full GPT ---> try the UEFI Windows install again . Awesome! Worked like a charm. 1 Link to comment Share on other sites More sharing options...
rain.nguyen Posted December 12, 2015 Share Posted December 12, 2015 @fusion71au I have problem when create a 8.1 usb installer, I perform your guide step by step, but I cant boot to my usb. I already have a dual boot "windows 7 + yosemite" PC with clover bootloader, But I want to install window 8.1 instead of window 7 First, here is my clover bootloader screen And when I chose "boot Microsoft EFI menu from..", there is what happen, I tried to pick any option that I could, but cant boot to my usb Plz help me Link to comment Share on other sites More sharing options...
fusion71au Posted December 12, 2015 Author Share Posted December 12, 2015 @rain.nguyen, What is the size of the bootx64.efi that you renamed to bootmgfw.efi? My guess is that you have used the bootx64.efi from your hard disk's EFI system partition (which is actually CLOVERX64.efi and about 646KB) instead of the bootx64.efi from the Windows 8 ISO/DVD (> 1MB, found in the EFI\boot folder of the Windows install media)... Hence when you choose Boot Microsoft EFI Boot Menu, you are loading another instance of Clover instead of the UEFI Windows Bootloader. Another way to get bootmgfw.efi is to extract it from install.wim using 7 Zip in Windows (found in the sources folder on your Windows 8 ISO/DVD). Open install.wim and navigate to the Windows\Boot\EFI folder... Link to comment Share on other sites More sharing options...
rain.nguyen Posted December 12, 2015 Share Posted December 12, 2015 @fusion71au haha, you are so smart. You're right, I forget that I replaced this file when I perform "dual boots" guide. So everything is good now. Thank you very much :x Link to comment Share on other sites More sharing options...
midi-sama Posted April 15, 2016 Share Posted April 15, 2016 hi im stuck in installing win 7, i cant find install.wim folder, in iso image. i downloaded #Discussion of P2P, torrent sites, or similar download sites of any kind will not be tolerated. We do not want to know your illegal downloading habits. any help // Srsly? 2 Link to comment Share on other sites More sharing options...
Allan Posted April 15, 2016 Share Posted April 15, 2016 Thanks midi 1 Link to comment Share on other sites More sharing options...
midi-sama Posted April 15, 2016 Share Posted April 15, 2016 Thanks midi NP 1 Link to comment Share on other sites More sharing options...
BlakDragun2 Posted April 25, 2016 Share Posted April 25, 2016 Good afternoon @fusion71au. I was hoping you or anyone could help me with an issue I'm having.My goal was to dual boot Windows 7 and Yosemite both in UEFI mode using Clover, with the operating systms on seperate SSD's. I'm a decent PC user, but I'm new to Mac so it took me a little bit to understand the Mac lingo.I successfully installed OSX Yosemite following various guides (mostly from tonymac), and other sites when I didn't understand something. It took me a approximately 5 hours or so to install Yosemite, but it's been solid ever since. Now, the big issue I'm having is with Windows 7. That's suprising to me because I'm a long time PC user who has built many systems. Long story short, it's installed in UEFI. It took me a while to figure out Windows Update. Apparently there are issues with that (as stared on many forums). Luckly I found another guide that helped me a lot.Now, before installing the Windows Updates I was able to successfully boot Windows and Yosemite from Clover. After I installed all of the Windows Updates (that took hours too), and plugged back in the hard drive that contained Yosemite, I could not boot Windows 7 from Clover anymore. The Windows screen would come up, and then it would turn into a black screen. After I I don't know what I did. I even reinstalled Windows 7 (for like the 5th time). This last time i saw that I could still boot Windows 7 if I set it as #1 to boot in bios. If Windows had previously failed to boot from Clover, Windows will give me an error screen, but when i choose to "Launch Windows Normally" it launches with no problems. I think something happend with the Clover bootloader. I can still boot into Yosemite with Clover. I've searched and searched with no clear answer. Today is day five of me trying to get this to work. I've tried almost everything people suggested with no good results.I installed Windows 7 Ultimate in UEFI mode as per this guide: http://www.sevenforums.com/installat...-mode-usb.htmlI installed Yosemite per this guide: Success Guide Yosemite 10.10.1 Clover UEFI Guide - Gigabyte GA-Z77X-UD5HIt booted fine from Clover for a while. Once again, I performed a windows update where it had to install 200+ updates. It seems like right after that, it would not boot from Clover anymore. OS X Yoesmite still boots, and Windows will boot if I choose it in the bios, but not in Clover. I even reinstalled the EFI boot file because I thought the update may have corrupted it. I fixed it per this guide: http://www.hasper.info/repair-a-dest...i-boot-sector/I confirmed that Windows 7 is installed EFI. Any suggestions? CPU- i7 4790K 8M 4GHzMB- Gigabyte GA-Z97X-UD5HGPU- Gigabyte GeForce GTX 960 SSC-4GB GDDR5Ram- Crucial Tactical 32GB Kit DDR3 1600HD- Samsung 850 EVO 500GB SSD x2 (OS on each one) Link to comment Share on other sites More sharing options...
fusion71au Posted May 29, 2016 Author Share Posted May 29, 2016 Install legacy Clover for the UEFI Windows Installer in Windows Prerequisites1. 7-Zip2. Bootice program3. Clover ISO downloaded from Sourceforge4. UEFI Windows Installer USB, formatted MBR FAT32 created with Rufus (as described in post#1)OverviewThe Clover wiki describes the legacy booting process: Essentially BIOS--->MBR--->PBR--->boot--->CLOVERX64.efi--->OSLoader In terms of the bootsectors required to boot a UEFI Windows Installer, we will use the followingBIOS--->boot0af in MBR of the FAT32 USB--->boot1f5 in the PBR--->boot5 (actually boot6 renamed as boot5) in \ directory--->CLOVERX64.efi--->OSLoader Unlike boot1f32alt, boot1f5 will automatically search for a "boot" file named boot5 (without the user having to press a number key during boot to choose). We need to rename Clover's third stage boot file this way to prevent a conflict with the Windows installer folder also named "boot" - see post#21 by @Slice.Procedure 1. Download the CloverISO tar.lzma file from Sourceforge and extract the ISO with 7 Zip 2. Copy the following boot files (attached to this post) boot0af, boot1f5 and boot5 to somewhere convenient3. Open the Bootice program, select the FAT32 formatted UEFI Windows Installer USB as the destination disk and click Process MBR from the main menu 4. At the Master Boot Record screen, click restore MBR5. For the Restore file, browse to the boot0af file we copied from step 2 6. Click the Restore button and you should get a confirmation that the operation completed successfully. Click the close button. 7. Click Process PBR from the main menu 8. At the Partition Boot Record screen, select the FAT32 formatted UEFI Windows Installer as the destination partition and click the Restore PBR button.9. For the Restore file, browse to the boot1f5 file we copied from step 2. 10. Click the Restore button and you should get a confirmation that the operation completed successfully. Click the close button and exit the program. 11. Extract the Clover folder from the Clover ISO and copy it into the \EFI folder of the USB Installer using 7 Zip. 12. Copy boot5 into the root directory \ of the Installer Done! This last time i saw that I could still boot Windows 7 if I set it as #1 to boot in bios. I confirmed that Windows 7 is installed EFI. Any suggestions? UEFI Pic.jpg @BlakDragun2, Generally, Windows is not happy unless the disk with its system partition and boot files (usually, the disk it was first installed on) is given first boot priority in your BIOS...one thing you can try is moving the Clover and boot folders from the EFI of your OSX drive to the EFI System Partition of your Windows drive. After giving first boot priority to the Windows drive, you can then use EasyUEFI to make the system boot to Clover - see Manually install Clover for UEFI booting and configure boot priority with EasyUEFI in Windows Boot Files.zip 3 Link to comment Share on other sites More sharing options...
Blaggah Posted June 8, 2016 Share Posted June 8, 2016 I'm having a hard time with steph 4 because I can't seem to find that bootx64 bootx64.efi from the /efi/boot folder of the Windows ISO/DVD into /efi/microsoft/boot to rename it to "bootmgfw.efi I already renamed cdboot.efi to cdboot.bak. Link to comment Share on other sites More sharing options...
fusion71au Posted June 8, 2016 Author Share Posted June 8, 2016 @Blaggah, From post#10 For Windows 7, you need to extract bootmgfw.efi from "install.wim" eg using 7-Zip, open the iso and navigate to \sources\install.wim\1\Windows\Boot\EFI\bootmgfw.efi and copy to efi\microsoft\boot on the USB. For Windows 8 and 10, copy the bootx64.efi found in the \efi\boot folder to \efi\microsoft\boot and rename it bootmgfw.efi. If your install media has an "install.esd" instead of wim, you can download this handy ESDtoISO tool from Windows 10 forums to convert the file to an ISO with "install.wim". bootmgfw.zip 3 Link to comment Share on other sites More sharing options...
Recommended Posts