(Solved) Shared Folders not mounting Manjaro
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
(Solved) Shared Folders not mounting Manjaro
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
thanks
Last edited by loukingjr on 9. May 2013, 17:23, edited 1 time in total.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: Shared Folders not mounting Manjaro
Installed Manjaro 0.8.5.2 XFCE 64bit. Shared folders are not working in it either. Same details as above.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
-
noteirak
- Site Moderator
- Posts: 5231
- Joined: 13. Jan 2012, 11:14
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Debian, Win 2k8, Win 7
- Contact:
Re: Shared Folders not mounting Manjaro
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.
Check your logs and find the line about the automount failing, and post back here.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: Shared Folders not mounting Manjaro
will donoteirak 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.
edit: btw, which log? the VM's logs or the guest logs and which one if you know.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
-
noteirak
- Site Moderator
- Posts: 5231
- Joined: 13. Jan 2012, 11:14
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Debian, Win 2k8, Win 7
- Contact:
Re: Shared Folders not mounting Manjaro
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.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: Shared Folders not mounting Manjaro
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?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.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
-
noteirak
- Site Moderator
- Posts: 5231
- Joined: 13. Jan 2012, 11:14
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Debian, Win 2k8, Win 7
- Contact:
Re: Shared Folders not mounting Manjaro
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
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
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: Shared Folders not mounting Manjaro
thanks. I found it in /var/log/messages
apparently it sets up automount long before it loads vboxsf
apparently it sets up automount long before it loads vboxsf
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
-
noteirak
- Site Moderator
- Posts: 5231
- Joined: 13. Jan 2012, 11:14
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Debian, Win 2k8, Win 7
- Contact:
Re: Shared Folders not mounting Manjaro
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?
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: Shared Folders not mounting Manjaro
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 respondnoteirak 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?
thanks for the help.
edit: I forgot to mention they use their own fork of the guest additions.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
-
noteirak
- Site Moderator
- Posts: 5231
- Joined: 13. Jan 2012, 11:14
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Debian, Win 2k8, Win 7
- Contact:
Re: Shared Folders not mounting Manjaro
Then support can only come from their side indeed.loukingjr wrote:I forgot to mention they use their own fork of the guest additions.
Have you tried with the official ones?
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: Shared Folders not mounting Manjaro
I think when I first tried Manjaro I did and it didn't work out so well. I suppose I could try them.noteirak wrote:Then support can only come from their side indeed.loukingjr wrote:I forgot to mention they use their own fork of the guest additions.
Have you tried with the official ones?
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Shared Folders not mounting Manjaro
/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.
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: Shared Folders not mounting Manjaro
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.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.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: Shared Folders not mounting Manjaro
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
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
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.