boot cd with grub.

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
User avatar
Sam111
Member
Member
Posts: 385
Joined: Mon Nov 03, 2008 6:06 pm

boot cd with grub.

Post by Sam111 »

I am following the tutorial here http://wiki.osdev.org/Bootable_El-Torit ... RUB_Legacy

I am using K3B to do it. Added the boot image stage2_eltorito to it.
Copied my start.bin kernel. And have this

Code: Select all

default 0
#timeout 30
 
#title Boot from hard disk
#chainloader (hd0)+1
 
title My kernel
kernel /boot/start.bin    # Edit it to the filename of your kernel.
for my menu list

The menu.lst is in the same directory as the stage2_eltorito

directory structure for the cd filesystem looks like this
/stage2_eltorito
/menu.lst
/boot/start.bin


When I try to boot from cd I just get the cd displaying Loading stage2 ?
I just want a way to boot my start.bin easily. I haven't tried command line genisoimage but thru the K3B GUI I think it should work the same way?

Any help would be great.
The only thing I can think of is my kernel is not "A (Multiboot compliant) kernel that GRUB can boot." But I don't know what that even means for being on a cd?

Also I have tried switching my start.bin kernel for a known working kernel and still gives me the same message.... Stuck at Loading stage2????
egos
Member
Member
Posts: 612
Joined: Fri Nov 16, 2007 1:59 pm

Re: boot cd with grub.

Post by egos »

Default path for grub files is /boot/grub. Try to put them in this directory.
If you have seen bad English in my words, tell me what's wrong, please.
User avatar
KotuxGuy
Member
Member
Posts: 96
Joined: Wed Nov 25, 2009 1:28 pm
Location: Somewhere within 10ft of my favorite chubby penguin!

Re: boot cd with grub.

Post by KotuxGuy »

I kinda find it astounding that Sam111 has almost 250 posts, and is still having trouble just booting his kernel.
Then again, I was like that too, once...
Give a man Linux, you feed the nearest optician ( Been staring at the PC too long again? ).
Give a man OS X, you feed the nearest NVidia outlet ( I need more GPU power!! )
Give a man Windows, you feed the entire Tylenol company ( Self explanatory :D )
Post Reply