Hi everyone,
I just tried to make my very own first distro (mainly following this guide:
http://www.creo.hu/~csaba/lowlife/).
I made it entirely in a chrooted environment (to prevent any kind of trouble

), and I use Debian GNU/Linux.
Now, the floppy image is ready and I tried to run it with QEmu, but I got the following problems:
QEmu says that "direct booting from floppy is no longer supported. Please use a boot loader program instead.". That's ok because my floppy image ("x86 boot sector") just contains the kernel in the first kbytes, and the gzipped root filesystem just after.
Now the problem is that I don't know how to configure a valid boot loader (such as LILO or Grub or SysLinux) and write it to the first 512 bytes of the floppy image to make it boot. I already tried to fetch a floppy distro from the Internet, dd the MBR from it and then catting it before the floppy image to a new one (I mean, "cat MBR FLOPIMG > NEWIMG"), but no way to make it boot anyway (quite reasonable, after all

).
I'm trying this stuff with QEmu because the distro doesn't fits very good on a floppy (a total of 1,8MB against 1,44MB), and, if things will work, I'm planning to add more features and burn it on a pocket 8cm CD.
Does anyone know how can I add a bootloader to this floppy image so that it can boot correctly (with both QEmu and... PC!)? Please note that I'm working on the image, so many programs say that "it's not a valid block device" (infact it's not /dev/fd0).
Many thanks for any help!
Cheers!