I was interested in learning how to create an operating system from scratch, and I found this guide: http://www.cs.bham.ac.uk/~exr/lectures/opsys/10_11/lectures/os-dev.pdf.
At page 4 it is explained how to create a simple boot sector, and on page 6 how to emulate a CPU booting from it, using Bochs. I've tried this, and all worked fine.
Now I want to try the same on a real PC or on virtual machine software, such as VirtualBox. I thought I could create a bootable CD with my boot sector on it, but until now I couldn't succeed. I tried creating an ISO image of a CD containing my boot sector but, as expected, I receive an error when doing this (VirtualBox shows the "FATAL: No bootable medium found! System halted." error).
What should I do to correctly create a bootable CD with my boot sector on it? Thank you in advance.