1
1
I'm trying to mount a Windows folder on my Ubuntu machine on start up. I've tried following this page here, modifying /etc/fstab and appending sshfs#my_user@remote_host:/path/to/directory <local_mount_point> fuse user 0 0
to it, but it fails; on start up, I get an error saying that the mounting failed, and I can press S to skip or M to recover manually.
I also tried following this page here, appending /usr/bin/sshfs -o idmap=user my_user@remote_host:/path/to/directory <local_mount_point>
to the /etc/rc.local file, but this doesn't help either; Ubuntu just boots up normally without mounting.
I have Cygwin installed on my Windows machine, and I can run everything smoothly, such as sshing without passwords, and mounting it manually. I've also tried to run the modified rc.local file $ /etc/rc.local
, and it works perfectly, but I just can't seem to get the folder mounted on start up.
Can someone help me?
EDIT: by remote, I meant that the folder I'm trying to mount from my Windows machine (which has a public ip), is not on the same network. I am using sshfs, not nfs.
Could you please check whether the solution that works on my Arch system, which I just added to my initial answer as an edit, works for you too? – MariusMatutiae – 2013-10-30T19:03:39.410