Home Forums Hortonworks Sandbox Setting up a Shared Folder Windows/Linux

This topic contains 10 replies, has 3 voices, and was last updated by  Greg Watson 9 months, 4 weeks ago.

  • Creator
    Topic
  • #43922

    Greg Watson
    Member

    I’ve set up a shared folder through the VM settings on the Windows side (in my case Windows 7). How do you make this shared folder accessible on the Linux VM side, so you can copy files into the directory on Windows and access them on Linux?

Viewing 10 replies - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #44366

    Greg Watson
    Member

    Dave,

    I followed the instructions on this page:

    http://wiki.nikoforge.org/VMWare_Tools_Installation_on_CentOS

    …and they worked…and when I run this command vmware-hgfsclient in the Linux VM,
    I get the correct location of the shared folder on Windows…but…in addition to this, it looks like
    a vmware-config-tools.pl script is supposed to be run. I can’t seem to locate this script after the install.
    Can this script be downloaded elsewhere (or should it be?)?

    Thanks,

    Greg

    Collapse
    #44367

    Greg Watson
    Member

    Dave,

    I followed the instructions on this page:

    http://wiki.nikoforge.org/VMWare_Tools_Installation_on_CentOS

    …and they worked…and when I run this command vmware-hgfsclient in the Linux VM,
    I get the correct location of the shared folder on Windows…but…in addition to this, it looks like
    a vmware-config-tools.pl script is supposed to be run. I can’t seem to locate this script after the install.
    Can this script be downloaded elsewhere (or should it be?)?

    Thanks,

    Greg

    Collapse
    #44099

    Dave
    Moderator

    Hi Greg,

    Yes you should follow these instructions.
    Otherwise as I said before, it may be easier to just use a SFTP program

    Thanks

    Dave

    Collapse
    #44085

    Greg Watson
    Member

    Dave,

    I made a CD of VMware tools and tried to installing it using the VMware player GUI pull-down menu, but I received a could not find CD-ROM device type of error. I found this page: http://wiki.nikoforge.org/VMWare_Tools_Installation_on_CentOS
    Would these be the instructions to follow to install VMware tools using VMware player?

    Thanks,

    Greg

    Collapse
    #43982

    Dave
    Moderator

    Hi Greg,

    Have you installed VMware tools?
    You can always use a program like WinSCP and drag the files you want to move to the VM using that.

    Thanks

    Dave

    Collapse
    #43972

    Greg Watson
    Member

    Thanks for the continued feedback. When I tried mount -t vmhgfs .host:/foo/bar /var/lib/bar, I also receive an unknown filesystem type ‘vmhgfs’ error.

    Collapse
    #43966
    Collapse
    #43962

    Greg Watson
    Member

    Well, I tried the instructions as follows on Linux, using VMware player, and logged in as root:

    1) mkdir SharedFolder in /mnt
    2) chmod 777 /mnt/SharedFolder
    3) mount -t vboxsf SharedFolder /mnt/SharedFolder

    And received this error:
    mount: unknown filesystem type ‘vboxsf’

    Collapse
    #43950

    Greg Watson
    Member

    Thanks for the reply and link. I’m using VMware Player.
    I’ll give the steps in the instructions a try and reply back.

    Collapse
    #43933

    runeetv
    Member

    Which VM application are you using? It depends on the VM. For example, with virtualbox, here are the instructions: http://www.virtualbox.org/manual/ch04.html#sharedfolders

    Collapse
Viewing 10 replies - 1 through 10 (of 10 total)