0

So I've been using Ubuntu 19.04 for a while now, but I faced many issues because of which I want to remove it.

I had installed 19.04 once and removed it to reinstall it due to some issues then, but this time that procedure is not working.

The procedure was to delete the volume allocated for Ubuntu, but now when I open disk management, it shows the Ubuntu partition as a primary partition on my HDD. And between my windows D: partition and Ubuntu Partition, there is a 500 MB EFI file system that I have no clue about.

My laptop has a 128 GB SSD + 1 TB HDD. I had allocated 200 GB for Ubuntu. If I open diskpart and check the SSD and HDD, I find Ubuntu is present in both, how do I remove Ubuntu or solve this problem?

This is the disk management window. enter image description here

And I'm not able to delete my volume because the delete volume option is not there(not greyed out) as shown: enter image description here

This article is directly related to my other Ubuntu problem that I've posted on https://askubuntu.com/questions/1191871/grub-issue-with-ubuntu-19-04

Thank you

Mawg
  • 4,603

1 Answers1

0

The EFI System Partition (ESP) is a must, read this lengthy answer of mine for an explanation why.

If I open diskpart and check the SSD and HDD, I find Ubuntu is present in both

That's not what I see on your screenshots. Your SSD contains the ESP, main Windows partition and Windows recovery partition. HDD contains data partition, another ESP and Ubuntu root partition. I suppose the ESP on HDD was created by Ubuntu installer.

The Ubuntu partition (~200 GB) and ESP on HDD (~500 MB) can be deleted. You could do this from Windows using diskpart, but it's not very user-friendly. The easiest method would be to boot Ubuntu from USB and use GParted, which has a nice graphical user interface. It will also let you resize your data partition to fill entire HDD.

gronostaj
  • 58,482