Skip to main content
  1. Home
  2. Computing
  3. How tos

How to dual boot Linux and Windows

Add as a preferred source on Google
A person using a Linux laptop.
Image used with permission by copyright holder

Windows might be your bread and butter, but you can dual-boot it with Linux if you want to tinker, or play around with a wider range of open source software. Whether you're using Windows 10 or Windows 11, you can install a range of different Linux distributions as a secondary operating system to give you the best of both worls.

Here's how to dual boot Windows and Linux.

Recommended Videos

Difficulty

Moderate

Duration

10 minutes

What You Need

  • Two USB drives

  • Another PC with Windows installed

  • A blank hard drive in your PC

Person sitting and using an HP computer with Windows 11.
Microsoft

Start by installing Windows

The first step is to install Windows, assuming you're starting from scratch. We have a full guide on how to install Windows 11, so make sure to keep that handy if you need extra detail. For dual booting, the process is largely the same minus one key difference.

Instead of allowing Windows to take up all of the space on your hard drive, you'll allocate it a partition. If you have multiple hard drives for dual booting, you can allow Windows to take up the full space on your hard drive. This process works for Windows 10 and Windows 11, but we'll be using Windows 10 for our example.

If you don't have an extra Windows PC to create installation media, you can install Windows first before installing Linux (though you may need to fully defrag your hard drive to create a partition for Linux).

Step 1: With your spare PC, download the Windows Media Creation Tool and follow the steps to create installation media on one of your blank USB drives. Note: you may be asked to format the drive, which will remove all of the data.

Windows 10 media creation tool.
Mark Coppock/Digital Trends

Step 2: Leaving your installation USB drive plugged in, turn off your PC. Turn it back on and select the F12 on your keyboard rapidly while the computer boots. This will take you to a boot menu. Select your Windows USB drive and continue.

Step 3: Follow the steps for the Windows installer until you reach the What type of installation do you want page. Choose Custom: Install Windows only.

Windows 10 installation screen.
Image used with permission by copyright holder

Step 4: You need to create a partition on your hard drive. You'll likely see multiple partitions here unless you're using a brand-new hard drive. Assuming you want to start from scratch, delete the partitions (note: this will remove all the data on your hard drive, so make sure your hard drive is backed up).

Step 5: Select your hard drive and select New to create a new partition. Set how large you want the partition to be and confirm. This will be the total amount of space Windows has access to, and you'll need extra space to install Linux. We recommend splitting the empty space in half, allocating half to Windows and half to Linux.

Follow the remaining installation steps to finish.

A person using a Linux laptop.
Image used with permission by copyright holder

How to Install Linux

Installing Windows first is a good idea because it makes installing Linux much easier. If you already have Windows installed, you can still dual boot Linux, but you'll need to create a new partition on your hard drive.

We'll be using Ubuntu for our example, but the process is similar for most Linux distros.

Step 1: Download the latest version of Ubuntu and store it somewhere you can easily access. Grab your second blank USB drive and insert it into your computer.

Step 2: Download balenaEtcher and open it up. Select your blank USB drive and your Ubuntu image and run the software to create your bootable Linux media.

Etcher software running on Windows.
Image used with permission by copyright holder

Step 3: Keeping your Linux USB drive plugged in, restart your computer and rapidly press the F12 key to enter the boot menu. Select your Linux USB drive to boot into the installation screen.

Ubuntu installation screen.
Image used with permission by copyright holder

Step 4: You will be able to try or install Ubuntu, so if you're unsure about Linux, try out the OS first. It can run off of your USB drive, though with decreased performance. Once you're settled, select Install Ubuntu to continue.

Select your keyboard layout and language and opt for a Normal installation. Make sure to check both boxes under the Other options section on this screen.

Ubuntu installation options.
Image used with permission by copyright holder

Step 5: Ubuntu will automatically detect if you have Windows installed. Select Install Ubuntu alongside Windows 10 on this screen. The other option, Erase disk and install Ubuntu will remove Windows from your PC.

Step 6: If you started with a blank hard drive, you're done. Finish the installation and use the boot menu referenced above to choose which OS to boot into (select the hard drive partition you want).

If Windows is taking up the entire drive, you'll see a screen that allows you to allocate disc space to Ubuntu. Choose how much space you want to allocate and continue. We highly recommend creating a partition through Windows first, however, to avoid accidentally deleting data.

Most Linux distros will launch into a boot menu that allows you to select between Linux and Windows, but you may need to use the boot menu to choose which OS you want to load into.

How to dual boot Windows and Linux FAQ

Does dual boot slow down a PC?

No. Dual booting does restrict that quantity of storage space you have access to within each operating system, since you'll need to dedicate drive space to not only the operating systems themselves, but their respective services, drivers, and applications. However, when you're using either of the operating systems, you are not using the other one, so they don't slow down your PC at all.

How do I share files between Windows and Linux on a dual boot?

The same way you would share files between two different computers running Windows and Linux. You can use a flash drive or external hard drive to manually transfer files between the two installations -- the only difference is you don't have to unplug the drive. You could use a cloud storage provider for the same purpose, or set up a shared folder on a partition both operating systems can access.

Depending on the files you're transferring, there can be compatible issues, however, so consider the best way to transfer the data for your needs.

Jacob Roach
Former Lead Reporter, PC Hardware
Jacob Roach is the lead reporter for PC hardware at Digital Trends. In addition to covering the latest PC components, from…
If you miss the feel of paper in the digital age, this app gives your Mac’s screen a textured look
A paper-like screen overlay could make long work sessions feel less harsh.
Advertisement, Poster, Electronics

Most screen-comfort tools work by changing color temperature. Apple’s Night Shift makes the screen warmer, often giving everything an orange tint. Paperman is an interesting alternative because it adds a subtle paper-like texture over the display instead.

The app is available for Mac and Windows, and it is designed to make a screen look closer to paper, matte glass, or an e-ink display. It softens the harsh contrast and reduces the glossy look of modern screens during long reading or writing sessions.

Read more
I dug these last-hour Prime Day smart home, laptop, and accessory deals that are irresistible
Deals up to 60% off, a few hours left, and no reason to wait any longer.
Electronics, Phone, Speaker

Amazon's Prime Day 2026 sale is in its final hours, giving you your last chance to get your hands on the best smart home, security, tablet, laptop, and accessory deals. I've pulled together the picks that are still live, still deeply discounted, and still worth buying before the sale ends tonight or until the stock lasts.

Best Amazon Prime Day deals on smart home devices

Read more
Apple’s biggest MacBook Pro redesign in years may skip the chip everyone expected
The next MacBook Pro may bring OLED and touch support without M6 Pro silicon
MacBook Pro on Table

Apple is expected to launch a refreshed MacBook Pro later this year, but according to Bloomberg, it won't come equipped with a next-gen processor. Instead, Apple is going to equip the highly anticipated device with Pro and Max variants of the current-gen M5 silicon.

It was widely speculated that when the redesigned MacBook with an OLED display and touch-screen capability debuts, it will also mark the arrival of the M6 series processors. Well, it appears that Apple has changed its silicon strategy pretty significantly.

Read more