Many users install Linux alongside Windows 11 in a dual-boot configuration to try a different operating system or for development purposes. In a dual-boot setup, both systems share the same computer but run from separate partitions, and a bootloader (usually GRUB) allows you to choose which operating system to start.
However, if you decide to return to using only Windows, you may want to remove Linux completely from the system. Simply deleting Linux files is not enough because Linux uses its own disk partitions and bootloader. To fully remove it, you need to delete the Linux partitions and restore the Windows bootloader.
In this guide, we will walk you through the steps to completely remove Linux from a dual boot with Windows 11.
How to Completely Remove Linux From a Dual Boot With Windows 11
Follow the steps below to remove Linux and restore Windows as the only operating system.
1. Boot Into Windows 11
Before making any changes, ensure that you are currently running Windows.
- Start your computer.
- When the boot menu appears, select Windows 11.
- Log in to your Windows account.
All changes should be performed from within Windows.
2. Delete Linux Partitions Using Disk Management
Linux partitions are not readable by Windows, but they can still be deleted.
- Right-click the Start button.
- Select Disk Management.
- Locate the partitions used by Linux. These often appear as:
- Unknown partition
- Healthy (Primary Partition) without a drive letter
- Ext4 or Linux filesystem
- Right-click the Linux partition.
- Select Delete Volume.
- Confirm the deletion.
- The space will now appear as Unallocated.
Repeat this process for all Linux partitions.
3. Extend the Windows Partition
After deleting Linux partitions, you can reclaim the unused space.
- In Disk Management, locate the Unallocated space created after deleting Linux.
- Right-click your Windows partition (usually C:).
- Select Extend Volume.
- Follow the Extend Volume Wizard.
- Add the unallocated space to the Windows partition.
- Click Finish.
Your Windows partition will now use the reclaimed disk space.
4. Restore the Windows Bootloader
If your system previously used the GRUB bootloader, you may need to restore the Windows bootloader.
- Press Windows + S and search for Command Prompt.
- Right-click Command Prompt.
- Select Run as administrator.
- Enter the following commands:
bootrec /fixmbr
bootrec /fixboot
bootrec /rebuildbcd
- Press Enter after each command.
These commands restore the Windows bootloader and remove GRUB.
5. Restart and Verify the Changes
After completing the process, verify that Linux has been removed.
- Restart your computer.
- Confirm that the GRUB boot menu no longer appears.
- Windows 11 should start automatically.
- Open Disk Management to confirm that Linux partitions are gone.
Your system should now run Windows 11 as the only operating system.
Conclusion
Removing Linux from a dual-boot system requires more than deleting files. Since Linux uses separate partitions and a different bootloader, you must delete the Linux partitions and restore the Windows bootloader to complete the process.
By booting into Windows, deleting Linux partitions in Disk Management, extending the Windows partition to reclaim space, restoring the Windows bootloader, and verifying the changes after restarting, you can completely remove Linux from a dual boot with Windows 11 and return your computer to a single-OS setup.