Best Linux Distro

How To Dual boot Ubuntu Alongside Windows 10? – Easy Guide

Dual boot Windows 10 and Ubuntu is a common scenario when someone needs these two operating systems in a single machine. Unlike a virtual machine, dual-booting allows operating systems to use real hardware resources.

If you are a long-term Windows user and you want to switch to Ubuntu or any other Linux distro, the virtual machine is a good way of distro-hopping. But if you want to install your favorite Linux distribution with your Windows 10 installation, follow this article to enjoy dual boot Windows 10 and Ubuntu Linux.

What Is Dual-Booting?

Dual-booting is the process of having two operating systems in a single machine. It allows you to carry Windows and Linux at the same time. If you are a cross-platform app developer or just want to switch to Linux, dual-booting is a helpful choice.

You can dual-boot the same operating system or completely different operating systems. Windows and Windows, Windows and Linux, you can dual-boot at any configuration.

Dual Boot Windows 10 And Ubuntu Linux

In this tutorial, I am going to install Ubuntu 20.04.1 LTS alongside Windows 10 on a virtual machine. This tutorial applies to any flavor of Ubuntu like Kubuntu, Lubuntu, Xubuntu, or any Ubuntu-based Linux distribution like Linux Mint, Zorin OS, Elementary OS, etc.

Dual-booting is not a complicated process. But precautions should be taken for any data loss. If this is your first time then I would highly suggest reading through this whole article and understanding the process.

Back up your important files and follow the steps. If you follow the steps correctly, you should be fine and all your data will remain untouched.

Previously I discussed What is dual-boot? And How does dual-boot work? You can read that article to know more about dual-booting.

Prerequisites

There are certain things required to dual boot Windows 10 And Ubuntu Linux.

  1. Windows 10 ISO.
  2. Ubuntu ISO disk image.
  3. 8 GB flash drive.
  4. Bootable USB creator. I use Rufus.
  5. Available free disk space – 50 GB or more for Windows 10 and 20 GB or more for Ubuntu.
  6. Disable Secure Boot in the UEFI/BIOS.

Now we can go to the next process.

UEFI/BIOS

It is very important to know how UEFI/BIOS works. UEFI stands for Unified Extensible Firmware Interface, a firmware that stores all the boot information and connects all the components to the main operating system. BIOS (Basic Input/Output System) also works similarly but UEFI has its advantages.

  1. UEFI stores boot info at the hardware level which causes faster boot time.
  2. It supports up to 9 zettabytes whereas BIOS only supports 2.2 terabytes of storage.
  3. UEFI allows having more than 4 partitions with a GPT (GUID Partition Table).
  4. It has a Modern interface with better memory management, secure boot, and power efficiency.
  5. UEFI supports networking functions to remotely access and configures UEFI.
  6. It is also backward compatible with legacy BIOS.

All modern desktops and laptops have UEFI/BIOS built-in. If you have a desktop or a laptop purchased in 2004 or later, you should have UEFI on your machine.

Download Windows 10 ISO And Create A Bootable Media

Creating a bootable flash drive is necessary to boot from USB. Before creating a Windows 10 bootable USB flash drive, download Microsoft Media Creation Tool from this link. This tool will allow you to download the Windows 10 ISO file. Download the ISO file and proceed to the next step.

Now, I am going to use Rufus to create the bootable media. Rufus is free and works well in Windows 10. You can download the Rufus from here.

After downloading the Rufus, open it. It’s a standalone program that requires no installation. Follow the steps to complete the process.

  • Insert the USB flash drive.
  • Run Rufus

Rufus 1

  • Select the device and the .iso file you have downloaded from the Media Creation Tool. By default, the GPT partition scheme is selected for UEFI motherboards. You can use MBR if your motherboard doesn’t support UEFI or you want to use legacy BIOS.
Rufus 2 Rufus 3
  • Click on Start and ‘OK’ to Erase the flash drive. Note: This will delete all the files in the flash drive.

Rufus 4

  • Wait until the writing is done.

Rufus 5

  • Close Rufus and proceed to the next step.

Rufus 6

Install Windows 10

Installing Windows 10 is a simple process. You need to follow these steps to properly boot from the flash drive and install Windows 10.

  • Plug the bootable flash drive into a USB.
  • Enter into the UEFI/BIOS configuration by Pressing the F2, Del, or Esc keys.
  • If your motherboard supports UEFI, you can set up the boot order in the UEFI settings. Or you can override the boot order by selecting the flash drive from the boot menu. If you have the legacy BIOS then select the boot order from the boot menu and save it.
  • Reboot the computer and let the computer boot from the USB flash drive. You may need to press any key to boot from USB if you are in a BIOS configuration.
  • Now select your
    • Language
    • Time and currency format
    • Keyboard or input method
    • And click on next.

Windows 10 Installation Step 01

  • Click on ‘Install now.’

Windows 10 Installation Step 02

  • Enter your product key if you have one or click on ‘I don’t have a product key.’

Windows 10 Installation Step 03

  • Select the operating system you want to install. I am going to select Windows 10 Pro for this tutorial.

Windows 10 Installation Step 04

  • Accept the license and click on ‘Next.’

Windows 10 Installation Step 05

  • Select ‘Custom: Install Windows only (advanced).’

Windows 10 Installation Step 06

  • Create your partition and click on ‘Next.’

Windows 10 Installation Step 07

  • Windows installer will start installing Windows. Wait for the process to be completed.

Windows 10 Installation Step 08

  • After completing the installation process your computer will reboot and Windows 10 will start configuring your device. Wait until your device gets ready.

Windows 10 Installation Step 09

  • Now set up your region, keyboard layout, Microsoft account, privacy settings, and Cortana.
Windows 10 Installation Step 10 Windows 10 Installation Step 11 Windows 10 Installation Step 12
Windows 10 Installation Step 13 Windows 10 Installation Step 14 Windows 10 Installation Step 15
  • After setting everything up, your desktop is ready.

Windows 10 Desktop

If you don’t want to use your Microsoft account, you can create a local account instead. Follow the steps to create a local offline account.

  1. Click on ‘Offline account.’
  2. Click on ‘Limited experience.’
  3. Enter the username & password.
Windows 10 Offline Account Creation Step 1 Windows 10 Offline Account Creation Step 2
Windows 10 Offline Account Creation Step 3 Windows 10 Offline Account Creation Step 4

Shrink Windows Volume To Create Space For Ubuntu

Now I will shrink the Windows volume to create space for our Ubuntu installation. To shrink Windows 10 partition, follow the steps below.

  • Press Windows Key+R to open Run. Type ‘compmgmt.msc‘ and press enter. This will open the ‘Computer Management‘ tool.

Shrink Windows Volume Step 01

  • Click on ‘Disk Management.’ Select the ‘(C:)‘ drive, right-click, and select ‘Shrink Volume.’

Shrink Windows Volume Step 02

  • Enter the amount of space to shrink in MB. Shrink at least 25 GB of space to properly install Ubuntu.

Shrink Windows Volume Step 03

  • After that, you will see an Unallocated partition you have shrunk from the C drive.

Shrink Windows Volume Step 04

Download Linux Image And Create A Bootable Media

After installing Windows 10, now I am going to install Linux. To install Linux, we need the Linux ISO and a USB flash tool. In this case, I am using BalenaEtcher.

BalenaEtcher is a simple and easy tool to create Linux installation media. It is free and you can download it from here.

After downloading the ISO and BalenaEtcher, follow the steps below.

Insert the USB flash drive.

  • Run BalenaEtcher and select the Ubuntu ISO file.
BalenaEtcher Bootable Media Creation Step 01 BalenaEtcher Bootable Media Creation Step 02
  • Select the USB flash drive.
BalenaEtcher Bootable Media Creation Step 03 BalenaEtcher Bootable Media Creation Step 04
  • Click on Flash and wait for the flashing to be completed. (Caution: Everything on the flash drive will be deleted.)

BalenaEtcher Bootable Media Creation Step 05

  • After that, your Linux flash drive is ready to boot.

BalenaEtcher Bootable Media Creation Step 06

Install Linux Alongside Windows 10

Now I am going to install Ubuntu 20.04 alongside Windows 10 to create a dual-boot machine. After installing Windows 10 it is not possible to enter UEFI and change the boot order. In this case, read ‘How To Enter UEFI/BIOS After Installing Windows 10?‘ and follow the steps.

  • Boot from the USB flash drive. Let Ubuntu verify the checksum.

Ubuntu Installation Step 01

  • Click on ‘Try Ubuntu’ from the welcome app to start a live session. You can also go for ‘Install Ubuntu’ without starting a live session. But for now, I am going to start a live session.

Ubuntu Installation Step 02

  • Run the Ubuntu installation from the desktop by double-clicking the ‘Install Ubuntu 20.04.1 LTS’ icon.

Ubuntu Installation Step 03

  • From the Welcome app, select your language and click on continue.

Ubuntu Installation Step 04

  • Select your keyboard layout.

Ubuntu Installation Step 05

  • Now select Normal installation and check Download updates and Install third-party software.

Ubuntu Installation Step 06

  • Install Ubuntu alongside Windows Boot Manager will do the job but I will manually partition my hard disk to install Ubuntu. Select Something else and Continue.

Ubuntu Installation Step 07

  • Select your free space and click on the Plus button to configure the partition.

Ubuntu Installation Step 08

  • Create the partition by using the ‘Ext4 journaling file system’ and the ‘Mount point’ to /.

Ubuntu Installation Step 09

  • After that click on Install Now.

Ubuntu Installation Step 10

  • Click on Continue to format the selected partition.

Ubuntu Installation Step 11

  • Set your local timezone.

Ubuntu Installation Step 12

  • Create a Username and Password.

Ubuntu Installation Step 13

  • Wait for the installation to be completed.

Ubuntu Installation Step 14

  • After finishing the setup process, click on Restart Now to reboot the computer.

Ubuntu Installation Step 15

  • Finally, remove the installation media and press any key to reboot.

Ubuntu Installation Finished

After that, you will see the GRUB boot menu to start Ubuntu or Windows 10 by selecting the Windows Boot Manager.

GRUB Boot Loader

Pros And Cons

Pros Cons
Dual boot allows you to install two different operating systems into your machine. Dual boot takes too much hard disk space.
It helps you to switch to Linux while having Windows 10. Windows will not read the Linux filesystem.
100% performance gain than VMs. Windows updates may sometimes break the GRUB bootloader and will not let you boot into Ubuntu. Repairing the GRUB bootloader is a bit of a hassle.
Cross-platform applications can be used with full hardware resources rather than virtual machines.

Conclusion

There you have it, dual boot Windows 10 and Ubuntu Linux. I hope this article will help you to install Ubuntu alongside Windows 10. I have tried to break down every single detail for easy understanding. If you have any queries or you are facing any issues regarding dual boot Windows 10 and Ubuntu Linux, let me know in the comment section below. I will be very happy to help you get started. Till then, stay safe.

Leave a Reply

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

10 + thirteen =