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.- Open Disk Management: Press Windows key + X, then select "Disk Management."
- Identify Your Windows Partition: Locate the C: drive (typically your Windows partition).
- Shrink the Partition: Right-click the C: drive and select "Shrink Volume."
- 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.
- 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.- Download the ISO: Download the ISO image file for your chosen Linux distribution from their official website.
- Download a USB Creator: Download Rufus (rufus.ie) or BalenaEtcher (balena.io/etcher) to create the bootable USB drive.
- Run the USB Creator: Launch Rufus or BalenaEtcher.
- Select Your USB Drive: Choose your USB drive from the device list.
- Select the ISO Image: Select the downloaded ISO image file.
- 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.- 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.
- Start the Installer: Boot from the USB drive and follow the on-screen instructions to start the Linux installer.
- Choose "Install Alongside Windows": When prompted, select the option to "Install alongside Windows" or similar wording. This will automatically partition the unallocated space.
- Configure Installation: Choose your desired settings, such as your username, password, and keyboard layout.
- Install the Bootloader: The installer will ask where to install the bootloader (usually GRUB). Accept the default option (typically /dev/sda).
- Complete the Installation: Follow the remaining on-screen prompts to complete the installation.
- Restart Your Computer: Once the installation is complete, restart your computer.
- 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.- Back Up Your Data: This is crucial. A full installation will erase everything on your hard drive.
- Create Bootable Media: Follow the steps above to create bootable media for your chosen Linux distribution.
- Boot from USB: Restart your computer and enter the BIOS/UEFI setup. Change the boot order to prioritize your USB drive.
- Start the Installer: Boot from the USB drive and follow the on-screen instructions to start the Linux installer.
- 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.
- Configure Installation: Choose your desired settings, such as your username, password, and keyboard layout.
- Install the Bootloader: The installer will ask where to install the bootloader (usually /dev/sda). Accept the default option.
- Complete the Installation: Follow the remaining on-screen prompts to complete the installation.
- 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