When you boot the image, syslinux will probably try to load a kernel image called "linux". You can *then* copy your kernel.bin on to the floppy as a normal file (either by loop-mounting it or using mtools)
Syslinux myfloppy.img # this assumes the syslinux installer is in your path To create a formatted fat16 floppy image, first create a blank file of the appropriate size, for example:ĭd if=/dev/zero of=myfloppy.img bs=1k count=1440 This should be an already formatted, fat16 filesystem floppy image in one of the normal sizes. In the case of syslinux, this is pretty easy, just run the syslinux (syslinux.exe on windows) installer program, giving it the name of the floppy image or raw device to use.
Bochs console quit install#
You are going to have to install some sort of bootloader - then do anything else the bootloader needs to run your kernel bin. Ok - firstly to get it to run your kernel.bin image, you can't simply copy it to a floppy disc (or image). I haven't changed any of the options, and I assume that it is trying to run from the disk, because in the 'Disk options', the only boot drive defined is #1 and that is labelled as "floppy".ĭoes anyone know anything that will help?
The disk is in, and I've copied the 'kernel.bin' file onto the disk, and it is the only thing on the disk.
Bochs console quit code#
after alignment, vector=0xf4d8f000Ġ0000000000p >PANIC<< ROM: System BIOS image undefinedĠ0000000000i restoring default signal behaviorīochs is exiting with the following message:Ġ0000000000i quit_sim called with exit code 1 Is your bochsrc file loaded/valid ?Ġ0000000000i allocated memory at 0xf4d8e008.