Page 1 of 1

booting my own kernel from grub legacy

Posted: Wed Aug 29, 2012 4:24 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: Thu Aug 30, 2012 12:37 pm
by Nable
Just make an ISO image and try it with Bochs built-in debugger. It'll surely help.

Also, i'm not sure that grub-legacy can boot 64-bit ELFs.