How to dual-boot Ubuntu and Fedora on your PC

This guide shows you how to configure your computer to dual boot Ubuntu and Fedora. The key to set up any Linux dual boot is understanding partition and how to assign the mount point and the location of the bootloader.

Every Linux distribution has its capabilities and preferences as per the user requirements. That brings forth the need to run different distros on one laptop. For example, a CyberSecurity enthusiast might prefer to use Ubuntu for development and Kali Linux for penetration testing.

Even though you can use virtualization technology to run multiple operating systems as virtual machines in your PC, memory allocation might be an issue. It raises the need for doing a dual boot or multi-boot. In that, you can install two or more operating systems on your laptop and choose the one you wish to use on boot.

Configure your PC to dual-boot Ubuntu and Fedora

In this article, you will learn how to dual boot Ubuntu and Fedora on your computer.

The key to performing any Linux dual boot is understanding how to partition your PC’s internal storage. You will install every distro in an independent partition. We will also need to set a swap space that acts as virtual memory on the computer’s storage device.

1. Install Ubuntu

You can install the operating systems in any order you like, but from personal experience, begin with Ubuntu. Our Ubuntu release of choice for this tutorial is Ubuntu 19.04. However, the method is the same, no matter the version.

Step 1). Create a bootable USB drive of Ubuntu. The are several tools you can use to perform this action. You can read our article on how to create a multi-boot USB drive using the MultiBootUSB tool.

Step 2). Insert your bootable USB drive and use it to boot your PC. You will need to change the boot order by pressing various functional keys, depending on your laptop brand.

Step 3). After a successful boot, you should see the Ubuntu boot screen. Here, you have two options to select from, Try Ubuntu and Install Ubuntu. Choose ‘Install Ubuntu’ and also choose your language of choice from the left pane. Click Continue.

Ubuntu Boot Screen
Ubuntu Boot Screen

Step 4). In the next window, you will need to select your keyboard layout. Click Continue when done.

Select the Keyboard Layout
Select the Keyboard Layout

Step 5). On the next screen, you will need to select the type of installation you wish to use. It will determine the applications that will be installed automatically during the installation process. If you are new to this, choose ‘Normal Installation.’

Select the installation type.
Select the installation type.

Step 6). The next window brings us to the most crucial step – the installation type. You will have four options to choose from.

  • Erase disk and install Ubuntu
  • Encrypt the new Ubuntu installation
  • Use LVM
  • Something else

Select the option ‘Something else.’

Select installation type to configutre your partitions
Select installation type to configure your partitions

Step 7). On the next screen, you will see your partitions. For this tutorial, I assume you are performing a clean installation on a new hard disk. Therefore, I will guide you with the partitioning, so you won’t have a problem with installing Fedora.

From the image below, you can see I currently have one partition – sda.

Installation Type
Installation Type

Step 8). We need to have at least two or three partitions. Select the partition and right-click on it. You will see the option ‘New Partition table.’ Click on it. You might see a pop-up warning, click Continue.

Installation Type - Create a new partition table
Installation Type – Create a new partition table

Step 9). Now, we have created a free space, as shown in the image below. My storage size is around 40GB. It is the storage space that will host both Ubuntu and Fedora. Therefore, we need to partition it further.

Right-click on the free space and select the option ‘Add…

Installation Type - Add a new partition
Installation Type – Add a new partition

Step 10). A window will pop-up. We will use this to create our partitions. Let’s first create a swap space of about 3GB, as shown below. Ensure on the drop-down option ‘Use as:‘ you have selected ‘swap‘ as illustrated below. Click OK.

Installation Type - Create swap space
Installation Type – Create swap space

Step 11). From the remaining storage amount, let’s create a 20GB partition that will hold our Ubuntu system. Like before, right-click on the free space left and click on the ‘Add...’ option.

On the create partition window that appears, set the size you wish to assign and ensure that on the ‘Use as:’ drop-down option, you have selected the ‘Ext4 journaling system‘ as illustrated in the image below. Make sure also set the mount point as root (/).

Create Ubuntu Partition
Create Ubuntu Partition

Click OK.

Step 12). On your ‘Installation Type’ screen, you should see your partition formats. Note, if you have other partitions, they won’t be affected as long as you have your ext4 partition. Once satisfied, click on ‘Install Now.

A warning screen will pop-up asking you to verify whether the partitions listed there are the correct ones. Verify and click Continue.

Next, you will have to input your location by clicking on your country from the map on the ‘Where are you?’ screen. You should see your capital city selected. Click Continue.

Select your Region
Select your Region

On the next screen, set your username and password. Click Continue.

Enter Username and passwords
Enter username and passwords

The installation process should start. Wait and until it’s finished, and you will commence with your Fedora installation.

Ubuntu Desktop Login page
Ubuntu Desktop Login page

2. Install Fedora

Step 1). Create a bootable disk of Fedora and use it to boot your PC. You should see the Fedora boot screen load. Select the option, ‘Start fedora-Workstation.

Start Fedora workstation
Start Fedora workstation

Step 2). On the next screen, you will see two options. ‘Try Fedora‘ and ‘Install to hard drive.’ Select the latter to begin the installation process.

Step 3). The language window will open. Select the language you wish to use for the installation process. Click Continue.

Select language
Select language

Step 4). In the next screen, you will see your Keyboard and Time & Date settings. If they are not OK, click on any of them and configure them correctly. You will see the System option that allows us to select the partition to install our operating system. Click on it.

Set time and date and select partition to install
Set time and date and select partition to install

Step 5). You should see your internal storage device listed below. Remember, this is where you installed your Ubuntu system. Select it. For this article, I am using the 40GB storage, as indicated below.

At the bottom of the window, select the ‘Custom‘ option so that you can specify the exact partition you wish to install your Fedora distro. Click Done when finished.

Select installation disk
Select installation disk

Step 6). The Manual Partitioning window will open. Here, you can see all the partitions in your storage drive. We will install Fedora in the free space left after installing Ubuntu. On the partition scheme, you can use LVM or Standard partition. Click on the ‘+’ button above the free space left.

Manual partitioning window
Manual partitioning window

Step 7). A small window will pop-up. Here, you will need to select your mount point and the partition size you wish to use. The mount point should be root, indicated with the ‘/’ sign. Enter the capacity you want to allocate Fedora distro. However, it shouldn’t exceed the free space available. Click ‘Add mount point‘ when done.

Add mount point
Add mount point

Step 8). You will return to the Manual partitioning window, which will show you a summary of all your configurations. Click Done if you are OK with the settings.

Summary of all partition configurations
Overview of all partition configurations

Step 9). A window will pop-up listing all the partition changes that will take place. Click ‘Accept Changes‘ to continue. Note, your changes might not be the same as those listed in the image below.

Summary of all partitions set
Summary of all partitions set

Step 10). The main installation window will open. Click on the option, ‘Begin installation.’

Begin Fedora installation
Begin Fedora installation

Step 11). The fedora installation process will commence.

Fedora Installation Progress
Fedora Installation Progress

After a successful installation, you should see the Fedora login screen.

Fedora Desktop Login screen
Fedora Desktop Login screen\

From this point, you can now restart your computer and boot into any of the distros that you wish to use. Your boot screen should look something similar to the image below.

Ubuntu - Fedora Dual Boot Screen
Ubuntu – Fedora Dual Boot Screen

Conclusion

That’s all about setting up dual booting Ubuntu and Fedora. We hope this step by step procedure helped you in guiding through the installation of both these wonderful Linux distros. The crucial thing to a multi-boot system is understanding how to create and manage partitions on your computer storage device. If you have any queries or information you wish to share with our readers, feel free to leave a comment below. If you find this article helpful, please share the link with a friend.

Arun Kumar
Arun did his bachelor in computer engineering and loves enjoying his spare time writing for FOSS Linux. He uses Fedora as the daily driver and loves tinkering with interesting distros on VirtualBox. He works during the day and reads anything tech at night. Apart from blogging, he loves swimming and playing tennis.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

STAY CONNECTED

23,437FansLike
375FollowersFollow
16SubscribersSubscribe

LATEST ARTICLES

How to change Hostname on Ubuntu

Generally, a hostname is just an assigned name to a computer, laptop, or any other connected device to a network. You can say a hostname is a computer's nickname, and it is used to identify the machine over the network uniquely.

Manjaro vs. Ubuntu – which is better for you?

If you are a person associated with Computer technology and spend most of the time in the open-source arena, you must have heard or worked with some of the popular Linux distributions we have in the market. Some of the names that you will never miss are; Ubuntu, Arch Linux, Debian, and Mint.

9 Useful Tips Working with Operating System using Python

There are several situations when we want to work with the operating system using python. We may want to see the user details or want to do some tasks with the files and directories. If you are a system administrator, you will find it useful to work with Operating System as one can easily automate some repeating tasks of the Operating System using python.

System76 Lemur Pro Review

Buyers who wish to go for a machine that is based on Linux often show interest in Chromebooks due to the form factor and extended battery life capabilities. Although ChromeOS power these machines, users can still miss out on a more genuine Linux experience. For those who happen to agree, the new Lemur Pro by System76 might get some heads turning.

Top 10 New Features in Linux Kernel 5.8

Linus Torvalds recently announced the release of Linux Kernel 5.8, and he seems delighted with it. He has pointed it out as the most significant release of all time. To developers, this new kernel comes with an addition of 800,000 new code lines and more than 14,000 changed files. To the average user, you might not see many eye-candy changes, as seen in the earlier releases.

How to install Flutter on Linux

Do you want to install Flutter and start creating awesome Android and iOS applications? Then you have come to the right place. Here is a comprehensive tutorial on how to install Flutter on Linux. If you are new to Flutter, don't worry, we got that covered too as we shall go in-depth understanding of Flutter and what it brings to the table.

MUST READ

Buyers who wish to go for a machine that is based on Linux often show interest in Chromebooks due to the form factor and extended battery life capabilities. Although ChromeOS power these machines, users can still miss out on a more genuine Linux experience. For those who happen to agree, the new Lemur Pro by System76 might get some heads turning.
Linux is growing faster than ever. As per the latest report, there is a drop in the Windows 10 market share for the first time, and Linux's market share has improved to 2.87% this month. Most of the features in the list were rolled out in the Pop OS 20.04. Let's a detailed look into the new features, how to upgrade, and a ride through video.

10 Best PDF Editors for Linux

In this article, we will take a look at 10 of the best PDF editors and tools out there in 2019 that are available for Linux platforms. The editors are going to be judged on the basis of their functionalities, portability, ease of installation, price, and convenience.

Removing the Virus from a Windows PC with a Ubuntu Live USB drive

In this tutorial, we are going to show you how to clean your Windows machine from infected viruses using an Ubuntu live USB or CD and the ClamAV antivirus. The ClamAV is a free, open-source antivirus that can be used on Ubuntu.

5 Best Download Managers for Linux

We often need to download large files that can go corrupt due to various reasons such as slow internet or interrupted download. Using a broken downloaded file is not something one wants. Download managers make sure that the downloaded file maintains its integrity and also presents you with the ability to pause and resume downloads, provided the server supports it. When you are downloading a massive file, it's recommended to use a download manager.

VIDEO: Linux Lite 4.8 Features and Desktop Tour

Linux Lite eases Windows 7 users transition to Linux much more comfortable by offering simple software like Team Viewer, VLC, Firefox, TimeShift backup utility, and a full Microsoft Office compatible office suite in LibreOffice.