Hi,

I have a fresh debian VM under VMware W0rkstation.

I was wondering how can I pass data between the host (Windows :/ and the VM) with the VM being fully offline is it possible ?

Tested and not working:

  • host sharing a network drive (SMB) not possible as debian will require the install of cifs-utils
  • create a virtualized NTFS drive. not possible need ntfs-3g for debian

Any ideas ?

note: open-vm-tools is impossible either as I want to install it without being connected ton the www.[1]

Thanks.


  1. World Wide Web (aka internet) ↩︎

  • Skull giver@popplesburger.hilciferous.nl
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    6 months ago

    I run weird operating systems in VMs sometimes that don’t have guest tools at all. My solution is to make an ISO file containing the files I want to transfer (i.e. whatever package provides open-vm-tools and its dependencies). You could also go for a virtual floppy if you want to be really sure every possible OS can read the data.

    You could also set up a second VM that contains a mirror of your distro’s packages, hook that up to a virtual internal network, and use it as a source for software. If you want to ensure isolation, you can configure the mirror VM with just one single network interface that you toggle between WAN (for synchronising package updates) and your internal network (for hosting packages for your internal VMs). If VMWare provides the necessary APIs, you can script this process.

    • spaghetti_carbanana@krabb.org
      link
      fedilink
      arrow-up
      3
      ·
      6 months ago

      This is the method I use in your scenario, OP. You can use Folder2iso to get the files in that you need. If the OS has official VMware tools, you can also mount the VMware Tools ISO straight from workstation into the VM and this will give you the clipboard service so you can copy and paste files between the host and VM, if this scenario is permitted within your isolation needs.

      Otherwise, go the ISO route. You just can’t bring stuff out of the VM back to the host is all.