Re: mount folder on host OS so guest OS can see it

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Apr 11, 2015 at 09:51:32PM +0100, Paul Sutton wrote:
> I have tried to google this and am getting nowhere
> 
> I am struggling to do the following
> 
> I have Linux mint 17.1 as my Host OS
> I have TORIOS (another linux based OS) as my guest in a virtual machine
> 
> All I want to do is copy files to / from the guest OS, such as screen
> shots taken inside the guest oS with the built in screen shot
> (basically the window of the application I want)
> 
> Networking is set up and seems to be working fine
> 
> There IS a shared folder on the host OS,  I am sure this is possible I
> just can't find the instructions I had before to do it
> 
> I think before it wa a case of mounting the folder that is on the host
> OS so the guest OS can see it.
> 
> Can anyone help please

The proper way to do it is to set up something like NFS.
With NFSv4 it's not as painful as it used to be, primarily
because you only need to open up a single port on the NFS
server (port 2049).

In the case where you *only* want to copy files from the guest
to the host however, you can do it using (on the host):

  # virt-copy-out -d GuestName /path/to/guest/file /tmp/file

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux