Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have Windows 7 and Ubuntu 12.10. I installed Ubuntu 12.10 onto my USB. But on boot, even though my USB is not in the computer, I still have the option to select Ubuntu. When I select Ubuntu, I can not boot into it as the USB is not in.

How can I remove/uninstall Ubuntu 12.10 from my computer completely?

share|improve this question

To remove the Ubuntu boot loader, you have to boot from the Windows 7 Installation Disk (or a bootable USB drive) and click on the Repair your computer link in the bottom left corner. After this, select your Windows 7 installation and click Next, then select Command prompt. After this, type the following commands:

bootrec /fixmbr
bootrec /fixboot

This will restore the Windows 7 boot loader and remove Ubuntu from startup.

To completely remove the Ubuntu installation, you can remove the partitions that Ubuntu used with Disk Management. To open it, open the start menu and type diskmgmt.msc and hit enter. This will show all the partitions on your disks, and you can remove the ones that were used by Ubuntu (they have no filesystem recognized) and create new partitions for Windows if necessary (or extend the current partitions). Here's a small tutorial on Disk Management.

share|improve this answer
  1. Connect your USB disk
  2. Boot on your Ubuntu
  3. Install and run Boot-Repair
  4. When asked if the disk is removable, answer Yes
  5. Click the Recommended Repair button
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.