how to make linux recognize shared folders
-
- Posts: 26
- Joined: 31. Jul 2009, 16:52
- Primary OS: MS Windows Vista
- VBox Version: OSE other
- Guest OSses: Windows XP
how to make linux recognize shared folders
hay everyone.
i know how to use shared folders when Windows is a guest, i do that all the time, and it works great.
now i have a linux guest on Windows Vista Host,
and i want to share folders.
i know how to do that on VBOX side, but what i don't know is
how to set that inside Ubuntu9 ?
thanks in advanced.
i know how to use shared folders when Windows is a guest, i do that all the time, and it works great.
now i have a linux guest on Windows Vista Host,
and i want to share folders.
i know how to do that on VBOX side, but what i don't know is
how to set that inside Ubuntu9 ?
thanks in advanced.
-
- Posts: 16
- Joined: 30. Nov 2010, 00:49
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Ubuntu 10.10
Re: how to make linux recognize shared folders
1.You need to have Guest Additions compiled correctly.
2.Then you need to create an appropriate dir in the Guest OS
3.You then setup the Shared folder in the Host OS.
4.Then you mount the Shared folder to the appropriate dir in Guest
5.Note once the files are transferred to the GuestOS. The Permission will be under root, so you need to chown the files to the appropriate user.
I have some steps here:
http://www.blog.10deam.com/2010/11/29/u ... rs-issues/
2.Then you need to create an appropriate dir in the Guest OS
3.You then setup the Shared folder in the Host OS.
4.Then you mount the Shared folder to the appropriate dir in Guest
5.Note once the files are transferred to the GuestOS. The Permission will be under root, so you need to chown the files to the appropriate user.
I have some steps here:
http://www.blog.10deam.com/2010/11/29/u ... rs-issues/
-
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: PUEL
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Re: how to make linux recognize shared folders
Just follow the 'official' howto: Howto: Use Shared Folders.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
-
- Posts: 26
- Joined: 31. Jul 2009, 16:52
- Primary OS: MS Windows Vista
- VBox Version: OSE other
- Guest OSses: Windows XP
Re: how to make linux recognize shared folders
hey all.
i tried following the instructions, but i get file or folder error
what i did in linux
i opened a terminal
got into my home folder
i have there a folder name "mn"
i created inside it a new floder called "host"
then in the terminal i tried several things and they didn't works
sudo mount -t vboxsf share ~/host
sudo mount -t vboxsf share ~/mn/host
sudo mount -t vboxsf share home/mn/host
sudo mount -t vboxsf share /home/mn/host
can some please post what i need to write in the terminal ?
assuming i have a folder in the file system, like this:
home/mn/host
thanks in advanced.
i tried following the instructions, but i get file or folder error
what i did in linux
i opened a terminal
got into my home folder
i have there a folder name "mn"
i created inside it a new floder called "host"
then in the terminal i tried several things and they didn't works
sudo mount -t vboxsf share ~/host
sudo mount -t vboxsf share ~/mn/host
sudo mount -t vboxsf share home/mn/host
sudo mount -t vboxsf share /home/mn/host
can some please post what i need to write in the terminal ?
assuming i have a folder in the file system, like this:
home/mn/host
thanks in advanced.
-
- Volunteer
- Posts: 7639
- Joined: 7. Jun 2007, 21:53
Re: how to make linux recognize shared folders
What is the name of the Folder in the VBOX Guest Settings? Have you really used the alias "share"?
German Howto (Linux): http://www.linuxforen.de/forums/showthread.php?t=236444
User Manual / Download Section: http://www.virtualbox.de/wiki/Downloads
FAQ: http://www.virtualbox.de/wiki/User_FAQ http://forums.virtualbox.org/viewtopic.php?t=8669
User Manual / Download Section: http://www.virtualbox.de/wiki/Downloads
FAQ: http://www.virtualbox.de/wiki/User_FAQ http://forums.virtualbox.org/viewtopic.php?t=8669
-
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: PUEL
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Re: how to make linux recognize shared folders
And something you haven't tried is this:
But before you try to use your own paths, have you tried the example in my guide first?
Code: Select all
sudo mount -t vboxsf share /home/<your username>/mn/host
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
-
- Posts: 26
- Joined: 31. Jul 2009, 16:52
- Primary OS: MS Windows Vista
- VBox Version: OSE other
- Guest OSses: Windows XP
Re: how to make linux recognize shared folders
hey everyone
as stephen said, i was mistaken with the folder name
my folder is 'shared' not 'share'
now everything works fine
thank you very much all.
as stephen said, i was mistaken with the folder name
my folder is 'shared' not 'share'
now everything works fine
thank you very much all.
-
- Posts: 2
- Joined: 15. Dec 2010, 03:47
- Primary OS: MS Windows 7
- VBox Version: OSE other
- Guest OSses: UBUNTU 10.10
Re: how to make linux recognize shared folders
My host is Win 7 home premium. The guest is Ubuntu 10.10. Guest extensions installed normally with no errors.
I've shared a folder using VBox and given it a share name of ubuntu
I then booted ubuntu and attempted to mount using:
sudo mount -t vboxfs ubuntu /mnt/host also
sudo mount.vboxfs ubuntu /mnt/host
I receive the error message: mount.vboxsf: mounting failed with the error: No such device
sudo modprobe vboxfs produces the following error: FATAL: Module vboxfs not found.
Can someone help me fix this?
Another issue. I know that there used to be a parameter for the <display /> leaf in [machine].xml that allowed one to explicitly create a custom hint that limited the screen resolution. I've used it before, but the host I was using it on died and I had never backed it up. Can someone tell me what that sub-node was?
<display>
<"example">1066,640</"example">
</display>
mogart
Posts: 1
Joined: 15. Dec 2010, 02:47
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: UBUNTU 10.10
I've shared a folder using VBox and given it a share name of ubuntu
I then booted ubuntu and attempted to mount using:
sudo mount -t vboxfs ubuntu /mnt/host also
sudo mount.vboxfs ubuntu /mnt/host
I receive the error message: mount.vboxsf: mounting failed with the error: No such device
sudo modprobe vboxfs produces the following error: FATAL: Module vboxfs not found.
Can someone help me fix this?
Another issue. I know that there used to be a parameter for the <display /> leaf in [machine].xml that allowed one to explicitly create a custom hint that limited the screen resolution. I've used it before, but the host I was using it on died and I had never backed it up. Can someone tell me what that sub-node was?
<display>
<"example">1066,640</"example">
</display>
mogart
Posts: 1
Joined: 15. Dec 2010, 02:47
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: UBUNTU 10.10
-
- Posts: 16
- Joined: 30. Nov 2010, 00:49
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Ubuntu 10.10
Re: how to make linux recognize shared folders
You need to compile the Guest Additions.. refer to my link in my post a few answers up.
To set custom resolution follow the instructions in the manual. http://www.virtualbox.org/manual/ch09.html#id2760935
To set custom resolution follow the instructions in the manual. http://www.virtualbox.org/manual/ch09.html#id2760935
mogart wrote:My host is Win 7 home premium. The guest is Ubuntu 10.10. Guest extensions installed normally with no errors.
I've shared a folder using VBox and given it a share name of ubuntu
I then booted ubuntu and attempted to mount using:
sudo mount -t vboxfs ubuntu /mnt/host also
sudo mount.vboxfs ubuntu /mnt/host
I receive the error message: mount.vboxsf: mounting failed with the error: No such device
sudo modprobe vboxfs produces the following error: FATAL: Module vboxfs not found.
Can someone help me fix this?
Another issue. I know that there used to be a parameter for the <display /> leaf in [machine].xml that allowed one to explicitly create a custom hint that limited the screen resolution. I've used it before, but the host I was using it on died and I had never backed it up. Can someone tell me what that sub-node was?
<display>
<"example">1066,640</"example">
</display>
mogart
Posts: 1
Joined: 15. Dec 2010, 02:47
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: UBUNTU 10.10