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.
Meshounah wrote:i have my little kernel but my question is... how can i put grub on a CD along with my kernel?
If you have a working floppy image with grub and kernel, you can use El Torito emulation to build the corresponding Bootable CD
Grub can be installed natively to CD as well. IIRC a quick howto is in their documentation.
Grub seems to support network booting as well but its tricky. Google revealed a promising document
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
To make a bootable CD using grub, just make a directory (mines called iso) which holds what you want on the cd. You must have a boot/grub directory within this iso directory, which contains a menu.lst and the file stage2_eltorito from grub (it's somewhere on the hard drive with most linux distros).
Then run the following command from the parent of the iso directory:
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
you're right, I remember it not working half of the time
that still leaves two options though
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
dhcp (get an ip address)
tftpserver 192.my.server.ip
kernel (nd)/kernel.bin (assuming kernel.bin is your kernel, in your dev dir)
module (nd)/initrd.bin (I would do this, depends if you have any modules to load)
boot
Dead easy. There are guides on the internet about it. You can put all those commands into your menu.lst and let it do it automagically.
Meshounah wrote:ok for simplicity sake i'm going to do what combuster said... i downloaded a grub floppy image that i found on the wiki but how do i extract it?
WinImage is a great program that allow you to extract and modify the img files and it's working under windows