How to uninstall ubuntu and grub from pre-installed windows 8?

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!


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

http://www.eightforums.com/tutorials/2855-system-repair-disc-create-windows-8-a.html

http://social.msdn.microsoft.com/Forums/en-US/samsungpcgeneral/thread/e7ed293e-b565-44ee-a536-166dddf32205/

http://www.ghacks.net/2012/11/01/how-to-create-a-windows-8-system-repair-disc/

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.