Hey guys, in this guide we will demonstrate how to configure a dual-boot setup of Ubuntu 22.04 LTS (Jammy Jellyfish) alongside Windows 11.

For this to work, you need to have Windows 11 already installed on your PC.  You will then need to create a separate partition on your hard drive on which Ubuntu 22.04 will be installed. We will go over all this, so don’t worry.

Prerequisites 

Before setting sail with the dual-boot setup, here is what you need.

  • A bootable USB drive of Ubuntu 22.04 You can download Ubuntu 22.04 ISO image by heading over to the Ubuntu 22.04 download page. With the ISO image in place, grab a 16GB USB drive and use  Rufus application to make it bootable.
  • A fast and stable internet connection

Step 1) Create a Free Partition on Your Hard Drive 

As mentioned in the introduction, we first and foremost need to create a separate partition on the hard drive on which we are going to install Ubuntu 22.04.

So, open the disk management utility by pressing Windows Key + R

In the dialogue box, type diskmgmt.msc and hit ENTER.

diskmgmt-msc-command-windows11

The disk management console displays the current disk partitions as you can see below. We are going to create a partition for installing Ubuntu by Shrinking ‘Volume E’. This might be different in your setup, but just follow along and you will get the drift.

Disk-Management-Console-Windows11

So, right-click on the volume that you want to shrink and select ‘Shrink’.

Shrink-Volume-Windows11

A pop-up dialogue box will appear as shown below. Specify the amount of space to shrink in MB and click ‘Shrink’.

This is the space that is designated for the Ubuntu 22.04 installation.

Shrink-Volume-Size-Windows11

After shrinking the space, it will appear as ‘Unallocated’ or ‘Free Space’ as shown.

Free-Space-Disk-Management-Console-Windows11

With the free space in place, now plug the bootable USB medium into your PC and reboot your system. Also, be sure to access the BIOS setup and modify the boot priority to have the USB drive as the first priority. Save the BIOS changes and proceed to boot.

Step 2) Begin the installation

On the first screen, you will get the GRUB menu displayed as shown. Select the first option ‘Try or Install Ubuntu’ and press ENTER.

Select-Install-Ubuntu-Linux

Ubuntu 22.04 will start loading as shown below. This takes a minute at most.

Ubuntu-22-04-Loading-Screen

Thereafter, the installation wizard will pop open providing you with two options: ‘Try Ubuntu’ and ‘Install Ubuntu’.  Since our mission is to install Ubuntu, select the latter.

Choose-Install-Ubuntu-Linux

Next, select your preferred Keyboard layout and click ‘Continue’.

Keyboard-Layout-Ubuntu-22-04

In the ‘Updates and Other Software’ step, select ‘Normal Installation’ in order to install the GUI version of Ubuntu and check the rest of the options to allow download of updates and installation of third-party software for graphics, WiFi hardware and other utilities.

Then click ‘Continue’.

Normal-Installation-Option-During-Ubuntu-22-04-Installation

The next step provides two options for installation. The first option -’Erase disk and install Ubuntu’ – completely wipes out your drive and installs Ubuntu’. But since this is a dual boot setup, this option will be disastrous to your existing Windows installation.

Therefore, select ‘Something else’ and click ‘Continue’.

Something-else-ubuntu-installation

The partition table will be displayed with all the existing disk partitions. So far, we only have the NTFS partitions and the free space we shrunk earlier.

For Ubuntu 22.04, we will create the following partitions:

  • /boot          –        1  GB
  • /home        –        10 GB
  • /                 –        12 GB
  • Swap         –         2 GB
  • EFI             –        300 MB

To get started with the partitions, click on the [ + ] sign below the ‘Free Space’ partition.

Select-Free-Space-for-Ubuntu-22-04-Installation

Fill in the /boot partition details as shown then click ‘OK’.

Boot-Partition-Ubuntu-22-04-LTS

Next up, specify the /home partition and click ‘OK’.

Home-Partition-For-Ubuntu-22-04

Next, define the / ( root ) partition and click ‘OK’.

Root-Partition-For-Ubuntu-22-04

To define swap space, set the size and select ‘Swap area’ for the ‘Use as:’ option.

Swap-Area-Ubuntu-22-04

Finally, create an EFI system partition if you are using UEFI boot mode. We will assign 300 MB to the EFI partition.

EFI-System-Partition-Ubuntu-22-04

Below is a summary of the partitions in our partition table.

Install-Now-Ubuntu-22-04

To continue with the installation, click ‘Install Now’. On the pop-up shown below, click ‘Continue’ to save the changes to the disk.

Write-Changes-Disk-Ubuntu-22-04

Next, the installation wizard will auto-detect your location. Simply click ‘Continue’.

Location-for-Ubuntu-22-04-Installation

Next, create a login user by specifying the name, computer’s name and password. Then click ‘Continue’.

UserName-Hostname-Ubuntu-22-04-lts-Installation

At this point, the installation wizard will copy all the Ubuntu files and packages to the manually created hard drive partitions and install the required software packages.

This process takes quite a while, so be patient. In our case, it took roughly 30 minutes.

Installation-Progress-Ubuntu-22-04

Once the installation is completed, click on ‘Restart Now’ to reboot the system.

Restart-After-Ubuntu-22-04-LTS-Installation

At this point, remove your bootable USB drive and press ‘ENTER

Remove-Installation-Media-after-Ubuntu-22-04-Installation

When the system restarts, you will find all options for both Ubuntu and Windows 11.

Select ‘Ubuntu’ to boot into your new Ubuntu 22.04 installation. To boot into Windows 11, select the entry labeled ‘Windows Recovery Environment.

Dual-Boot-Grub-Bootloader-Screen-Ubuntu-22-04

And there you have it. We have demonstrated how to dual-boot Windows 11 with Ubuntu 22.04.

The post How to Dual Boot Ubuntu 22.04 LTS and Windows 11 first appeared on LinuxTechi.

Leave a Comment