I've wrote a kernel and a bootloader on windows 7 32-bit, and it was easy to test them using vfd and bochs
create a floppy disk using vdf the copy my kernel there and burn my bootloader using debug, pretty easy and straightforward
Now, im using Linux. And i wan't to test my OS using QEMU by creating a floppy image that its first sector contains my bootloader and the rest contains the kernel
i used dd to create a bootable floppy and i tested it with QEMU and the bootloader works and prints a message that the kernel not found because i cant put it in the floppy with the bootlaoder
the command i used
Code: Select all
dd if=boot.bin of=floppy.img seek=0 count=1 conv=notrunc
Thanks,