FIXONIC
SellSavedMy Fixonic
Official iFixit API visual reference

How to Install Linux on a Windows PC

Follow this guide to replace Microsoft Windows...

iFixit Library Linux Easy 30 minutes - 2 hours Guide 196722
Open the authorised source
Licensed iFixit integration

This attributed iFixit guide is displayed through Fixonic's recorded commercial API permission. iFixit remains the independent source and author of the procedure.

Guide overview

Before you begin

Follow this guide to replace Microsoft Windows 7, 8, 8.1, 10, or 11 with a modern Linux operating system on a desktop or laptop PC. Linux isn't itself an operating system, but the foundation of one. Popular Linux-based operating systems include Fedora, Linux Mint, OpenSUSE, and Universal Blue (Bazzite is popular with gamers). Some have multiple desktop environment options, which changes how they look and feel. KDE is what’s used on the Steam Deck, GNOME feels more like MacOS, and Xfce is optimized for slower hardware. You'll need to pick a desktop environment and operating system before starting this guide. All the aforementioned examples are excellent for general use. We highly recommend backing up all important data before beginning this guide. A tool like Clonezilla is useful for creating a full disk image to restore to easily. Download their "stable" .iso file and follow this guide's section on creating a bootable USB to use it.

Step 1

Connect a USB drive

  • Connect a USB flash drive with at least 16 GB of capacity to the fastest available port on the computer.
  • Check the size requirements for the operating system you chose—some require only 4 GB.
  • Use a USB 3 drive connected to a USB 3 port for faster installation. USB 3 ports are usually colored blue and/or labeled SuperSpeed (SS).
Step 2

Download the operating system

  • If you picked Fedora Linux, skip this step. It'll be downloaded automatically later.
  • Download your desired operating system from its respective website.
  • This example shows Linux Mint. Its desktop environment options are Cinnamon, Xfce, and MATE. Pick the one you like best and press Download.
  • If given the option, pick x64 instead of x32 if your device is newer than 2006. Additionally, pick x86 if your processor is made by Intel or AMD, and pick ARM if it's a Qualcomm Snapdragon.
  • Some operating systems, like Linux Mint, provide regional download mirrors. The file is identical for each. Pick the one that matches your region or preference.
  • Download or copy the SHA‑256 checksum. This will be used to verify the file after downloading.
Step 3

Verify the download

  • To ensure the file downloads correctly, the operating system's website will provide a checksum for each disk image (.iso) file. This is how it's verified.
  • Navigate to 7‑Zip.org and download the compatible version of 7‑Zip.
  • Open the downloaded file and click Install.
  • Right-click the .iso file downloaded in the last step and select 7‑Zip → CRC SHA → SHA-256 to calculate its checksum.
  • Validate the file's checksum against the reference on the operating system's website.
  • Compare file names to find which checksum to compare.
  • Ensure the checksums match perfectly.
  • If they don't match, re-download the file or download from a different mirror (if available).
Step 4

Shrink existing Windows install (optional)

  • We recommend skipping this step and erasing Windows unless you need it for specific programs.
  • In Windows, open Disk Management. Right click the Start Menu and select it, or type "Create and format hard disk partitions" in the Windows search bar.
  • If you have multiple drives, check the contents of each in the This PC section of File Explorer and note their capacity and model. Right‑click each drive and click Properties then Hardware. This helps prevent picking the wrong drive later.
  • In Disk Management, right‑click the partition labeled C: and select Shrink Volume.
  • Enter how much you want to shrink the existing Windows installation in MB. To convert GB to MB, multiple by 1,024. For example, 30 GB = 30,720 MB.
  • Select Shrink and wait for it to process.
  • Once complete, a new Unallocated partition will appear on the drive. This is where you'll install the Linux operating system.
Step 5

Create a bootable USB

  • This step will erase and overwrite the chosen USB drive with the operating system installer. Unplug all USB drives with important data for safety.
  • Download and install Fedora Media Writer. Click the file ending in .exe. The ones ending in .dmg are for MacOS.
  • Launch Fedora Media Writer.
  • If you're using Fedora Linux, choose Download automatically. If you're using anything else, choose Select .iso file to use the operating system you downloaded previously.
  • Select the .iso file by clicking the Select... button and choosing it in the File Explorer window that pops up. If you're using Fedora Linux, pick the version you want from the menu.
  • Select the USB drive you want to be erased and have the operating system written to.
  • Double-check everything is correct, then select Write. A window will pop up asking to confirm. Select Write to erase the chosen drive and write the operating system installer to it.
  • Wait for the installer to be written to the USB drive, then select Finish.
Step 6

Enter BIOS

  • To boot from the USB drive, you need to enter the BIOS.
  • If you're using Windows 7, restart the computer and repeatedly press Delete, Escape, F2, or the key specific to the device. Skip the remainder of this step.
  • Open the Settings app and navigate to Update & Security → Recovery then select "Restart now" under Advanced startup.
  • You can also hold the Shift key while clicking Restart in the Start Menu.
  • In Advanced startup navigate to Troubleshoot → Advanced Options → UEFI Firmware Settings. This will reboot the computer into the BIOS.
Step 7

Configure BIOS

  • This step shows the BIOS of a modern Lenovo ThinkPad. Every BIOS looks a little different, but the process should be similar. Use the arrow keys to navigate and press "Enter" to select items. Some can also be controlled with a mouse.
  • Some Linux operating systems require disabling Secure Boot to install. Try booting from the USB drive first, and if it doesn't work, enter the BIOS again and disable Secure Boot. For additional tips, check out this article.
  • In the BIOS, select Startup then/or Boot.
  • Look for an option like “Boot order” or “Boot override” and select the USB drive. If you can't select it, move it to the top of the boot order list then Save & Exit.
Step 8

Configure the installer

  • The installer will erase the data on the drive or partition you select. Be careful not to accidentally pick a partition with important data on it. If you're not sure, compare the disk options here to those from this step.
  • Every Linux operating system has a slightly different installation process, but are configured in a similar way. This example was made using a Fedora Workstation 42 Live installer.
  • "Live" Linux installers can run the operating system directly off the USB drive. If you're using one, take it for a test drive to ensure it's what you expect. Don't judge system performance until it's installed on the computer.
  • If you're running a Live operating system, select Install [operating system] to install it to the computer.
  • Select the disk or partition to install the operating system to. Check the capacity and drive name carefully.
  • Some installers give you the option to resize the disk's partitions before proceeding. Select whether to share the disk with existing Windows partitions or use the entire disk. Be careful not to accidentally delete a partition with important data on it.
  • Verify your choices in the Review menu, then click Install.
  • Wait until the installation is complete.
Step 9

Boot into the new operating system

  • Shut down the computer and remove the USB drive.
  • Turn the computer on.
  • Select the Linux operating system that was installed (above the "recovery" or "rescue" options).
  • Wait for the computer to boot.
Step 10

Set up the new operating system

  • Enter a name, username, password, profile picture, and anything else the setup requires.
  • Select privacy settings based on your needs and preferences.
  • Follow the remaining prompts to finish the setup process.
  • Restore the USB drive used for the installer back to normal with Fedora Media Writer for Linux.
  • If you're dual-booting and decide to remove Windows, delete its partitions (usually labeled NTFS) in your desktop environment's Disk Management equivalent. For example, GNOME has Disks or GParted and KDE has KDE Partition Manager. Extend your operating system's partition or create a new one to fill the unallocated space.