16
submitted 5 months ago by Corsair@programming.dev to c/linux@lemmy.ml

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
[-] dgriffith@aussie.zone 6 points 5 months ago* (last edited 5 months ago)

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

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

[-] lemmyreader@lemmy.ml 4 points 5 months ago
[-] spaghetti_carbanana@krabb.org 5 points 5 months ago

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.

[-] moonpiedumplings@programming.dev 3 points 5 months ago

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.

[-] Static_Rocket@lemmy.world 6 points 5 months ago

Or just use virtmanager + libvirt

[-] wildbus8979@sh.itjust.works 3 points 5 months ago

Create a virtualized FAT drive

[-] Corsair@programming.dev 2 points 5 months ago* (last edited 5 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 :)

[-] thingsiplay@beehaw.org 2 points 5 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.

[-] JASN_DE@lemmy.world 1 points 5 months ago

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

[-] ReversalHatchery@beehaw.org 1 points 5 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.

this post was submitted on 05 Apr 2024
16 points (90.0% liked)

Linux

47290 readers
1056 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