A few issues with Kubuntu 10.04

Discussions about using Linux guests in VirtualBox.
Post Reply
Annorax
Posts: 17
Joined: 20. Oct 2007, 13:20
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Kubuntu 10.04
Location: MA, USA

A few issues with Kubuntu 10.04

Post 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. :)
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: A few issues with Kubuntu 10.04

Post by Perryg »

See Chapter 4.3. Shared folders in your VirtualBox users manual.
Annorax
Posts: 17
Joined: 20. Oct 2007, 13:20
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Kubuntu 10.04
Location: MA, USA

Re: A few issues with Kubuntu 10.04

Post by Annorax »

Thanks - I read it over and fixed my command to mount, but I still get the same error as before.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: A few issues with Kubuntu 10.04

Post 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
Annorax
Posts: 17
Joined: 20. Oct 2007, 13:20
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Kubuntu 10.04
Location: MA, USA

Re: A few issues with Kubuntu 10.04

Post 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...
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: A few issues with Kubuntu 10.04

Post 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.
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.
Annorax
Posts: 17
Joined: 20. Oct 2007, 13:20
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Kubuntu 10.04
Location: MA, USA

Re: A few issues with Kubuntu 10.04

Post 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.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: A few issues with Kubuntu 10.04

Post 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.
Annorax
Posts: 17
Joined: 20. Oct 2007, 13:20
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Kubuntu 10.04
Location: MA, USA

Re: A few issues with Kubuntu 10.04

Post by Annorax »

I am installing the Guest Additions again using this command: sudo ./VBoxLinuxAdditions-x86.run
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: A few issues with Kubuntu 10.04

Post by Sasquatch »

Then you need to follow my guide that was linked earlier (and is in my signature).
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.
Annorax
Posts: 17
Joined: 20. Oct 2007, 13:20
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Kubuntu 10.04
Location: MA, USA

Re: A few issues with Kubuntu 10.04

Post by Annorax »

Ah, got it now. Doing this before resolved all the problems:

sudo apt-get install build-essential linux-headers-generic
Post Reply