Jump to content

- - - - -

Load GRUB2 from Grub4dos

grub grub2 grub4dos windows linux boot

  • Please log in to reply
2 replies to this topic

#1 bulldoz

  • Members
  • 1 posts

Posted 11 April 2012 - 04:05 PM

Hi guys,

I want to mention that:
1. I have no much knowledge about Linux
2. Yes, I've searched and read on the Internet, but couldn't find solution to my problem.

My question is how to load GRUB2 from Grub4dos.

Here is my scenario:
- I have WinXP on the primary partition and also Grub4dos there
- I have installed Debian on a logical partition (sda7) and so far used it via kernel loading from Grub4dos menu
- I have GRUB2 on the Debian partition. There is only grub.cfg (no menu.lst) and I can see the menu entries there
- I want to continue using Grub4dos but somehow reach the menu of GRUB2 with the entries there
- I have no idea what is the easiest way to continue using XP and Debian, so this is my setup. I did not want to touch the MBR.

So far I could reach GRUB2 command line by making img file with grub-mkimage and load it with grub4dos(kernel /***.cfg) but I have no idea how to make the menu to appear. I've used '-c /***.cfg' with grub-mkimage but nothing happened.

So again: how to reach the menu entries into the grub.cfg or, please, give other advices for my setup, if my way so far is stupid!


#2 halikus


    Frequent Member

  • Advanced user
  • 110 posts

Posted 29 May 2012 - 04:22 AM

I use (in menu.lst)...

title Grub2
find --set-root /boot/grub/core.img
kernel /boot/grub/core.img

#3 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 15464 posts
  • Location:The Outside of the Asylum (gate is closed)

Posted 29 May 2012 - 09:07 AM

If I may, unless for very particular setups, there is nothing in GRUB2 "better" than in grub4dos.
So the easiest would be to "translate" the contents of grub.cfg to menu.lst entries.
The suggestion by halikus, goes like this:
BIOS->(possibly)grldr.mbr->grldr->menu.lst->GRUB2(core.img)->grub.cfg->entry chosen->Debian
(just for the record, the final boot command is NEVER needed in a menu.lst entry as it is implied - BUT it is needed on command line)
the alternative is "shorter":
BIOS->(possibly)grldr.mbr->grldr->menu.lst->entry chosen(translated from grub.cfg)->Debian

There is also a third way, you should be able to install to the "(sda7)" partition a bootsector invoking GRUB2:
http://members.iinet...h Commands.html
then from grub4dos you root to the partition and issue a chainloader +1 command.
This way it goes:
BIOS->(possibly)grldr.mbr->grldr->menu.lst->entry chosen->bootsector->GRUB2->grub.cfg->entry chosen->Debian

Yet another possibility is using a more experimental project, grub24dos:


Also tagged with one or more of these keywords: grub, grub2, grub4dos, windows, linux, boot

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users