VMware Communities
homm86
Contributor
Contributor

Connect shared folder to Ubuntu 14.04 at boot time

What is preferred way to connect shared folder at boot time? I'm trying to add following to `/etc/fstab`:

    .host:/Code /home/homm/Code vmhgfs defaults,ttl=5,uid=1000,gid=1000 0 0

But I get an error at boot time:

    An error occurred while mounting /home/homm/Code. Press S to skip mounting or M for manual recovery.

When I enter to recovery mode, there is no `vmhgfs` module in `lsmod` list yet. If I skip, it appears after login.

May be I should use another way to connect shared folder? This method worked in Ubuntu 12.10, though.

Tags (2)
0 Kudos
1 Reply
homm86
Contributor
Contributor

I've added mount to `rc.local`:

    modprobe vmhgfs

    mount -t vmhgfs .host:/Code /home/homm/Code -o defaults,ttl=5,uid=1000,gid=1000

Everything seems work, but I'm still not sure.

0 Kudos