Windows is the operating system most people grow up with, and it runs the games, creative suites and office tools that many of us rely on. Linux, on the other hand, offers freedom, speed on modest hardware, excellent developer tooling and a level of customisation that Windows simply cannot match. The good news is that you do not have to choose. Dual booting lets you install both on the same machine and pick one each time you switch the computer on.
The idea is simple. Your computer’s storage is divided into sections called partitions. Windows lives on one, Linux lives on another, and a small program called a bootloader, usually GRUB, shows a menu at startup so you can choose which system to load. Only one runs at a time, which means each gets the full power of your hardware, unlike a virtual machine, which shares resources with a host.
This guide walks you through dual booting on practically any modern PC, whether it is a laptop with a single drive, a desktop with two drives, or an older machine that still uses legacy BIOS. We will cover preparation, three installation methods, how to fix the most common problems, and a short FAQ. Set aside an hour or two, read each section before you act, and you will end up with a flexible setup that gives you the best of both worlds.
What You Need Before You Start
Good preparation prevents nearly every dual-boot disaster. Work through this checklist first.
1. A full backup. Resizing partitions is generally safe, but a power cut or a mistake at the wrong moment can destroy data. Copy your important files to an external drive or cloud storage before you touch anything. Creating a Windows system image or recovery drive is a sensible extra.
2. Enough free space. Linux itself is lightweight. A comfortable minimum is 30 GB, but 50 to 100 GB is more realistic if you plan to install software, games or development tools. You will carve this space out of your Windows drive or use a separate disk.
3. A USB flash drive of at least 8 GB. This will hold the Linux installer. Everything on it will be erased.
4. A Linux distribution. For a first dual boot, choose something beginner friendly with a graphical installer that detects Windows automatically. Ubuntu, Linux Mint, Fedora Workstation and Pop!_OS are all excellent. Download the ISO file from the official website of your chosen distribution.
5. A tool to write the ISO to USB. Rufus (Windows), balenaEtcher (Windows, macOS, Linux) and Ventoy all work well. Rufus is popular and offers clear options for partition scheme.
6. Knowledge of your firmware mode. Modern PCs use UEFI, while older ones use legacy BIOS. Press the Windows key plus R, type msinfo32, press Enter, and look at the line called BIOS Mode. It will say UEFI or Legacy. This matters because Windows and Linux must be installed in the same mode.
Prepare Windows
Before installing Linux, make three changes in Windows.
- Disable Fast Startup. Go to Control Panel, Power Options, then Choose what the power buttons do, and untick Turn on fast startup. Fast Startup leaves the Windows file system in a hibernated state, which can cause Linux to refuse access or, worse, corrupt data.
- Check BitLocker. If your drive is encrypted with BitLocker or Device Encryption, save your recovery key somewhere safe and consider suspending protection before you modify partitions. Changes to the boot process can trigger a recovery key prompt.
- Free up and shrink space. Open Disk Management by right-clicking the Start button and choosing Disk Management. Right-click your main Windows partition (usually C:), choose Shrink Volume, and enter the amount to shrink in megabytes. For 60 GB, enter about 61440. Leave the resulting space as Unallocated. Do not format it.
If the shrink option offers far less space than expected, immovable files are blocking it. Run Disk Cleanup, disable hibernation temporarily with powercfg /h off, and turn off the paging file temporarily, then try again.
Method 1: Install Linux Alongside an Existing Windows Installation
This is the most common scenario: you already have Windows and want to add Linux. It works on any modern UEFI PC and takes the least effort.
Step 1: Create the bootable USB
Open Rufus, select your USB drive, click Select and choose the ISO. For a UEFI machine choose the GPT partition scheme with UEFI target. Click Start and accept the defaults, or choose ISO mode if prompted. Wait until the process finishes.
Step 2: Boot from the USB
Restart the PC and press the boot menu key repeatedly as it starts. Common keys are F12 (Dell, Lenovo), F9 (HP), F8 or Esc (ASUS) and F10 (some Acer models). Choose the entry that names your USB drive, ideally the one marked UEFI.
If Secure Boot blocks the installer, note that Ubuntu, Fedora, Linux Mint and most mainstream distributions are signed and work with Secure Boot enabled. You normally only need to disable it for niche distributions or proprietary drivers that need unsigned modules.
Step 3: Try before you install
Most installers offer a live session. Choose Try or Live mode first. Confirm that Wi-Fi, sound, graphics and the touchpad work. This is a free hardware compatibility test before you commit.
Step 4: Launch the installer
Double-click Install on the desktop. Choose your language and keyboard layout, connect to the internet, and tick the options to install updates and third-party software (this adds media codecs and often graphics drivers).
Step 5: Choose the installation type
The installer should detect Windows and offer an option such as Install alongside Windows Boot Manager. Select it. You will see a slider to divide space between the two systems. If you already prepared unallocated space, use the manual option instead, covered below.
For manual partitioning, select Something else (or Manual partitioning) and find the free space. Create these partitions:
- Root (/): 40 GB or more, formatted as ext4. This holds the system and your programs.
- Home (/home), optional: the remainder of the space, ext4. A separate home keeps your personal files safe if you reinstall Linux later.
- Swap, optional: modern installs often use a swap file instead. If you want hibernation, make swap at least as large as your RAM.
Crucially, set the boot loader installation device to the whole disk that contains the EFI System Partition, and make sure the existing small EFI partition (usually 100 to 500 MB, FAT32) is mounted at /boot/efi without being formatted. Reusing it is what lets GRUB see Windows.
Step 6: Finish and reboot
Set your timezone, create your username and password, and let the installer copy files. When prompted, remove the USB drive and restart. You should see the GRUB menu listing your Linux distribution and Windows Boot Manager. Use the arrow keys and Enter to choose.
Method 2: Dual Boot with a Separate Drive
If your desktop or laptop has a second internal drive, or you can add one, this method is cleaner and safer. Windows stays untouched on its own disk, and Linux gets a drive entirely to itself.
Why choose this method
There is no need to shrink Windows partitions. If something goes wrong with Linux, your Windows disk is physically unaffected. You can even remove the Linux drive and Windows boots as if nothing happened.
Steps
- Install the second SSD or NVMe drive and confirm it appears in your BIOS or UEFI.
- Create the bootable USB exactly as in Method 1 and boot from it.
- In the installer, choose Erase disk and install, but carefully select the new, empty drive as the target. Double-check the drive size and model to avoid wiping Windows.
- Alternatively, use manual partitioning on the new drive: create a 512 MB EFI partition (FAT32, flagged as ESP), a root partition (ext4), and optionally home and swap.
- Choose where GRUB installs. You have two good options. Installing GRUB to the Linux drive and selecting it from the firmware boot menu keeps the two systems fully independent. Alternatively, install it to the Windows drive’s EFI partition so a single GRUB menu offers both.
- After installation, if Windows does not appear in the menu, boot Linux, open a terminal and run
sudo os-proberfollowed bysudo update-grub(Debian and Ubuntu families) orsudo grub2-mkconfig -o /boot/grub2/grub.cfg(Fedora). On some distributions you first need to enable os-prober in/etc/default/grubby addingGRUB_DISABLE_OS_PROBER=false.
For the fully independent approach, you simply choose Windows or Linux from the firmware boot menu (F12 or similar) each time. It is slightly less convenient but extremely robust, because neither bootloader can break the other.
Method 3: Install Windows and Linux on a Blank Disk
Starting from scratch gives the cleanest result, and it is ideal for a new PC or a full reinstall.
The golden rule: install Windows first
Windows does not recognise other operating systems and overwrites the bootloader. Linux’s installer, by contrast, detects Windows and adds it to the menu. Always install Windows first, then Linux.
Steps
- Install Windows normally. When partitioning, do not use the entire disk. Create a Windows partition of the size you want (for example 200 GB on a 500 GB drive) and leave the rest unallocated. On a UEFI system Windows creates its own EFI partition automatically.
- Complete Windows setup, install updates and drivers, disable Fast Startup, and handle BitLocker as described earlier.
- Boot the Linux USB and follow Method 1 from Step 2 onward, installing into the unallocated space.
- Confirm that GRUB lists both systems on first boot.
Legacy BIOS machines
Older PCs using legacy BIOS and MBR partitioning follow the same logic, with two differences. First, you create the USB in MBR mode (in Rufus choose MBR with BIOS or UEFI-CSM). Second, MBR allows only four primary partitions, so if Windows already uses several, create an extended partition and place Linux inside it. GRUB installs to the master boot record of the disk, and no EFI partition is involved.
Fixing Common Dual Boot Problems
Even with careful steps, things occasionally go sideways. These are the most frequent issues and their remedies.
Windows is missing from the GRUB menu. Boot Linux, ensure os-prober is enabled, and run the update-grub command mentioned above. Make sure Windows was installed in the same firmware mode as Linux.
The PC boots straight into Windows. The firmware may be prioritising the Windows Boot Manager. Enter UEFI settings and move the Linux or GRUB entry to the top of the boot order. On some laptops you can also use efibootmgr from Linux to reorder entries.
Windows update broke GRUB. Large Windows updates sometimes reset boot order. Fix it by reordering in firmware settings, or boot the Linux live USB and reinstall GRUB using the Boot-Repair tool or a chroot.
The clock is wrong. Windows stores local time in the hardware clock while Linux uses UTC, so times shift by your timezone offset. Fix it on Linux with timedatectl set-local-rtc 1 --adjust-system-clock, or make Windows use UTC through a registry change.
Linux cannot mount the Windows partition. This is nearly always Fast Startup or an unclean shutdown. Boot Windows, disable Fast Startup, and shut down fully with shutdown /s /t 0.
Black screen after installation. Graphics drivers are the usual culprit, especially with newer NVIDIA cards. Boot with the nomodeset parameter once, then install the recommended proprietary driver from your distribution’s driver manager.
Conclusion
Dual booting Linux and Windows is one of the most rewarding upgrades you can make to a computer. It costs nothing, takes a couple of hours and gives you two complete operating systems, each running at full native speed. The process comes down to a few principles: back up your data, free up space the safe way, create a bootable USB, install in the same firmware mode as Windows, and let GRUB manage the startup menu.
For most people, Method 1 is the right place to start because it requires nothing beyond a USB stick and some free disk space. If you have a spare drive, Method 2 is even safer, since it keeps the operating systems physically separate. If you are setting up a fresh machine, Method 3 gives you the neatest layout. Whichever route you take, remember the golden rules: Windows first, Fast Startup off, and backups always.
Once you are up and running, you can explore your new system at leisure, share files through a common data partition, and gradually decide which tasks suit which operating system. Many users find that after a few weeks they reach for Linux more and more. Others keep Windows for games and specific software. Either way, you now have the freedom to choose.
Frequently Asked Questions
1. Will dual booting slow down my computer or damage my hardware?
No. Only one operating system runs at a time, so each has full access to your processor, memory and graphics card. Dual booting does not wear out hardware faster or reduce performance. The only cost is disk space, since both systems need their own partitions. The main risk is data loss from a mistake during partitioning, which is why a backup comes first.
2. Can I dual boot with Secure Boot and BitLocker enabled?
Yes, in most cases. Major distributions such as Ubuntu, Fedora and Linux Mint ship with signed bootloaders that work with Secure Boot turned on. BitLocker is also compatible, but you should save your recovery key and consider suspending BitLocker before resizing partitions, because boot changes can trigger a recovery prompt. Linux cannot read a BitLocker-encrypted Windows drive without extra tools, so keep shared files on an unencrypted partition if you need access from both systems.
3. How much disk space do I need for Linux?
A minimal desktop installation works in about 25 to 30 GB, but that leaves little room for growth. For everyday use, allocate 50 to 100 GB. If you plan to install games, virtual machines, containers or large development environments, 150 GB or more is wiser. You can always give Linux more space during installation, but expanding it later is harder than planning ahead.
4. How do I remove Linux and go back to Windows only?
First, boot into Windows. Open Disk Management and delete the Linux partitions (ext4 and swap), leaving unallocated space that you can merge into your Windows partition with Extend Volume. Then remove the leftover GRUB entry from the EFI partition, either with a free tool such as EasyUEFI or by running bcdboot C:\Windows from an administrator command prompt to restore the Windows boot entry. On legacy BIOS machines, run bootrec /fixmbr from the Windows recovery environment. Restart, and your PC will boot directly into Windows again.

