I am thinking of creating my own OS. I downloaded bochs for a test machine, and now I need a 'floppy' to boot from (it boots from .img files). I am looking for free software to create bootable disk images. I have neither physical floppies or a floppy drive. My requirements are:
I need a way to create a bootable disk image.
I need a way to manipulate files on the 'disk'.
The best software I found was VFD, but I have Windows 7 64-bit, and VFD is explicitly designed to work only on 32-bit hardware. I searched high and low on Google and I couldn't find anything both free and useful.
Does someone know of software that can do this?
You should be able to use UltraISO. While it is not free, IIRC, the limits improsed on the trial version still allows making floppy images.
It's always a good idea to read user manuals. Chapter 8 of the user manual for Bochs points one to the Bochs WWW site where one can find listed two Win32 ports of MTOOLS, for starters.
I have created an image of a floppy disk by executing:
dd if=/dev/fd0 of=/home/myFloppy.img
My floppy disk is no more working now. So I am thinking now if it's possible to write the image of that floppy to a flash drive and then I may boot my machine from the flash drive.
My machine's BIOS has the option of 'Boot from USB'.
Method 5 of the website mentioned by Darren seemed to be a solution to my problem but it did not work for me.
After a little browsing the method shown in "Creating a bootable USB thumb drive - Page 2 " did the magic for me.
This website provides several methods to do this, including methods of converting a floppy image to USB boot. There appears to be additional steps other than raw writing the floppy image directly to the USB drive.