I cannot mount the shared folder between host windows machine and virtualbox guest linux
So in the setting of virtualbox shared folder, I already has the click the set-up: auto mount and make permanent. My shared folder is named as VM-share
Then I log into the terminal of guest linux to type in the following commands:
$ sudo mount -t vboxsf VM-share ~/share/
It gives me the following error message:
mount: wrong fs type, bad option, bad superblock on VM-share,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
So I googled it and follow the instructions on this page: Why do I get "wrong fs type, bad option, bad superblock" error?
to install both the "sudo apt install nfs-common
" and "sudo apt install cifs-utils
"
However,when I repeat the command "$ sudo mount -t vboxsf VM-share ~/share/
" It still gives me the same error message as before. I typed in "dmesg | tail
", the following is the message:
[ 8.743003] IPv6: ADDRCONF(NETDEV_UP): enp0s3: link is not ready
[ 8.745374] e1000: enp0s3 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
[ 8.752152] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s3: link becomes ready
[ 9.633147] floppy0: no floppy controllers found
[ 9.633209] work still pending
[ 3128.376259] vboxsf: Successfully loaded version 5.1.16_Ubuntu (interface 0x00010004)
[ 3128.376457] sf_read_super_aux err=-22
[ 5762.008076] sf_read_super_aux err=-22
[ 6052.591669] sf_read_super_aux err=-22
[ 6138.926441] sf_read_super_aux err=-22
So How should I do to mount the shared folder?
mount virtualbox shared-folders
add a comment |
So in the setting of virtualbox shared folder, I already has the click the set-up: auto mount and make permanent. My shared folder is named as VM-share
Then I log into the terminal of guest linux to type in the following commands:
$ sudo mount -t vboxsf VM-share ~/share/
It gives me the following error message:
mount: wrong fs type, bad option, bad superblock on VM-share,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
So I googled it and follow the instructions on this page: Why do I get "wrong fs type, bad option, bad superblock" error?
to install both the "sudo apt install nfs-common
" and "sudo apt install cifs-utils
"
However,when I repeat the command "$ sudo mount -t vboxsf VM-share ~/share/
" It still gives me the same error message as before. I typed in "dmesg | tail
", the following is the message:
[ 8.743003] IPv6: ADDRCONF(NETDEV_UP): enp0s3: link is not ready
[ 8.745374] e1000: enp0s3 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
[ 8.752152] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s3: link becomes ready
[ 9.633147] floppy0: no floppy controllers found
[ 9.633209] work still pending
[ 3128.376259] vboxsf: Successfully loaded version 5.1.16_Ubuntu (interface 0x00010004)
[ 3128.376457] sf_read_super_aux err=-22
[ 5762.008076] sf_read_super_aux err=-22
[ 6052.591669] sf_read_super_aux err=-22
[ 6138.926441] sf_read_super_aux err=-22
So How should I do to mount the shared folder?
mount virtualbox shared-folders
add a comment |
So in the setting of virtualbox shared folder, I already has the click the set-up: auto mount and make permanent. My shared folder is named as VM-share
Then I log into the terminal of guest linux to type in the following commands:
$ sudo mount -t vboxsf VM-share ~/share/
It gives me the following error message:
mount: wrong fs type, bad option, bad superblock on VM-share,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
So I googled it and follow the instructions on this page: Why do I get "wrong fs type, bad option, bad superblock" error?
to install both the "sudo apt install nfs-common
" and "sudo apt install cifs-utils
"
However,when I repeat the command "$ sudo mount -t vboxsf VM-share ~/share/
" It still gives me the same error message as before. I typed in "dmesg | tail
", the following is the message:
[ 8.743003] IPv6: ADDRCONF(NETDEV_UP): enp0s3: link is not ready
[ 8.745374] e1000: enp0s3 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
[ 8.752152] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s3: link becomes ready
[ 9.633147] floppy0: no floppy controllers found
[ 9.633209] work still pending
[ 3128.376259] vboxsf: Successfully loaded version 5.1.16_Ubuntu (interface 0x00010004)
[ 3128.376457] sf_read_super_aux err=-22
[ 5762.008076] sf_read_super_aux err=-22
[ 6052.591669] sf_read_super_aux err=-22
[ 6138.926441] sf_read_super_aux err=-22
So How should I do to mount the shared folder?
mount virtualbox shared-folders
So in the setting of virtualbox shared folder, I already has the click the set-up: auto mount and make permanent. My shared folder is named as VM-share
Then I log into the terminal of guest linux to type in the following commands:
$ sudo mount -t vboxsf VM-share ~/share/
It gives me the following error message:
mount: wrong fs type, bad option, bad superblock on VM-share,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
So I googled it and follow the instructions on this page: Why do I get "wrong fs type, bad option, bad superblock" error?
to install both the "sudo apt install nfs-common
" and "sudo apt install cifs-utils
"
However,when I repeat the command "$ sudo mount -t vboxsf VM-share ~/share/
" It still gives me the same error message as before. I typed in "dmesg | tail
", the following is the message:
[ 8.743003] IPv6: ADDRCONF(NETDEV_UP): enp0s3: link is not ready
[ 8.745374] e1000: enp0s3 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
[ 8.752152] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s3: link becomes ready
[ 9.633147] floppy0: no floppy controllers found
[ 9.633209] work still pending
[ 3128.376259] vboxsf: Successfully loaded version 5.1.16_Ubuntu (interface 0x00010004)
[ 3128.376457] sf_read_super_aux err=-22
[ 5762.008076] sf_read_super_aux err=-22
[ 6052.591669] sf_read_super_aux err=-22
[ 6138.926441] sf_read_super_aux err=-22
So How should I do to mount the shared folder?
mount virtualbox shared-folders
mount virtualbox shared-folders
asked Oct 14 '17 at 19:43
Joy Joy
66115
66115
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
It turns out the reason that I could not mount is because I did not install the vboxguestaddition version. So if you follow the steps here:
https://www.howtogeek.com/189974/how-to-share-your-computers-files-with-a-virtual-machine/
Ignore the windows part above, then follows the step here to install the guest additon: https://virtualboxes.org/doc/installing-guest-additions-on-ubuntu/
Then the file will be automatically there, but you might come across permission issue, check this page : https://askubuntu.com/questions/189200/getting-access-to-var-www.
I hope it helps people who might come across the same issue as I did.
add a comment |
cd to the /media folder and create a dir with the same name as the folder you created/shared in the host machine shared folder:
cd /media
sudo mkdir nameOfMySharedFolder
mount the folder with the following command:
sudo mount -t vboxsf nameOfMySharedFolder /media/nameOfMySharedFolder
watch a video for full description of process
https://www.youtube.com/watch?v=I5cV0V7vLJw
p.s. the sudo may or may not be necessary
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f964944%2fi-cannot-mount-the-shared-folder-between-host-windows-machine-and-virtualbox-gue%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
It turns out the reason that I could not mount is because I did not install the vboxguestaddition version. So if you follow the steps here:
https://www.howtogeek.com/189974/how-to-share-your-computers-files-with-a-virtual-machine/
Ignore the windows part above, then follows the step here to install the guest additon: https://virtualboxes.org/doc/installing-guest-additions-on-ubuntu/
Then the file will be automatically there, but you might come across permission issue, check this page : https://askubuntu.com/questions/189200/getting-access-to-var-www.
I hope it helps people who might come across the same issue as I did.
add a comment |
It turns out the reason that I could not mount is because I did not install the vboxguestaddition version. So if you follow the steps here:
https://www.howtogeek.com/189974/how-to-share-your-computers-files-with-a-virtual-machine/
Ignore the windows part above, then follows the step here to install the guest additon: https://virtualboxes.org/doc/installing-guest-additions-on-ubuntu/
Then the file will be automatically there, but you might come across permission issue, check this page : https://askubuntu.com/questions/189200/getting-access-to-var-www.
I hope it helps people who might come across the same issue as I did.
add a comment |
It turns out the reason that I could not mount is because I did not install the vboxguestaddition version. So if you follow the steps here:
https://www.howtogeek.com/189974/how-to-share-your-computers-files-with-a-virtual-machine/
Ignore the windows part above, then follows the step here to install the guest additon: https://virtualboxes.org/doc/installing-guest-additions-on-ubuntu/
Then the file will be automatically there, but you might come across permission issue, check this page : https://askubuntu.com/questions/189200/getting-access-to-var-www.
I hope it helps people who might come across the same issue as I did.
It turns out the reason that I could not mount is because I did not install the vboxguestaddition version. So if you follow the steps here:
https://www.howtogeek.com/189974/how-to-share-your-computers-files-with-a-virtual-machine/
Ignore the windows part above, then follows the step here to install the guest additon: https://virtualboxes.org/doc/installing-guest-additions-on-ubuntu/
Then the file will be automatically there, but you might come across permission issue, check this page : https://askubuntu.com/questions/189200/getting-access-to-var-www.
I hope it helps people who might come across the same issue as I did.
edited Feb 19 '18 at 0:08
Community♦
1
1
answered Oct 15 '17 at 19:57
Joy Joy
66115
66115
add a comment |
add a comment |
cd to the /media folder and create a dir with the same name as the folder you created/shared in the host machine shared folder:
cd /media
sudo mkdir nameOfMySharedFolder
mount the folder with the following command:
sudo mount -t vboxsf nameOfMySharedFolder /media/nameOfMySharedFolder
watch a video for full description of process
https://www.youtube.com/watch?v=I5cV0V7vLJw
p.s. the sudo may or may not be necessary
add a comment |
cd to the /media folder and create a dir with the same name as the folder you created/shared in the host machine shared folder:
cd /media
sudo mkdir nameOfMySharedFolder
mount the folder with the following command:
sudo mount -t vboxsf nameOfMySharedFolder /media/nameOfMySharedFolder
watch a video for full description of process
https://www.youtube.com/watch?v=I5cV0V7vLJw
p.s. the sudo may or may not be necessary
add a comment |
cd to the /media folder and create a dir with the same name as the folder you created/shared in the host machine shared folder:
cd /media
sudo mkdir nameOfMySharedFolder
mount the folder with the following command:
sudo mount -t vboxsf nameOfMySharedFolder /media/nameOfMySharedFolder
watch a video for full description of process
https://www.youtube.com/watch?v=I5cV0V7vLJw
p.s. the sudo may or may not be necessary
cd to the /media folder and create a dir with the same name as the folder you created/shared in the host machine shared folder:
cd /media
sudo mkdir nameOfMySharedFolder
mount the folder with the following command:
sudo mount -t vboxsf nameOfMySharedFolder /media/nameOfMySharedFolder
watch a video for full description of process
https://www.youtube.com/watch?v=I5cV0V7vLJw
p.s. the sudo may or may not be necessary
answered Mar 15 at 0:51
rearThingrearThing
11
11
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f964944%2fi-cannot-mount-the-shared-folder-between-host-windows-machine-and-virtualbox-gue%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown