Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Install Linux from Windows: Dual Boot Guide

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can install Linux alongside Windows on the same computer, and the most reliable way is to create a dual-boot setup. This lets you choose which operating system to start each time you turn on your PC. You'll need a USB drive (8 GB or larger), a Windows PC with enough free disk space (at least 20 GB), and about 30 minutes of time. The process involves creating a bootable USB, shrinking your Windows partition, and running the Linux installer.

What You'll Need

  • A USB flash drive (8 GB or larger) – this will be erased.
  • An ISO file of a Linux distribution (Ubuntu, Linux Mint, or Fedora are good choices). Download from the official website.
  • A Windows PC with at least 20 GB of free space on the drive where Windows is installed.
  • Software to write the ISO to the USB: Rufus (recommended) or Etcher (both free).
  • Backup of important files – just in case.

Step-by-Step

  1. Back up your data. Even though dual-booting is safe, things can go wrong. Copy important files to an external drive or cloud storage.
  2. Download the Linux ISO. Go to the official website of your chosen distribution (e.g., ubuntu.com, linuxmint.com, getfedora.org) and download the desktop ISO file.
  3. Create a bootable USB drive. Plug in your USB drive. Open Rufus (download from rufus.ie). Select your USB drive under “Device,” click “Select” to choose the ISO file, and leave the default settings (GPT partition scheme for UEFI, FAT32 file system). Click “Start” and wait for it to finish. This erases the USB drive.
  4. Shrink your Windows partition. Right-click the Start button and select “Disk Management.” Find your main Windows drive (usually C:), right-click it, and choose “Shrink Volume.” Enter the amount of space you want to give Linux (e.g., 50000 MB for ~50 GB). Click “Shrink.” Leave the unallocated space as is – the Linux installer will use it.
  5. Disable Fast Startup (recommended). In Windows, open Control Panel > Power Options > Choose what the power buttons do. Click “Change settings that are currently unavailable,” then uncheck “Turn on fast startup.” This prevents Windows from hibernating in a way that can cause issues with Linux.
  6. Boot from the USB drive. Restart your computer. As it boots, press the key to open the boot menu (common keys: F12, F10, Esc, or Del – the key appears on the first screen). Select your USB drive from the list. If you don't see it, you may need to enter the BIOS/UEFI settings and change the boot order, or disable Secure Boot temporarily (see Troubleshooting).
  7. Try Linux (optional). The USB will boot into a live environment. You can click “Try Ubuntu” (or similar) to test it without installing. This is a good way to check that Wi-Fi and graphics work.
  8. Run the installer. Double-click the “Install” icon on the desktop. Choose your language, keyboard layout, and whether to install third-party software (recommended for Wi-Fi and graphics drivers).
  9. Choose installation type. When asked, select “Install Linux alongside Windows” (or “Something else” if you want manual control). The installer will detect the unallocated space and use it automatically.
  10. Set up your user account. Enter your name, a username, and a strong password. Choose whether to require the password to log in.
  11. Install and reboot. Click “Install Now” and confirm the changes. The installation takes 10–20 minutes. When done, remove the USB drive and press “Restart.”
  12. Choose your OS. After restarting, you'll see a boot menu (GRUB) listing Linux and Windows. Use the arrow keys to select one and press Enter. Linux will be the default.

Common Mistakes

  • Not shrinking the partition first. If you skip Step 4, the installer may not offer the “alongside Windows” option, or it may use the whole disk. Always create free space beforehand.
  • Choosing the wrong USB drive in Rufus. Double-check the device letter – you could erase your external hard drive instead of the USB stick.
  • Forgetting to disable Fast Startup. This can cause Linux to have trouble mounting Windows partitions, and sometimes causes boot issues.
  • Selecting “Erase disk” in the installer. This wipes Windows. Always choose “Install alongside” or “Something else.”
  • Installing in BIOS mode when Windows is UEFI. If Windows is installed in UEFI mode (most modern PCs), Linux must also be installed in UEFI mode. Rufus defaults to GPT/UEFI, which is correct, but if you changed it, you could end up with a boot problem.

Tips

  • Start with a beginner-friendly distro. Ubuntu, Linux Mint, or Zorin OS are well-supported and have large communities for help.
  • Keep Windows and Linux updates current. After installation, run “sudo apt update && sudo apt upgrade” (Ubuntu/Mint) or the equivalent to get the latest fixes.
  • Use a separate home partition (optional). If you plan to reinstall Linux later, a separate /home partition preserves your files. The installer's “Something else” lets you set this up, but it's not necessary for beginners.
  • Learn to access Windows files from Linux. In Linux, your Windows partitions appear under “Devices” or “Other Locations.” You can read and write to NTFS drives by default.
  • Change the default boot order. If you want Windows to boot first, edit the GRUB configuration file (or use a tool like Grub Customizer). But it's fine to keep Linux first.

Troubleshooting

Computer doesn't boot from the USB drive

  • Check the boot menu key – it varies by manufacturer. Try F12, F10, Esc, or Del.
  • If the USB doesn't appear, enter the BIOS/UEFI (usually by pressing F2 or Del during startup) and look for “Boot Order.” Move the USB to the top.
  • If you see “Secure Boot” enabled, try disabling it temporarily. Many Linux distributions work with Secure Boot, but some do not. You can re-enable it after installation if needed.

Linux installer doesn't offer “Install alongside Windows”

  • You likely didn't shrink the Windows partition. Go back to Windows, open Disk Management, and shrink the C: drive to create unallocated space.
  • If you already did, the unallocated space might be too small. The installer needs at least 10 GB.

After installation, Windows doesn't appear in the boot menu

  • This is rare, but if it happens, boot into Linux and run sudo update-grub in a terminal. This scans for other operating systems and adds them to the menu.
  • If that doesn't work, you may have installed Linux in a different firmware mode (BIOS vs UEFI). You'd need to reinstall with the correct mode.

Wi-Fi doesn't work in Linux

  • During installation, check the “Install third-party software” option – this often includes drivers.
  • After installation, connect via ethernet and run sudo ubuntu-drivers autoinstall (Ubuntu) or install additional drivers from the “Software & Updates” app.

Can't access Windows files from Linux

  • If Windows is hibernated (Fast Startup was on), Linux may refuse to mount the NTFS partition. Boot into Windows, disable Fast Startup, then shut down completely (Shift+Shutdown).

Frequently Asked Questions

Will installing Linux delete my Windows files?

No, if you choose “Install alongside Windows,” the installer uses only the unallocated space you created. Your Windows files remain untouched.

Can I uninstall Linux later?

Yes. Boot into Windows, open Disk Management, delete the Linux partitions (the ones you created – usually ext4 and swap), and then run bootrec /fixmbr from a Windows recovery command prompt to restore the Windows bootloader. This is advanced; back up first.

How much disk space should I give Linux?

At least 20 GB for a comfortable experience, but 50 GB or more is better if you plan to install many applications or keep large files.

Can I run Linux from the USB without installing?

Yes, most distributions offer a “Try” option in the live environment. This runs entirely from the USB and doesn't touch your hard drive. It's a good way to test compatibility.

Will Linux run faster than Windows?

On older hardware, Linux often feels snappier because it's lighter. On modern hardware, the difference is less noticeable, but Linux tends to use less RAM and no background telemetry.

Can I access my Windows files from Linux?

Yes, you can read and write to NTFS partitions. They appear in the file manager under “Other Locations” or “Devices.” Just make sure Windows is fully shut down (not hibernated) to avoid issues.