Sharing folder in Virtualbox
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I'm running Debian 9 as Host and I installed correctly Windows 7 as guest by using Oracle VirtualBox (v. 5.2.6); both the OSs work fine and I need to have a folder shared between those 2 operative systems.
In order to be able to get this, I followed these steps:
GuestAddition installation, by running, as super-user:
apt-get install virtualbox-guest-dkms virtualbox-guest-x11 linux-headers-$(uname -r)
Creating the candidate folder
/home/quant/Scrivania/VirtualBox/Data
by modifying the Oracle VirtualBox Manager settings (Shared Folders);mounting the device by running:
mount -t vboxsf Data /home/quant/Scrivania/VirtualBox/Data/
At the point (3), I got the following error message in the terminal:
/sbin/mount.vboxsf: mounting failed with the error: No such device
It seems like the folder does not exist although I manually create the local folder and set it as shared folder in the VirtualBox manager.
Someone could suggest a solution?
Hope I has been clear when I asked the question. Thanks you all in advice!
debian virtualbox virtual-machine file-sharing
add a comment |Â
up vote
1
down vote
favorite
I'm running Debian 9 as Host and I installed correctly Windows 7 as guest by using Oracle VirtualBox (v. 5.2.6); both the OSs work fine and I need to have a folder shared between those 2 operative systems.
In order to be able to get this, I followed these steps:
GuestAddition installation, by running, as super-user:
apt-get install virtualbox-guest-dkms virtualbox-guest-x11 linux-headers-$(uname -r)
Creating the candidate folder
/home/quant/Scrivania/VirtualBox/Data
by modifying the Oracle VirtualBox Manager settings (Shared Folders);mounting the device by running:
mount -t vboxsf Data /home/quant/Scrivania/VirtualBox/Data/
At the point (3), I got the following error message in the terminal:
/sbin/mount.vboxsf: mounting failed with the error: No such device
It seems like the folder does not exist although I manually create the local folder and set it as shared folder in the VirtualBox manager.
Someone could suggest a solution?
Hope I has been clear when I asked the question. Thanks you all in advice!
debian virtualbox virtual-machine file-sharing
For a sanity check, are the VirtualBox modules loaded (checklsmod|grep vbox
)?
â ErikF
Feb 26 at 4:23
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I'm running Debian 9 as Host and I installed correctly Windows 7 as guest by using Oracle VirtualBox (v. 5.2.6); both the OSs work fine and I need to have a folder shared between those 2 operative systems.
In order to be able to get this, I followed these steps:
GuestAddition installation, by running, as super-user:
apt-get install virtualbox-guest-dkms virtualbox-guest-x11 linux-headers-$(uname -r)
Creating the candidate folder
/home/quant/Scrivania/VirtualBox/Data
by modifying the Oracle VirtualBox Manager settings (Shared Folders);mounting the device by running:
mount -t vboxsf Data /home/quant/Scrivania/VirtualBox/Data/
At the point (3), I got the following error message in the terminal:
/sbin/mount.vboxsf: mounting failed with the error: No such device
It seems like the folder does not exist although I manually create the local folder and set it as shared folder in the VirtualBox manager.
Someone could suggest a solution?
Hope I has been clear when I asked the question. Thanks you all in advice!
debian virtualbox virtual-machine file-sharing
I'm running Debian 9 as Host and I installed correctly Windows 7 as guest by using Oracle VirtualBox (v. 5.2.6); both the OSs work fine and I need to have a folder shared between those 2 operative systems.
In order to be able to get this, I followed these steps:
GuestAddition installation, by running, as super-user:
apt-get install virtualbox-guest-dkms virtualbox-guest-x11 linux-headers-$(uname -r)
Creating the candidate folder
/home/quant/Scrivania/VirtualBox/Data
by modifying the Oracle VirtualBox Manager settings (Shared Folders);mounting the device by running:
mount -t vboxsf Data /home/quant/Scrivania/VirtualBox/Data/
At the point (3), I got the following error message in the terminal:
/sbin/mount.vboxsf: mounting failed with the error: No such device
It seems like the folder does not exist although I manually create the local folder and set it as shared folder in the VirtualBox manager.
Someone could suggest a solution?
Hope I has been clear when I asked the question. Thanks you all in advice!
debian virtualbox virtual-machine file-sharing
asked Feb 25 at 22:50
Quant.Pi
115
115
For a sanity check, are the VirtualBox modules loaded (checklsmod|grep vbox
)?
â ErikF
Feb 26 at 4:23
add a comment |Â
For a sanity check, are the VirtualBox modules loaded (checklsmod|grep vbox
)?
â ErikF
Feb 26 at 4:23
For a sanity check, are the VirtualBox modules loaded (check
lsmod|grep vbox
)?â ErikF
Feb 26 at 4:23
For a sanity check, are the VirtualBox modules loaded (check
lsmod|grep vbox
)?â ErikF
Feb 26 at 4:23
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
0
down vote
Your error: /sbin/mount.vboxsf: mounting failed with the error: No such device
could be caused because you are mounting the SF with the same name for the share and mount point. They should be different (i.e share is called ~/share
and mount point ~/host
) You will also need to make sure you have followed these steps correctly:
- Create a folder on the Host computer (ubuntu) that you would like to share, for example ~/share
- Boot the Guest operating system in VirtualBox.
- Select Devices -> Shared Folders...
- Choose the 'Add' button.
- Select ~/share
- Optionally select the 'Make permanent' option
After you have completed that process, open your terminal on the host and run:
sudo mount -t vboxsf -o uid=$UID,gid=$(id -g) /home/quant/Scrivania/VirtualBox/Data ~/host
(/home/quant/Scrivania/VirtualBox/Data
and ~/host
may have to be reversed or changed to the appropriate names)
If that step completes successfully on your Windows guest you should be able to run:
net use x: \vboxsvr[whatever your share folder's name is]
Keep your shared folder name simple such as ~/Data
or ~/share
instead of /home/quant/Scrivania/VirtualBox/Data
as that may be another source for your issue. Good Luck!
add a comment |Â
up vote
0
down vote
accepted
I simply solved by following those steps; first of all install Oracle Virtual Box as follows:
- run as super-user
nano /etc/apt/sources.list.d/virtualbox.list
- paste
deb http://download.virtualbox.org/virtualbox/debian stretch contrib
and after typectrl+O
andctrl+X
to save and quit respectively run from the terminal:
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | apt-key add -
apt update
apt-get install virtualbox-5.2
apt-get install dkms
After, download the .iso image from the Oracle Repository and choosing the version you need on the basis of your host OS and install GuestAdditions by selecting from the virtual machine window menu
Device > Insert ISO image for GuestAdditions
and follow what suggested by the installation guide. Finally, go through
Devices > Shared Folder
and select the path in which is contained the folder you need to share.
Hope this helps.
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Your error: /sbin/mount.vboxsf: mounting failed with the error: No such device
could be caused because you are mounting the SF with the same name for the share and mount point. They should be different (i.e share is called ~/share
and mount point ~/host
) You will also need to make sure you have followed these steps correctly:
- Create a folder on the Host computer (ubuntu) that you would like to share, for example ~/share
- Boot the Guest operating system in VirtualBox.
- Select Devices -> Shared Folders...
- Choose the 'Add' button.
- Select ~/share
- Optionally select the 'Make permanent' option
After you have completed that process, open your terminal on the host and run:
sudo mount -t vboxsf -o uid=$UID,gid=$(id -g) /home/quant/Scrivania/VirtualBox/Data ~/host
(/home/quant/Scrivania/VirtualBox/Data
and ~/host
may have to be reversed or changed to the appropriate names)
If that step completes successfully on your Windows guest you should be able to run:
net use x: \vboxsvr[whatever your share folder's name is]
Keep your shared folder name simple such as ~/Data
or ~/share
instead of /home/quant/Scrivania/VirtualBox/Data
as that may be another source for your issue. Good Luck!
add a comment |Â
up vote
0
down vote
Your error: /sbin/mount.vboxsf: mounting failed with the error: No such device
could be caused because you are mounting the SF with the same name for the share and mount point. They should be different (i.e share is called ~/share
and mount point ~/host
) You will also need to make sure you have followed these steps correctly:
- Create a folder on the Host computer (ubuntu) that you would like to share, for example ~/share
- Boot the Guest operating system in VirtualBox.
- Select Devices -> Shared Folders...
- Choose the 'Add' button.
- Select ~/share
- Optionally select the 'Make permanent' option
After you have completed that process, open your terminal on the host and run:
sudo mount -t vboxsf -o uid=$UID,gid=$(id -g) /home/quant/Scrivania/VirtualBox/Data ~/host
(/home/quant/Scrivania/VirtualBox/Data
and ~/host
may have to be reversed or changed to the appropriate names)
If that step completes successfully on your Windows guest you should be able to run:
net use x: \vboxsvr[whatever your share folder's name is]
Keep your shared folder name simple such as ~/Data
or ~/share
instead of /home/quant/Scrivania/VirtualBox/Data
as that may be another source for your issue. Good Luck!
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Your error: /sbin/mount.vboxsf: mounting failed with the error: No such device
could be caused because you are mounting the SF with the same name for the share and mount point. They should be different (i.e share is called ~/share
and mount point ~/host
) You will also need to make sure you have followed these steps correctly:
- Create a folder on the Host computer (ubuntu) that you would like to share, for example ~/share
- Boot the Guest operating system in VirtualBox.
- Select Devices -> Shared Folders...
- Choose the 'Add' button.
- Select ~/share
- Optionally select the 'Make permanent' option
After you have completed that process, open your terminal on the host and run:
sudo mount -t vboxsf -o uid=$UID,gid=$(id -g) /home/quant/Scrivania/VirtualBox/Data ~/host
(/home/quant/Scrivania/VirtualBox/Data
and ~/host
may have to be reversed or changed to the appropriate names)
If that step completes successfully on your Windows guest you should be able to run:
net use x: \vboxsvr[whatever your share folder's name is]
Keep your shared folder name simple such as ~/Data
or ~/share
instead of /home/quant/Scrivania/VirtualBox/Data
as that may be another source for your issue. Good Luck!
Your error: /sbin/mount.vboxsf: mounting failed with the error: No such device
could be caused because you are mounting the SF with the same name for the share and mount point. They should be different (i.e share is called ~/share
and mount point ~/host
) You will also need to make sure you have followed these steps correctly:
- Create a folder on the Host computer (ubuntu) that you would like to share, for example ~/share
- Boot the Guest operating system in VirtualBox.
- Select Devices -> Shared Folders...
- Choose the 'Add' button.
- Select ~/share
- Optionally select the 'Make permanent' option
After you have completed that process, open your terminal on the host and run:
sudo mount -t vboxsf -o uid=$UID,gid=$(id -g) /home/quant/Scrivania/VirtualBox/Data ~/host
(/home/quant/Scrivania/VirtualBox/Data
and ~/host
may have to be reversed or changed to the appropriate names)
If that step completes successfully on your Windows guest you should be able to run:
net use x: \vboxsvr[whatever your share folder's name is]
Keep your shared folder name simple such as ~/Data
or ~/share
instead of /home/quant/Scrivania/VirtualBox/Data
as that may be another source for your issue. Good Luck!
answered Feb 25 at 23:44
kemotep
1,0941616
1,0941616
add a comment |Â
add a comment |Â
up vote
0
down vote
accepted
I simply solved by following those steps; first of all install Oracle Virtual Box as follows:
- run as super-user
nano /etc/apt/sources.list.d/virtualbox.list
- paste
deb http://download.virtualbox.org/virtualbox/debian stretch contrib
and after typectrl+O
andctrl+X
to save and quit respectively run from the terminal:
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | apt-key add -
apt update
apt-get install virtualbox-5.2
apt-get install dkms
After, download the .iso image from the Oracle Repository and choosing the version you need on the basis of your host OS and install GuestAdditions by selecting from the virtual machine window menu
Device > Insert ISO image for GuestAdditions
and follow what suggested by the installation guide. Finally, go through
Devices > Shared Folder
and select the path in which is contained the folder you need to share.
Hope this helps.
add a comment |Â
up vote
0
down vote
accepted
I simply solved by following those steps; first of all install Oracle Virtual Box as follows:
- run as super-user
nano /etc/apt/sources.list.d/virtualbox.list
- paste
deb http://download.virtualbox.org/virtualbox/debian stretch contrib
and after typectrl+O
andctrl+X
to save and quit respectively run from the terminal:
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | apt-key add -
apt update
apt-get install virtualbox-5.2
apt-get install dkms
After, download the .iso image from the Oracle Repository and choosing the version you need on the basis of your host OS and install GuestAdditions by selecting from the virtual machine window menu
Device > Insert ISO image for GuestAdditions
and follow what suggested by the installation guide. Finally, go through
Devices > Shared Folder
and select the path in which is contained the folder you need to share.
Hope this helps.
add a comment |Â
up vote
0
down vote
accepted
up vote
0
down vote
accepted
I simply solved by following those steps; first of all install Oracle Virtual Box as follows:
- run as super-user
nano /etc/apt/sources.list.d/virtualbox.list
- paste
deb http://download.virtualbox.org/virtualbox/debian stretch contrib
and after typectrl+O
andctrl+X
to save and quit respectively run from the terminal:
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | apt-key add -
apt update
apt-get install virtualbox-5.2
apt-get install dkms
After, download the .iso image from the Oracle Repository and choosing the version you need on the basis of your host OS and install GuestAdditions by selecting from the virtual machine window menu
Device > Insert ISO image for GuestAdditions
and follow what suggested by the installation guide. Finally, go through
Devices > Shared Folder
and select the path in which is contained the folder you need to share.
Hope this helps.
I simply solved by following those steps; first of all install Oracle Virtual Box as follows:
- run as super-user
nano /etc/apt/sources.list.d/virtualbox.list
- paste
deb http://download.virtualbox.org/virtualbox/debian stretch contrib
and after typectrl+O
andctrl+X
to save and quit respectively run from the terminal:
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | apt-key add -
apt update
apt-get install virtualbox-5.2
apt-get install dkms
After, download the .iso image from the Oracle Repository and choosing the version you need on the basis of your host OS and install GuestAdditions by selecting from the virtual machine window menu
Device > Insert ISO image for GuestAdditions
and follow what suggested by the installation guide. Finally, go through
Devices > Shared Folder
and select the path in which is contained the folder you need to share.
Hope this helps.
answered Mar 4 at 17:18
Quant.Pi
115
115
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f426559%2fsharing-folder-in-virtualbox%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
For a sanity check, are the VirtualBox modules loaded (check
lsmod|grep vbox
)?â ErikF
Feb 26 at 4:23