Page 1 of 1

Booting Kernel From CD (with GRUB)

Posted: Wed Apr 25, 2012 9:59 pm
by sdfkjsdfkj
I've come across an issue recently where when I generate a bootable iso file GRUB doesn't appear to actually boot my kernel, previously everything worked fine, and I've tried using my old scripts but to no avail. Booting my kernel with "qemu -kernel kernel" works fine, but when I try booting from iso and select my kernel it leaves me with a screen that says
"Booting 'GLaDOS sqrt(-1)'
kernel /boot/kernel
[Multiboot-elf, <0x1000000:0x4000:0x1868>, shtab=0x106168, entry=0x100020]" and nothing else appears to happen.

My menu.lst:

Code: Select all

default 0
#timeout 30

#title Boot from hard disk
#chainloader (hd0)+1

title GLaDOS sqrt(-1)
kernel /boot/kernel

Re: Booting Kernel From CD (with GRUB)

Posted: Fri Apr 27, 2012 10:30 pm
by zhiayang
ajtgarber wrote:I've come across an issue recently where when I generate a bootable iso file GRUB doesn't appear to actually boot my kernel, previously everything worked fine, and I've tried using my old scripts but to no avail. Booting my kernel with "qemu -kernel kernel" works fine, but when I try booting from iso and select my kernel it leaves me with a screen that says
"Booting 'GLaDOS sqrt(-1)'
kernel /boot/kernel
[Multiboot-elf, <0x1000000:0x4000:0x1868>, shtab=0x106168, entry=0x100020]" and nothing else appears to happen.
No point giving us the menu.lst.

What host OS are you using? What's your build script? What happens in your main()?
Insufficient information to provide a meaningful response.


EDIT: Chances are, something went wrong in creating your ISO, if you say that qemu boots with the -kernel flag. Check your directory structure for missing links. If you are using CD, i suppose you are using El-Torito no-emul cdboot. Check your stuff, provide more information.