search
HomeSystem TutorialLINUXHow To Safely Remove Windows From Windows-Linux Dual Boot

In this Step-by-Step article, I'll show you how to safely remove Windows from a Windows-Linux dual boot system. I'll cover the steps involved in deleting the Windows partition, updating the boot loader, and troubleshooting any problems that might occur.

By the end of this article, you'll know how to uninstall Windows from your dual boot system without causing any damage to your data or your computer.

Table of Contents

Introduction

Dual booting Windows and Linux is a great way to get the best of both worlds. You can use Windows for your everyday tasks, like browsing the web, working on documents, and playing games. And you can use Linux for more specialized tasks, like programming, software development, and security research.

But what if you decide that you no longer need Windows? Maybe you're tired of the dual boot hassle, or maybe you've decided to switch to Linux full-time. Whatever the reason, it's important to know how to safely remove Windows from your dual boot system.

Why Remove Windows from Dual Boot?

Firstly and foremost, I appreciate your decision to remove Windows and keep Linux as the only operating system. Compared to Windows operating system Linux gives you full control and offers a lot of customizations.

Unlike Windows, there are a wide variety of distributions and desktop flavors in the Linux ecosystem. You have full control of system updates. You can choose which packages to be updated and you can do that at your preferred time.

Linux is more secure compared to Windows. Additionally can install a firewall or any other security-related solutions (Eg. UFW) to protect your linux operating system from malicious attacks.

Installing Windows on older hardware is practically not a preferred solution. However, there are lightweight Linux distributions that can be installed on older hardware and it will just work fine without any slowness or issues.

Linux stands as the preferred choice for mission-critical production workloads. Regardless of your job role, you'll encounter Linux servers, either physical or in the cloud. Gaining knowledge about Linux proves beneficial for both personal and professional purposes.

Backup your Important Data!

Before we dive into the step-by-step process of removing the Windows operating system from your dual-boot setup, you must back up your data. Though the Windows uninstallation process is simple, anything can happen and you might end up losing your important data.

So. it is very important to copy your personal files from both Windows & Linux operating systems to any cloud storage or external hard drive.

You can also use the "Timeshift" backup application to save a copy of your Linux system. This way, if anything unexpected happens, you can easily restore your Linux operating system.

Timeshift is an excellent system-level backup utility for Linux. We have a detailed article about Timeshift Backup application installation and usage in Linux and highly recommend you to use Timeshift to take a snapshot of your Linux system before moving to the next step.

My Demo Setup

I will use Windows 11 and Zorion OS dual boot setup for demonstration. The procedure will be the same for any system that uses EFI and GPT scheme.

I will be using the Gparted disk utility to remove Windows partitions. If your Linux operating system has no Gparted utility, you can install it by running any one of the following relevant command.

Debian/Ubuntu and its derivatives:

$ sudo apt update
$ sudo apt install -y gparted

Arch Linux and its variants:

$ sudo pacman -S gparted

RHEL and its derivative operating systems:

$ sudo dnf install gparted -y

Steps to Safely Remove Windows from a Dual Boot System

Step 1: Boot into Linux

Turn on your computer, and you will see the GRUB boot loader screen. Here, you can choose between the Windows and Linux operating systems. By default, the Linux operating system will be selected, so go ahead and boot into it.

How To Safely Remove Windows From Windows-Linux Dual Boot

Step 2: Remove Windows Partitions

Open the Gparted utility. The utility will show you the disk layout, file system type, mount points, and used/unused size, etc.

Here our focus is to delete the Windows partitions. Look out for partitions with FAT32 and NTFS as the file system type.

The following image shows my file system layout. I have four Windows partitions as listed below.

  • /dev/sda1 - Boot Partition
  • /dev/sda2 - Microsoft Reserved Partition
  • /dev/sda3 - C Drive
  • /dev/sda4 - Hidden Partition

How To Safely Remove Windows From Windows-Linux Dual Boot

Here I will remove all the partitions except the boot partition.

To delete a Windows partition, right-click on the partition and click "Delete".

How To Safely Remove Windows From Windows-Linux Dual Boot

Repeat the same step for deleting all the Windows partitions except the boot partition. I repeat do not delete Boot partition.

The GParted utility will keep a record of the delete operation but won't apply it to the disk just yet. You should notice a pending operation message at the bottom of the GParted utility.

How To Safely Remove Windows From Windows-Linux Dual Boot

To proceed with partition deletion and write the changes to the disk, click the "tick" icon from the menu bar.

How To Safely Remove Windows From Windows-Linux Dual Boot

You will be prompted with a confirmation message to apply the changes. Click "Apply".

How To Safely Remove Windows From Windows-Linux Dual Boot

Once the change is applied, a completion window will appear. Additionally, you can verify for any pending operations at the bottom of the GParted window.

How To Safely Remove Windows From Windows-Linux Dual Boot

Now you will have some unallocated space that can be used to expand existing linux partitions or create new linux partitions.

Step 3: Resize or Create New Linux Partitions

To create a new partition from the unallocated space, right-click on "unallocated partition" and click "New".

How To Safely Remove Windows From Windows-Linux Dual Boot

A window will pop up, asking you to input partition details such as size and file system type. You can enter the size in MiB or use the slider to adjust it. Once you've entered all the required information, click on "Add."

How To Safely Remove Windows From Windows-Linux Dual Boot

If you wish to resize an existing partition, right-click on the existing partition and click "Resize/Move" option.

How To Safely Remove Windows From Windows-Linux Dual Boot

After clicking on the partition you wish to resize, a window will appear, asking you to enter the desired size in MiB. Once you've entered the size, click on "Resize/Move" to proceed with the operation.

How To Safely Remove Windows From Windows-Linux Dual Boot

To make the changes take effect, simply click on the "Tick" icon located in the menu bar. This action will write the pending changes to the disk and apply your modifications successfully.

How To Safely Remove Windows From Windows-Linux Dual Boot

Step 4: Delete Microsoft Boot Loader Entry

Reboot the machine. You will still see the Windows boot loader entry in the GRUB menu. If you try to enter into Windows, you will encounter with the following error message.

How To Safely Remove Windows From Windows-Linux Dual Boot

The reason for this is that we haven't removed the Microsoft boot loader entry, which resides in the /dev/sda1 partition. To resolve this, manual cleaning is required.

Make sure you logged in to your Linux OS. Open the Terminal and execute the os-prober command to scan for available operating systems. As shown in the image below, the Windows boot loader is detected during this process.

How To Safely Remove Windows From Windows-Linux Dual Boot

All the boot files are saved under /boot/efi/UEFI. You can verify it using ls command:

How To Safely Remove Windows From Windows-Linux Dual Boot

Navigate to the /boot/efi/EFI/ directory using the command:

$ cd /boot/efi/EFI/

Then, delete the "Microsoft" directory along with all Windows-related files by executing the following command:

$ rm -rf Microsoft/

It's essential to double-check the path before deleting it to avoid any accidental deletions.

How To Safely Remove Windows From Windows-Linux Dual Boot

Step 5 - Update GRUB Bootloader

Execute the following command to reload the GRUB configurations, which internally utilizes the os-prober command to detect operating systems:

$ sudo update-grub

Alternatively, if you are the root user, you can use:

$ update-grub

By running this command, the GRUB bootloader will be updated with the latest configurations.

From the image below, you can see that no entries for the Windows operating system are found, indicating that it has been successfully removed from the boot menu.

How To Safely Remove Windows From Windows-Linux Dual Boot

After completing the process, simply reboot your machine. Upon restart, you will no longer see the Windows boot loader entry in the GRUB boot menu. The Windows operating system has been successfully removed from the boot menu.

How To Safely Remove Windows From Windows-Linux Dual Boot

Frequently Asked Questions (FAQ)

Q: Can I safely remove Windows from my Windows-Linux dual boot setup without losing data?

A: Yes, you can safely remove Windows without losing your Linux data by following the proper procedures as described in this guide and ensuring you have backups in place. Be cautious during the partition resizing and deletion steps to avoid any accidental data loss.

Q: Do I need any special tools to remove Windows from my dual boot setup?

A: Yes, you will need tools like GParted for partition management and Timeshift for creating backups. These tools will help you resize partitions, delete Windows-related files, and safeguard your Linux system during the process.

Q: Can I revert the changes if I decide to keep the Windows-Linux dual boot in the future?

A: If you make backups using Timeshift before proceeding with the removal, you can easily revert to the previous state if you decide to re-establish the dual boot setup later on. The backups will allow you to restore your system to its earlier configuration.

Q: Will removing Windows affect the GRUB boot menu?

A: Yes, removing Windows will impact the GRUB boot menu. After deleting Windows-related files and updating GRUB configurations, the Windows boot loader entry will no longer appear in the GRUB menu, leaving Linux as the sole operating system option.

Q: Is there a risk of damaging my system while removing Windows from the dual boot setup?

A: There is a risk involved in any system operation that modifies partitions and boot configurations. It is important to follow the steps carefully and double-check before executing any commands to avoid unintended consequences. Creating backups using Timeshift provides an added layer of safety.

Q: Can I still access my Windows files after removing Windows from the dual boot?

A: No. After removing Windows from the dual boot setup, the Windows partitions will be deleted, and you won't be able to access those files directly from Linux. If you need to access specific Windows files, it's best to back them up before starting the removal process.

Q: Does removing Windows from the dual boot setup improve system performance?

A: Yes, removing Windows from the dual boot setup can potentially improve system performance, as it allows Linux to utilize the entire resources of the system without sharing them with another operating system. This could lead to faster boot times and smoother overall performance.

Q: Can I re-install Windows after removing it from the dual boot setup?

A: Yes, you can reinstall Windows on the same machine after removing it from the dual boot setup. You would need to allocate space for a new Windows partition, perform the installation, and update the GRUB configurations to add Windows back to the boot menu alongside Linux. Please check our "Dual Boot" category for setting up Dual boot with various Linux distributions.

Q: Is it advisable to remove Windows from a dual boot setup if I'm new to Linux?

A: Removing Windows from a dual boot setup requires some technical knowledge and understanding of partition management. If you are new to Linux, it is recommended to proceed with caution and seek guidance from experienced users or tutorials to ensure a smooth process and avoid potential issues.

Conclusion

This article has guided you through a detailed, step-by-step process to safely remove Windows from your dual-boot configuration, leaving Linux as the sole operating system on your machine.

Congratulations on successfully uninstalling Windows from your dual boot system! You can now enjoy the full benefits of Linux without any of the hassle of dual booting.

Once you remove Windows, you'll free up a significant amount of disk space. This space can be used to store your Linux files, or you can use it to install other operating systems.

We would love to hear about your experience and any challenges you encountered during the removal process. Please feel free to share your feedback and insights in the comment box below.

Related Read:

  • How To Safely Remove Ubuntu Linux From Dual Boot Windows

The above is the detailed content of How To Safely Remove Windows From Windows-Linux Dual Boot. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
How does performance differ between Linux and Windows for various tasks?How does performance differ between Linux and Windows for various tasks?May 14, 2025 am 12:03 AM

Linux performs well in servers and development environments, while Windows performs better in desktop and gaming. 1) Linux's file system performs well when dealing with large numbers of small files. 2) Linux performs excellently in high concurrency and high throughput network scenarios. 3) Linux memory management has more advantages in server environments. 4) Linux is efficient when executing command line and script tasks, while Windows performs better on graphical interfaces and multimedia applications.

How to Create GUI Applications In Linux Using PyGObjectHow to Create GUI Applications In Linux Using PyGObjectMay 13, 2025 am 11:09 AM

Creating graphical user interface (GUI) applications is a fantastic way to bring your ideas to life and make your programs more user-friendly. PyGObject is a Python library that allows developers to create GUI applications on Linux desktops using the

How to Install LAMP Stack with PhpMyAdmin in Arch LinuxHow to Install LAMP Stack with PhpMyAdmin in Arch LinuxMay 13, 2025 am 11:01 AM

Arch Linux provides a flexible cutting-edge system environment and is a powerfully suited solution for developing web applications on small non-critical systems because is a completely open source and provides the latest up-to-date releases on kernel

How to Install LEMP (Nginx, PHP, MariaDB) on Arch LinuxHow to Install LEMP (Nginx, PHP, MariaDB) on Arch LinuxMay 13, 2025 am 10:43 AM

Due to its Rolling Release model which embraces cutting-edge software Arch Linux was not designed and developed to run as a server to provide reliable network services because it requires extra time for maintenance, constant upgrades, and sensible fi

12 Must-Have Linux Console [Terminal] File Managers12 Must-Have Linux Console [Terminal] File ManagersMay 13, 2025 am 10:14 AM

Linux console file managers can be very helpful in day-to-day tasks, when managing files on a local machine, or when connected to a remote one. The visual console representation of the directory helps us quickly perform file/folder operations and sav

qBittorrent: A Powerful Open-Source BitTorrent ClientqBittorrent: A Powerful Open-Source BitTorrent ClientMay 13, 2025 am 10:12 AM

qBittorrent is a popular open-source BitTorrent client that allows users to download and share files over the internet. The latest version, qBittorrent 5.0, was released recently and comes packed with new features and improvements. This article will

Setup Nginx Virtual Hosts, phpMyAdmin, and SSL on Arch LinuxSetup Nginx Virtual Hosts, phpMyAdmin, and SSL on Arch LinuxMay 13, 2025 am 10:03 AM

The previous Arch Linux LEMP article just covered basic stuff, from installing network services (Nginx, PHP, MySQL, and PhpMyAdmin) and configuring minimal security required for MySQL server and PhpMyadmin. This topic is strictly related to the forme

Zenity: Building GTK  Dialogs in Shell ScriptsZenity: Building GTK Dialogs in Shell ScriptsMay 13, 2025 am 09:38 AM

Zenity is a tool that allows you to create graphical dialog boxes in Linux using the command line. It uses GTK , a toolkit for creating graphical user interfaces (GUIs), making it easy to add visual elements to your scripts. Zenity can be extremely u

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor