Create an EFI partition while installing Ubuntu 21.04 in another disk partition
How can I create an EFI partition while installing Ubuntu 21.04 in another disk partition where I also have Windows 10 installed?
tl;dr: Ubuntu can utilize your existing EFI partition. You also need to make sure that your new Ubuntu partition is formatted with a GPT partition table. The installer handles the rest automatically.
- Use an Ubuntu live USB to boot your computer.
- Connect to the internet
- Use the
apt
package manager to installgparted
. You may need toupdate
&upgrade
first`. - When you open
gparted
, see if a there is a small EFI partition beside your Windows partition. If there is not, your hardware probably doesn't support BIOS. If an EFI partition is there, your Ubuntu installer will automatically use that one. - Resize your Windows partition with
gparted
. Leave at least a bit of extra space in the Windows partition. - Use the
fdisk
utility to format the remaining partition to a type oflinux filesystem
and to aGPT
partition table - NOTDOS/MBR
. Make sure to write your changes to disk. (Lots of greatfdisk
tutorials on YouTube if this part sounds like Greek). 7.Run the installer on your new formatted partition. Since you have aGPT
partition table and and existing EFI partition you'll be set.