How To Clean Install Windows 11 On A Dual-Boot System With Linux

Installing Windows 11 on a dual-boot system alongside Linux can enhance your computing experience by allowing you to use both operating systems on the same machine. This guide provides step-by-step instructions to perform a clean installation of Windows 11 without losing your existing Linux setup.

Prerequisites and Preparations

  • Backup important data from both Windows and Linux systems.
  • Ensure your PC meets Windows 11 hardware requirements.
  • Download the Windows 11 ISO from the official Microsoft website.
  • Create a bootable USB drive with Windows 11 using tools like Rufus.
  • Free up sufficient disk space for Windows 11 installation.
  • Identify the Linux partition to avoid overwriting it.

Preparing the System

Before installing Windows 11, disable Secure Boot in your BIOS/UEFI settings if necessary. Also, ensure that the UEFI mode is enabled for compatibility. Backup your Linux bootloader (GRUB) to restore it later if needed.

Installing Windows 11

Insert the bootable Windows 11 USB drive and restart your computer. Boot from the USB device by selecting it from the boot menu or adjusting the boot order in BIOS/UEFI settings.

Follow the on-screen prompts to begin the Windows 11 installation process. When prompted for installation type, select “Custom: Install Windows only (advanced)”.

Choose the partition where you want to install Windows 11. Format this partition if necessary, but ensure you do not overwrite your Linux partitions. Proceed with the installation.

After installation completes, your system will reboot into Windows 11. Complete the initial setup and install all necessary updates.

Restoring the Linux Bootloader

Installing Windows overwrites the GRUB bootloader with the Windows Boot Manager. To restore access to Linux, boot from a Linux live USB or CD.

Open a terminal and reinstall GRUB. For example, on Ubuntu-based systems, run:

sudo grub-install /dev/sdX

Replace /dev/sdX with your Linux drive (e.g., /dev/sda). Then, update GRUB configuration:

sudo update-grub

Final Checks and Tips

Reboot your system. You should see the GRUB menu allowing you to select between Linux and Windows 11. Ensure both operating systems boot correctly.

Keep your system updated and back up your bootloader configuration regularly to prevent future boot issues.