Dual-Boot Windows and Linux: Hardware and Setup
What hardware you need to run Windows and Linux on one machine, and the safe install order and steps to set up a dual-boot system without losing your Windows install.
A dual-boot machine lets you pick Windows or Linux at startup — full native performance for each, unlike a VM. The catch is that the two operating systems share one disk and one boot manager, so order and free space matter. This guide covers the hardware first, then the install sequence that keeps your Windows install intact.
Hardware requirements
Dual-booting doesn’t need exotic hardware — any machine that runs Windows 11 comfortably will run a Linux distro alongside it. What matters is disk space and a couple of firmware details:
- Storage — the single most important factor. Budget at least 60–80 GB free for Linux on top of what Windows already uses. 256 GB total is workable; 512 GB or more is comfortable. An SSD is strongly recommended — dual-boot on a spinning HDD is painfully slow.
- RAM — 8 GB minimum, 16 GB comfortable. Both OSes never run at once in a dual-boot (unlike a VM), so you don’t need to double up — size for whichever OS is hungrier.
- CPU — any 64-bit Intel/AMD chip from the last decade. Windows 11 requires a supported CPU with TPM 2.0; Linux is far less picky, so if the machine already runs Win11, Linux is guaranteed fine.
- UEFI firmware — effectively universal on machines from ~2013 onward. Both OSes install in UEFI mode on a GPT disk; mixing UEFI and legacy BIOS across the two is the classic way to break booting.
- A USB drive (8 GB+) for the Linux installer.
Two drives is the safest layout
If the machine has room for a second SSD (or an empty M.2 slot), install Linux on its own drive. Each OS gets its own disk and boot files, a failed install can’t touch the other OS, and you can even physically remove one drive to isolate them. When buying a laptop for this, prioritize a second M.2 slot.
Two ways to split the space
- Two separate drives (best) — Windows on drive 1, Linux on drive 2. Cleanest and safest.
- One drive, two partitions — shrink the Windows partition to free space, install Linux into it. Works fine and is the common laptop scenario, but both OSes share one physical disk and one EFI system partition, so be careful during install.
Before you start: back up and note two settings
- Back up anything important. Repartitioning is generally safe, but a botched step or power loss mid-resize can lose data. This is non-negotiable.
- Know your firmware mode. Windows must be installed in UEFI mode so Linux installs the same way. Check it:
# BIOS mode: should report "UEFI" (not "Legacy")Get-ComputerInfo | Select-Object BiosFirmwareType# The system disk should be GPT, not MBRGet-Disk | Select-Object Number, FriendlyName, PartitionStyle
The install order that doesn’t break Windows
The golden rule: install Windows first, Linux second. Windows overwrites the boot manager and ignores other OSes; the Linux installer (GRUB) is polite and adds Windows to its boot menu automatically. Doing it the other way around hides Linux until you repair GRUB.
Install (or keep) Windows first
If it’s a fresh machine, install Windows and let it use the whole disk for now — you’ll shrink it next. If Windows is already installed, you’re ready. (Automate a fresh install with the Answer File Generator.)
Free up space for Linux (single-drive setups)
In Windows, open Disk Management (diskmgmt.msc), right-click the C: partition, choose Shrink Volume, and free the space you budgeted for Linux. Leave it as unallocated — don’t format it; the Linux installer will handle it.
# Shrink the C: volume by 80 GB (81920 MB) of free space$size = (Get-PartitionSupportedSize -DriveLetter C)Resize-Partition -DriveLetter C -Size ($size.SizeMax - 80GB)
Disable Fast Startup and BitLocker
Two Windows features cause dual-boot grief:
- Fast Startup leaves the Windows partition in a hibernated state, so Linux can’t safely mount it. Turn it off: Control Panel → Power Options → “Choose what the power buttons do” → uncheck “Turn on fast startup.”
- BitLocker on the Windows drive can trigger a recovery-key prompt every time the boot configuration changes. Suspend or disable it before installing Linux, or have your recovery key handy.
Create the Linux installer USB
Download a Linux ISO (Ubuntu and Linux Mint are the friendliest for newcomers; Fedora and Pop!_OS are also popular) and write it to USB with Rufus or Ventoy — the same tools covered in the ISO Builder Guide. Rufus in “GPT / UEFI” mode matches your disk.
Boot the USB and install Linux
Use the boot menu key for your machine (full list here) to boot the USB. In the installer, choose the option like “Install alongside Windows Boot Manager” — it uses your unallocated space automatically. If you prefer manual partitioning on a single drive, point Linux at the free space and let it reuse the existing EFI system partition (don’t create a second one).
The one screen where mistakes cost you Windows
At the partitioning step, never choose “Erase disk and install Linux” on a single-drive setup — that wipes Windows. Pick “Install alongside” or manual partitioning targeting only the free space. Read this screen twice.
Reboot and pick your OS
After install, the machine boots into the GRUB menu listing both Linux and Windows Boot Manager. Pick either; GRUB remembers nothing destructive, and Windows is untouched.
Secure Boot notes
Modern mainstream distros (Ubuntu, Fedora, Mint) are signed and boot fine with Secure Boot enabled — leave it on. If you install proprietary drivers (e.g., NVIDIA), the installer may ask you to enroll a MOK (Machine Owner Key) with a password on next reboot — complete that prompt or the driver won’t load. Niche or older distros may require turning Secure Boot off in UEFI setup.
Sharing files between the two
Both OSes can read a shared data area, but choose the filesystem deliberately:
- Linux reads and writes NTFS (Windows’ filesystem) well these days, so a shared NTFS partition or your Windows partition is accessible from Linux.
- Windows cannot read Linux’s native ext4 without third-party tools — so a shared partition should be NTFS, or use cloud storage / a network share for files both sides need.
- Keep Fast Startup off (from step 3) so Linux can mount the Windows partition safely.
If Windows update wipes GRUB
Occasionally a major Windows update resets the boot manager and the machine boots straight to Windows, skipping GRUB. It’s not data loss — just the boot menu. Boot the Linux USB in “try/live” mode and reinstall GRUB (the boot-repair utility on Ubuntu-based distros does this in a few clicks), or set the Linux entry first in the UEFI boot order.
Not sure you want to commit the disk?
If you only need Linux occasionally, a virtual machine (or WSL2 — “Windows Subsystem for Linux,” a built-in Linux environment inside Windows) avoids repartitioning entirely. Dual-boot is worth it when you need full native hardware performance from both OSes — gaming, GPU compute, or hardware that lacks VM passthrough.
Tools used in this guide
Answer File Generator
Create customized autounattend.xml files for automated Windows 11 installations. Configure privacy, remove bloatware, and customize the interface.
Quick Start Guide
Deploy Windows in 3 simple steps. No complexity, just results — for both Windows 11 workstations and Windows Server VMs.