I have a 486 machine which boots from a floppy. The floppy doesnt contain an OS, but instead contains the program that the machine is destined to run. (CNC cutting). (I don't have the source for the program).
I want to make the machine boot from a hard disk, instead of the floppy.
I have followed these steps:
1) I installed ms-dos on a hard disk and made sure that the machine can boot from the hard disk.
2) I copied all the files from the floppy to the hard disk
3) From the boot sector of the floppy (FAT12), I took only the boot code (offset 3Eh, 450bytes) and copied over the boot code of the hard disk (FAT16).
Unfortunatelly this hasn't worked. I get "no operating system found" when trying to boot from the hard disk. This is the message that is hard coded in the boot code - and it is actually written in German.
Is it necessary to disassemble the boot code, or is there something that I am missing here?