Back to Guides
Beginner Friendly21 Min Read

Dual Boot Setup: Windows and Linux

Want the best of both worlds? Run Windows for gaming and Linux for coding on the exact same computer. This guide breaks down the partitioning, bootloader setup, and time sync fixes in plain English.

Multi-OS Made Easy
Step-by-Step Disk Shrinking
Zero-Data-Loss Safety Precautions
SamXop123
July 1, 2026
21 min read
100% Tested & Verified
PC BuildingSoftware SetupLinuxDual BootOperating Systems

If you are new to PC building and software setup, configuring a dual boot system might feel intimidating. You are dealing with terms like "partitions," "bootloaders," and "filesystems."

Don't worry. This guide is written with simple, jargon-free explanations and step-by-step walkthroughs to help you install Windows and Linux together safely without losing any files or games.

1. What is Dual Booting? (Analogies & Jargon-Free)

Think of your computer's storage drive (SSD) as a large building. Installing Windows is like leasing the entire building to one tenant. Windows moves in, puts furniture everywhere, and assumes it owns the place.

Dual Booting is like building a divider wall right down the middle of the building to create two separate apartments. One apartment runs Windows, and the other apartment runs Linux. When you turn on your PC, a menu pops up asking which door you want to enter.

Should you Dual Boot or use a Virtual Machine (VM)?

Dual Booting (Native)

• Performance: 100% full hardware speed. Your graphics card, CPU, and RAM work directly with the operating system.

• Ideal For: PC gaming, machine learning development, video editing, and complex compilation.

Virtual Machines (VirtualBox / WSL2)

• Convenience: Run Linux inside a window directly on your Windows desktop. No need to reboot.

• Ideal For: Learning basic Linux commands, light coding, and running lightweight server test environments.

2. The Pre-Install Checklist: BitLocker & Fast Startup

Before touching any storage sliders, we must configure Windows security settings. Failing to do this can lock you out of your system or corrupt file writes.

Check / Suspend BitLocker Encryption

BitLocker is a security feature that encrypts your drive. When you install a second operating system, your motherboard's security chip detects a change and locks the drive, demanding a 48-digit Recovery Key.

How to check: In Windows, type "Manage BitLocker" in the Search bar and open it. If it says "BitLocker on", click Suspend Protection.

Safety Note: Keep your Microsoft Account login details handy. You can find your recovery key online at account.microsoft.com/devices/recoverykey.

Disable Windows Fast Startup

When you shutdown with "Fast Startup" enabled, Windows doesn't actually turn off. It hibernates, saving system state to the SSD and locking the drive. If Linux tries to read or write to a locked drive, it can lead to data loss.

1. Open the Control Panel and search for Power Options.

2. Click "Choose what the power buttons do" on the left pane.

3. Click "Change settings that are currently unavailable" at the top.

4. Uncheck "Turn on fast startup (recommended)" and save changes.

3. Step 1: Resizing Windows Disk Space

Now we will create the second apartment on your drive. We shrink the Windows C: drive to make unallocated, free space.

Disk Management Guide

1
Open Disk Management

Right-click the Windows Start menu button and click Disk Management.

2
Shrink C: Drive

Look at the visual graph at the bottom. Right-click your primary drive partition (labeled `C:`) and click Shrink Volume....

3
Calculate and Execute Size

Windows asks for the amount of space to shrink in Megabytes (MB). Remember: 1 GB = 1024 MB.

For a 50GB Partition:51200
For a 100GB Partition:102400

Input the number, click Shrink, and wait. You will see a new block labeled Unallocated Space with a black header. Do not create a new volume out of it; leave it empty for now.

4. Step 2: Flash Your Linux Installation USB

We need a physical drive to boot from to install Linux. A standard USB flash drive (8GB or larger) will act as our installer media.

What you need:

• A USB flash drive (8GB+). Note: flashing will erase everything on the USB, so back up its contents first!

• A Linux installation image (.ISO file). We recommend Ubuntu Desktop LTS for new users.

• A flash tool like Rufus (free to download at rufus.ie).

Flashing with Rufus:

1. Plug in your USB and open Rufus.

2. Click Select and locate the downloaded Ubuntu ISO file.

3. Set the Partition Scheme to GPT and Target System to UEFI (this is important for modern systems).

4. Click Start and confirm when prompted.

5. Step 3: BIOS Configuration Made Simple

The BIOS (Basic Input/Output System) is the dashboard that starts before Windows. We must configure it to allow booting from our USB drive.

1. Enter BIOS

Restart your PC. As soon as the screen goes black, start repeatedly tapping the Delete or F2 key on your keyboard until the BIOS screen opens.

2. Disable Secure Boot (Temporary or Permanent)

Navigate to the Boot or Security tab. Find Secure Boot and set it to Disabled. While Ubuntu supports Secure Boot, disabling it prevents signature issues with third-party graphic drivers (like Nvidia GPU drivers).

3. Adjust Boot Option Priorities

Find the Boot Order or Boot Option #1 list. Select your USB drive (it might be prefixed with "UEFI: [USB Drive Name]") as the first boot option. Save changes and exit.

6. Step 4: Installing Linux alongside Windows

Your computer will restart and boot into the USB installer. You will see a dark boot menu. Select "Try or Install Ubuntu".

Click "Install Ubuntu" on the setup wizard. Choose your language, keyboard layout, and connect to Wi-Fi.

Selecting the Installation Type:
Option 1: "Install Ubuntu alongside Windows Boot Manager" (Recommended)

This is the safest, automated route. The installer finds the unallocated empty space we shrunk in Step 1, formats it, and installs Linux inside it without touching your Windows partition. Select this and click Install Now.

Option 2: "Something Else" (Advanced Manual Partitioning)

Use this if you want to partition manually. Locate the **unallocated space** from the drive list.

  • Double-click the unallocated space. Create a partition with mount point: `/` (this is Root, where all Linux files are stored). Choose filesystem type: ext4.
  • Ensure the "Device for boot loader installation" dropdown points to your primary drive containing the EFI partition (e.g., `/dev/nvme0n1` or `/dev/sda`). Do not format this EFI partition, as formatting it will delete Windows boot files.

Choose your timezone, create your username, and set a password. Click **Continue** to start the installation. Once finished, click **Restart Now** and unplug the USB drive when prompted.

7. Step 5: Fixing Post-Install Quirks (Clock Mismatch)

When you restart your computer, you will see a black screen with text choices. This is the **GRUB Bootloader**. Select Ubuntu or Windows Boot Manager to load either system.

Fixing the Windows/Linux Time Bug

After dual-booting, you will notice that booting back into Windows makes your clock show the wrong time (usually offset by several hours).

Why this happens:

Windows reads the time from your motherboard hardware clock directly as your local time. Linux reads the motherboard clock as Coordinated Universal Time (UTC) and shifts the time zone in software. When booting back and forth, they keep overwriting the motherboard hardware clock.

The Permanent Fix (Run in Linux):

Boot into Linux. Open the terminal application (keyboard shortcut: Ctrl + Alt + T). Copy and paste this single command and press Enter:

timedatectl set-local-rtc 1 --adjust-system-clock

This tells Linux to store local time in the motherboard clock, aligning it with Windows.

🎉 Welcome to the Multi-OS World!

Setting up a dual boot configuration is a huge achievement. You now have a fast gaming environment alongside a robust coding and development platform on a single computer.

Explore your Linux environment, customize your desktops, and enjoy your new operating systems!

Next Step: Check out the Cable Sleeving and Custom Cables Guide to take your PC's physical aesthetics to the next level!

SAM

SamXop123

Developer of RigCrafter

Sam is the developer of RigCrafter and a software systems administrator. He designed RigCrafter's guides to simplify advanced software setups like dual-booting and virtualizations.

Share: