Shared folders, Ubuntu guest Windows host
-
- Posts: 12
- Joined: 19. Apr 2008, 16:00
Shared folders, Ubuntu guest Windows host
HI guys, I am working with Ubuntu on VB in a Windows Vista host.
I don't think the operating systems are a problem, I just need to know how to mount the shared folder. I already have the guest editions installed but I never manage to use the Linux shell to mount the folder decently. Can some one please help me ?
I used to type" mountshares" in the command line, but now it gives "protocol error" so I decided to do all from start again ... any help please ?
I don't think the operating systems are a problem, I just need to know how to mount the shared folder. I already have the guest editions installed but I never manage to use the Linux shell to mount the folder decently. Can some one please help me ?
I used to type" mountshares" in the command line, but now it gives "protocol error" so I decided to do all from start again ... any help please ?
-
- Volunteer
- Posts: 218
- Joined: 5. Apr 2008, 20:18
-
- Posts: 12
- Joined: 19. Apr 2008, 16:00
Thx for your reply. I dind't found the 4.5 thing on the manual (it leaded me to chapter 13 for known bugs !?)...
I also tried this approach:
I also tried this approach:
However, and the end of the second command line I got the error "Protocol error" ... what is this supposed to mean !? What am I doing wrong ?Read section 4.5. "Folder sharing" in the manual. Smile
Assuming your share is called "ROOT" you could do something like:
Code:
sudo mkdir /mnt/mac_root
sudo mount -t vboxsf ROOT /mnt/mac_root
If you want the share to be permanent you can then add an entry to /etc/fstab, something like:
Code:
ROOT /mnt/mac_root vboxsf none 0 0
Regards,
VT
-
- Volunteer
- Posts: 218
- Joined: 5. Apr 2008, 20:18
In that case please supply more information (host, guest and vbox versions, etc - see The Posting guide) including the exact command you issued. Also if you're using VirtualBox v1.5.6 see this. Are you sure you're using the right share name when calling mount because that will result in the protocol error message too.
Regards,
VT
Regards,
VT
-
- Posts: 12
- Joined: 19. Apr 2008, 16:00
I am using vBox 2.0.something it is the most recent version as far as I know.In that case please supply more information (host, guest and vbox versions, etc - see The Posting guide) including the exact command you issued. Also if you're using VirtualBox v1.5.6 see this. Are you sure you're using the right share name when calling mount because that will result in the protocol error message too.
About the commands, these are the exact commands I worte:
1 - sudo mkdir /mnt/shared_vista
2 - I typed the password
3 - sudo mount -t vboxsf VISTA /mnt/shared_vista
4 - mount failed with protocol error
Any suggestions please?
-
- Volunteer
- Posts: 218
- Joined: 5. Apr 2008, 20:18
- Make sure you've got VirtualBox v2.0.2 installed.
- If you upgraded VirtualBox recently install up-to-date guest additions.
- Try sharing just a folder, not the whole drive.
- What does the syslog show? (You can do tail -f /var/log/syslog in a 2nd terminal window and watch the output when you try to mount.)
- Look through possible solutions by searching the forums. (These are the search results for site:forums.virtualbox.org "protocol error".)
Regards,
VT
-
- 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
Also make sure that you type the name exactly as you created the shared folder. If you called it "vista", don't use "VISTA" as name, it's case sensitive.
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: 12
- Joined: 19. Apr 2008, 16:00
Hi again sry for reviving but now I changed and now I am using Kubuntu (mainly the same thing).
After trying the following commands I got the following error. Why is the happening ?
$ sudo mkdir /mnt/vista_shared
$ sudo mount -t vboxsf SHARED /mnt/vista_shared
/sbin/mount.vboxsf: mounting failed with the error: No such device
So, the name of my shared folder is vista_shared and I really don't get why I get the error ...
EDIT EDIT EDIT
I also tested:
$ sudo mount -t vboxsf Kubuntu /home/pedro/Desktop/shared
where Kubuntu is the name of the VM and /home/pedro/Desktop/shared the place where I have my created folder ...
I got the same error.
I read the 4.6 chapter of the manual but I don't get what I should place in the "sharename" place ...
Any help please ?
After trying the following commands I got the following error. Why is the happening ?
$ sudo mkdir /mnt/vista_shared
$ sudo mount -t vboxsf SHARED /mnt/vista_shared
/sbin/mount.vboxsf: mounting failed with the error: No such device
So, the name of my shared folder is vista_shared and I really don't get why I get the error ...
EDIT EDIT EDIT
I also tested:
$ sudo mount -t vboxsf Kubuntu /home/pedro/Desktop/shared
where Kubuntu is the name of the VM and /home/pedro/Desktop/shared the place where I have my created folder ...
I got the same error.
I read the 4.6 chapter of the manual but I don't get what I should place in the "sharename" place ...
Any help please ?
-
- Volunteer
- Posts: 218
- Joined: 5. Apr 2008, 20:18
The exact name you gave the share when creating it in VirtualBox (i.e. the "Folder Name" field in the "Add share" dialog, like so).what I should place in the "sharename" place
Regards,
VT
-
- Posts: 12
- Joined: 19. Apr 2008, 16:00
Ok guys, here are the results ... nothing works I really start thinking this is a vBox problem that just got worse with Ubuntu 8.10
$ sudo dmesg | grep vbox
$
$ sudo mount -t vboxsf shared /home/pedro/Desktop/shared
/sbin/mount.vboxsf: mounting failed with the error: No such device
$ sudo mkdir /mnt/shared
$ sudo mount -t vboxsf shared /mnt/shared
/sbin/mount.vboxsf: mounting failed with the error: No such device
$ ls -l /mnt
total 4
drwxr-xr-x 2 root root 4096 2008-10-31 19:47 shared
$ sudo rmdir /mnt/shared
$ ls -l /mnt
total 0
$ sudo dmesg|grep vbox
$
The "$" with nothing written means nothing happened ... Any answers why this may be happening ?
$ sudo dmesg | grep vbox
$
$ sudo mount -t vboxsf shared /home/pedro/Desktop/shared
/sbin/mount.vboxsf: mounting failed with the error: No such device
$ sudo mkdir /mnt/shared
$ sudo mount -t vboxsf shared /mnt/shared
/sbin/mount.vboxsf: mounting failed with the error: No such device
$ ls -l /mnt
total 4
drwxr-xr-x 2 root root 4096 2008-10-31 19:47 shared
$ sudo rmdir /mnt/shared
$ ls -l /mnt
total 0
$ sudo dmesg|grep vbox
$
The "$" with nothing written means nothing happened ... Any answers why this may be happening ?
The same problem here
Hi Guys, till yesterday I had Ubuntu 8.04.1 installed VBox 2.0.4 on Vista x64 host. Shared folders worked OK. Today I installed Ubuntu 8.10 & THEY DONT WORK
I keep getting:
/sbin/mount.vboxsf: mounting failed with the error: No such device
Shared folder are working OK on:
Linux Mint x32 5.0
Linux Mint x64 5.0
Open Solaris
Please any ideas anyone ???
I keep getting:
/sbin/mount.vboxsf: mounting failed with the error: No such device
Shared folder are working OK on:
Linux Mint x32 5.0
Linux Mint x64 5.0
Open Solaris
Please any ideas anyone ???
-
- Posts: 12
- Joined: 19. Apr 2008, 16:00
It seems many people have the same problem ....
NOT ONLY THE SHARED FOLDERS. Since I upgraded 2.0.2 to 2.0.4 Snapshots are NOT working.
I´m not going back to 2.0.2 because it had a SERIOUS memory leak problem on vista x64 (my main OS and Host).
Cant install PC-BSD either (bah, can install, no way it will run x)
But I´m seriously thinking in spending some bucks and buying VMWARE
This is a SUN product, Open Solaris also, Do you know the work it gave me to get additions runing in Solaris???????
NOT ONLY THE SHARED FOLDERS. Since I upgraded 2.0.2 to 2.0.4 Snapshots are NOT working.
I´m not going back to 2.0.2 because it had a SERIOUS memory leak problem on vista x64 (my main OS and Host).
Cant install PC-BSD either (bah, can install, no way it will run x)
But I´m seriously thinking in spending some bucks and buying VMWARE
This is a SUN product, Open Solaris also, Do you know the work it gave me to get additions runing in Solaris???????
-
- 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
It seems that people don't understand that the GA use kernel modules and when you install a new kernel, those are no longer available. Install the GA again on the new kernel to get them working again.
As for mounting shared folders, the manual really is clear enough, but I will note an example.
Shared folder name set to "test" (without the quotes). Now to mount it, use the next line in a terminal in the Guest:
Replace /path/to/mount/point to anything you want to mount the SF on, like ~/shared, if the folder exists.
As for mounting shared folders, the manual really is clear enough, but I will note an example.
Shared folder name set to "test" (without the quotes). Now to mount it, use the next line in a terminal in the Guest:
Code: Select all
sudo mount -t vboxsf test /path/to/mount/point
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.