How to Set Up a Dual Boot with Ubuntu and Windows? (original) (raw)

Last Updated : 12 Jan, 2026

Creating a dual boot system with Linux and Windows allows you to enjoy the best of both operating systems on a single machine. Whether you're a developer needing a versatile environment, a student exploring different software, or just someone who enjoys flexibility, dual booting provides a practical solution. This guide will walk you through the steps to set up a dual boot system, ensuring you can seamlessly switch between Linux and Windows as needed.

Prerequisites

Making Sure whether Windows is installed in legacy BIOS mode or UEFI mode

**STEP 1: Unallocating the Required amount of Hard Disk Space

This step is required to free up some space from your NTFS formatted Hard Disk. This unallocated space will contain the Linux System Partition and hence it is necessary for you to decide carefully how much space you will be devoting to linux. To do this go to the Windows Disk Management Service. You can go to 'Run' enter 'diskmgmt.msc' and run.

Windows Disk Management Service

Shrinking an existing Volume to create unallocated space

Specifying Amount to be Shrinked

On the Disk Management Window right click on the Partition from which you want to extract the required (**recommended 100 - 150 Gb) amount of free space, and click of 'Shrink Volume'. In the Dialog Box that pops up enter the 'amount of space to shrink' as 102400 Mb (100 Gb) and continue. This would reduce the space of the present volume by 100 Gb and the remaining 100 Gb would be shown as Unallocated Space. This Completes the 1st Step.

**STEP 2: Creating a Bootable Linux USB Drive

For the purpose of this article, we will be installing 'Ubuntu' as the Linux OS of choice as it is the most popular Linux OS and has a large support base. We first need to Download the Disc Image File (.iso file) of the Ubuntu OS from the Official Ubuntu website (www.ubuntu.com). The Latest LTS (Long Term Support) Version is preferred over the non-LTS version, as they provide update support for 5 years rather than 9 months for the non-LTS versions. We also need another software called Rufus for the creation of a Bootable USB Drive. A **Bootable Drive is one from which the machine can load the OS without installing it. Then we need to backup all the Contents of the USB flash Drive and Start Rufus. In Rufus, we make the following settings as shown below.

Setting Up Rufus

Writing Image in ISO mode

Creation of Bootable USB

After the completion of the above Process, we are ready with our Bootable USB Drive.

**STEP 3: Disabling Secureboot and Fastboot (Only for Newer Machines)

Bitlocker Recovery Screen (You shouldn't be here without recovery keys)

Power Options

Choosing what the power buttons do

Turning Off Fast Startup

1

2

**STEP 4: Booting Ubuntu Linux From USB Drive

3

4

Ubuntu Desktop

**STEP 5: Installing Ubuntu Linux

Selecting Language

Choosing Keyboard Layout

Choosing Type of Installation: Normal or Minimal

Installation Type: 'Something Else' is selected

Modifying the Partition Table

Free Space (Exact Partition Sizes would not match)

Creating swap area

'swap area' created

Creating Root File System Partition

Partition Table Created

Device for Bootloader Installation

Confirmation of Modifications (Make sure both the partitions you created out of the free space are listed)

Selecting Your Timezone

5

Setting up a dual boot system with Linux and Windows provides a versatile and efficient way to utilize both operating systems on one device. By following the steps outlined in this guide, you can enjoy the flexibility and functionality of both platforms, tailored to your specific needs. Embrace the power of dual booting to maximize your productivity and explore new possibilities.