Page 1 of 1
A few issues with Kubuntu 10.04
Posted: 9. Sep 2010, 20:00
by Annorax
Hi all,
I have Windows XP as the host and Kubuntu 10.04 installed as the guest. The install went fine and I also installed guest additions. Things work fine but there are a few things which I can't seem to get to work:
1.) I have the clipboard set to Bidirectional but the shared clipboard is not working at all. Nothing can go between. However, the cursor can seamlessly move between.
2.) I cannot get the shared drive to work. I have shared a folder from Windows and I made a folder /host_drive in Kubuntu. I try to mount using this command:
sudo mount -t vboxsf share host_drive
which fails saying /sbin/mount.vboxsf: No such device.
3.) Is there any way to get Kubuntu to scale the resolution to the window size dynamically?
Thanks for any help.

Re: A few issues with Kubuntu 10.04
Posted: 9. Sep 2010, 20:06
by Perryg
See Chapter 4.3. Shared folders in your VirtualBox users manual.
Re: A few issues with Kubuntu 10.04
Posted: 9. Sep 2010, 21:14
by Annorax
Thanks - I read it over and fixed my command to mount, but I still get the same error as before.
Re: A few issues with Kubuntu 10.04
Posted: 9. Sep 2010, 21:22
by Perryg
You set the share up in the settings of the guest by drilling to a folder on the host.
You do not want to use special characters or spaces in the name. Same goes for the mount point.
This might help too
http://forums.virtualbox.org/viewtopic.php?f=29&t=15868
Re: A few issues with Kubuntu 10.04
Posted: 9. Sep 2010, 22:14
by Annorax
Thanks again for the reply, but I think I am doing everything right. Here are my steps.
1.) In VirtualBox, create share drive of C:\share with name share-drive.
2.) In Kubuntu: sudo mkdir /mnt/share
3.) In Kubuntu: sudo mount -t vboxsf share-drive /mnt/share
And I get the same error...
Re: A few issues with Kubuntu 10.04
Posted: 9. Sep 2010, 22:30
by Sasquatch
If you get the error 'mount.vboxsf does not exist' it clearly means that the GA did NOT install. Reinstall using my guide.
If the GA DID install properly, then you haven't followed Perry's advise about the share name. Don't use special characters, use just a-z.
Re: A few issues with Kubuntu 10.04
Posted: 10. Sep 2010, 14:38
by Annorax
I am trying to reinstall Guest Additions again and I am seeing this error. I didn't get it last time... I'm new to Linux (hence why playing with VMs) so I'm not really sure how to fix it...
sudo ./VBoxLinuxAdditions-x86.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 3.2.8 Guest Additions for Linux.........
VirtualBox Guest Additions installer
Removing installed version 3.2.8 of VirtualBox Guest Additions...
tar: Record size = 8 blocks
Building the VirtualBox Guest Additions kernel modules ...fail!
Your system does not seem to be set up to build kernel modules.
Look at /var/log/vboxadd-install.log to find out what went wrong. Once you have corrected it, you can
run
/etc/init.d/vboxadd setup
to build them.
Doing non-kernel setup of the Guest Additions ...done.
Installing the Window System drivers
Installing X.Org Server 1.7 modules ...done.
Setting up the Window System to use the Guest Additions ...done.
You may need to restart the hal service and the Window System (or just restart
the guest system) to enable the Guest Additions.
Installing graphics libraries and desktop services components ...done.
Re: A few issues with Kubuntu 10.04
Posted: 10. Sep 2010, 15:21
by Perryg
Are you actually reinstalling the guest additions or are you running the /etc/init.d/vboxadd setup command?
You should try to actually install the GAs again since Xorgs are being updated across the Distros, but the error you are receiving usually means that the kernel and the headers are out of sync.
Re: A few issues with Kubuntu 10.04
Posted: 10. Sep 2010, 15:32
by Annorax
I am installing the Guest Additions again using this command: sudo ./VBoxLinuxAdditions-x86.run
Re: A few issues with Kubuntu 10.04
Posted: 13. Sep 2010, 19:56
by Sasquatch
Then you need to follow my guide that was linked earlier (and is in my signature).
Re: A few issues with Kubuntu 10.04
Posted: 16. Sep 2010, 14:20
by Annorax
Ah, got it now. Doing this before resolved all the problems:
sudo apt-get install build-essential linux-headers-generic