Ubuntu 10.04 Lucid Lynx just came out, and quite a few of you will undoubtedly be testing it in a Virtualbox virtual machine. Needless to say, the experience will go much more smoothly if you install the Virtualbox Guest Additions on your Lucid Lynx virtual machine. Here’s how to do it.
First, go to the Devices menu for your virtual machine, and select Install Guest Additions. This will mount a CD image in your Ubuntu virtual machine with the Guest Additions installer; you should see the icon appear on your virtual machine’s Desktop. Double-click on the icon to mount it.
Next, open a Terminal window.You’ll need to navigate to the /media directory, and then change to the directory representing the CD image. The name is usually something like VBOXADDITIONS_version_release, for example:
VBOXADDITIONS_3.1.6_59338
Change to the VBOXADDITIONS directory, and then launch the installer. You can do this with this command for a 32 bit virtual machine:
sudo ./VBoxLinuxAdditions-x86.run
For a 64 bit machine:
sudo ./VBoxLinuxAdditions-amd64.run
Type your password to authenticate, and the Guest Additions Installer will launch. It usually takes a few minutes to complete, and once you’re finished, the installer will return you to the Terminal prompt.
Once the installer is done, reboot your Ubuntu virtual machine.
When your Ubuntu virtual machine reboots, it will now support mouse integration, and you’ll be able to increase the resolution beyond 800×600.
-JM
Doesn’t seem to work for me; Ubuntu just hangs when it reboots. This was a problem with some of the alpha builds; it seems to be back.
Your advice certainly should generally work, and may well work for many, It worked well with 9.10.
Cannot get lucid guest to run. It seems to boot, but then goes to a familar blank screen with a non-blinking cursor. Lucid iso works fine, but can’t get it to work in Vbox (OSE)
Doesn’t work also for me.
After login, nothing is showed, just the desktop background.
Thanks worked like a charm…I’ve installed several versions of Ubuntu on VBox and have had this problem every time.
Thanks
Glad it helped!
This solution worked for me on Ubuntu 9.10 Lucid Lynx server 64bit after changing cdrom1 to cdrom:
http://blog.brettalton.com/2010/04/28/installing-guest-additions-in-virtualbox-for-an-ubuntu-server-guest/
sudo -s
aptitude install -y dkms build-essential linux-headers-$(uname -r) xserver-xorg-core
mount /dev/cdrom /mnt
bash /mnt/VBoxLinuxAdditions-amd64.run
Ooops, meant to say Ubuntu 10.04 Lucid Lynx
thank you so much..it’s working!
Glad it helped out!
For my host Ubuntu 11.10 amd64 and guest Ubuntu 10.04 x86 the ISO image installer can’t build a kernel module after additional library installation.
These Guest Additions installs only by commands:
sudo aptitude install -y dkms build-essential linux-headers-$(uname -r) xserver-xorg-core
sudo aptitude install virtualbox-guest-additions
These commands found at the same link:
http://blog.brettalton.com/2010/04/28/installing-guest-additions-in-virtualbox-for-an-ubuntu-server-guest/