Software & AppsOperating SystemLinux

How To Install Ubuntu in UEFI Mode

Ubuntu 3

In this article, we will guide you through the process of installing Ubuntu in UEFI mode. This is particularly useful for systems with UEFI firmware instead of traditional BIOS.

Quick Answer

To install Ubuntu in UEFI mode, you need to ensure you have a 64-bit version of Ubuntu, disable Fast Startup and Hibernate in Windows, disable BIOS/CSM/Legacy Mode in your firmware, and prepare the boot medium properly. Then, boot from the prepared medium, choose the ‘Something Else’ option during installation, create a new partition for Ubuntu, install the bootloader to the same partition, and complete the installation.

What is UEFI?

Unified Extensible Firmware Interface (UEFI) is a specification for a software program that connects a computer’s firmware to its operating system (OS). UEFI is expected to eventually replace BIOS. Like BIOS, UEFI is installed at the time of manufacturing and is the first program that runs when a computer is turned on.

Preparing for the Installation

Before we start, there are a few things you need to do:

1. Use a 64-bit Ubuntu Version

Most UEFI-based PCs use 64-bit firmware. Therefore, ensure that you are using a 64-bit version of Ubuntu.

2. Disable Fast Startup and Hibernate in Windows

If you’re planning to dual-boot with Windows, these features can cause filesystem damage. You can disable them by following the instructions provided here and here.

3. Disable BIOS/CSM/Legacy Mode in Your Firmware

In most UEFI systems, disabling this option prevents the system from booting in BIOS mode. You can usually find this option in your firmware settings.

4. Prepare the Boot Medium Properly

When creating a bootable USB flash drive, ensure that the EFI boot loader is copied correctly. Some tools may not do this properly. We recommend using Rufus, which you can download here.

Installing Ubuntu in UEFI Mode

Now that we’re prepared, let’s move on to the installation process:

1. Boot from the Prepared Medium

In your computer’s boot manager, select the boot option that includes the string “UEFI” for the external boot medium. This will boot the system in UEFI mode.

2. Choose the ‘Something Else’ Option

During the installation process, if the ‘install alongside’ options are missing from the Ubuntu installer’s menu, choose the ‘Something Else’ option. This will allow you to manually partition your hard drive.

3. Create a New Partition for Ubuntu

You’ll need to create a new partition for Ubuntu. This can be done from the ‘Something Else’ menu. Make sure to format this partition to the ext4 filesystem.

4. Install the Bootloader

During the installation process, you’ll be asked where to install the bootloader. Make sure to install it to the same partition where you’re installing Ubuntu.

5. Complete the Installation

Follow the rest of the prompts in the installation process. Once the installation is complete, you should be able to boot into Ubuntu in UEFI mode.

Conclusion

Installing Ubuntu in UEFI mode can be a bit tricky, but with the right preparation and understanding, it can be accomplished without much difficulty. For more detailed information, you can refer to the following resources:

  • Adam Williamson’s blog entry on how EFI works
  • Differences between BIOS and EFI booting on Superuser.com
  • Rod Smith’s page on installing Linux on EFI systems
  • Rod Smith’s page on the CSM
  • Ubuntu community wiki entry on UEFI

Remember, the steps outlined in this guide are based on general circumstances, and there may be additional factors specific to your system that could affect the installation process. Always make sure to back up your data before making any changes to your system.

Can I install Ubuntu in UEFI mode on a system with BIOS firmware?

No, UEFI mode is specifically for systems with UEFI firmware. If your system has BIOS firmware, you will need to install Ubuntu in legacy mode.

Can I dual-boot Ubuntu in UEFI mode with Windows?

Yes, you can dual-boot Ubuntu in UEFI mode with Windows. However, it is important to disable fast startup and hibernate in Windows to prevent filesystem damage.

What should I do if the ‘install alongside’ options are missing during the installation?

If the ‘install alongside’ options are missing from the Ubuntu installer’s menu, choose the ‘Something Else’ option. This will allow you to manually partition your hard drive and create a new partition for Ubuntu.

Can I install the bootloader on a different partition than the one for Ubuntu?

It is recommended to install the bootloader on the same partition where you are installing Ubuntu. This will ensure that the bootloader is properly configured to boot into Ubuntu in UEFI mode.

Leave a Comment

Your email address will not be published. Required fields are marked *