booting my own kernel from grub legacy

Programming, for all ages and all languages.
Locked
prosaad
Posts: 2
Joined: Wed Aug 29, 2012 4:06 am

booting my own kernel from grub legacy

Post 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
Nable
Member
Member
Posts: 453
Joined: Tue Nov 08, 2011 11:35 am

Re: booting my own kernel from grub legacy

Post 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.
Locked