this post was submitted on 05 Apr 2024
15 points (89.5% liked)

Linux

47958 readers
969 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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)

all 12 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 7 months ago* (last edited 7 months ago)

SSH/SCP. Install Winscp or Filezilla on the host.

Or alternatively, Windows version of tar -> netcat -> network -> netcat -> Linux version of tar.

[–] [email protected] 4 points 7 months ago (1 children)
[–] [email protected] 4 points 7 months ago (1 children)

The two aren't even in the same league. I'm a big open source advocate don't get me wrong, but VirtualBox is horrible to use and its not what OP asked.

[–] [email protected] 3 points 7 months ago (1 children)

If you're not trying to create complex virtual networks, or have hardware accelerated graphics, VirtualBox can be a bit unintuitive, but has all of the features that VMWare makes you pay for, available for free.

[–] [email protected] 5 points 7 months ago

Or just use virtmanager + libvirt

[–] [email protected] 3 points 7 months ago

Create a virtualized FAT drive

[–] [email protected] 2 points 7 months ago* (last edited 7 months ago)

Thank you all for your input's !! 🤗

I've put the files on a USB flash drive formatted as a classic FAT. Then I mounted it in the VM (I confirm no need the VMware-tools for that :)

[–] [email protected] 2 points 7 months ago

I don't use VMware, so these are just ideas. Without using a network, I have to possible solutions in mind: a) can you drag and drop between the machines? or b) use a usb-stick to write and read from, at least until you find a better solution.

[–] [email protected] 1 points 7 months ago

Not sure whether open-vm-tools is needed for that, but you could try using the clipboard for the purpose. Compress the data and BASE32 encode it. Maybe also split it to smaller units so that it fits any clipboard limits.

How much data do you want to transfer?

You could also consider copying open-vm-tools to the VM this way, and then you could make use of proper shared folders.

[–] [email protected] 1 points 7 months ago

As you need an installation medium anyway, get those packages while you're at it, then install them on the VM.