El-Torito Boot CD Not Functioning
Posted: Thu Jun 24, 2010 10:42 am
I have been using a bootloader I made myself for most of the development of my OS, but now I need to use grub to load my kernel. I am getting a problem trying to create no-emulation boot cd. To make sure it wasn't a problem with my kernel, I downloaded a kernel from a sample tutorial on the internet and a grub floppy image from it. It works fine on the floppy image, but using the same kernel with my boot cd produces the same lack of function.
I am using mkisofs
mkisofs -R -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table -o bootcd.iso ISODIR
this is the directory structure of ISODIR:
ISODIR
->kernel.bin
->boot
->->grub
->->->stage2_eltorito
->->->menu.lst
this is menu.lst:
title KOS test
root (fd0)
kernel /kernel.bin
and this is all that happens when I boot it:
GNU GRUB version 0.95 (639K lower / 64448K upper memory)
[ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions. Anywhere else TAB lists the possible completions of a device/filename. ]
grub> _
what am I doing wrong?
I am using mkisofs
mkisofs -R -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table -o bootcd.iso ISODIR
this is the directory structure of ISODIR:
ISODIR
->kernel.bin
->boot
->->grub
->->->stage2_eltorito
->->->menu.lst
this is menu.lst:
title KOS test
root (fd0)
kernel /kernel.bin
and this is all that happens when I boot it:
GNU GRUB version 0.95 (639K lower / 64448K upper memory)
[ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions. Anywhere else TAB lists the possible completions of a device/filename. ]
grub> _
what am I doing wrong?