Changing your Windows 10 system to Linux involves either dual-booting (running both operating systems) or replacing Windows entirely. Dual-booting lets you choose which OS to start, while a full installation erases Windows and uses Linux as the sole operating system.

Time 45 min · Steps 12 · Level Medium

Choosing Your Method: Dual Boot vs. Full Install

Deciding whether to dual-boot or perform a full installation depends on your comfort level and needs. Dual-booting is safer if you're unsure about Linux or want to keep Windows for specific applications. A full installation provides a cleaner Linux experience, eliminating Windows bloat. Before proceeding, back up all important data from your Windows 10 system, regardless of the method you choose.

Dual-Booting Windows and Linux

Dual-booting allows you to run both Windows 10 and your chosen Linux distribution alongside each other. You'll see a boot menu each time you start your computer, letting you select which operating system to launch. This is a good option if you want to test Linux without committing fully or need to occasionally use Windows-specific software.

Shrinking Your Windows Partition

Before installing Linux, you need to create free space on your hard drive. This is done by shrinking your Windows partition.
  1. Open Disk Management: Press Windows key + X, then select "Disk Management."
  2. Identify Your Windows Partition: Locate the C: drive (typically your Windows partition).
  3. Shrink the Partition: Right-click the C: drive and select "Shrink Volume."
  4. Enter Shrink Space: Enter the amount of space you want to allocate to Linux, in megabytes (MB). A minimum of 20GB is recommended, but 50GB or more is preferable for comfortable use. 1GB = 1024 MB.
  5. Shrink the Volume: Click "Shrink." This will create unallocated space on your hard drive.

Downloading and Creating Bootable Media

You'll need a USB drive (at least 4GB) to create bootable media for your chosen Linux distribution. Popular distributions include Ubuntu, Linux Mint, and Fedora.
  1. Download the ISO: Download the ISO image file for your chosen Linux distribution from their official website.
  2. Download a USB Creator: Download Rufus (rufus.ie) or BalenaEtcher (balena.io/etcher) to create the bootable USB drive.
  3. Run the USB Creator: Launch Rufus or BalenaEtcher.
  4. Select Your USB Drive: Choose your USB drive from the device list.
  5. Select the ISO Image: Select the downloaded ISO image file.
  6. Start the Process: Click "Start" (Rufus) or "Flash!" (BalenaEtcher) to create the bootable USB drive. This process will erase all data on the USB drive.

Installing Linux in Dual-Boot Mode

Now you're ready to install Linux alongside Windows.
  1. Boot from USB: Restart your computer and enter the BIOS/UEFI setup (typically by pressing Delete, F2, or F12 during startup - labels may differ by version). Change the boot order to prioritize your USB drive.
  2. Start the Installer: Boot from the USB drive and follow the on-screen instructions to start the Linux installer.
  3. Choose "Install Alongside Windows": When prompted, select the option to "Install alongside Windows" or similar wording. This will automatically partition the unallocated space.
  4. Configure Installation: Choose your desired settings, such as your username, password, and keyboard layout.
  5. Install the Bootloader: The installer will ask where to install the bootloader (usually GRUB). Accept the default option (typically /dev/sda).
  6. Complete the Installation: Follow the remaining on-screen prompts to complete the installation.
  7. Restart Your Computer: Once the installation is complete, restart your computer.
  8. Choose Your OS: You should now see a boot menu allowing you to choose between Windows 10 and your new Linux distribution.

Replacing Windows with Linux (Full Installation)

If you're comfortable erasing Windows entirely, a full installation provides a cleaner Linux experience.
  1. Back Up Your Data: This is crucial. A full installation will erase everything on your hard drive.
  2. Create Bootable Media: Follow the steps above to create bootable media for your chosen Linux distribution.
  3. Boot from USB: Restart your computer and enter the BIOS/UEFI setup. Change the boot order to prioritize your USB drive.
  4. Start the Installer: Boot from the USB drive and follow the on-screen instructions to start the Linux installer.
  5. Choose "Erase Disk and Install Linux": When prompted, select the option to "Erase disk and install Linux" or similar wording. This will erase your entire hard drive.
  6. Configure Installation: Choose your desired settings, such as your username, password, and keyboard layout.
  7. Install the Bootloader: The installer will ask where to install the bootloader (usually /dev/sda). Accept the default option.
  8. Complete the Installation: Follow the remaining on-screen prompts to complete the installation.
  9. Restart Your Computer: Once the installation is complete, restart your computer.

Troubleshooting Common Issues

If you encounter problems during the installation process, here are some common issues and solutions:

  • Boot Order Problems: Ensure your USB drive is set as the first boot device in the BIOS/UEFI settings.
  • Secure Boot Issues: Disable Secure Boot in your BIOS/UEFI settings. This is often required for Linux to boot correctly.
  • UEFI/Legacy Boot Mode: Ensure your BIOS/UEFI is configured to boot in the correct mode for your Linux distribution. Refer to the distribution's documentation for specific instructions.
  • Partitioning Errors: If you're dual-booting, double-check that you've created enough unallocated space for Linux.

How to Verify Successful Installation

After installation, verify that Linux is working correctly by checking the following:

  • Boot Menu: If dual-booting, confirm that the boot menu appears when you start your computer.
  • Network Connectivity: Ensure you can connect to the internet.
  • Hardware Recognition: Verify that all your hardware devices (e.g., sound card, graphics card) are recognized and working properly.
  • Software Installation: Install a few basic applications to ensure that the software installation process is functioning correctly.
Symptom Possible Cause Fix
Computer boots directly into Windows Boot order not set correctly in BIOS/UEFI Enter BIOS/UEFI setup and prioritize the USB drive or the Linux bootloader.
Installation fails with a disk error Damaged hard drive or partition table Run a disk check utility from a live Linux environment.
Graphics card not recognized Missing proprietary drivers Install the appropriate drivers for your graphics card.

Storage and Maintenance

Linux systems, like Windows, benefit from regular maintenance. Regularly update your system using the package manager provided by your distribution. Consider using a tool like BleachBit to clean temporary files and free up disk space. Back up your important data regularly to an external drive or cloud storage.

Disk Space Considerations

| Distribution | Minimum Disk Space (GB) | Recommended Disk Space (GB) | |---|---|---| | Ubuntu | 25 | 50 | | Linux Mint | 20 | 40 | | Fedora | 20 | 50 |

Official source: Ubuntu