I recently set up a dual boot of Ubuntu 14.04 and Windows 8.1 Enterprise. I booted off a USB stick and had it install alongside Windows rather than over top of it. It installed perfectly, bootloader was great, etc. I decided I didn't like the version of Linux I had chosen, so without looking up a tutorial I went to remove Linux. On the windows side I deleted the Linux partitions, but didn't do anything about restoring the windows boot loader.
Unsurprisingly (in hindsight), I couldn't boot into Windows, and got grub command line every time I attempted. Using a Windows recovery disk I attempted to fix it with the recovery console commands bootrec /fixmbr
and bootrec /fixboot
neither of which worked. I got to a bootable Windows by reinstalling the OS overtop of everything. Never saw grub command line again. However, there are still traces of Ubuntu in certain places.
In UEFI, the Hard Disk is specified as using Windows Boot Manager which I found peculiar. So I opened the Hard Disk BBS Priorities and sure enough there are two ubuntu options. I also noticed that if I go to Advanced Startup in Windows, choose Use a Device, ubuntu appears twice as an option.
So far the steps I've taken to try and fix this are:
- Using recovery console,
rebuildbcd
which failed - Using command prompt,
bcdedit
which returned no entry about ubuntu - Mounting the EFS partition of C: and deleting the ubuntu directory (failed)
- Going into msconfig to delete Ubuntu. Ubuntu wasn't present.
After a few days of googling I am completely out of ideas for what I can search for to find tutorials for this specific problem, because I'm not familiar with the places I'm finding ubuntu traces. Does anyone have any suggestions on what I can do to remove the last of Ubuntu on this machine?