Page 1 of 1

booting my own kernel from grub legacy

Posted: Wed Aug 29, 2012 4:25 am
by prosaad
please help me in booting my own kernel from grub legacy

I have 2 files 1 is loader which load my 64bit elf second is rte app which is 64bit elf

im using an api which make bootable iso image of my kernel with grub legacy

my directory tree is
/boot/grub/stage2_eltorito
/boot/grub/menu.lst
/boot/grub/menu.1st
/boot/loader
/boot/rte-app


in my grub config menu.lst

serial --unit=0 --speed=115200
terminal --timeout=0 serial
default=0
timeout=2
title RTE 0.1
root (cd)
kernel /boot/loader
module /boot/rte-app -c f -n 3 -m 128

when i burn img of this file to cd rom , pc hangs at stage2 loading
I used many method but nothing works

thanks in advance
Saad ahmad

Re: booting my own kernel from grub legacy

Posted: Wed Aug 29, 2012 4:30 am
by bluemoon
prosaad wrote:when i burn img of this file to cd rom , pc hangs at stage2 loading
However, you provide exactly zero information about the loader.
By the way, grub legacy do not support direct loading of 64-bit elf unless you have a so-called patched version.

Re: booting my own kernel from grub legacy

Posted: Wed Aug 29, 2012 4:31 am
by sounds
This sounds like a homework assignment.

Re: booting my own kernel from grub legacy

Posted: Wed Aug 29, 2012 10:34 am
by Combuster
Lazy maybe, but not homework.

At any rate, your English is sufficiently poor I my crystal ball is going crazy on all the ways you might have screwed up. The correct instructions for making a CD with GRUB are on the wiki. Please use those and ask again if the problem remains.

EDIT: please don't spam multiple threads with the same question.