How to Install Ubuntu 18.04 Alongside With Windows 10 or 8 in Dual Boot

0

Ubuntu 18.04 has been released on 26th April 2018 with a support of 5 years, by Canonical. This post guides you on how to perform the installation of Ubuntu 18.04 in dual boot with a Microsoft Operating systems such as Windows 10 or Windows 8 which comes pre-installed with a laptop or desktop.

What’s new in Ubuntu 18.04

  • GNOME Desktop
  • Ubuntu Minimal Installation
  • Xorg becomes the default display server
  • Comes with Linux kernel 4.15

READ: Top 10 New Features of Ubuntu 18.04 LTS

I assume that you already have Windows operating system on your laptop or desktop. You can install Ubuntu 18.04 in dual boot with Windows 10, Windows 8.1 or Windows 8.

If your laptop or desktop doesn’t have any other operating system, then you should first install Microsoft Windows and then go for the Ubuntu 18.04 installation.

For fresh Ubuntu 18.04 OS installation,

READ: Install Ubuntu 18.04 LTS (Bionic Beaver) on UEFI and Legacy BIOS System – Step by Step Guide

1. Install Ubuntu 18.04 Alongside With Windows 10 in Dual Boot

Ubuntu 18.04 supports UEFI firmware and can boot on PCs with secure boot enabled. So, you should not face any issues while installing Ubuntu 18.04.

Step 1: Check UEFI or BIOS

First, you need to check if your Windows is using UEFI or legacy BIOS and it is mandatory for creating bootable USB stick. Press Win + R and type msinfo32 and then hit enter.

Install Ubuntu 18.04 Alongside With Windows 10 - Check BIOS Mode
Install Ubuntu 18.04 Alongside With Windows 10 – Check BIOS Mode

Look for BIOS Mode entry in the system information window.

Install Ubuntu 18.04 Alongside With Windows 10 - BIOS Mode
Install Ubuntu 18.04 Alongside With Windows 10 – BIOS Mode

Based on the Boot Mode, you would need to use software [ Universal USB Installer (BIOS compatible) or Rufus (UEFI compatible) for creating a bootable USB stick.

Step 2: Prepare Windows System for Dual-Boot

In most of the cases, OEM vendors ship machines with a pre-configured Windows system with the defined partition layout (normally, the whole disk is used for OS partition). So, machines will not have any free space (unallocated disk space) left for creating a partition for Ubuntu 18.04 installation.

If your system already has unallocated space (at least 15GB or 20GB) then you can skip this step and go directly to Installation of Ubuntu 18.04.

As a first thing, we will create at least 20GB of free disk space on the hard drive for Ubuntu 18.04 installation.

Go to Windows OS. Press Win + R. Then, type diskmgmt.msc to open Disk Management utility.

Install Ubuntu 18.04 Alongside With Windows 10 - Disk Management
Install Ubuntu 18.04 Alongside With Windows 10 – Disk Management

Since my machine has only one partition, i.e. C:, I will shrink it for Ubuntu installation.

Install Ubuntu 18.04 Alongside With Windows 10 - Partitions
Install Ubuntu 18.04 Alongside With Windows 10 – Partitions

Consider shrinking the last partition in case the system has more than one partition.

Right click on C: and then select Shrink Volume to resize the partition. Enter the amount in MB and then click Shrink to begin the shrinking operation.

For Example: To get a 20GB free disk space on the 100GB partition, you would need to enter 20000 and then click Shrink.

Install Ubuntu 18.04 Alongside With Windows 10 - Shrink Partition
Install Ubuntu 18.04 Alongside With Windows 10 – Shrink Partition

Wait for few minutes, and you will see an Unallocated Space with the size of 20GB.

Install Ubuntu 18.04 Alongside With Windows 10 - UnAllocated Space After Shrinking
Install Ubuntu 18.04 Alongside With Windows 10 – UnAllocated Space After Shrinking

Step 3: Download Ubuntu 18.04 and Create a Bootable USB Stick or DVD

Download the Ubuntu 18.04 desktop image from the Ubuntu website.

Download Ubuntu 18.04 LTS Desktop

Burn the downloaded Ubuntu OS image to a DVD using your favorite DVD burner OR create a bootable USB disk using Universal USB Installer (BIOS compatible) or Rufus (UEFI compatible).

Step 4: Boot from USB Stick or CD

Insert DVD or USB stick on the system and then reboot the machine, then change the boot sequence on BIOS/UEFI to boot a system from DVD/USB by pressing F2, F10 or F12 keys (read the vendor manual for more information).

Step 5: Preparing to Install Ubuntu 18.04 LTS

UEFI System:

Once the system boots up from DVD/USB stick, the grub boot screen should appear on your machine. Select Install Ubuntu from the menu and then press Enter.

Install Ubuntu 18.04 Alongside With Windows 10 - Install Ubuntu - UEFI System
Install Ubuntu 18.04 Alongside With Windows 10 – Install Ubuntu – UEFI System

Wait for few minutes to let media loads into memory and bring up the Ubuntu Live system.

Install Ubuntu 18.04 Alongside With Windows 10 - Media Booting - UEFI System
Install Ubuntu 18.04 Alongside With Windows 10 – Media Booting – UEFI System

Click the Continue on the welcome screen.

Install Ubuntu 18.04 Alongside With Windows 10 - Welcome Screen - UEFI System
Install Ubuntu 18.04 Alongside With Windows 10 – Welcome Screen – UEFI System

Legacy BIOS System:

Do not interrupt the booting from USB or DVD.

Install Ubuntu 18.04 Alongside With Windows 10 - Media Booting - Legacy BIOS System
Install Ubuntu 18.04 Alongside With Windows 10 – Media Booting – Legacy BIOS System

Click Install Ubuntu on the welcome screen to install Ubuntu 18.04

Install Ubuntu 18.04 Alongside With Windows 10 - Install Ubuntu - Legacy BIOS System
Install Ubuntu 18.04 Alongside With Windows 10 – Install Ubuntu – Legacy BIOS System

Choose the Keyboard and then click on Continue button to proceed further.

Install Ubuntu 18.04 Alongside With Windows 10 - Keyboard Layout
Install Ubuntu 18.04 Alongside With Windows 10 – Keyboard Layout

On this screen, you need to select the apps for installation.

Normal Installation – If you select this option, you will get a graphical desktop environment with all regular software.
Minimal Installation – If you select this option, you will get a basic desktop environment with a browser and core system administration utilities.

You can optionally choose to install system updates and third-party software during OS installation. This activity requires an active internet connection.

Install Ubuntu 18.04 Alongside With Windows 10 - Installation of updates and other softwares
Install Ubuntu 18.04 Alongside With Windows 10 – Installation of updates and other software

Step 6: Disk Partitioning

Installation type is the most important step in the Ubuntu installation. Here, select Install Ubuntu alongside Windows Boot Manager or Something else to install Ubuntu 18.04 along with Windows 10

Do not choose Erase disk and install Ubuntu as they wipe out all your data and install Ubuntu, potentially a dangerous one.

Please follow any one of the methods.

6a. Automatic Partitioning (Install Ubuntu alongside Windows Boot Manager)

If you choose to Install Ubuntu alongside Windows Boot Manager, then, the installer will take care of creating partitions and install Ubuntu 18.04 along with Windows 10. Use this option if you don’t mind about partition layout and its size.

Install Ubuntu 18.04 Alongside With Windows 10 - Install Ubuntu alongside Windows Boot Manager
Install Ubuntu 18.04 Alongside With Windows 10 – Install Ubuntu alongside Windows Boot Manager

Click the Continue to confirm the automatic partition creation.

Install Ubuntu 18.04 Alongside With Windows 10 - Confirm the Changes
Install Ubuntu 18.04 Alongside With Windows 10 – Confirm the Changes

6b. Manual Partitioning (Something else)

If you want a custom partition layout, select Something else option and then click Continue to proceed further.

Here, in this step, we will create partitions for Ubuntu 18.04 installation.

We will create partitions for the below information.

/ (root) – 10 GB
SWAP – 4GB
/home – Remaining (~ 6GB)

Your system should have some free disk space (shrink space).

Install Ubuntu 18.04 Alongside With Windows 10 - Available Disks
Install Ubuntu 18.04 Alongside With Windows 10 – Available Disks

Select the free space and then click on the + sign.

/ (root):

Install Ubuntu 18.04 Alongside With Windows 10 - Root Partition
Install Ubuntu 18.04 Alongside With Windows 10 – Root Partition

Swap:

Install Ubuntu 18.04 Alongside With Windows 10 - Swap Partition
Install Ubuntu 18.04 Alongside With Windows 10 – Swap Partition

/home:

Install Ubuntu 18.04 Alongside With Windows 10 - Home Partition
Install Ubuntu 18.04 Alongside With Windows 10 – Home Partition

Once you have created partitions, click Install now to write the changes to disk and start the installation.

Install Ubuntu 18.04 Alongside With Windows 10 - Partitions List
Install Ubuntu 18.04 Alongside With Windows 10 – Partitions List

Click Continue to write the changes to disks.

Install Ubuntu 18.04 Alongside With Windows 10 - Write the Changes to Disks
Install Ubuntu 18.04 Alongside With Windows 10 – Write the Changes to Disks

Step 7: Additional Configurations

On this screen, select your location from the map and then click Continue to proceed further.

Install Ubuntu 18.04 Alongside With Windows 10 - Location
Install Ubuntu 18.04 Alongside With Windows 10 – Location

On this screen, pick a username and password (applicable for sudo as well) for your user account. Also, set a hostname for your system and then click on the Continue to start the installation.

Install Ubuntu 18.04 Alongside With Windows 10 - User Creation
Install Ubuntu 18.04 Alongside With Windows 10 – User Creation

The installation will take at least 15 to 30 minutes to complete.

Install Ubuntu 18.04 Alongside With Windows 10 - Ubuntu 18.04 Installation in Progress
Install Ubuntu 18.04 Alongside With Windows 10 – Ubuntu 18.04 Installation in Progress

Once the installation is completed, click the Restart Now to reboot the machine.

Install Ubuntu 18.04 Alongside With Windows 10 - Ubuntu 18.04 Installation Complete
Install Ubuntu 18.04 Alongside With Windows 10 – Ubuntu 18.04 Installation Complete

2. Boot to Ubuntu 18.04

After the system reboot, you will get the Grub menu where you will see both Ubuntu and Microsoft Windows.

Default OS is Ubuntu.

Press Enter in while your selection is Ubuntu to boot into Ubuntu 18.04.

UEFI System:

Install Ubuntu 18.04 Alongside With Windows 10 - Boot Ubuntu 18.04
Install Ubuntu 18.04 Alongside With Windows 10 – Boot Ubuntu 18.04

Legacy BIOS System:

Install Ubuntu 18.04 Alongside With Windows 10 - Boot Ubuntu 18.04 - Legacy BIOS System
Install Ubuntu 18.04 Alongside With Windows 10 – Boot Ubuntu 18.04 – Legacy BIOS System

Login with your credentials to get the desktop screen.

Install Ubuntu 18.04 Alongside With Windows 10 - Ubuntu 18.04 Login Screen
Install Ubuntu 18.04 Alongside With Windows 10 – Ubuntu 18.04 Login Screen

3. Ubuntu 18.04 Post-Installation

Upon successful login, you will get a post-installation screen. Click the Next on What’s is new in Ubuntu.

Install Ubuntu 18.04 Alongside With Windows 10 - What's new in Ubuntu
Install Ubuntu 18.04 Alongside With Windows 10 – What’s new in Ubuntu

If you are a subscriber to Ubuntu Advantage, then configure Livepatch that helps you apply critical kernel security fixes without rebooting your system.

Install Ubuntu 18.04 Alongside With Windows 10 - LivePatch
Install Ubuntu 18.04 Alongside With Windows 10 – LivePatch

You can either choose to send or not to send your system information to Canonical.

Install Ubuntu 18.04 Alongside With Windows 10 - Improve Ubuntu
Install Ubuntu 18.04 Alongside With Windows 10 – Improve Ubuntu

Ubuntu 18.04 is now ready for your use.

Install Ubuntu 18.04 Alongside With Windows 10 - Ready to Go
Install Ubuntu 18.04 Alongside With Windows 10 – Ready to Go

You will now get the Ubuntu 18.04 desktop.

Install Ubuntu 18.04 Alongside With Windows 10 - Ubuntu 18.04 Desktop
Install Ubuntu 18.04 Alongside With Windows 10 – Ubuntu 18.04 Desktop

Ubuntu 18.04 supports NTFS filesystems, so you can easily access Windows partitions on Ubuntu 18.04.

Install Ubuntu 18.04 Alongside With Windows 10 - Access Windows 10 Partitions from Ubuntu 18.04
Install Ubuntu 18.04 Alongside With Windows 10 – Access Windows 10 Partitions from Ubuntu 18.04

4. Boot to Windows Operating System

If you want to go to Windows 10, then reboot the system and select the Windows partition.

UEFI System:

Select Windows Boot Manager (on /dev/sda2) from the GRUB menu.

Install Ubuntu 18.04 Alongside With Windows 10 - Boot Windows 10
Install Ubuntu 18.04 Alongside With Windows 10 – Boot Windows 10

Legacy BIOS System:

Select Windows 10 (on /dev/sda1) from the GRUB menu.

Install Ubuntu 18.04 Alongside With Windows 10 - Boot Windows 10 - Legacy BIOS System
Install Ubuntu 18.04 Alongside With Windows 10 – Boot Windows 10 – Legacy BIOS System

If you are new to Ubuntu, then follow the below link to install necessary software for daily use and increase your productivity.

READ: Top 15 things to do after Ubuntu 18.04 Installation

That’s All.

Further Reading

You might also like
Shares