I am trying to make a kernel in Visual C++ (Windows) using the tutorial here. What I am wondering is how to install GRUB from within Windows 7. If I have to download Puppy Linux or something I will, but I would prefer to install it from within Windows. In case you were wondering, I want to boot a PE EXE with a multiboot header that supports GRUB.

4 Answers 4


EasyBCD can automatically install a GRUB-based bootloader called NeoGrub. It'll be chainloaded from the Windows bootloader, and you can edit its configuration file from within Windows; it also supports NTFS so you can save the kernel to the NTFS partition and load it from there.

Disclosure: I wrote EasyBCD.

  • Fails on Vista. Fails to install the .Net framework 2. Guess it's time for it to change the framework. Anyways great work. Nov 17, 2013 at 4:43
  • 2
    The latest version of EasyBCD can use either .NET 2.0 or .NET 4.0. You cannot manually install .NET 2.0 on Vista because it already ships with it. Nov 17, 2013 at 18:22
  • I have a peculiar problem : I am able to get to grub rescue, using yours as well as a manual approach, but unable to generate a grub2.cfg from even the rescue disk (some error about not finding /etc/release)
    – Milind R
    Nov 18, 2014 at 7:36
  • 4
    Crackin' answer... "I wrote EasyBCD"... Boom.
    – Kinnectus
    Dec 8, 2015 at 17:13
  • @Mahmoud Al-Qudsi: Excuse me, would you please take a look at this also?! link because nobody answered!(even low views!) Thanks in advance.
    – Small Boy
    Nov 30, 2016 at 18:37

Another solution is Grub4DOS.

Despite the name it even works with Windows (XP) - propably with 7, too.

  • do you have a tutorial to make it work on win 7 ? it does not show up partitions in the UI when i choose Install grub form the menu.
    – tgkprog
    Jun 8, 2013 at 8:56
  • tried to run WinGrub from admin prompt that did not help either. i have ntfs on my main c drive
    – tgkprog
    Jun 8, 2013 at 10:06
  • can it find grub.cfg which is in a linux file format such as ext4 ? I think no.
    – Don
    Jul 26, 2014 at 2:17
  • @Don I did install grub4dos on a fat partition. That can be read and written by all systems.
    – Nils
    Jul 26, 2014 at 21:04

I had this problem: had Kubuntu installed, then installed Windows 7 (Pro x64), then Kubuntu disappeared from the boot menu.

My Solution:

Install EasyBCD, add GRUB2 to boot menu, reboot, enter *Ubuntu, do this:

sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair

Run Boot Repair.

Boot repair photo

Choose Recommended repair.

Than again boot Windows and, using EasyBCD, remove GRUB2.

  • Welcome to Super User. External links can break or be unavailable, in which case your answer would not be useful. Please include the essential information within your answer and use the link for attribution and further reading. Thanks.
    – fixer1234
    Dec 8, 2015 at 18:20
  • I'm curious why you remove GRUB2 as the last step. Isn't adding it the objective?
    – fixer1234
    Dec 9, 2015 at 14:01
  • 1
    If you don't remove it from EasyBCD, when you choose windows 7 on GRUB, then you'll have choice between ubuntu and windows again.
    – notgiorgi
    Dec 10, 2015 at 11:19
  • If you remove GRUB, it seems like you would be back where you started (without GRUB). If the issue is Ubuntu, wouldn't the solution be to remove Ubuntu from the boot list? For example, in a GRUB-based multi-boot system, GRUB is what gives you the choice of OS. You can edit GRUB to remove an OS, change the order, etc.
    – fixer1234
    Dec 10, 2015 at 16:53
  • 2
    You remove GRUB that Windows created, not the one you created from Ubuntu, or else you'll have two GRUB-s
    – notgiorgi
    Dec 10, 2015 at 17:43

Another solution is to use Grub2Win that supports both EFI and BIOS loading on Windows 7-10/XP/Vista. Based on grub version 2.02 and give you a GUI to handle a boot.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .