Problems with Legacy GRUB and ElTorito

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
FBSC
Posts: 6
Joined: Tue Jan 12, 2010 6:34 am

Problems with Legacy GRUB and ElTorito

Post 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
User avatar
Owen
Member
Member
Posts: 1700
Joined: Fri Jun 13, 2008 3:21 pm
Location: Cambridge, United Kingdom
Contact:

Re: Problems with Legacy GRUB and ElTorito

Post by Owen »

You need to specify which device Grub is to look on for the file. Try "root (cdrom)"
FBSC
Posts: 6
Joined: Tue Jan 12, 2010 6:34 am

Re: Problems with Legacy GRUB and ElTorito

Post 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...
User avatar
Owen
Member
Member
Posts: 1700
Joined: Fri Jun 13, 2008 3:21 pm
Location: Cambridge, United Kingdom
Contact:

Re: Problems with Legacy GRUB and ElTorito

Post 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)
FBSC
Posts: 6
Joined: Tue Jan 12, 2010 6:34 am

Re: Problems with Legacy GRUB and ElTorito

Post by FBSC »

Yes, of course it is on /boot/grub/menu.lst ...
FBSC
Posts: 6
Joined: Tue Jan 12, 2010 6:34 am

Re: Problems with Legacy GRUB and ElTorito

Post by FBSC »

Thanks, I resolved all :D It was a really stupid problem: I was running an old ISO image >_>
Post Reply