How to Install Linux on Windows 11 with Step-by-Step Instructions

Share
A Windows 11 laptop showing the Linux installation process on screen.

If you want to run Linux on your Windows 11 PC, you can either set up a dual boot system or use the Windows Subsystem for Linux (WSL). Dual boot lets you install Linux alongside Windows and choose which one to start at boot. WSL lets you run Linux directly inside Windows without rebooting. This guide covers preparing Windows 11, choosing a compatible Linux distribution, detailed installation steps for both methods, configuring boot options or WSL, and common issues to avoid.

What do I need to prepare before installing Linux on Windows 11?

Before installing Linux, back up all important files to prevent data loss during partitioning or installation.

Check that virtualization is enabled in your BIOS or UEFI settings; this is required for WSL 2 to run properly.

Enable these Windows features via Control Panel or PowerShell with admin rights:

  • Windows Subsystem for Linux
  • Virtual Machine Platform

If you choose dual boot, disable Fast Startup in Windows power options to avoid locked partitions.

Also, review Secure Boot settings. Some Linux distributions boot fine with Secure Boot enabled, while others require disabling it. Check your distro’s documentation before changing this setting.

Finally, ensure you have sufficient free disk space and consider creating a separate partition for Linux if dual booting.

Which Linux distribution should I choose for Windows 11?

Choosing the right Linux distro affects compatibility and ease of use.

Ubuntu is a good choice for most users. It supports a wide range of hardware, has a large community, and installs easily.

Fedora offers newer software and features but updates more frequently, which might be less stable.

Debian is very stable but can feel less user-friendly initially.

For WSL, Ubuntu is recommended because it integrates well and is available in the Microsoft Store.

For dual boot, all three work, but check each distro’s support for UEFI and Secure Boot on Windows 11.

Consider your goals: if you want a smooth start with plenty of support, Ubuntu is a solid pick.

How to install Linux on Windows 11: step-by-step guide

Installing Linux with Windows Subsystem for Linux (WSL)

  1. Make sure virtualization is enabled in BIOS/UEFI.
  2. Open PowerShell as Administrator and run:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux -All -NoRestart
PowerShell (run as Administrator)
  1. Then enable WSL and Virtual Machine Platform features:
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
  1. Restart your PC.
  2. From the Microsoft Store, download your preferred Linux distribution (e.g., Ubuntu).
  3. Launch the Linux app and follow the prompts to create a user account.

Installing Linux in dual boot mode

  1. Back up your data and disable Fast Startup.
  2. Use Windows Disk Management to shrink your Windows partition and free space for Linux.
  3. Download the Linux distribution ISO and create a bootable USB drive.
  4. Restart your PC and boot from the USB.
  5. Follow the Linux installer steps, choosing "Install alongside Windows" or manual partitioning to set up Linux on the free space.
  6. Complete installation and reboot.

Configuring the bootloader after dual boot installation

Linux installers typically set up GRUB bootloader to let you choose the OS at startup.

If Windows boots directly without showing the boot menu, you may need to repair or configure GRUB from Linux or use Windows tools to adjust boot order.

For WSL, no bootloader configuration is needed since Linux runs inside Windows.

Terminal window on a Windows 11 laptop showing Linux subsystem installation commands.

What common mistakes should I avoid when installing Linux on Windows 11?

  • Skipping backups: Always back up important data before changing partitions or installing Linux.
  • Incorrect partitioning: Mistakes here can delete Windows partitions or data. Use tools carefully and double-check before applying changes.
  • Not enabling virtualization: WSL 2 requires virtualization enabled in BIOS/UEFI.
  • Disabling Secure Boot without checking: Some distros need it disabled, others don’t. Know your distro’s requirements.
  • Leaving Fast Startup enabled: This can lock Windows partitions, causing problems for dual boot access.
  • Choosing incompatible distros: Some Linux versions don’t support modern hardware or UEFI well, which causes boot issues.

Avoid these by preparing carefully, reading distro docs, and following steps patiently.

Conclusion

Now that you know how to prepare your PC, select a Linux distribution, and install it either alongside Windows 11 or via WSL, you can start using Linux safely. Take your time configuring your system and keep both Windows and Linux updated. If you encounter problems, revisit these steps or consult community resources for your specific setup.

Frequently Asked Questions

Can I uninstall Linux after installing it alongside Windows 11?

Yes. For dual boot, uninstall Linux by deleting its partitions and restoring the Windows bootloader. For WSL, uninstall the Linux distribution through Settings > Apps > Installed apps, or unregister it in PowerShell with wsl --unregister <distro>.

Will installing Linux affect my Windows 11 files?

If you follow the steps carefully, installing Linux alongside Windows won’t affect your Windows files. Still, back up important data before starting to avoid accidental loss.

Do I need to disable Secure Boot to install Linux on Windows 11?

It depends on the Linux distribution. Some support Secure Boot and work without disabling it. Others require Secure Boot to be turned off. Check your distro’s documentation before changing Secure Boot settings.

Is WSL better than dual boot for running Linux on Windows 11?

WSL is convenient for running Linux command-line tools inside Windows without rebooting, ideal for development or casual use. Dual boot offers a full Linux environment with direct hardware access, better for heavier Linux tasks or a dedicated Linux desktop.

Read more