I am trying to uninstall Ubuntu on a Windows 10 dual boot. I understand that I must delete the partitions holding Linux and the Linux swap, but do not know how to proceed to get rid of boot entry and GRUB.   I have read that I can use efibootmgr on a live version of Ubuntu to delete the Ubuntu entry, but I have also read that I can delete the Ubuntu folder in the EFI directory through Windows. Are these two methods the same or do I have to use both of them to completely erase traces of Ubuntu?  Thank you for your help.
122067
I have dual booted Ubuntu with Windows 7. I wanted to uninstall Ubuntu. So as per an answer for one of the related questions on this site I did the following:   Deleted the Ubuntu Partition through Windows. As per the answer now I was supposed to boot Windows from USB &amp; then do "repair startup".   But Windows could not find any problem hence nothing was done. So when my laptop booted normally (i.e. from HDD) it was showing some error like GRUB:/ unknown file system. I dont remember the exact words but it was something like this. Thus I couldn't boot windows neither Ubuntu. So again I had to install Ubuntu.  But now my question is how do I remove Ubuntu so that my laptop returns to the previous state of installing Ubuntu?  UPDATE: Seems that it wasnt on this site. My mistake :P .Here is the link
31239
I installed Ubuntu on a system that has Windows 10 installed. I can boot to Windows or Ubuntu normally using GRUB. I want to delete Ubuntu partition, but first I must restore the Windows 10 MBR.  In  (applies to Windows&nbsp;7 and Windows&nbsp;Vista) they say to use Bootrec.exe with options /FixMbr /FixBoot, but when I type "bootrec.exe /FixMbr" in a command prompt, Windows says:     'bootrec.exe' is not recognized as an internal or external command.   I say I can boot to Windows&nbsp;10 and run a command prompt from there (I don't need to use an installation medium), but I don't know what to enter.
84279
I have Ubuntu 10.04 on my computer, with Windows 7 next to it. Instead of upgrading to 10.10, I feel like doing a clean install. However, I don't want to erase my Windows, even though I barely ever use it. My question is: how would I remove Ubuntu 10.04 from my drive and install Ubuntu 10.10 in place, without losing any space or anything, or losing Windows 7?
116294
I'm attempting to install Ubuntu Linux alongside Windows 10 in a dual-boot configuration. However, my hard drive comes with four Primary partitions already created, as seen here in gParted:    Thus, I must remove a partition to allow for an extended partition, in which I can place my logical partitions for Linux. I'll shrink the Windows partition to create space.   I created a recovery USB drive using the HP Recovery Media Creation tool desktop app. Does this drive fully replace the functionality of either the WINRE or RECOVERY partitions? If so, can I safely remove either partition without messing up my Windows 10 installation in any way (including boot process), voiding any warranties, or preventing myself from restoring Windows 10 in the future? I know that holding Shift while clicking the Restart button will restart your computer into a special menu where you can change certain settings or boot from removable media (, step 4 in the article). Is this special menu reliant on either the WINRE or RECOVERY partitions? Is the computer in fact booting into one of these partitions to display this menu? What exactly are the purposes of these two partitions?   NOTE: I've read other questions regarding hard drives with four primary partitions already created. They don't resolve my issue, as they don't address the WINRE and RECOVERY partitions on a Windows 10 system specifically.
98113
I recently installed Ubuntu in dual boot along with Windows 10 on an HP laptop. Initially I was unable to boot up Windows using grub as selecting the Windows options would just loop back to grub.  Then I performed a boot repair, and all these extra options showed up in the grub menu.  I'm able to open up Windows using "Windows UEFI bootmgfw.efi" option, but not using the standard option of "Windows Boot Manager (on /dev/sda1).  How do I reduce these entries and why can't I boot Windows using the latter option?  Here's an image of grub. The first option is Ubuntu:
15018
I installed Ubuntu alongside Windows 8, however have decided to unisntall Ubuntu.  First I booted into Parted Magic and, using GParted deleted all the ext4 and swap partitions.  This leaves me with the same partitions I had before I installed Ubuntu:  /dev/sda1 ntfs WINRE_DRV /dev/sda2 fat32 SYSTEM_DRV (my UEFI partition) /dev/sda3 fat32 LRS_ESP /dev/sda4 unknown Microsoft Reserved Partition /dev/sda5 ntfs Windows8_OS /dev/sda6 ntfs LENOVO /dev/sda7 ntfs PBR_DRV   I expected deleting the partitions would be enough to remove Ubuntu and allow me to boot back into Windows 8, however whenever I boot I get the following error:  error: no such partition.   which is followed by GRUB rescue:  grub rescue&gt;   In my UEFI partition, there are two directories BOOT and EFI. In BOOT is a single file - boot.sdi. In the EFI directory are another two directories, BOOT and Microsoft. Inside BOOT are two files, bkpbootx64.efi and bootx64.efi. The Microsoft directory has a directory in it named Boot. Inside it are the normal Microsoft EFI files (as far as I can tell).  Thinking there were still GRUB files left, I ran find . -iname "*grb*" and find . -iname "*grub*" in the UEFI partition, however only found one empty file, bootx64.efi.grb (which I deleted).  How is GRUB still installed, and how can I uninstall it?  I'm pretty new to UEFI and so things may need explained in detail. The computer is a Lenovo IdeaPad Z580.  edit: I forgot to mention, I deleted the ubuntu folder in the UEFI partition.  edit 2: I managed to get back into Windows through a "System Recovery" option in the laptop's BIOS settings. This may or may not have solved the issue.  edit 3: okay, I can boot almost normally now. When I boot, I see No partition active for a couple of seconds then Windows boots. How can I remove that?
110966
I have a computer that dual boots Linux Mint, and Ubuntu, I am wondering what the best way would be to remove Linux Mint, then recovering the hard drive space that is resides in so that Ubuntu will be able to access it.
46497
I have a computer that dual-boots (or tri-boots) Windows 8 Release Preview, Windows 7, and Ubuntu 12.04. Grub boots between Windows 8 and Ubuntu; for which I use primarily. Recently, I decided to remove Ubuntu, as I hardly used it. I deleted the Ubuntu partition accidentally before replacing the Grub bootloader. Now, whenever I want to boot the machine, it gives me the "grub-rescue" prompt -- I am unable to boot into either Windows (8 nor 7), nor Ubuntu (except via USB, of course). I do not have any Windows 7/8 recovery media, so that isn't an option. Please note that after I deleted the Ubuntu partition, I put the PC into hibernate, and then turned it on. This means the C:\ [Windows 8] drive cannot be mounted. I don't know if that is bad, but it definitely doesn't make things better.  I am currently booting Ubuntu via USB, in an effort to restore the Windows bootloader. I have looked into using boot-repair to solve the problem using the instructions , although after attempting to apply the changes, it gave the error: "Please install the [mbr] packages. Then try again." I don't know why I'm getting this error; is there a way to install the 'mbr packages?' I honestly don't know what exactly they are, nor how to install them. Are there any other options I have not yet exhausted to be able to boot back into Windows, in the case that there is a better way? I want to set the bootloader to boot into Windows 8, but booting into either Windows 7 or 8 is fine (I can use EasyBCD from there). Is there a simple solution to this? I've checked BIOS, and I haven't been able to find a way to boot into Windows.
115370
I have two disks in my system:   Non-UEFI windows 10 install UEFI kubuntu 16.10   This system is my home server. I'm migrating from Windows to Kubuntu, but it will take a while since I can't yet duplicate the entire functionality. In the mean time I want to run dual boot so that I can run the server as was (windows) while I'm setting up the Kubuntu deploy in any spare time I get. So:  I'd like to add windows boot to grub's target list, however update-grub does not find my Windows bootloader.  I'm guessing the problem is that it's searching for an EFI boot while there is only a legacy BIOS one.  Is there a way I can add my Windows install as a grub target?
38826
I want to completely remove Ubuntu from my system. But if I delete the partition, the Grub files will be deleted and that will leave me "Bootloader-less". How can I workaround this?
108456
Basically what I want to do is install a fresh copy of Ubuntu from Ubuntu. It is an older machine so usb boot doesn't work and I don't see why I need to waste a CD to do it. Currently running Ubuntu 11.10.  I have a 1TB drive and a second 500GB drive for backup. The 1TB drive is partitioned as:  20GB   sda1 Windows XP 20GB   sda3 Free for new OS  ~800GB sda4 Data (ext3) 60GB   sda7 /home (ext4) 20GB   sda6 / (ubuntu 11.10 ext4) 2GB    sda5 swap   After researching I decided that using unetbootin was the best option. I chose Hard Disk (frugal install) and the only option for which disk is "/". That worked and I quickly rebooted into Ubuntu 12.04 live.   Chose to install and picked custom options, set sda3 for / and sda7 for /home. The installer started but hit a wall at detecting other operating systems. It was trying to mount sda6 to find out about the existing os's on the machine, for the purpose of installing grub. And it couldn't umount sda6 because that was currently mounted as cd drive for live cd. I couldn't find an option to make the installer skip this step (I could later fix the grub in 11.10).  I have another drive with 4GB free partition and if I could get unetbootin to install to there it would all work.  So my question is - how do I get unetbootin to install to a different disk for hard-disk install? (I don't think USB Drive mode will work because it will install the grub to that disk -  but I might be wrong!)  or  How to fresh install Ubuntu from Ubuntu?
55365
I have an X-series Asus laptop which I just bough about a month ago. I want to dualboot Ubuntu - Windows.  I can easily access LiveUSB with both UEFI enabled and disabled. I heard that there were problems with UEFI, so I disabled it. After I've installed the system I couldn't access it. It just boots to Windows straight.  Another unusual thing, that never happened to me before was that the partition editor wanted me to create a BIOS reserved area, which I did, but not at the beginning of the table.  Any ideas how to access the Ubuntu partition?  As far as I can guess both Windows and Ubuntu have to be both of the same type of boot, either Legacy or EFI. This is not the case of what I have now. So, if I reinstall Ubuntu in UEFI mode that correlates with my Windows type, will I then be able to boot into it?  I have a constraint, my laptop doesn't have a CD ROM, so I cannot reinstall WIndows, nor can I move around the Windows recovery partition.  This is the boot-repair report :    SOLUTION  I've enabled UEFI in BIOS, and reinstalled Ubuntu with UEFI enabled. It works fine now, although if I select Windows from the GRUB menu, it doesn't work. But I can live with that, since I can just select Windows boot from the BIOS instead.
7968
Supposing I have two Linux distributions, in dual boot (the GRUB menu appears and ask me what to choose):   Ubuntu 14.04 elementary OS   Adding a new one is very simple: just insert the installation device and start installing.  What about uninstalling one? How can I uninstall elementary OS, for example?  Can I do that only by formatting/deleting that partition?
29067
I have a dual boot setup:   Ubuntu 16.04 LTS Windows   Currently when I want to reboot from Ubuntu into Windows I use grub-reboot with the appropriate number as argument. This works well.  However sometimes Windows needs a reboot so a certain program can install or update and I manually have to select the right grub boot menu entry. Is there a similar way (from Windows UI) to tell grub which entry to boot?  I suppose the grub-reboot command passes the argument to a file which is in turn read by grub upon reboot.  edit (concerning my selected answer): I'm currently looking into mounting the ext4 drive that contains /boot and scripting the edit. this will possibly take quite a while since i'm doing this in my free time beside my 40h/week non-tech job. ^^
17792
I recently got a computer from school. It came with Windows 8.1 installed. I then installed another copy of Windows 8.1 (so it would use the built-in Windows Pro license) and upgraded it to Windows 10. I then installed Ubuntu alongside both Windows 8 and 10. Note that I made a separate 255MB ext2 partition for /boot. Now, when I boot the computer, I first see a GRUB prompt (I already un-hid the grub prompt 'cuz I like it that way) with Windows 8 and Ubuntu options. However, there is no Windows 10 option. If I select Ubuntu, the computer boots into Ubuntu. However, if I select the Windows 8 option, I then get sent to the Windows bootloader, where it then gives me options to boot either Windows 8 or Windows 10. (However, by this point, the computer has already loaded the kernel and all. Apparently Microsoft misunderstood the concept of a bootloader and decided that that meant &quot;boot practically the entire system before actually showing the bootloader&quot;. Typical Microsoft.) How can I disable the Windows bootloader and add a Windows 10 option to GRUB? EDIT: Someone has answered telling me to disable the Windows bootloader. However, I still do not know how to add Windows to the GRUB OS list. Can anyone help with this? EDIT 2: After removing Windows 10 from the Windows bootloader with EasyBCD, it seemed that, after a few reboots, it would continually unhide itself and Windows 10 would reappear. However, I then later deleted Windows 10 from the list of OSes in msconfig, and it seems to have stayed deleted. However, I STILL have not managed to get Windows 10 to appear in GRUB. It's as if GRUB simply doesn't detect it. Also, I'll put this in the question so that people see it - I have tried using boot-repair, however, it has NOT helped any.
54167
I'm considering ditching Windows 8 and doing a fully clean install of Ubuntu. However, I'm concerned because my computer came with a built-in 16 GB recovery partition that would need to be erased as well.   If I pick the "erase entire disk" option during installation, will it wipe out this recovery partition too?
96069
I have extremely important stuff on my windows partition which during the ubuntu 10.10 installation,when it said that I should create something called swap space, I selected it to be a swap space (without even knowing what it actually meant)  The Grub2 doesn't show up so I don't get a choice to boot Ubuntu or Windows. I don't get my windows partition as a removable device in Ubuntu either. When I go to disk utility and select the sda2 (i.e.. my windows partition) and click edit partition and select HPFS/NTFS for the type and tick bootable and click OK the small processing sign keep on rotating on the bottom right of the sda2 in the chart and after about 10 to 15 minutes it gives an unknown error and thus, I am still unable to use my windows.  I am even worse than a beginner who doesn't know a thing about Ubuntu so please be patient and help me out.