Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question

migrated from unix.stackexchange.com Jan 23 '12 at 2:08

This question came from our site for users of Linux, FreeBSD and other Un*x-like operating systems..

2 Answers 2

up vote 8 down vote accepted

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.

share|improve this answer
    
Thank you very much! –  elijaheac Jan 23 '12 at 4:27
    
Fails on Vista. Fails to install the .Net framework 2. Guess it's time for it to change the framework. Anyways great work. –  LearningNeverStops Nov 17 '13 at 4:43
1  
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. –  Mahmoud Al-Qudsi Nov 17 '13 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 at 7:36

Another solution is Grub4DOS.

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

share|improve this answer
    
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 '13 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 '13 at 10:06
    
can it find grub.cfg which is in a linux file format such as ext4 ? I think no. –  Don Jul 26 at 2:17
    
@Don I did install grub4dos on a fat partition. That can be read and written by all systems. –  Nils Jul 26 at 21:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.