How to Dual Boot Ubuntu 22.04 LTS and Windows 11
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.
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.
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.
So, right-click on the volume that you want to shrink and select ‘Shrink’.
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.
After shrinking the space, it will appear as ‘Unallocated’ or ‘Free Space’ as shown.
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.
Ubuntu 22.04 will start loading as shown below. This takes a minute at most.
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.
Next, select your preferred Keyboard layout and click ‘Continue’.
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’.
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’.
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.
Fill in the /boot partition details as shown then click ‘OK’.
Next up, specify the /home partition and click ‘OK’.
Next, define the / ( root ) partition and click ‘OK’.
To define swap space, set the size and select ‘Swap area’ for the ‘Use as:’ option.
Finally, create an EFI system partition if you are using UEFI boot mode. We will assign 300 MB to the EFI partition.
Below is a summary of the partitions in our partition table.
To continue with the installation, click ‘Install Now’. On the pop-up shown below, click ‘Continue’ to save the changes to the disk.
Next, the installation wizard will auto-detect your location. Simply click ‘Continue’.
Next, create a login user by specifying the name, computer’s name and password. Then click ‘Continue’.
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.
Once the installation is completed, click on ‘Restart Now’ to reboot the system.
At this point, remove your bootable USB drive and press ‘ENTER’
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.
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.