Windows Setup, the Windows installation tool,
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Â 702-202-8644or 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Â 7878449853Â 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):
- Select your installation target and make sure it has no partitions (except unallocated space)
- Click theÂ NewÂ and then theÂ ApplyÂ button.
You should now have four partitions: Recovery, System (ESP), MSR, and Primary.
- 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.
- PressÂ Shift+F10Â to open the Command Prompt
- TypeÂ diskpart.exeÂ and pressÂ EnterÂ to open the disk partitioning tool
- TypeÂ list diskÂ and pressÂ EnterÂ to list out your disks
- 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
- TypeÂ create partition efi size=550Â whereÂ 550Â is the desired size of the ESP in Mebibytes (MiB), and pressÂ Enter
- TypeÂ format quick fs=fat32 label=SystemÂ and pressÂ EnterÂ to format the ESP
- TypeÂ exitÂ and pressÂ EnterÂ to exit the disk partitioning tool
- 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.
- 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.
- 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:
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.