All posts tagged uefi

Windows Setup, the Windows installation tool, unfortunately doesn’t provide any graphical tools for shrinking or expanding an UEFI System Partition (ESP; sometimes EFISYS). You can still create a custom-sized ESP by side-stepping out of Windows Setup and into the Command Line for a minute to partition the disk to your liking. I’ll walk you through the process in this tutorial.

This tutorial assumes you’re working with an empty disk, and that your computer is UEFI compliant. You may need to delete any existing partitions on the drive before proceeding. You can’t rely on this tutorial to grow the UEFI System Partition (ESP) on an existing installation as any attempt would be blocked by your existing partition boundaries. Windows won’t let you recreate an UEFI system outside the Windows Setup installation program. You should follow this tutorial during the initial Windows installation process with Windows Setup.

You are responsible for any data loss and to ensure that you have adequate backups of your own data. Unplug disks you don’t intend to use during the installation to avoid data loss. This is your only warning.

So you’ve booted up into Windows Setup from your installation media, and you’ve selected to perform a Custom installation. Whether you’re planning to and preparing to dual-boot with Linuxor just want to provide a larger margin of error; you may have noticed that the default 105-or-273 MB (100-or-260 MiB) partition for the UEFI System Partition is a tad small. (The default ESP size depends on your disks physical sector size.)

You need to decide what size you want your UEFI System Partition to be before you begin. You can take a pause here to read How large should you make your UEFI System Partition? before your proceed as it will be quite challenging to attempt to change the size you allocate to your ESP after you’ve installed the system without reinstalling.advertisement

Once you’ve decided on the approperiate size for your computer and needs, then you can follow the these steps to proceed. The tutorial begins from the first step of the Custom installation screen in Windows Setup (screenshot of this screen at the end of the article):

  1. Select your installation target and make sure it has no partitions (except unallocated space)
  2. Click the New and then the Apply button.

You should now have four partitions: Recovery, System (ESP), MSR, and Primary.

  1. Select each of the System, MSR, and Primary partitions in turn and click the Delete button to delete these partitions. Leave the Recovery partition in place.
  2. Press Shift+F10 to open the Command Prompt
  3. Type diskpart.exe and press Enter to open the disk partitioning tool
  4. Type list disk and press Enter to list out your disks
  5. Type select disk n where n is the number for the disk you want to install to as identified by the above command and press Enter
  6. Type create partition efi size=550 where 550 is the desired size of the ESP in Mebibytes (MiB), and press Enter
  7. Type format quick fs=fat32 label=System and press Enter to format the ESP
  8. Type exit and press Enter to exit the disk partitioning tool
  9. Type exit and press Enter again to exit the Command Prompt

You should now be back in the graphical Windows Setup partitioning tool where nothing has changed since the last time you looked at it.

  1. Click the Refresh button to detect your partition changes

You should now have a disk with a default Windows Recovery tools partition, a 500 MiB UEFI System Partition, and some unallocated space for your Windows installation.

  1. Select the unallocated space from the disk list and click the New button to automatically recreate the MSR and System partition in the remaining space

The final result should look something like this:

Screenshot of a 550 MiB ESP in Windows Setup

That should be all. From here, you can continue with your Windows installation as normal. If you should run into problems with the system not booting after completing this tutorial, then please refer to your systems manufacturer documentation for any special hardware requirements regarding UEFI boot and the UEFI System Partition in particular. Some older hardware models required non-standard FAT16-formatted ESPs, or had special partitioning size requirements. You should be able to adjust the steps in the tutorial to accommodate such requirements.

There are many ways to dual boot Windows and Mac OS X with different boot loaders on MBR but for UEFI, there’s only Clover boot loader is capable if you set it up correctly. In order to dual boot with Clover by default, you need to install Clover to EFI folder –> rename bootmgfw.efi to bootmgfw-orig.efi in the efi/Microsoft/boot/ folder. When we renamed this bootmgfw.efi, the bios will boot from clover BOOTX64.EFI in the efi/boot/ folder and the Clover boot GUI will come up with all the Windows and Mac OS X partition for us to select and boot correctly.

boot_folder_bootmgfw_efi     clover_boot_gui

This Guide is full walkthrough to how you can Dual Boot your Mac OSX El Capitan and Windows 10 on Hackintosh is very Simpler and Easier .

Using Single HDD / Hard-Drive  it is not difficult and it requires no experience and all basic installation steps are mentioned in this Guide

I assumes you have installed Mac OSX El Capitan on your Hard-Drive but if you haven’t installed it then Please follow below Guide and do installation First ::

1.At least 8 GB USB Drive

2. Windows 10 ISO Image

3. Latest revision of Rufus Download Here 

3. Latest revision of EasyUEFI Download Here

Making or Preparing for Windows10 USB installer 

Step 1: Now Run RuFus app and make sure your USB is Selected or Select it and Select Windows10 ISO Image as in ScreenShots Below ::

Rufus Installation

Step 2 : When Process Complete , Reboot your PC and Boot With USB Drive we prepared .

 Install MicroSoft Windows 10

Step 1 : Now Click on Install Now

Dual Boot Windows1 and OSX El Capitan

Step 2 :Choose your Language /Time/KeyBoard Setting and Click Next

Dual Boot Windows1 and OSX El Capitan 1

Step 3 : Select Custom Install and Look for Unallocated Partition , Choose and Click next , windows will prompt you “this will Create System Partitions ” .

Dual Boot Windows1 and OSX El Capitan 2

Step 4 : Now there will be Partions are as follow :

1.EFI Partition ( 200 MB)

2.OSX Partition (100 GB or more than what space you provided it )

3.MicroSoft Reserved Partition (620 MB)

4. Now Left Partition (320 GB ) Select it and Click Next and wait Untill Installation Complete

Dual Boot Windows1 and OSX El Capitan 3

 

Dual Boot Setting for OSX El Capitan and Windows10 

Now you have Windows But you are not able to Boot to OSX El Capitan due to Missing Boot Entry , now we gonna Fix This ::

Step 1: Run EasyUEFI   and See which Boot Entries are available , now we gonna add Missing Entry for OSX Bootloader ( Clover Bootloader ).

Disk0 is usually the internal Hard Drive / SSD. In the Boot order section, we can see that only Windows Boot Manager is detected. There is no mention of Clover UEFI anywhere.

EasyUEFI Setting

Step 2: To solve this problem, click on the Add button (the second button you see on the right).

EasyUEFI Settings 2

Step 3: Now Change Type fromWindows BootManager to Linux or Other OS , Type Name in Description Box (Whatever you want Clover Bootloader or Mac OSX Bootloader or Else depends upon you),  and Click Browse Button

EasyUEFI Settings 3

Step 4:  Now Expand EFI => BOOT or CLOVER Folder , Select any of Bootx64.efi or Cloverx64.efi  , Both are Clover Bootloader files Choose one or add Entry for Both but one is Enough to Boot Clover then why you waste your time but if you having Issue with and Then Use Another Option.

EasyUEFI Settings 4

Note : Remember these things :

1.Bootx64.efi is Bootloader file (this file is from Clover Bootloader )

2.Bootmgfw.efi is Windows Bootloader

3.Cloverx64.efi is Clover Bootloader

initially when we Click on drive to Boot it loads Bootx64.efi First then Required Files to Boot to OS (Operating System) . Every OS Contains it Bootx64.efi , Windows and Linux too . above Bootx64.efi is from CloverBootloader but anyhow your file is got Replaced with particular OS then Bootx64.efi will load that OS only .Clover is capable of running any OS.

But Don’t Worry use Above Bootloader Files to Boot to OS what you want .

Now Everything is done and you have Successfully added Boot Entry for OSX El Capitan in BIOS , Just Select This Entry and Boot to OS you want .

You will See Boot Menu Like This :-

Asus UEFI BootMenu

Also You can Set you OS’s Priority . you will see like This :-

Asus UEFI BIOS

Additional Workarounds :

These Following Steps i used to Format my Single HDD to Dual Boot in Mac OSX DiskUtility .

OSX El Capitan DiskUtility is not providing option to set you HDD as Free Space (as we were have in Yosemite or before OSX Version)

i have HDD (500 GB ) 250 GB for OSX El Capitan  and 250 GB for Windows 10 .

if you set you HDD first 250GB as Mac OSX and Second 250 GB as FAT32 or ExFat , This Way OSX WIll make Format your HDD as Hybrid GPT , there’s only way to Format you HDD as OSX Journaled to get Full GPT Drive .

Window 10 Can’t be Install on HyBrid GPT Drive you will Receive this Error Continously :-

Windows Error

Solution to This Error :-  

1 :  I Used Mac OSX Yosemite USB installer and Fomatted My HDD as

First 250GB for OSX  formatted as OSX Journaled and Left 250 GB as Free Space .

Free Space will be as Unallocated Space in Window10 Installation Disk Management

2 : You Can use GptFDisk to Convert your Hybrid GPT Drive into Pure or Full GPT then Windows Installation Can Proceed .

Pure/Full GPT Disk will look like :-

GPT FDISK

Above Screenshot is from Gdisk you can use Partition Manager Softwares on Windows as well as OSX to Determine Drive is Full GPT or Hybrid GPT .

Note : In My Case i was not able to Convert Hybrid GPT Disk using GDisk , receiving too many error then i used solution 1 , which is much Easier .

Things to be Remember Always Before Dual Boot:-

1. Always Install Install OSX First on HDD , Don’t try to Install Windows First .

2.EFI Partition is Required for UEFI Bios System , if EFI is not Present then it not Booting UEFI is using Legacy Boot.

3.Disable Secured or Set it to Other OS in Bios Menu , otherwise you won’t able to Boot from any OS then Windows .

Never try to Install Windows First Because Windows always make first partition as OEM (100MB), Second EFI (100 MB) and Third MSR (620 MB ).

OSX always Requires EFI to be First Partition and of (200 MB) at least of Size , otherwise you will Receive this Error Continuosly . Error will look like this :-

MEDiaKit reports partition (map) too small - Error

PS: This Guide is not only for Dual Booting With OSX El Capitan with Windows10 , you can Dual Boot any Version of OSX and Windows (UEFI Support ) on Single Hard Drive using This Method .