Page 1 of 2

(Solved) Shared Folders not mounting Manjaro

Posted: 14. Mar 2013, 16:14
by loukingjr
Installed Manjaro 0.8.5 e17 as a guest and for some reason shared folders won't automount. Added the command to mount them to /etc/rc.local as always and nothing. sudo mount -t vboxsf -o uid=1000,gid=1000 share ~/host works in the terminal but not automounting. It works in Manjaro 0.8.4 and Manjaro 0.8.5 XFCE so I assume it's something with the particular edition but if someone knows where I might look?

thanks

Re: Shared Folders not mounting Manjaro

Posted: 9. May 2013, 03:17
by loukingjr
Installed Manjaro 0.8.5.2 XFCE 64bit. Shared folders are not working in it either. Same details as above.

Re: Shared Folders not mounting Manjaro

Posted: 9. May 2013, 11:35
by noteirak
Manjaro is not in the supported ditribution of Linux. Arch linux is, but then there is no way to know in Manjaro what they have changed.
Check your logs and find the line about the automount failing, and post back here.

Re: Shared Folders not mounting Manjaro

Posted: 9. May 2013, 11:36
by loukingjr
noteirak wrote:Manjaro is not in the supported ditribution of Linux. Arch linux is, but then there is no way to know in Manjaro what they have changed.
Check your logs and find the line about the automount failing, and post back here.
will do :)

edit: btw, which log? the VM's logs or the guest logs and which one if you know.

Re: Shared Folders not mounting Manjaro

Posted: 9. May 2013, 12:18
by noteirak
The guest OS log, since you can mount it normally, but not with automount. I think the guest additions are loaded AFTER the automount (and hence, the automount is failing) and I want to be sure.

Re: Shared Folders not mounting Manjaro

Posted: 9. May 2013, 12:25
by loukingjr
noteirak wrote:The guest OS log, since you can mount it normally, but not with automount. I think the guest additions are loaded AFTER the automount (and hence, the automount is failing) and I want to be sure.
I hate being dense but there are a number of logs. I'm looking in /var/logs. Is there some other place I should be looking for the guest OS log?

Re: Shared Folders not mounting Manjaro

Posted: 9. May 2013, 12:27
by noteirak
either /var/log/messages or /var/log/syslog. Maybe /var/log/dmesg.
You simply want to check which one is loaded first : automount or guest additions. If automount is loaded first, you'll have to edit the load order or create a new init script just for the shared folder automount.

But it could be totally unrelated, hence the log check :D

Re: Shared Folders not mounting Manjaro

Posted: 9. May 2013, 12:37
by loukingjr
thanks. I found it in /var/log/messages

apparently it sets up automount long before it loads vboxsf

Re: Shared Folders not mounting Manjaro

Posted: 9. May 2013, 13:04
by noteirak
Nothing surprising there. I am not too keen on an approach that would delay the automount personally, so I would advice to create a very simple init script that have automount & vboxsf as requirements and would simply reload automount per example. But I am still surprised that vboxsf doesn't do that already, I would expect it to. Do you have any other error when vboxsf is loaded?

Re: Shared Folders not mounting Manjaro

Posted: 9. May 2013, 13:09
by loukingjr
noteirak wrote:Nothing surprising there. I am not too keen on an approach that would delay the automount personally, so I would advice to create a very simple init script that have automount & vboxsf as requirements and would simply reload automount per example. But I am still surprised that vboxsf doesn't do that already, I would expect it to. Do you have any other error when vboxsf is loaded?
I didn't see any errors. It's odd because in some versions of Manjaro shared folders mounted fine and in some they didn't. I have a post on their forum and will see what they say assuming they respond :)

thanks for the help.

edit: I forgot to mention they use their own fork of the guest additions.

Re: Shared Folders not mounting Manjaro

Posted: 9. May 2013, 13:13
by noteirak
loukingjr wrote:I forgot to mention they use their own fork of the guest additions.
Then support can only come from their side indeed.
Have you tried with the official ones?

Re: Shared Folders not mounting Manjaro

Posted: 9. May 2013, 13:17
by loukingjr
noteirak wrote:
loukingjr wrote:I forgot to mention they use their own fork of the guest additions.
Then support can only come from their side indeed.
Have you tried with the official ones?
I think when I first tried Manjaro I did and it didn't work out so well. I suppose I could try them.

Re: Shared Folders not mounting Manjaro

Posted: 9. May 2013, 15:23
by Perryg
/etc/rc.local is not run until you actually log in. The purpose of the rc.local was to be the last thing to run at login. They may have the rc.d process torked on Manjaro, (not too sure) but I would look at how they are processing the systemd events. I do know however that this is going to be an OS issue. Another thing to note is the VBox automount feature. If you are using that you and then try to use the manual mount and add an event to the /etc/rc.local, this has been know to cause problems. They supposedly fixed that but there is always going to be an issue in the back of my mind trying to use both at the same time.

Re: Shared Folders not mounting Manjaro

Posted: 9. May 2013, 15:28
by loukingjr
Perryg wrote:/etc/rc.local is not run until you actually log in. The purpose of the rc.local was to be the last thing to run at login. They may have the rc.d process torked on Manjaro, (not too sure) but I would look at how they are processing the systemd events. I do know however that this is going to be an OS issue. Another thing to note is the VBox automount feature. If you are using that you and then try to use the manual mount and add an event to the /etc/rc.local, this has been know to cause problems. They supposedly fixed that but there is always going to be an issue in the back of my mind trying to use both at the same time.
thanks Perry. I actually unchecked automount before I added mount commands to the /etc/rc.local file. what I didn't do is try fstab. I might try that next.

Re: Shared Folders not mounting Manjaro

Posted: 9. May 2013, 15:38
by loukingjr
I'm not sure why but if I turn off automount I can't mount the shares in the terminal.

edit: I didn't notice this before either but even when I mount them in the terminal they don't show in either /media or /mnt