0

First of all, I'm sorry if this specific question has been addressed, but I couldn't find all of the details I needed in other questions.

I have Windows 10 installed on my C drive and Ubuntu LTS installed on my D drive. I want to uninstall Ubuntu LTS from my D drive as this is not my main computer anymore.

From my understanding, I believe I can delete the partition on the D drive going through disk management in Windows? However, there are also files on my D drive that I don't want to lose. How can I ensure I don't lose any important files when I uninstall Ubuntu?

Thanks for any of the help, and I apologize if this answer can be found elsewhere.

Edit: Some additional details I forgot to mention are I'm not trying to reinstall Windows onto the D drive, but just trying to delete Ubuntu off of it. Also, the D drive doesn't show up on my computer when I'm logged into Windows, but I believe it shows up under disk management as Disk 1. In disk management, there are two partitions, one that is about 250 megabytes and another that is around 370 gigabytes. I could delete the 250-megabyte partition as I believe that is the Ubuntu LTS OS? I just don't want to accidentally delete any of the other data on the drive as well.

1 Answers1

0

The basic steps will be:

1 - Copy files from your D drive to somewhere that won't be deleted 2 - Delete and repartition your drive to be a single drive again, (you will need repartitioning software for this and as far as I know it is not supported under Windows without third party software. I'd suggest Gparted here to do this (make a USB stick with it, boot from there and repartition. 3 - Boot back into windows and confirm it worked.

Note: Repartitioning used to be considered dangerous, as with all things it pays to have a backup, though this is fairly safe these days, there's still a chance.

Hope that helps.