PDF download Download Article PDF download Download Article

If you've decided that Ubuntu is no longer the right operating system for you, then you might be wondering how to go about deleting it from your system. Removing Ubuntu when it's the only operating system on your computer is fairly straightforward, but things get a little more complicated if you have Windows installed alongside it. Follow this guide to remove Ubuntu either way.

Method 1
Method 1 of 2:

Removing Ubuntu when Dual-Booting with Windows

PDF download Download Article
  1. This could also be labeled as a Recovery disc. If you don’t have an installation or recovery disc, you can create a recovery disc in Windows.
  2. In order to boot from your recovery disc, you’ll need to set your BIOS to boot from your CD/DVD drive. When the computer first starts up, press the BIOS setup key. This is typically F2, F10, F12, or Del. Navigate to the Boot menu and select your CD/DVD drive. Once you’ve selected it, save and reboot your computer.
    Advertisement
  3. From the Recovery Disc’s main menu, select the Command Prompt option. If you are using an Installation Disc, select “Repair your computer”, which should open the Command Prompt.
  4. Performing this command will remove the dual-boot option when you start your computer, and boot straight into Windows. Enter the following command at the Command Prompt:
    bootrec /fixmbr
  5. When you reboot, you should not see the option to select Ubuntu. Instead, you will be taken directly into Windows.
  6. Once in Windows, it’s time to get rid of the old Ubuntu installation and reclaim the hard disk space. Press Start, and the right-click on Computer/My Computer. Select Manage and then click Disk Management in the left frame of the Computer Management window.
    • In Windows 8, press the Windows key + X and select Disk Management from the menu.
  7. Right-click on your Ubuntu partitions and select Delete. Make sure that you are deleting the correct partition. Once the partition is deleted, it will become unallocated space. Right-click on your Windows partition and select Extend partition. Select the free space just created to add it to your Windows installation.[1]
  8. Advertisement
Method 2
Method 2 of 2:

Removing Ubuntu from a Single-Boot System

PDF download Download Article
  1. When Ubuntu is the only operating system of the computer, you can remove it by using an operating system install disc for any operating system. Once you’ve inserted it, restart the computer and boot from CD, as outlined in Step 2 above.
  2. Once you start the installation process for the new operating system, you are given the opportunity to create and delete partitions on your hard drive. Select your Ubuntu partition and delete it. This will return the partition to unallocated space.
  3. Once the partition is deleted, Ubuntu has been successfully removed from the computer. You can now install a new operating system such as Windows 7 or Windows 8.
    • If you choose not to install the operating system, your computer will be unusable until one is installed.
  4. Advertisement


Community Q&A

Search
Add New Question
  • Question
    What is wrong if I don't see my partitions while installing Windows?
    Community Answer
    Community Answer
    The Windows installer can't read the hard drive if this happens. You have to erase the drive using Gparted or the Ubuntu install media.
  • Question
    I can't do this. My Windows 10 is stuck and won't go past logo. Also when I insert a pen drive with the Windows installation media on it, the grub won't let me access the pen drive (USB). What do I do?
    Community Answer
    Community Answer
    Boot up a Ubuntu live CD install and go into try without installing, then when it has started up, go to parted, find the partition with Ubuntu on it and remove it, then reboot.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Tips

  • If you are dual-booting multiple Linux distros, you should boot into the one you wish to keep, and delete the Ubuntu partition from there. Then you will need to update/reinstall the GRUB or LILO boot loader. Asking how to do that on the support forum for the distro you wish to keep will solve that in no time for you.


Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement

You Might Also Like

Uninstall Windows 7 from Your ComputerUninstall Windows 7 from Your Computer
Uninstall Ubuntu Linux with OS UninstallerUninstall Ubuntu Linux with OS Uninstaller
Format a Linux Hard Disk to WindowsSimple Ways to Format a Linux Hard Disk to Windows
Uninstall WindowsUninstall Windows
Format a PC Format a PC: Reinstall Windows & Wipe Your Drive
Install Ubuntu Linux Without CD (Windows) Install Ubuntu Without an CD: Step-by-Step Tutorial
Reinstall Windows 7Reinstall Windows 7
Switch to UbuntuSwitch to Ubuntu
Format a Hard DriveFormat a Hard Drive
Install Windows from UbuntuInstalling Windows 10 or 11 on Ubuntu: A Step-by-Step Guide
Install Two Operating Systems on One ComputerInstalling Two Operating Systems on Your PC: Dual Boot Guide
Format a Laptop Hard DriveFormat a Laptop Hard Drive
Install a New Operating System on Your Computer Install a Different Operating System on a PC
Unpartition a Hard DriveUnpartition a Hard Drive
Advertisement

About This Article

wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 13 people, some anonymous, worked to edit and improve it over time. This article has been viewed 333,806 times.
How helpful is this?
Co-authors: 13
Updated: June 15, 2025
Views: 333,806
Categories: Ubuntu
Thanks to all authors for creating a page that has been read 333,806 times.

Is this article up to date?

Advertisement