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
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.
5Another solution is Grub4DOS.
Despite the name it even works with Windows (XP) - propably with 7, too.
4I 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.

Choose Recommended repair.
Than again boot Windows and, using EasyBCD, remove GRUB2.
5Another 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.