The same person who asked me about how to install FreeDOS in QEMU also
asked about how I copy files to/from my FreeDOS disk image, using Linux.
Here's a copy of my reply, for anyone else who wants to do that:

>>

I forgot to show how I access the disk image using *guestmount*. I'm
running some things in my new FreeDOS 2410 virtual machine, so I'll show
you using my 2409.qcow2 disk image instead.

First, set up a directory where you'll access the disk image. Since I'm
accessing my 2409.qcow2 disk image, I'll create a directory called 2409:

$ *mkdir 2409*


Now use *guestmount* to access (-a) the 2409.qcow2 disk image, using the
first disk partition (called "sda1" using Linux terminology) as the mount
point (-m), and mount it on the 2409 directory:

$
*guestmount -a 2409.qcow2 -m /dev/sda1 2409*


And that's it! You can access the 2409 directory to copy files into (or out
of) your disk image. You can use the command line (like I do) or use your
graphical file manager; it doesn't matter, as far as your file manager is
concerned, it's just a directory. Here's an *ls* command to show that it
works:

$ *ls 2409*
APPS  COMMAND.COM <http://command.com/>  DEVEL  FDAUTO.BAT  FDCONFIG.SYS
 FREEDOS  KERNEL.SYS


Don't forget to unmount it when you're done:

$ *guestunmount 2409*
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to