i installed dos 6.22 in a virtual machine,
with virtual box. even though dosbox is great,
in some things its not good or you dont
have the 100 of true dos experience. anyway...
the installation was ok, until i had to
transfer files from my system to the dos/vm!!!
virtualbox doesnt have guest additions for
dos/vm so its almost impossible to transfer
files through floppies!!!!!! what? no... no...
no... i may love the dos era and have good memories, but floppy disks is not
in them :
another way, is to install freedos, instead of dos, but it wooldnt be
the same for me... i want the best of dos and this is the 6.22
version... and thats a fact. back to the subject...
so... instead of using the real floppy drive, why dont we use virtual
floppy disks, that we can mount on our linux system, write on them the
files we want and then use those floppy images, from virtualbox...
simple? maybe...
first lets create a floppy image that we can mount:
mkfs.msdos -C ./floppy.img 1440
this command will create a file called floppy.img, which is our virtual
floppy disk and has the size of a default floppy disk, 1.44MB and can be
read by dos 6.22, through vbox.
to mount it and be able to write files in it just type:
mount -o loop ./floppy.img /media/user/floppy/
make sure that you have all ready created the directory ex.
/media/user/floppy, otherwise you will get an error.
now you can write files, with just dragndrop from your file explorer
program. unmount the image and from vbox, mount it to the running dos/vm.
type a:, dir.... and see the magic... :
if you have big files, bigger than 1.44MB, you can use a file splitter,
to span the file in multiple files/disks. for example i wanted to
transfer free pascal on this dos/vm but the file was very big. i used a
program called hjsplit www.hjsplit.org which runs in multiple platforms
to slice the file in many files of 1.44MB size and then used the
technique above to transfer them... ahhhh... the feeling of swaping disks
is unforgetable... even if they are virtual floppies in a virtual
machine... :
ga