Page 1 of 1
Copy/Paste file from host to virtual machine
Posted: 9. Oct 2015, 12:02
by tot94
Hello,
I can't copy and paste file through my host to my virtual machine. The fact is I don't want my virtual machine to be connected on Internet. So I've google on Internet how to copy file manually. So i've modified Configuration > General > Advanced :
share clipboard -> bidirectionnal
drag'n'drop -> bidirectional
I can copy and paste text from one to another but I can't do it with my files !! Where am i wrong ?
Thanks
Re: Copy/Paste file from host to virtual machine
Posted: 9. Oct 2015, 14:46
by mpack
What is the guest? What is the VirtualBox version? Did you install the Guest Additions?
Re: Copy/Paste file from host to virtual machine
Posted: 9. Oct 2015, 15:11
by tot94
It is VirtualBox v5.0.6
Never heard about Guest Additions ..
Is it a VirtualBox plugins ?
Re: Copy/Paste file from host to virtual machine
Posted: 9. Oct 2015, 15:23
by mpack
See chapter 4 of the user manual.
Re: Copy/Paste file from host to virtual machine
Posted: 9. Oct 2015, 15:28
by loukingjr
tot94 wrote:…I can copy and paste text from one to another but I can't do it with my files !! Where am i wrong ?
It strikes me as odd the user never heard of the guest additions since he would have to have them installed for the shared clipboard to work.
Re: Copy/Paste file from host to virtual machine
Posted: 9. Oct 2015, 15:53
by socratis
tot94 wrote:I can copy and paste text from one to another but I can't do it with my files
This is to be expected. You cannot copy/paste files, only simple text and simple graphics. This is not your Windows Explorer, it's a different thing altogether. Plus, as others have noticed, you already have the Guest Additions (GAs) installed. The fact that you have not shared with us what your guest is, leads me to believe that it is one of the latest Linux distros that come already with GAs pre-installed.
Re: Copy/Paste file from host to virtual machine
Posted: 12. Oct 2015, 09:26
by tot94
Hello,
So I've make the Guest addition on my Ubuntu VM like this :
Then I've shared a folder grom my host machine :
But I can't see the folder on my VM ...
osboxes@osboxes:~$ locate Downloads
/home/osboxes/Downloads
There is nothing...
What do I have miss ??
Re: Copy/Paste file from host to virtual machine
Posted: 12. Oct 2015, 10:10
by socratis
- Your images are small and cut so we can't see the whole picture clearly.
- You should be attaching your images here, not on some 3rd party site. See "Upload attachment" at the bottom of your reply.
- This problem that you're having has absolutely nothing to do with "Copy/Paste file from host to virtual machine" as the title of this thread indicates. You should have started a new topic.
- Read Ch. 4.2.2 Guest Additions for Linux for the proper way to install the GAs in your Ubuntu guest. Note any error messages that the installation might generate. In full detail. If it fails, please let us know.
- Read Ch. 4.3 Shared folders and especially Ch. 4.3.2 Automatic mounting. The shared folder should be under "/media/sf_***".
Re: Copy/Paste file from host to virtual machine
Posted: 12. Oct 2015, 10:43
by tot94
1&2.Click on the image in order to see them larger.
3. No it is still about copy/paste filte from host to VMs machine. However, I've started a new topic.
4.I've install Guest Additions in Ubuntu by running the CD VBOXADDITIONS_5.0.6103037
5.I don't see the folder from my Ubuntu at /media ...
Re: Copy/Paste file from host to virtual machine
Posted: 12. Oct 2015, 11:01
by socratis
tot94 wrote:1&2.Click on the image in order to see them larger.
I tried it. Didn't work. Did you try it? The 1st image is cropped and the 2nd is scaled down. Readable, but scaled. It still doesn't matter, because a lot of people will NOT go to 3rd party sites, that's why I said you should attach them here.
tot94 wrote:3. No it is still about copy/paste filte from host to VMs machine. However, I've started a new topic.
I fail to see how failing to see a shared folder has anything at all to do with Copy/Paste...
tot94 wrote:4.I've install Guest Additions in Ubuntu by running the CD VBOXADDITIONS_5.0.6103037
So, I assume you read the relevant chapter, you followed the instructions and there were no errors, right?
tot94 wrote:5.I don't see the folder from my Ubuntu at /media ...
So, I assume you read the relevant chapter, you followed the instructions and you couldn't see the shared folder, right?
Re: Copy/Paste file from host to virtual machine
Posted: 12. Oct 2015, 14:22
by tot94
1&2.Yes I've scaled all the pic. I will attach them now.
3.A shared folder to copy/paste files from the host throught the VMs, anyway
4.On my Ubuntu, I've done "Insert Guest Additions CD Image"
I have run the install.
If I click again on "Insert Guest Addition CD Image", a windows appears with this detail error :
(VERR_PDM_MEDIA_LOCKED)
Is it normal ?
5.Then, I've make a shared folder C:\Users\TKNJ6322\Downloads with auto-mount:yes and access:full.
From my VM window, Device/Shared Folders/Shared Folders Setting, I can see C:\Users\TKNJ6322\Downloads
EDIT : I don't know why but it works...
osboxes@osboxes:~$ sudo ls /media/sf_Downloads/
[sudo] password for osboxes:
7zip.exe putty.exe