Problem to mount shared name
-
HuaMin
- Posts: 239
- Joined: 17. Jan 2012, 07:01
- Primary OS: MS Windows XP
- VBox Version: OSE other
- Guest OSses: Oracle linux
Problem to mount shared name
Hi,
On the Windows Host I have one shared name called "dwnld", but what to adapt, due to the problem below, when mounting it, within Red-hat guest?
[root@CentOS65x64 ~]# mount -t vboxsf dwnld mountpoint
/sbin/mount.vboxsf: mounting failed with the error: No such file or directory
[root@CentOS65x64 ~]#
On the Windows Host I have one shared name called "dwnld", but what to adapt, due to the problem below, when mounting it, within Red-hat guest?
[root@CentOS65x64 ~]# mount -t vboxsf dwnld mountpoint
/sbin/mount.vboxsf: mounting failed with the error: No such file or directory
[root@CentOS65x64 ~]#
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: Problem to mount shared name
Moved to Linux guests.
Surely "mountpoint" should be replaced by the name of a parent folder?
You should also read the information on shared folders given in the user manual.
Surely "mountpoint" should be replaced by the name of a parent folder?
You should also read the information on shared folders given in the user manual.
-
HuaMin
- Posts: 239
- Joined: 17. Jan 2012, 07:01
- Primary OS: MS Windows XP
- VBox Version: OSE other
- Guest OSses: Oracle linux
Re: Problem to mount shared name
Many thanks.
Yes, "mountpoint" is one existing folder.
But I still get this
[root@CentOS65x64 /]# mount -t vboxsf dwnld mountpoint
/sbin/mount.vboxsf: mounting failed with the error: No such device
Yes, "mountpoint" is one existing folder.
But I still get this
[root@CentOS65x64 /]# mount -t vboxsf dwnld mountpoint
/sbin/mount.vboxsf: mounting failed with the error: No such device
-
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: Problem to mount shared name
'mountpoint' should be replaced by the name/location of the folder where you want the shared folder mounted.
Last edited by loukingjr on 14. Oct 2015, 06:33, 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.
-
HuaMin
- Posts: 239
- Joined: 17. Jan 2012, 07:01
- Primary OS: MS Windows XP
- VBox Version: OSE other
- Guest OSses: Oracle linux
Re: Problem to mount shared name
Thanks.
Isn't "mountpoint" one existing folder on Red hat?
Isn't "mountpoint" one existing folder on Red hat?
-
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: Problem to mount shared name
Not that I'm aware of. But I've never used Red Hat.
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.
-
HuaMin
- Posts: 239
- Joined: 17. Jan 2012, 07:01
- Primary OS: MS Windows XP
- VBox Version: OSE other
- Guest OSses: Oracle linux
Re: Problem to mount shared name
what to adjust, due to the above problem shown?
-
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: Problem to mount shared name
if you create a folder in your guest home directory, let's call it "test", I believe the command you would want to run as root would be…
replace the word user with your user name.
I use Auto-mount for shared folders. I'm allergic to CLI commands, but I think that would be correct
Code: Select all
mount -t vboxsf dwnld /home/user/testI use Auto-mount for shared folders. I'm allergic to CLI commands, but I think that would be correct
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.
-
socratis
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Problem to mount shared name
Wouldn't you know... This is actually an excerpt from the user manual, Ch. 4.3.1 Manual mounting describing the proper procedure:
For more information on the 'mount' command and its options, from the terminal do:mount -t vboxsf [-o OPTIONS] sharename mountpointReplace sharename (use lowercase) with the share name specified with VBoxManage or the GUI, and mountpoint with the path where you want the share to be mounted on the guest (e.g. /mnt/share). The usual mount rules apply, that is, create this directory first if it does not exist yet.
man mountDo NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
-
HuaMin
- Posts: 239
- Joined: 17. Jan 2012, 07:01
- Primary OS: MS Windows XP
- VBox Version: OSE other
- Guest OSses: Oracle linux
Re: Problem to mount shared name
Sorry Loukingjr, I am getting this
Code: Select all
[root@CentOS65x64 bin]# cd /home/
[root@CentOS65x64 home]# mkdir share0
[root@CentOS65x64 home]# mount -t vboxsf dwnld /home/share0
/sbin/mount.vboxsf: mounting failed with the error: No such device
[root@CentOS65x64 home]#
-
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: Problem to mount shared name
That could be because you didn't do what I said.
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.
-
HuaMin
- Posts: 239
- Joined: 17. Jan 2012, 07:01
- Primary OS: MS Windows XP
- VBox Version: OSE other
- Guest OSses: Oracle linux
Re: Problem to mount shared name
What is missing? I am to share this path
that is within Red hat
Code: Select all
/home/share0-
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: Problem to mount shared name
I'm not really sure what you are doing. socratis posted the link for you to manually mount shared folders and this is the link where shared folders are covered. right above the link he posted.
https://www.virtualbox.org/manual/ch04. ... redfolders
I have one question though, did you actually add the dwnld folder that is on your host to the Shared Folder settings for the guest?
https://www.virtualbox.org/manual/ch04. ... redfolders
I have one question though, did you actually add the dwnld folder that is on your host to the Shared Folder settings for the guest?
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.
-
HuaMin
- Posts: 239
- Joined: 17. Jan 2012, 07:01
- Primary OS: MS Windows XP
- VBox Version: OSE other
- Guest OSses: Oracle linux
Re: Problem to mount shared name
Yes, I already shared the path from Host to Guest OS.
-
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: Problem to mount shared name
well, then you could just check Auto-mount and the folder will be in /media each time you boot. then you won't have to mount it manually.
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.