How to safely delete the second bootloader created by EasyBCD and leave GRUB?

6,151

I have little familiarity with Linux or grub, but since you have had no answers in months, I'll try to answer based on what I know about the Windows boot environment. If nothing else, maybe this answer will prod someone who knows better into answering.

First, EasyBCD is not the Windows bootloader, and it does not install a Windows bootloader. It is merely a GUI tool that you can use once Windows is booted - a replacement for the command-line tool bcdedit and for the "boot" tab in msconfig. EasyBCD lets you modify Windows' boot configuration database (BCD) more easily than with Windows' built-in tools. (n.b.: The BCD is actually a registry hive, just like the "system" or "software" hive, but it is not normally loaded while Windows is running.)

But even after EasyBCD is installed, it does not establish any new "Windows bootloader". Your second screen is not being displayed by EasyBCD. It is displayed by bootmgr, which came with Windows. Early in the Windows startup sequence, bootmgr displays the Windows boot menu as you see in your second screen. The menu is defined in the BCD. (That's for Vista and later. For XP and earlier the program that displays the menu is ntldr, and the menu is defined by a text file boot.ini.) When you select a Windows version from the BCD menu, bootmgr loads and runs winload.exe, which loads the rest of Windows from the drive.

Normally your machine's firmware (EFI, looks like) would load bootmgr. With grub installed, EFI loads grub instead. grub gives you a menu that includes "Windows boot manager". When you select that, grub loads bootmgr and then gets out of the way. The rest of the Windows boot happens just as it would if grub hadn't been there.

You can't get rid of bootmgr because grub doesn't know how to do what bootmgr does (which is normally to load winload). You can uninstall EasyBCD, but that won't change your menu setup. The BCD will still be in its current state. Same for whatever grub uses to define its menu.

It's a minor mystery, though, as to why your BCD has three entries in it (as displayed by EasyBCD)... but bootmgr is displaying only one option (for Windows 8.1). It might be that it doesn't like those "ubuntu" entries for some reason.

After that, it's a mystery as to why it's displaying the menu at all when it's only displaying one option. Normally when there's only one option in the BCD no menu is displayed; it just skips through it.

It's also a mystery to me as to why you would have "ubuntu" options in the BCD at all. I don't think bootmgr has any idea how to boot ubuntu. I think the path to booting ubuntu can't involve grub at all... unless grub, like bootmgr, uses the Windows Boot Configuration Database, which seems to me to be wildly unlikely. But as I said, I don't know much about linux or grub.

A quick cosmetic fix would be to use EasyBCD to set the timeout to 2 seconds or so. You'll still see the second menu but only for two seconds.

If you don't mind experimenting and a little bit of risk, you could try this:

  1. Boot Windows.
  2. Use EasyBCD to save your current BCD (the backup/repair button).
  3. Explore the stuff under the backup/repair button and be sure you understand how to restore the BCD from the backup you just made.
  4. Use EasyBCD to remove the two "ubuntu" options from your BCD.
  5. Reboot and see what happens.

I think the result would be what you want. If it isn't, I can't imagine that this would interfere with your ability to boot Windows. So if the result is bad (you no longer can boot ubuntu) then you can boot Windows, use EasyBCD to restore the BCD from your backup, reboot and there you are.

Share:
6,151

Related videos on Youtube

Giacomo1968
Author by

Giacomo1968

Updated on September 18, 2022

Comments

  • Giacomo1968
    Giacomo1968 over 1 year

    I have two bootloaders now; I have the GRUB and the EasyBCD that I've created before the Linux was installed properly. After reinstalling Ubuntu for the second time, the GRUB came right, but now that I have the main GRUB loader, I'd like to delete the second one. The thing is, when I select "Ubuntu", it will load straight to Ubuntu, but if I click Windows, then it shows the second one, which is annoying.

    Here’s the GRUB menu I'd like to use.

    enter image description here

    I’d like to get rid of this menu which opens after selecting Windows Boot Manager from the GRUB menu.

    I don’t want to make any errors (by this I mean that I don’t want to delete the first bootloader, which gives me access to Ubuntu and Windows) so I’m posting this question because I don't really know if I just uninstall EasyBCD it won’t delete the second GRUB (I guess?).

    Another thing I don’t understand, it says I have 3 entries and then I also have a default?

  • Mahmoud Al-Qudsi
    Mahmoud Al-Qudsi about 8 years
    Yes, this approach would work well with little convolution needed on behalf of the user to correct anything on the Linux/GRUB side of things. You can also choose to use EasyBCD's "skip boot menu" option instead of setting the timeout to zero, it will accomplish the same thing. +1! (for the record and as you suspected, GRUB does not share any entries with bcdedit)
  • Run5k
    Run5k over 5 years
    First of all, welcome to Super User! We always appreciate the contributions from our community members, but you apparently have two Super User accounts: this one and this one. Please take the time to utilize the following Help Center tutorial and ask the Super User staff to merge your accounts: I accidentally created two accounts; how do I merge them?