Reputation: 9
I have installed Virtual Machine in my windows and inside VM, added Ubuntu.
So I need to copy a file from my windows machine to VM Ubuntu.
How can i do it?
Upvotes: 0
Views: 49921
Reputation: 1532
There are many methods to do it: (i recommend Method 3)
Method 1:
Mount a shared folder that's on the Windows host onto Ubuntu. That way you don't even need to copy them.
Go to Virtual Machine » Virtual Machine Settings » Shared Folders.
Method 2
The easiest way to do is to install the VMware Tools in Ubuntu, then you are able to drag the file into the Ubuntu VM.
To install VMware Tools, you need to switch to Ubuntu, then go to the VMware menu VM » Install VMware Tools, and then follow the instructions to finish the installation.
Method 3
Login to your linux machine (ubuntu) in vmware.
Click on "Places" and go to "Network" .
Go inside "Windows Network" and go deeper and you will find "user" and then "Public" .
This folder is nothing but your windows "Public" folder.
You can use this folder as a shared folder between host and guest machine.
Refer: For detailed description
Upvotes: 2
Reputation: 1338
If you have sshd enables on your Ubuntu guest and host and guest are able to communicate via LAN with each other, you could use the scp to copy files. On your windows host you can use WinSCP.
Upvotes: 2