How to Dual Boot Windows and Linux
To dual boot Windows and Linux, install Windows first, free space by shrinking its partition or by using a second drive, create a Linux USB, then install a distribution such as Ubuntu or Linux Mint alongside Windows so its installer sets up the GRUB boot menu. GRUB then appears at every startup and lets you choose which operating system to run. The order matters: Windows installed second overwrites the boot loader, while Linux installed second detects Windows and adds it for you. Back up first, because changing partitions carries a risk of data loss, and disable Windows Fast Startup so the two systems do not corrupt a shared partition.
Dual booting puts both Windows and Linux on one computer and shows a boot menu at startup to pick between them. The setup keeps Windows in place, makes room for Linux either by shrinking the Windows partition or by using a separate drive, and installs the Linux distribution alongside so the GRUB boot loader manages the choice. The steps below are ordered to protect the existing Windows installation, with each phase stating its goal and its exact actions.
How Do You Dual Boot Windows and Linux?
Dual booting follows a fixed sequence: back up, get Windows in place first, make space, build a Linux USB, install Linux alongside Windows, then choose the system at boot from the GRUB menu. Work through the steps in this order:
- Back up Windows. Make a full system image and copy personal files to an external drive, because shrinking and partitioning a disk can lose data if it is interrupted.
- Install Windows first. On a new machine, install Windows before Linux. Its installer claims the boot loader, so it has to go on first, and a Linux install second will detect it.
- Make space. Shrink the Windows partition in Disk Management to free unallocated space, or dedicate a second drive to Linux if the computer has one.
- Create a Linux USB. Write an Ubuntu or Linux Mint ISO to an 8GB or larger USB drive with Rufus or Ventoy to make the bootable installer.
- Install Linux alongside Windows. Boot the USB and pick the “Install alongside Windows” option so Linux uses the free space and never overwrites the Windows partition.
- Choose your system at boot. The Linux installer sets up GRUB, which lists Windows and Linux at every startup so you select which one to run.
Each step is expanded below. Creating the installer USB uses the same tools as a Windows installer, which the guide to creating a bootable USB covers in full.
What Do You Need Before You Start?
A dual boot needs a verified backup, free disk space, and a Linux installer USB before any partition is touched. Gather these in the order each is used:
- A full backup of Windows protects your data, because shrinking and partitioning a drive carries a real risk of loss.
- Free space, or a second drive gives Linux somewhere to live, with at least 30GB recommended for a usable install.
- An 8GB or larger USB drive holds the Linux installer and is erased when the bootable USB is written.
- The Ubuntu or Linux Mint ISO supplies the installation image, downloaded from the distribution’s official site.
- A tool to write the ISO such as Rufus or Ventoy, which turns the USB drive into a bootable installer.
- Access to the firmware settings so Fast Startup and Secure Boot can be checked before the install.
Why Back Up Windows Before You Start?
A backup comes first because repartitioning a live drive is the one step in a dual boot that can lose everything on it. Shrinking a partition and writing a second operating system both edit the disk, and an interruption such as a power loss can corrupt it. Protect the data before any partition changes:
- Create a full system image of the Windows drive, which can restore the entire system if partitioning fails.
- Copy personal folders to an external drive, including Documents, Pictures, and Desktop, as a separate file-level backup.
- Confirm the backup opens on another device before continuing, proving the files copied without error.
- Note the Windows product key or confirm the digital license in case Windows ever needs reinstalling.
If Windows is encrypted with BitLocker, suspend protection in the Control Panel before you resize the partition, so the drive is not locked during the shrink. A power interruption can corrupt the drive mid-operation, so a laptop should be on mains power, and the backup should be verified, before continuing.
Why Install Windows First?
Windows goes first because its installer tends to claim the whole drive and overwrite any boot loader it finds, while a Linux install placed second sets up GRUB and adds Windows to the menu for you. On a machine that already runs Windows, this phase is done; on a new drive, install Windows before Linux:
- Install Windows on the drive first if the computer has no operating system, following the standard Windows setup.
- Leave free space during the Windows install by not allocating the whole drive, if you are planning Linux from the start.
- Finish Windows setup and updates before adding Linux, so Windows is fully working first.
- Skip this phase if Windows is already installed, since an existing install only needs space freed for Linux.
The order matters because the Windows boot loader does not detect Linux, while GRUB does detect Windows. Installing Windows second overwrites GRUB and removes the Linux entry, which then needs a boot repair. A fresh Windows install follows the install Windows 11 guide, or the clean install of Windows guide if you are starting the drive from scratch, before Linux is added alongside it.
Same Drive or Separate Drive: Which Fits?
Both layouts work. A separate drive is the safer, cleaner choice when the computer has room for one; a single shared drive is the common path on a laptop with only one disk.
The steps that follow show the shared-drive path, because it works everywhere. On a separate drive the flow is the same, except you point the Linux installer at the empty second disk instead of at unallocated space on the Windows drive.
How Do You Shrink the Windows Partition?
Shrinking the Windows partition creates unallocated space for Linux without erasing Windows. Disk Management reduces the partition size and leaves the freed space unallocated for the Linux installer to claim. On a shared drive, do this:
- Open Disk Management by right-clicking the Start button and selecting it from the menu.
- Right-click the Windows partition and select Shrink Volume, which calculates the most space that can be freed.
- Enter the amount to shrink in megabytes, freeing at least 30GB, or 30000MB, for a usable Linux install.
- Confirm the shrink and leave the freed space unallocated, since the Linux installer formats and partitions it during setup.
Do not format the freed space in Windows; the Linux installer handles it. If the partition will not shrink as far as you want, immovable system files near the end of the volume are usually the cause, and temporarily disabling hibernation and the page file can free it. On a separate drive, skip this step and use the empty disk directly.
How Do You Create a Linux Bootable USB?
A bootable USB writes the Linux installer to a drive the computer can start from. Rufus or Ventoy writes the Ubuntu or Linux Mint ISO to an 8GB or larger USB drive to produce the installer. Do this:

- Download the ISO from the distribution’s official site, choosing a long-term support release for stability.
- Insert an 8GB or larger USB drive and open Rufus, which detects the drive automatically.
- Select the ISO and choose GPT for a UEFI system, matching the partition scheme to the firmware.
- Click Start and wait for the write to finish, which erases the USB drive in the process.
A Linux installer USB is built the same way as a Windows one, with the partition scheme matched to the firmware, which the guide to creating a bootable USB covers in full. Ventoy can hold several ISOs on one drive, while Rufus writes a single image. A drive built with the wrong scheme will not boot on a UEFI system.
Why Disable Fast Startup, and What About Secure Boot?
Disabling Fast Startup stops Windows from leaving the drive in a hibernated, locked state that Linux can corrupt; Secure Boot can usually stay on for mainstream distributions. Set both before you install:
- Open Control Panel, then Power Options, then “Choose what the power buttons do”.
- Click “Change settings that are currently unavailable” to unlock the shutdown options.
- Uncheck “Turn on fast startup” and save, which makes Windows shut down fully each time.
- Note the Secure Boot state in the firmware, since most distributions support it while a few need it disabled.
Ubuntu and Linux Mint ship signed boot files, so Secure Boot can stay enabled for them, while some smaller distributions need it disabled in the firmware. Checking the Secure Boot state before installing avoids a boot failure afterward.
How Do You Install Linux Alongside Windows?
Booting the USB and choosing “Install alongside Windows” puts Linux into the free space without erasing Windows. The installer detects the existing Windows installation and offers to share the disk, using the space you freed earlier. Do this:

- Boot from the USB drive through the firmware boot menu, selecting the UEFI USB entry.
- Choose Try or Install, then continue to the installation type screen.
- Select “Install alongside Windows Boot Manager”, which uses the unallocated space without touching the Windows partition.
- Set the partition size with the slider, pick a time zone and account, and start the install, letting Linux create its own partitions.
The “Install alongside” option preserves the Windows partition and creates the Linux root and swap partitions automatically. Choosing “Erase disk” instead would delete Windows, so the alongside option is the one a dual boot needs. The installer writes GRUB as the new boot loader during this step.
How Do You Choose an Operating System at Boot?
GRUB shows a menu at startup that lists Linux and Windows, and a quick check of both confirms the dual boot works. Linux installs GRUB, which detects Windows and lists both systems at every boot. Confirm it:
- Restart and confirm the GRUB menu appears, listing the Linux distribution and Windows Boot Manager.
- Boot Linux first to confirm it starts and reaches the desktop.
- Restart and select Windows Boot Manager from the GRUB menu to confirm Windows still boots.
- Set the default entry and timeout in GRUB if you want a different default or a longer menu delay.
The GRUB menu appears at every startup, defaulting to Linux after a timeout unless you change it. If the machine boots straight into Windows without showing GRUB, the firmware boot order needs the Linux entry moved to the top. With a separate drive, switching the boot order in firmware is often all the selection you need.
What Mistakes Break a Dual Boot?
Most failed dual boots trace back to a wrong install order, Fast Startup left on, or a skipped backup. Avoid these:
- Installing Windows after Linux overwrites GRUB, removes the Linux entry, and forces a boot repair.
- Leaving Fast Startup enabled can corrupt a shared partition, because Windows leaves the drive hibernated and locked.
- Skipping the backup before partitioning risks total data loss if the shrink or install is interrupted.
- Choosing “Erase disk” instead of “Install alongside” deletes the existing Windows installation entirely.
- Allocating too little space to Linux leaves no room for updates and applications, so free at least 30GB.
Wrong install order and Fast Startup are the two issues that cause the most failures, and both are avoidable up front. For the wider set of Windows and Linux procedures, the PC tutorials hub collects the related guides.
Last Thoughts on Dual Booting Windows and Linux
Dual booting puts both Windows and Linux on one machine and hands you a boot menu to choose between them. The sequence is what keeps it safe: back up first, install Windows before Linux, make room by shrinking the Windows partition or by using a second drive, write a Linux USB, install the distribution alongside Windows, and let GRUB manage the boot selection. Install order and Fast Startup are the two settings that most often cause trouble, and a separate drive is the cleanest layout when the computer has room for one.
From here you can build the installer with the bootable USB guide, set Windows up cleanly first with the clean install of Windows guide, or browse the full PC tutorials hub for related procedures.
Key Takeaways:
- Install Windows first, because Linux installed second sets up GRUB and adds Windows to the boot menu, while Windows installed second overwrites the boot loader.
- Use a separate drive when the computer has room; otherwise shrink the Windows partition in Disk Management to free unallocated space.
- Back up Windows before touching any partition, since shrinking and partitioning carry a risk of data loss.
- Disable Fast Startup so Windows shuts down fully and does not corrupt a partition shared with Linux.
- Choose “Install alongside Windows” in the Linux installer, never “Erase disk”.
- GRUB shows the boot menu at startup; verify that both Windows and Linux start, then set the default and timeout.
Frequently Asked Questions (FAQs)
Should I install Windows or Linux first?
Install Windows first. The Windows installer tends to claim the whole drive and overwrite any existing boot loader, while a Linux distribution installed second sets up GRUB, detects the Windows installation, and adds it to the boot menu automatically.
Is it better to dual boot on one drive or a separate drive?
A separate drive is better when the computer has the room. Each operating system gets its own disk, a partitioning mistake cannot touch the other system, and you can switch by changing the firmware boot order. One drive works too, by shrinking the Windows partition to free unallocated space for Linux.
Why do I have to disable Fast Startup for a dual boot?
Fast Startup hibernates the Windows kernel instead of shutting down fully, which leaves the Windows file system in a locked, in-use state. If Linux then writes to that partition, the file system can be corrupted, so Fast Startup is turned off before installing Linux.
How much disk space does Linux need for a dual boot?
At least 30GB, or 30000MB, gives a desktop distribution such as Ubuntu or Linux Mint room for the system, updates, and applications. Free the space by shrinking the Windows partition in Disk Management and leaving it unallocated for the Linux installer.
Does Ubuntu or Linux Mint work with Secure Boot enabled?
Yes. Ubuntu and Linux Mint ship signed boot files, so Secure Boot can stay enabled for them. Some smaller distributions are not signed and need Secure Boot disabled in the firmware, so check which one you are installing before you start.
What does GRUB do in a dual boot?
GRUB is the boot menu that Linux installs. It loads at startup, detects both operating systems, and lists Linux and Windows so you can choose which one to start. You can set which entry is the default and how long the menu waits before booting it.


