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.
I am trying to convert my floppy disk bootloader + kernel to an iso image but when I tried loading it in qemu it said failed to read disk. I am using the kernel found at https://github.com/sukwon0709/osdev. The command I used to convert to iso is:
If you have a floppy disk bootloader, you'll want a floppy emulated boot, rather than the no-emulation boot you explicitly specify on the command line. The BIOS calls behave differently when booting natively from CD.
The floppy boot image needs to be exactly the 1.4MB of a floppy though, and contain everything you need to find and read from the CD later. If you can properly boot from floppy already, you can make that CD-bootable without much further thought this way.
"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 ]
Combuster wrote:If you have a floppy disk bootloader, you'll want a floppy emulated boot, rather than the no-emulation boot you explicitly specify on the command line. The BIOS calls behave differently when booting natively from CD.
The floppy boot image needs to be exactly the 1.4MB of a floppy though, and contain everything you need to find and read from the CD later. If you can properly boot from floppy already, you can make that CD-bootable without much further thought this way.
what is the command if I want to specify a floppy emulator?
"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 ]