Want to delete Windows partition on a dual boot setup

The above is from an older post, but I wanted to give it it’s own topic so it’s a new question.

I’m looking to delete the Windows partition from a laptop with a dual-boot setup. According to a video I found on how to do this with Ubuntu (reference: A Guide to Switching to Linux | Ubuntu Edition - Part 6 (Removing Windows) - YouTube) using gparted.

I tried this so I installed gparted via the terminal on the installation flash drive of my Mint installer. Following the video instructions, I was able to choose to delete the Microsoft Reserve partition, but the Basic data partition could not be deleted because the trash icon was greyed I then discovered it needed to be unmounted (strange because I’m booted on the installation USB at the moment).

The next step was to choose the ext4 partition and resize it. The video showed the area able to be expanded from half the resize bar to the full area. My situation had the bar at the full available area without the means to expand. With the Windows partitions unmounted and “deleted” (knowing I haven’t committed to resizing yet), I’m not sure why I cannot resize. I did go back a step and see that the Windows partition could be reformatted as ext4, but then I choose to delete and it came up again as 28GB of unallocated space. The resize option for the ext4 Linux partition still cannot be expanded to take up the full space of the HD.

The photo above is the resize options available when I open the dialog. It should match the above setup.

Someone on chat group I’m part of wondered if it was a legacy system on the partition as that apparently can have an effect with gparted. This laptop is a brand new HP 14" machine, very basic, but would definitely have a current Windows 10 installation in it.

I have double-triple-checked and the Windows partitions are unmounted and “deleted”. Yet I do not get “unassigned” space to expand the Linux partition. I don’t understand this, and there’s no clue in the gparted interface.

I wondered about another option…I found your statement above about running Disks to delete the partitions. Okay, I went back to the live Linux boot and found that, and there are my partitions.

1 - EFI System, obvious no.
2 - Microsoft Reserved, yes
3 - Windows NFTS, yes
4 - Linux Filesystem, most definitely no
5 - Windows Recovery environment, yes

Would it really be as simple as selecting 2, 3, and 5 and choosing “-” to delete and then resizing partition 4 to the full area?

This is my “test” laptop that I used to set up Linux the first time. We learned how to do this on this small laptop before we did it on my wife’s HP Envy (successfully!), so I’m learning how to delete the partition here before I do it on the Envy “for real”.


I figured out why it wasn’t able to be resized. I didn’t think about unmounting the linux partition. I was associating unmounting with deletion. I unmounted the linux partition and now the full ability to change is there.

Now I will backup the data from the Linux partition and do a real attempt.


Generally, when you attempt to do anything on any filesystem, such as resizing, compressing, encrypting, drive-mirroring, checking, and repairing, you always need to unmount that partition or drive. This is why the Live USB is so important, as it allows the system to focus on a different partition and leave your main system one unlocked for you to work on.

1 Like

All part of the learning process. I successfully got it done last night on the “test laptop”. We’ll do the main HP Envy in the next couple days when my wife has verified that all her files are moved over to the Linux side, and we back up the Home folder on the external drive.


I just found this thread and it’s exactly what I need to do. I deleted the windows partition, but now how to I unmount it? Do I use the original linux USB I created for the first installation and boot from that?

Here is the screen shot of GParted…I want to have Linux use the majority of space.

Hey, Nancy!
The way to go is to select your Linux partition and resize it to cover all the unalocated space that comes in before it. However, when you’re running your system, you can’t unmount the drive. You’ll need to boot from Mint’s Live USB and run GParted from there. Once you do, you can select your Linux Mint partition and under right-click or the Partition menu, you can choose to Resize/Move.
The image that will pop will be similar to the one below:
At that point, you can drag the size of your partition to cover the full bar. Then hit the Resize/Move button to close the window. Then, on the main window, hit the check mark (the last icon on your top toolbar) to apply the changes. :slight_smile:

Thank you Vasileios! It worked perfectly.

1 Like

That is great to hear! Great work! :slight_smile: