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 am about to install ubuntu to dual-boot on my pre-installed windows 8 laptop. Before I do, I really need to know how to uninstall ubuntu safely if I don't like it, or if I have to for some reason. I've been searching for an answer to this, but I do not have any sort of windows 8 disc. At all. This laptop came with windows 8, and I have no way to repair anything or things like that.

So how would I go about uninstalling Grub and Ubuntu completely from my computer and restore the windows 8 boot manager with the circumstances that I'm in? I cannot find any solution except booting into the installation CD and repairing things - which I don't have.

share|improve this question
@TrailRider That was for windows 7 BIOS. I specifically said I do not have a recovery CD and I have preinstalled windows 8 (efi) – Ben Melz Sep 10 '13 at 0:04
Hopefully that question can be updated soon to cover this. But until it is, I agree; this shouldn't be closed a a duplicate of that question until it has an answer that might plausibly answer this. – Eliah Kagan Sep 10 '13 at 1:17
up vote 0 down vote accepted

Most instructions are for BIOS installs, but if you have pre-installed Windows 8 then you have an UEFI install.

With UEFI, grub does not overwrite Windows boot loader in efi partition but all boot loaders co-exist in efi partition as separate folders.

You need to first check that Windows will directly boot from UEFI menu. If you used tools to reconfigure dual booting or had a system that was not UEFI compliant and forced file renaming to dual boot then you may need to restore Windows efi file.

Best to have Windows 8 UEFI compatible repair flash drive. Windows 8 UEFI repair USB must be FAT32

Windows UEFI install should have backup of bootmgfw.efi here if needed: C:\Windows\Boot\EFI\bootmgfw.efi from a working Windows x86_64 installation.

Generally once you can directly boot Windows from UEFI menu, you have to edit UEFI menu to remove ubuntu entry with either UEFI or with command line efibootmgr. You will have to remove ubuntu folder from efi partition and maybe recovery partition if also copied there. Then you can delete Linux & swap partitions with your favourite Windows partition tools or gparted and use Windows partition editor to expand the Windows NTFS partition or reuse space as a NTFS data partition.

share|improve this answer

You can make a Recovery disk or USB in Windows 8 if you want to delete the Ubuntu partition. To create a recovery disk/USB, just search the word "recovery" in Windows 8's search function.

This step-by-step guide shows you how to remove the Ubuntu partition and fix the Windows 8 Boot Loader safely:

How to Uninstall a Linux Dual-Boot System From Your Computer

Good luck to you, hope this helped!

share|improve this answer
This was helpful, but may I ask - can I do the recovery disc with a flash drive? I am not currently at my house, and my laptop is a sleekbook - hence no CD/DVD drive. I will check later, but I would just like to know if you knew right now. – Ben Melz Sep 9 '13 at 20:14
Yes, you can create a recovery USB flash drive for Windows 8. Glad I could help! – Nullet Sep 9 '13 at 21:37

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.