I have written a simple bootloader in nasm. It will only write Hello world on the screen. But I doesn’t know how to put it on a CD/DVD. I have a .bin file.
Can anyone help me?
I have written a simple bootloader in nasm. It will only write Hello world
Share
You can make an iso and store your floppy image as the bootloader for the iso filesystem. This is fairly simple with mkisofs. If you have a folder called cdcontents containing your your .img file (boot.img), you can do this:
Then you could probably use most cd burning programs with your .iso file to burn it to a disc. The programs you tried probably aren’t made to convert a bootable floppy to a bootable iso and were most likely trying to transfer nonexistent files from the floppy. For more information look on http://wiki.osdev.org/Bootable_CD.