crwdns2933423:0crwdne2933423:0

How to Install Linux on a Windows PC

crwdns2942213:0crwdne2942213:0

  1. How to Install Linux on a Windows PC, Connect a USB drive: crwdns2935265:01crwdnd2935265:01crwdnd2935265:02crwdne2935265:0 How to Install Linux on a Windows PC, Connect a USB drive: crwdns2935265:01crwdnd2935265:02crwdnd2935265:02crwdne2935265:0
    • 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).

  2. How to Install Linux on a Windows PC, Download the operating system: crwdns2935265:02crwdnd2935265:01crwdnd2935265:03crwdne2935265:0 How to Install Linux on a Windows PC, Download the operating system: crwdns2935265:02crwdnd2935265:02crwdnd2935265:03crwdne2935265:0 How to Install Linux on a Windows PC, Download the operating system: crwdns2935265:02crwdnd2935265:03crwdnd2935265:03crwdne2935265:0
    • 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.

  3. How to Install Linux on a Windows PC, Verify the download: crwdns2935265:03crwdnd2935265:01crwdnd2935265:03crwdne2935265:0 How to Install Linux on a Windows PC, Verify the download: crwdns2935265:03crwdnd2935265:02crwdnd2935265:03crwdne2935265:0 How to Install Linux on a Windows PC, Verify the download: crwdns2935265:03crwdnd2935265:03crwdnd2935265:03crwdne2935265:0
    • 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).

  4. How to Install Linux on a Windows PC, Shrink existing Windows install (optional): crwdns2935265:04crwdnd2935265:01crwdnd2935265:03crwdne2935265:0 How to Install Linux on a Windows PC, Shrink existing Windows install (optional): crwdns2935265:04crwdnd2935265:02crwdnd2935265:03crwdne2935265:0 How to Install Linux on a Windows PC, Shrink existing Windows install (optional): crwdns2935265:04crwdnd2935265:03crwdnd2935265:03crwdne2935265:0
    • 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.

  5. How to Install Linux on a Windows PC, Create a bootable USB: crwdns2935265:05crwdnd2935265:01crwdnd2935265:03crwdne2935265:0 How to Install Linux on a Windows PC, Create a bootable USB: crwdns2935265:05crwdnd2935265:02crwdnd2935265:03crwdne2935265:0 How to Install Linux on a Windows PC, Create a bootable USB: crwdns2935265:05crwdnd2935265:03crwdnd2935265:03crwdne2935265:0
    • 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.

  6. How to Install Linux on a Windows PC, Enter BIOS: crwdns2935265:06crwdnd2935265:01crwdnd2935265:02crwdne2935265:0 How to Install Linux on a Windows PC, Enter BIOS: crwdns2935265:06crwdnd2935265:02crwdnd2935265:02crwdne2935265:0
    • 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.

  7. How to Install Linux on a Windows PC, Configure BIOS: crwdns2935265:07crwdnd2935265:01crwdnd2935265:03crwdne2935265:0 How to Install Linux on a Windows PC, Configure BIOS: crwdns2935265:07crwdnd2935265:02crwdnd2935265:03crwdne2935265:0 How to Install Linux on a Windows PC, Configure BIOS: crwdns2935265:07crwdnd2935265:03crwdnd2935265:03crwdne2935265:0
    • 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.

  8. How to Install Linux on a Windows PC, Configure the installer: crwdns2935265:08crwdnd2935265:01crwdnd2935265:03crwdne2935265:0 How to Install Linux on a Windows PC, Configure the installer: crwdns2935265:08crwdnd2935265:02crwdnd2935265:03crwdne2935265:0 How to Install Linux on a Windows PC, Configure the installer: crwdns2935265:08crwdnd2935265:03crwdnd2935265:03crwdne2935265:0
    • 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.

  9. How to Install Linux on a Windows PC, Boot into the new operating system: crwdns2935265:09crwdnd2935265:01crwdnd2935265:03crwdne2935265:0 How to Install Linux on a Windows PC, Boot into the new operating system: crwdns2935265:09crwdnd2935265:02crwdnd2935265:03crwdne2935265:0 How to Install Linux on a Windows PC, Boot into the new operating system: crwdns2935265:09crwdnd2935265:03crwdnd2935265:03crwdne2935265:0
    • 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.

  10. How to Install Linux on a Windows PC, Set up the new operating system: crwdns2935265:010crwdnd2935265:01crwdnd2935265:03crwdne2935265:0 How to Install Linux on a Windows PC, Set up the new operating system: crwdns2935265:010crwdnd2935265:02crwdnd2935265:03crwdne2935265:0 How to Install Linux on a Windows PC, Set up the new operating system: crwdns2935265:010crwdnd2935265:03crwdnd2935265:03crwdne2935265:0
    • 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.

crwdns2915888:0crwdne2915888:0

Congratulations! You've successfully installed a Linux operating system on a Windows PC.

Didn't go as planned? Try asking our Linux Answers Community for help.

crwdns2935229:07crwdne2935229:0

Nick Schultz

crwdns2935283:003/24/24crwdne2935283:0

36 005 crwdns2915208:0crwdne2915208:0

crwdns2935297:0224crwdne2935297:0

crwdns2947412:02crwdne2947412:0

Hey Nick,

Maybe think about doing this install without assuming users will want to dual-boot Windows. That adds a fair bit of complexity for the less technically inclined users out there. I'd recommend you do all of this install process assuming users will wipe their entire disk, and start fresh single-booting Linux on their systems.

Also, I'd recommend using, and recommending, Linux distros with Live ISOs that boot just fine with Secure Boot enabled; Fedora and Debian are two that do; there are no doubt others. This keeps readers from having to mess with the BIOS at all. That is, of course, assuming the BIOS UEFI will look for a bootable USB by default. Maybe show a screenshot of the boot selection frame.

Finally, take users through the actual install with screenshots, especially the installation disk selection part that you mention where they select to wipe their entire disk and do a default installation on it. Maybe warn them a second time that they will have needed to have backed up all of their data here.

john red horse - crwdns2934203:0crwdne2934203:0

Thanks for the feedback! I agree with the suggestion to discourage dual-booting, and have reworded the relevant step.

This guide works for most common Linux distros, which all have different installers and don't all work with Secure Boot. We're adding more distro-specific guides like How to Install Linux Mint that show the installation process in more detail and leave out unnecessary steps (like entering the BIOS, since Linux Mint supports Secure Boot).

Nick Schultz -

crwdns2917038:0crwdne2917038:0

crwdns2936625:0crwdne2936625:0:

crwdns2936751:024crwdne2936751:0 72

crwdns2936753:07crwdne2936753:0 547

crwdns2936753:030crwdne2936753:0 7,934

crwdns2942667:0crwdne2942667:0 7,937