There are a few solutions for this. I run Linux as my day-to-day system, and I boot FreeDOS in a virtual machine from there. I have to copy files from/to my FreeDOS virtual machine all the time.
I find the *guestmount* command line program is the easiest way to "mount" a FreeDOS virtual disk so I can copy files from/to the virtual disk. This command is actually provided in the *libguestfs-tools* package. I use QEMU but guestmount supports a bunch of different virtual disk formats, including what VirtualBox uses. But note you *should not* try to mount the virtual disk while the virtual machine is using it. I wrote an article about how to use guestmount, here: https://opensource.com/article/21/6/copy-files-linux-freedos On Tue, May 6, 2025, 5:40 AM John Thomas via Freedos-user < freedos-user@lists.sourceforge.net> wrote: > I have gotten FreeDOS 1.4 up and running over Virtual Box over an Ubuntu > linux host. Now I want to import a DOS executable into my FreeDOS1.4 > Virtual Machine so I can execute it. > > I have a directory on my linuxnhost OS for this program including > executable, icon, config, etc. files. I can run the executable in DOSBox. > Only trouble is, DOSBox messed up my hard drive. > > On searching the web for how to import data from my host, I found one of > two problems with each proposed solution: > > - Not supported for DOS. > - I am required to import another executable to support the proposed > solution. > > > Can anyone suggest a solution to my problem? > > Thanks, > John > > _______________________________________________ > Freedos-user mailing list > Freedos-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freedos-user >
_______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user