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.
Use a FAT-formatted image and install GRUB legacy on it. That way you can add a config file as well as addressing your kernel by its name and have GRUB load the right amount of sectors as an added bonus. Setting up grub in that fashion from a build script is rather tricky, especially if you're using Windows. The fastest way is to grab someone else's FAT+GRUB image, remove their kernel from it and make a backup of the result. Then the only thing at build time you need to do is duplicate the backup, use mtools to copy the config and your kernel to the formatted image, and then you can just use the image like any other.
"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 ]