I don't have much experience in doing this, so I'm here to ask for help.
My problem is:
I want to load an ISO into my RAM from an USB flash drive. Included in that ISO should be a running MS-DOS (which version doesn't matter at first).
I also want to have a second ISO mounted into the RAM, but these files could also be loaded into the first image, if it has to. (I just mind the maximum 1.44 MB of a floppy, which wouldn't fit.)
So when I unplug the USB stick, all data should be accessable via RAM.
My first thought was to use GRUB to load it into the RAM and start it. Unfortunatelly if I edit the MS-DOS ISO (in any way, e.g. switching the keyboard layout or include another small file), it refuses to boot it.
I need to have an edited MS-DOS, as I want include command files like for xcopy
, net use
, NTFS4DOS
and so on.
So upon booting, I want to have MS-DOS started with the access to the other data. If this is on the same "drive" (say ISO) or on a second one doesn't matter.
How do I load MS-DOS and additional files into RAM and boot it?
GRUB is not required, it's just what I found so long on my internet researches.