How to dual boot Ubuntu 18.04 LTS with Windows 10 on UEFI

Hello there, so Ubuntu 18.04 is out already. Yes, the new LTS version is released. This is an easy to follow full guide on dual booting Ubuntu 18.04 LTS with Windows 10 on UEFI.

When I say “dual booting Ubuntu 18.04 with Windows 10 on UEFI” I mean dual booting on a machine, desktop, or laptop with UEFI firmware. Although this guide is based on the installation process performed on a laptop with UEFI firmware. It should work on other types of machines too. Only a few steps are different.

So before even starting the tutorial, I would like to summarize the whole tutorial in a few lines. Basically, this is what happens throughout the tutorial:

  1. Disable fast startup(optional).
  2. Shrink disk space for further installation.
  3. Burn Ubuntu iso on your USB thumb drive.
  4. Disable the secure boot option from bios.
  5. Install Ubuntu on recently created free space.

So is it not easy?

What you will need:

Compress files online before downloading You might wanna read.

  1. Download Ubuntu 18.04
  2. Download Rufus
  3. A USB thumb drive at least 4 GB.
  4. 30 GB of free hard drive space at least(recommended).

So hoping you have downloaded all the required stuff let us begin the installation process.

1. Disable fast startup

How to connect to WI-FI without any password Popular post.

This is totally optional but I will recommend you to do it. You see you may face several problems because of it. if you keep switching between Windows and Ubuntu.

  • Go to your start menu and type in “Power options” to search and launch power options.
  • Click on “Choose what the power buttons do” option in the upper left corner of your screen.
  • Click on “Change settings that are currently unavailable” option.
  • Deselect or uncheck “Turn on fast startup” option from there and click on “save changes“.

disabling fast startup windows 10 feature

2. Shrink disk space

Never shrink space from C drive, it’s a risk. Ubuntu website recommends you to shrink at least 25 GB of space. You can shrink more than that too if you want.

  • Press “Windows” and “X” key simultaneously and click on “Disk Management” option.
  • Right-click on the drive you want to shrink and click on “Shrink volume”. Don’t shrink ‘C’ drive.
  • Now enter the amount of space you want to shrink in ‘MB’ not ‘GB’ there and finally click on “Shrink” option.

( 1024 MB = 1 GB)

3. Disable secure boot option

The process of disabling secure boot is slightly different according to the particular device. But similar enough to do it by reference. Or google your device name + disable secure boot. This is how it is done on my device.

  • Reboot your Windows PC and press “F10“, “F8“, or “F12” key while it is starting up(depends on the particular device).
  • Move to the security tab and disable secure boot from there.

4. Burn Ubuntu iso on your USB drive

Okay, then everything else is done. Now all you need to do is burn the recently downloaded Ubuntu iso file on your USB and begin with the installation.

  • Install and launch recently downloaded “Rufus” software.
  • Click on the disk-like image and then locate the Ubuntu iso file.

Rufus software portable version, locating the ubuntu iso file

  • Select “GPT partition scheme for UEFI” as partition scheme and click on start.

Note: If you don’t know what ‘Partition scheme’ or ‘UEFI’ is or you can’t initiate installation process or get some sort of error during installation process then Select “MBR partition scheme for BIOS or UEFI” as partition scheme.

burning the ubuntu 18.04 iso file to the usb disk.

Make sure you have selected the right USB. Also if you are having any difficulties while burning the iso of new Ubuntu then leave the partition scheme as default. Which is “MBR partition scheme for BIOS or UEFI“.

5. Install Ubuntu

  • Boot into the boot menu and select the USB drive on which you just burned the Ubuntu iso. You can boot into the boot menu by pressing several keys while the computer is starting(different from device to device).

Now you will be booted into the all-new Ubuntu 18.04. You can test it before installing. And after you are done testing it, click on “Install Ubuntu 18.04” located on the desktop.

  • The installer will pop up and ask you to select language, keyboard layout, and stuff. Select the language you prefer and the installer will most probably auto-detect your keyboard layout.

If anything goes wrong then you can always change these setting after installation.

  • Select “I don’t want to connect to a WIFI network right now” option and click continue.
  • In next screen select or tick the last option that says “Install third party software for graphics and stuff” then continue. You can also choose “Minimal installation” option if you know what it is.

Selecting this option will make sure that you won’t have any driver problems like wifi driver problems and dedicated graphics card driver problems(most of the times).

  • Select something else and click on continue.
  • Now double click on the free space you created earlier.

Image showing shrink free space

  • Set the size of the partition anywhere around 30 or around 30 GB ideally(long-term) percent of available space, set mount point as “/” (root) and click on ok.

Image showing partition properties of root partition of ubuntu

  • Again double click on free space, set the size of the partition around 90 percent(it is where you store all your media files and stuff. So, bigger is better) of the available space and set mount point as “/home” finally press ok.

Properties of home partition

  • Once again double click free space, leave the size as it is(available will likely be low anyway, you don’t wanna allocate more than around 10 GB as swap area) and select “Swap area” under “Use as” header, not under “Mount point” header.

image showing creation of swap space for ubuntu installation

 

I repeat “Swap area” option is under “Use as” header. Some people are confused by this step and report that there is no “Swap area” on their installer. So you need to be aware.

  • Click on “Install Now” option and press continue on next window.
  • Next up select your time zone then continue.
  • Finally, create a user account by entering the details asked by the Ubuntu installer and continue the installation process.

creating user account on ubuntu while installation process

The setup process will take quite some time. After installation is completed you can either keep logged into your new Ubuntu installation or reboot your system. At startup, you will see the grub bootloader menu from now on. Select Windows 10 from the list if you want to boot into windows and vice versa.

I hope this tutorial was helpful to you. Comment down below if any problems.

Have a good day.

4 thoughts on “How to dual boot Ubuntu 18.04 LTS with Windows 10 on UEFI”

  1. I was trying install ubuntu on a new disk (I have one with windows and a new one clean)
    When I try to boot USB I got a message “Secure Boot Violation – Invalid Signature Detected…”
    Then I remove the fast boot from windows and secure boot from bios.
    however I can’t boot USB, it doesn´t make any action, I can only boot Windows.

    • So you mean you can’t initiate the installation process, right?

      1. Are you sure you are selecting the right boot device from the boot menu? You must select your USB in which you burned the Ubuntu ISO file from the boot menu not the new clean disk you want to install ubuntu on.

      2. Select “MBR partition scheme for BIOS or UEFI” as Partition scheme and target system type while burning Ubuntu ISO on your USB drive via Rufus for now.
      If installation process starts after doing that then you can later check the partition type of the disk on which you want to install Ubuntu and select the favorable “partition scheme and target system type” for your partition scheme and system type.

      If not then repeat the whole process with a new ISO file. Your iso maybe corrupted too.

      Note: Check if the partition scheme of the disk you want to install ubuntu on and the disk you have windows installed are same. Might help sometime.

  2. Q1. I noticed the space allocated for root for installing the Ubuntu os is 30 GB. But after installing other shouldn’t we need more space? Especially since only the Ubuntu OS requires minimum 30 GB.

    Q2. What is the “Swap area” option used for ?

    Thank you.

    • A1. No Ubuntu herself doesn’t require 30 GB of space, it is recommended space. Minimum is 10 GB but you can get away with even less if you go minimal without any desktop environment and only with standard tools. You can definitely go higher if you need to or want to. My root partition is just over 40 GB(12.10 GB used out of 41.91 GB) and I’m currently on Debian stretch minimal install without any desktop environment. I installed i3 though.

      A2. Swap area is used once your system run out of memory as backup. It is not supposed to replace or make up for systems with low memory because it is very slow.

Leave a Comment