Page 1 of 1

Problems with Legacy GRUB and ElTorito

Posted: Tue Jan 12, 2010 12:24 pm
by FBSC
First: Hi to all, I am new here! :D
I am trying to create a simple OS but I have a big problem: I can't try it because GRUB doesn't finds the kernel in my ISO image, even when I am SURE that the file theres.

my menu.lst:

Code: Select all

title   Icosahedron
kernel  /kernel.bin
and there's my mkiso command:

Code: Select all

mkisofs -o output.iso -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table ./
I even tryed to mount the ISO into real OS to see if the file kernel.bin exists, so it's a configuration/GRUB problem.
Thanks in advance

Re: Problems with Legacy GRUB and ElTorito

Posted: Tue Jan 12, 2010 1:08 pm
by Owen
You need to specify which device Grub is to look on for the file. Try "root (cdrom)"

Re: Problems with Legacy GRUB and ElTorito

Posted: Tue Jan 12, 2010 1:16 pm
by FBSC
Nothings, it just shows GRUB's prompt... even if I try cd instead cdrom (wich seems to be uncorrect)
it's strange.... i had done all the stemps needed to write the kernel on the image...

Re: Problems with Legacy GRUB and ElTorito

Posted: Tue Jan 12, 2010 1:52 pm
by Owen
What folder is the menu.lst in?

It's got to be in "boot/grub" or "grub" (I think - the only reference I have to hand is a Grub2 install)

Re: Problems with Legacy GRUB and ElTorito

Posted: Tue Jan 12, 2010 2:18 pm
by FBSC
Yes, of course it is on /boot/grub/menu.lst ...

Re: Problems with Legacy GRUB and ElTorito

Posted: Wed Jan 13, 2010 12:10 pm
by FBSC
Thanks, I resolved all :D It was a really stupid problem: I was running an old ISO image >_>