Dual booting installs two operating systems on the same computer so you can pick which one runs at startup — keeping Windows for some tasks and Linux for others on one machine.
You can dual boot your PC by installing both Windows and Linux on the same drive, choosing which OS runs each time you power on. Learning how to dual boot starts with a few prerequisites and a step-by-step installer routine that works on most modern UEFI-based systems. The result is two independent operating systems, each with its own programs and files, sharing one computer.
What Dual Booting Actually Means
A dual boot setup places two operating systems on separate partitions of the same disk, managed by a bootloader that presents a menu at startup. The Lenovo glossary defines dual boot as “a setup of two operating systems on one computer” with a selection at boot time. Each OS keeps its own drivers, applications, and settings — nothing is shared between them except the hardware and the bootloader.
The most common pairing today is Windows (already installed) plus a Linux distribution such as Ubuntu. The Linux installer detects the existing Windows installation and offers to set up the boot menu automatically. At every boot, you simply pick which system to load.
What Do You Need Before Starting?
Before you touch any partitions, confirm three things: your PC uses UEFI firmware rather than legacy BIOS, you have at least 25 GB of free disk space, and you have a 16 GB or larger USB stick for the installer. The Linux distro’s ISO file (Ubuntu’s is roughly 6 GB) and a tool to write it to USB — Rufus, Etcher, or Ventoy — complete the preparation list.
Back up everything first. Partition changes carry a real risk of data loss, even when you follow every step correctly. A full disk image or a file-level backup to external storage is the only safe starting point.
Dual Booting Windows and Linux: The Prerequisites That Matter
Your existing Windows installation’s firmware mode dictates how the Linux install must behave. If Windows runs in UEFI mode (standard on any PC that shipped with Windows 8 or later), the Linux installer must also boot in UEFI mode using GPT partitioning. Mixing UEFI with Legacy/CSM mode on the same disk creates a boot conflict that can prevent either OS from starting.
| Firmware Setting | What It Controls | Which OSes It Supports |
|---|---|---|
| UEFI (Unified Extensible Firmware Interface) | Modern boot standard, works with GPT disks, supports Secure Boot | Windows 10/11, most modern Linux distros |
| Legacy / CSM (Compatibility Support Module) | Older BIOS-style boot, works with MBR disks, no Secure Boot | Older Windows versions, some Linux distros in Legacy mode |
| Secure Boot | UEFI feature that checks bootloader signatures | Windows 11 requires it; most major Linux distros now support it |
| GPT (GUID Partition Table) | Modern partition scheme, supports disks larger than 2 TB | All UEFI-based OS installations |
| MBR (Master Boot Record) | Older partition scheme, limited to 2 TB and four primary partitions | Legacy BIOS systems only |
To check your current firmware mode, open System Information in Windows and look for BIOS Mode. If it says UEFI, you are set for a modern dual boot. If it says Legacy, you need to determine whether your hardware supports switching to UEFI before proceeding — many older PCs can but doing so requires reinstalling Windows first.
Step-by-Step: How to Dual Boot Windows and Linux
1. Confirm Your Firmware Mode
Enter your system’s UEFI setup (typically F2, F10, or Del immediately after power-on) and verify the boot mode is set to UEFI with CSM/Legacy disabled. If Secure Boot is on, most current Linux installers will boot without issue — Ubuntu has been Secure Boot-compatible since version 20.04. If the installer fails to boot, disable Secure Boot temporarily, install Linux, then re-enable it after setup.
The UEFI setup screen shows Boot Mode: UEFI and no mention of “Legacy” or “CSM” in the boot order list.
2. Back Up Your Data
Create a full system backup or at minimum copy personal files to an external drive. Tools like Windows Backup and Restore or third-party imaging software work well. Partition operations always carry risk — this step is not optional.
3. Shrink the Windows Partition
In Windows, open Disk Management (right-click the Start button and select Disk Management). Right-click your C: partition and choose Shrink Volume. Enter the amount of space to shrink — at least 25 GB (25,600 MB) for a comfortable Linux installation with room for applications. The freed space appears as Unallocated in black.
You see a black bar labeled Unallocated adjacent to your C: drive in Disk Management.
4. Create a Bootable Linux USB
Download the ISO file of your chosen Linux distribution (Ubuntu is the most common starting point). Use a tool such as Rufus (Windows) or Etcher (cross-platform) to write the ISO to a 16 GB or larger USB stick. This process erases the USB drive completely.
The tool reports “Write successful” or “Done” and the USB drive appears with a new volume name matching the Linux distro.
5. Boot the Linux Installer
Restart the computer and enter the one-time boot menu (usually F12, sometimes F10 or Esc, depending on your motherboard). Select the USB drive. The Linux installer should load into a live desktop environment where you can test the OS before installing.
You see a Linux desktop or a “Try / Install” welcome screen instead of a black screen or an error message.
6. Install Linux Alongside Windows
Click Install and follow the prompts. When the installer asks about installation type, choose “Install Ubuntu alongside Windows Boot Manager” (or the equivalent option in other distros). A slider lets you adjust how much space each OS gets — the default is usually a balanced split. The installer handles partitioning and bootloader configuration automatically.
The installer shows both Windows and the new Linux entry during the final summary screen before it writes changes.
7. Choose Your OS at Startup
After the installation finishes and the machine reboots, you should see the GRUB boot menu listing both operating systems. Use the arrow keys to select one and press Enter. Windows will boot normally; Linux will load into its freshly installed desktop.
GRUB displays entries like “Ubuntu” (or your chosen distro) and “Windows Boot Manager” on a purple or black background.
Why Does UEFI vs Legacy Matter?
UEFI and Legacy BIOS are fundamentally different boot systems. UEFI reads boot loaders from the EFI System Partition (ESP) and supports modern features like Secure Boot and disks over 2 TB. Legacy BIOS reads the first sector of the disk and only works with the MBR partition table, which caps disk size at 2 TB and limits primary partitions to four. ArchWiki explicitly states that dual booting requires both OSes to use “the same firmware boot mode and partitioning combination” — mixing them breaks the boot chain.
On a UEFI system with Secure Boot enabled, Windows 11 enforces signature verification. Ubuntu, Fedora, and most mainstream distributions are signed and will boot without changes. If you encounter boot errors, check whether Secure Boot needs to be temporarily disabled or whether your distro requires a signed bootloader shim.
Common Dual Boot Pitfalls and How to Avoid Them
| Issue | Likely Cause | Fix |
|---|---|---|
| Linux installer does not boot from USB | Secure Boot blocking unsigned bootloader, or ISO written in Legacy mode | Disable Secure Boot in UEFI setup; re-write USB using GPT/UEFI mode in Rufus |
| Windows does not appear in GRUB menu | GRUB failed to detect Windows Boot Manager | Boot into Linux and run sudo update-grub to regenerate the boot menu |
| Boot menu missing after Linux removal | GRUB or Linux partition deleted without restoring Windows bootloader | Boot Windows recovery media and run bootrec /fixboot and bootrec /rebuildbcd |
| Shrink Volume option grayed out in Disk Management | System files or unmovable data at the end of the partition | Use a third-party tool like GParted from the Linux live USB to shrink the partition |
| Time shows wrong after switching between OSes | Windows uses local time; Linux uses UTC by default | In Linux, run timedatectl set-local-rtc 1 to match Windows behavior |
Your First Steps After the Dual Boot Setup
Once both OSes boot correctly, install the latest system updates in each one. In Linux, open a terminal and run sudo apt update && sudo apt upgrade (Ubuntu/Debian) or the equivalent command for your distro. In Windows, run Windows Update to catch any driver changes. Your shared files on the Windows partition are accessible from Linux by mounting the NTFS volume — many distros do this automatically from the file manager.
Software installed in one OS is not available in the other. Plan to install your core applications twice — a browser, office tools, and any specialized software for each platform. The boot menu selects the operating system at startup, and each system runs independently from that point.
Keep your backup. Repartitioning is a one-time event, but having a fallback image means you can restore the entire machine to a single-OS state without reinstalling anything from scratch.
References & Sources
- Lenovo. “Dual Boot Glossary Definition.” Official definition of dual boot as two OSes on one computer.
- ArchWiki. “Dual Boot with Windows.” Covers UEFI vs Legacy requirements and firmware boot mode matching.
- LinuxBlog.io. “Dual Boot Linux and Windows Install Guide.” Step-by-step setup with Ubuntu, partition shrinking, and GRUB configuration.
