Skip to content

How-ToSSD

How to Dual Boot Windows 11 and Linux (Ubuntu) Without Losing Your Files

To dual boot Windows 11 and Ubuntu, back up first. Installing Ubuntu on its own SSD is the safest option and avoids turning off BitLocker. On a single drive, turn BitLocker off and shrink C: in Disk Management. Then create a USB installer with balenaEtcher and choose 'Install Ubuntu alongside Windows'. Ubuntu needs at least 25GB.

By , Editorial team

4 min read

How to Dual Boot Windows 11 and Linux (Ubuntu) Without Losing Your Files

Dual booting lets you keep Windows 11 for games and apps while having a full Linux system on the same PC. You pick which one to start each time you switch on. It's a popular setup for developers, people trying Linux for the first time and local AI users who want Linux tools. This guide uses Ubuntu Desktop, following Canonical's official installation tutorial and Microsoft's disk management documentation. Forge PC hasn't tested every motherboard and laptop, so menu names and boot keys may differ on your machine.

Before anything else, back up your files. Changing partitions is safe when done carefully, but a wrong click in an installer can erase a drive. See our best free backup software for options.

The easiest option: give Linux its own SSD

If your PC has a spare M.2 slot, the simplest and safest way to dual boot is to install Ubuntu on a separate drive. Canonical's tutorial says the installer can put Ubuntu alongside an existing OS "as long as they each have their own drive", and you don't need to turn off Windows BitLocker when there's a separate, unencrypted drive for Ubuntu. Our guide to installing an M.2 SSD covers the hardware side.

Ubuntu itself needs at least 25GB of storage, according to Canonical, but leave plenty more room for apps, games or AI models.

What you need

  • A PC with at least 25GB of free space (or a second drive).

  • A USB flash drive. Canonical recommends 12GB or larger, and creating the installer erases it.

  • The Ubuntu Desktop ISO from ubuntu.com.

  • Your BitLocker recovery key if your Windows drive is encrypted. See how to find your BitLocker recovery key.

Step 1: Check BitLocker

Canonical explains that if BitLocker is on, the Ubuntu installer sees the encrypted Windows drive as random data. It can't safely resize it, and installing alongside Windows on that drive risks data loss. Some PCs ship with BitLocker enabled even though the drive isn't encrypted yet, and that also blocks the installer.

Your options, according to Canonical:

  • Install Ubuntu on a separate, unencrypted drive (no need to turn BitLocker off).

  • Turn BitLocker off in Windows so the installer can safely set up a side-by-side install on the same drive. On systems where BitLocker is enabled but the drive isn't encrypted yet, Canonical says you first need to turn BitLocker on and then off.

  • Erase the whole drive and install Ubuntu only. This deletes Windows and all your data.

Step 2: Make space on your Windows drive (single-drive setups)

If you're sharing one drive, shrink the Windows partition to create unallocated space:

  1. Right-click Start and open Disk Management.

  2. Right-click your Windows (C:) volume and select Shrink Volume.

  3. Enter how much space to free up, in megabytes, and follow the prompts.

Microsoft says shrinking automatically moves ordinary files to create the new free space, without reformatting. You need administrator rights, and you can only shrink NTFS volumes or volumes with no file system. Ubuntu's installer can also resize partitions with a slider, but doing it in Windows first is a sensible check that Windows is happy with the change. For more control, see our best free disk partition software.

Step 3: Create the USB installer

Canonical recommends balenaEtcher, which runs on Windows, macOS and Linux. Select the Ubuntu ISO, select your USB drive and flash it. Writing an ISO isn't the same as copying it, so you need a tool like this. Rufus and Ventoy also work; see how to make a bootable USB with Ventoy or Rufus.

Step 4: Boot from the USB drive

Plug in the USB drive and restart. If the PC doesn't start the installer automatically, Canonical suggests holding F12 during start-up to open the boot menu. Esc, F2 and F10 are common alternatives, and many PCs show the right key briefly on screen as they start.

Connect to the internet when asked. Canonical says this lets the installer download updates and third-party drivers, such as NVIDIA graphics drivers, and it recommends ticking the options for third-party software and extra media formats.

Step 5: Choose the right install type

This is the step that matters. Canonical's installer offers:

  • Install Ubuntu alongside Windows: pick the drive and use the slider to split space between the two systems. This is the option for dual booting on one drive.

  • Erase disk and install Ubuntu: wipes the selected drive. Only use this on an empty second drive, and double-check you've selected the right one.

  • Manual partitioning: for advanced users who want a custom layout.

If you choose full-disk encryption for Ubuntu, Canonical warns you not to lose the security key: write it down and keep it somewhere outside the PC.

Step 6: Pick your OS at start-up

When installation finishes, remove the USB drive and restart. You should see a boot menu that lets you choose Ubuntu or Windows. If the PC boots straight into Windows, use your motherboard's boot menu key, or change the boot order in the BIOS, so the Ubuntu boot entry comes first.

Is Linux good for gaming?

That depends on the games you play, and some multiplayer games' anti-cheat systems don't support Linux. Our Windows 11 vs Linux for gaming comparison explains the trade-offs, which is why many people keep Windows alongside Linux rather than replacing it.

Our verdict

The safest way to dual boot is to back up first and install Ubuntu on its own SSD. That way BitLocker doesn't need to be turned off and Windows stays untouched. If you're sharing one drive, turn BitLocker off (or check it isn't blocking the installer) and shrink C: in Disk Management. Then create a USB installer with balenaEtcher and choose "Install Ubuntu alongside Windows". Ubuntu needs at least 25GB, but give it more if you can.

The bottom line

The safest way to dual boot is to back up first and install Ubuntu on its own SSD. That way BitLocker doesn't need to be turned off and Windows stays untouched. If you're sharing one drive, turn BitLocker off (or check it isn't blocking the installer) and shrink C: in Disk Management. Then create a USB installer with balenaEtcher and choose "Install Ubuntu alongside Windows". Ubuntu needs at least 25GB, but give it more if you can.

Sources

  1. 01Canonical Ubuntu, Install Ubuntu Desktop tutorial
  2. 02Microsoft Learn, Shrink a basic volume

About the author

Forge PC Staff

Editorial team

The shared byline for articles researched, written and edited by the Forge PC editorial team. How we source, check and correct our work is set out in our editorial policy.

More from Forge PC Staff

Read next

How to Turn Off Mouse Acceleration in Windows 11 (Enhance Pointer Precision)

How-To

How to Turn Off Mouse Acceleration in Windows 11 (Enhance Pointer Precision)

To turn off mouse acceleration in Windows 11, go to Settings > Bluetooth & devices > Mouse and switch off Enhance pointer precision (or untick it under Additional mouse settings > Pointer Options). Then set your DPI or pointer speed, and check your mouse software for any extra acceleration setting.

Forge PC Staff3 min

Windows Shows Less Usable RAM Than Installed? How to Find the Cause and Fix It

How-To

Windows Shows Less Usable RAM Than Installed? How to Find the Cause and Fix It

A small gap between installed and usable RAM is normal hardware reservation. A big gap usually comes from integrated graphics reserving memory, a Maximum memory limit set in msconfig, or the removememory and truncatememory boot options. If installed RAM itself is too low, reseat the sticks, check the slots and BIOS, then test each stick.

Forge PC Staff4 min

How to Use Microsoft's AI Dev Gallery to Try Local AI Models on Your PC

How-To

How to Use Microsoft's AI Dev Gallery to Try Local AI Models on Your PC

AI Dev Gallery is Microsoft's free, open-source Windows app with more than 25 local AI samples that can run on your CPU, GPU or NPU. Install it from the Microsoft Store, pick a sample, read the model card and download the model. After that it works offline. Microsoft recommends 16GB RAM, 20GB free space and 8GB VRAM for GPU samples.

Forge PC Staff4 min

How to Use ControlNet in ComfyUI: Guide Your AI Images With Sketches, Depth and Poses

How-To

How to Use ControlNet in ComfyUI: Guide Your AI Images With Sketches, Depth and Poses

ControlNet lets a local image model follow a sketch, edge map, depth map or pose. Put a ControlNet model that matches your base model in ComfyUI/models/controlnet, install ComfyUI ControlNet aux through ComfyUI Manager for preprocessors, add Load ControlNet and Apply ControlNet before the KSampler, then tune strength, start and end.

Forge PC Staff4 min