I have 3 partitions on my computer they're dual-boot, Red Hat, Ubuntu & Windows 8. I want to get rid of Ubuntu and keep Red Hat & Windows 8. What would be the safest route to achieve my goal.


Df -h

  • This can be an easy task, but it really depends on your setup. Which boot loader are you using? Which partition is it installed on? Has each OS been installed on a separate partition? – Bananguin Dec 8 '15 at 8:59
  • I have separate partitions for each OS, but how do I know which partition is which? I don't want to delete the wrong one. So what i got from your reply is that I need to find the partition of my OS and just delete it? @Bananguin – Katz Dec 10 '15 at 3:14
  • It can be this easy, but it needn't be. That's why I asked many questions (the list is not exhaustive) to motivate you to tell us more about your set up. We cannot know which OS you put on which partition. You will have to find out. The command mount will be very helpful for this task. You have to boot into one of your Linuxes, mount all three partitions (one should be mounted as / already) and find out which partition shelters which OS. Then you need to find out which boot loader you are using, where it is installed and how it is configured, because we cannot tell. – Bananguin Dec 10 '15 at 8:39
  • @Bananguin does gparted help? If i were to to delete the windows partition would that get rid of it? Also where would all the left over GB would go to? does it automatically go to my primary partition or do I have to allocate it into my ubuntu? or red hat? – Katz Dec 12 '15 at 2:14
  • From the UI It looks like you are on your Ubuntu when obtaining this screenshot of Gparted -- if this isn't true then let me know because you have some clues in the screenshot already, just a little more is needed. What else is needed is can you run df -h and update your question to include this info, thanks – clarity123 Dec 12 '15 at 2:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.