Hi,

Sorry for delay in responding. I'm very easily distracted these days.

On Wed, Jul 17, 2019 at 6:43 AM kaye n <guik...@gmail.com> wrote:
>
> I have a desktop computer running a Linux distro. In this LInux distro I have 
> installed VirtualBox, and in this VirtualBox I have installed Freedos.
>
> The virtual Freedos is running fine.  However I can't figure out a way to 
> allow the virtual Freedos to access the different partitions
> of the hard drive (for example an NTFS partition that contains my personal 
> data), as well as any USB flash drive.
>
> Is this impossible if the Freedos installation is only virtual?

Well, VirtualBox "shared folders" does not support DOS guests. They
either don't know how or don't consider it a high priority (too
niche?). Most of their focus is on other, bigger OSes (by far). Just
FYI.

"With the shared folders feature of Oracle VM VirtualBox, you can
access files of your host system from within the guest system. Shared
folders are supported with Windows 2000 or later, Linux, and Oracle
Solaris guests. Oracle VM VirtualBox release 6.0 includes experimental
support for Mac OS X and OS/2 guests."
* https://www.virtualbox.org/manual/ch04.html

I halfway answered this a year ago in the following thread ("Freeware
hard-disk (and floppy) image editor(s)?"):

* 
https://sourceforge.net/p/freedos/mailman/freedos-user/?viewmonth=201807&viewday=22

If you're trying to copy or "insert" files inside the guest VM (DOS)
from your host OS (Linux), you will have to try various methods,
depending on how you want to do things. (Note that I'm not an expert
and haven't bothered with some of these, e.g. FTPSRV.)

1). mTCP's FTPSRV
* http://www.brutman.com/mTCP/mTCP_FTPSrv.html

2). GNU Mtools (may depend on virtual hard disk format being "raw",
use qemu-img or whatever the VBox alternative is)
* https://en.wikipedia.org/wiki/Mtools

3). libguestfs-tools (Linux)

(Windows, e.g. 7, can mount .VHD as a drive in Explorer, which is convenient)
"sudo apt-get install libguestfs-tools"

* https://www.lazybrowndog.net/freedos/virtualbox/?page_id=495
* http://wiki.freedos.org/wiki/index.php/VirtualBox_-_Chapter_6
* http://libguestfs.org/

Or, if you only just want to "extract" files from the guest to the
host, you can probably use 7-Zip's "7z", from p7zip, since it supports
.VHD, .VDI, .VMDK, etc.


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

Reply via email to