Over the past few weeks I’ve been writing a a guide to installing Ubuntu. The last post in my series wraps up the Virtualbox installation from last month, how to install guest additions. Installing guest additions really completes your virtual XP installation and gives you better display integration (higher screen resolution) and better integration with simple processes like copy and paste, and mouse actions between your two environments. It also allows a “seamless mode” which layers your XP interface over the top of Ubuntu and makes it even easier to switch between the two environments.
How to install guest additions
Once you have your guest Windows operating system installed and running in your Virtualbox console, click Devices>Install Guest Additions

You’ll get this message. Click yes to download the CD image from the internet.

The download takes only a few minutes (depending on your internet connection) and you should see a progress bar down in the bottom right hand corner of your virtualbox console.

Once the image has been downloaded, virtualbox will ask if you’d like to register the cd image on the guest machine’s virtual CD drive. Click mount.

The setup should automatically run. Follow the prompts, and setup will begin.

Agree to the licence agreement and continue.

Seems Microsoft hasn’t passed the Vbox additions graphics driver through it’s compatibility testing… Don’t worry it should work perfectly well. Click continue.

You’re all done. Click finish and restart your machine.
When you restart your virtual machine, go straight to the display properties and sort that screen resolution out!

Guest additions will give you some pretty cool new tricks. For one, you can now run your machine in fullscreen mode. Combined with compiz 3d, you’ll be able to switch between the interfaces very easily.
I have set up full screen mode by pressing my host button (F12) and “F”. You can choose your own host button and it just helps switch between Ubuntu and XP, unless you’re running in seamless mode. Seamless mode can be activated by pressing host>L
Have fun!










25 Comments
Thanks a lot, but…
where the hell can you click on “Devices>Install guest additions” ????
Press host-f, if you’re using the full-screen mode.
Now check the menu on the upper edge of the VirtualBox window.
When I click install guest additions nothing happens. Also my mouse and keyboard are not working in the virtual machine. What am I doing wrong?
Hi Stuart – do you have a USB keyboard / Mouse? That’ll be why (maybe). Take a look at this: http://seogadget.co.uk/enable-usb-support-virtualbox/ – hope that’s useful!
Thanks for this guide. It helped me get through the guest additions piece of this. I run virtualbox (xp pro) inside a ubuntu 8.04 system. The machine is dual boot and I still have most of my files back on my old Windows partition. I can access these just fine in Ubuntu but I can’t mount or figure out how to access these files on my real C: drive. In Ubuntu the location would be: /media/disk
Can I mount this as a drive somehow or at least as a shared folder in virtualbox?
pw
@Paul, Thanks for the comments, I’ll write a post on sharing drives in Virtualbox in the next day or so and ping you a mail (if you left me your address). Right now I’m installing and testing Intrepid Ibex!
Yes, i have the same Problem. In VirtualBox 2.0.4 isn’t any possibility to klick “Devices”. So I will install the GA’s manually.
Heinz
I’m new to Ubuntu Linux but have successfully used Virtualbox on Mac OS X Leopard. Installation of Windows XP inside VB (running in Ubuntu 8.10) was OK but I ran into trouble with the Guest Additions because the download kept timing out. I solved the problem by following the weblink and manually downloading the Guest Additions disk image. I then used ‘CD/DVD mount’ from Virtualbox’s Devices menu to mount the disk image. When I tried the guest additions installation this time it worked (well, actually it worked on the second attempt so was I just lucky?).
I earlier extracted the files/folders from the Guest Additions disk image and tried to manually move them to the lib folder where Virtualbox was searching. I was completely fooled by the permissions for this folder that said I was not the owner even though I am the system administrator. Doubtless I’ll find out why as I explore Ubuntu!
Hi Keith, sounds like you’re getting on very well! Good luck in your Ubuntu journey!
i need help. i just installed xp pro on my vbox. i went to devices and add addtions and it installed the vboxguestadditions perfectly. but i still dont have internet connection. i dont know wat to do.
PS: everytime i open vbox, the internet in my host OS (xp) also goes down to 1 mbps and doesnt work. The only way to access the internet on my host OS is to restart my computer again.
please help
Hi, thanks for the tutorial.
How can I mount the vdi using regular mount command?
Hi there. I’m new to linux and this winxp virtual machine sounds cool. What I’d like to know is if the programs running in this virtual machine work as well as in a normal winxp installation. I know winehq is a good solution for running windows applications on linux but the performances aren’t very good and they don’t work as smooth as in windows.
Thanks.
@pluxon IMO, Wine is ok for lighter apps but at the time of writing this post, I needed a perfect Windows XP environment to run my favourite Windows tools. As far as I’m concerned, Vbox is excellent and i’m always amazed at how quickly it runs! If I were you, I’d test both options and make a decision on which is best for you…
I’m kind of at a loss of what to do. I could not download the guest additions automatically so I clicked the link and downloaded the image file to my desktop. I moved the image file to .VirtualBox as it would have gone to if it had downloaded automatically. I mounted the image file instead of the cdrom. Windows starts up exactly the same as always. I click on devices > Install Guest Additions. Nothing happens. I really can’t think of what to do next.
Solved….
I read in the user manual http://download.virtualbox.org/virtualbox/2.0.2/UserManual.pdf that if the guest additions don’t begin to install after mounting, then you have to go to the guests CD drive and run them from there.
Hi Rebecca, thanks for adding the solution! Happy Vboxing!
I’ve been using Ubuntu for about 6 months now, just recently updated to Ibex. I’ve got a dual boot AMD machine with XP pro and Ibex. I just installed the latest VBox (2.1 I think), and got XP Pro working just fine. I’m in the (long and tediuos) process of updating the virtual Windows. I’ve got guest additions working, it’s great. I had no problem with any of the installs so far. The guest additions was part to the package when I got the VBox software. I’m really happy with how things are working out.
OH yeah….with Ibex and the latest VBox, the tutorial above doesn’t match what I did for guest additions.
thanks great advice spot on (XP on xVMVB on ubuntu 8.04)
@Scott – thanks for the heads up Scott! I’ll take a look at this when I get some time and update the “how to” ready for Ibex.
@Keith The download fails because the server cant connect to the Vbox running in 8.10 (Version im using.) You will have to click the blue link in the error message that appears and DL it from there. Good luck
Hi there!
Great News!
After a great headache about installing Guest Additions for Windows on Linux Virtualbox,
I figured it out.
In some cases you will not be prompted with the installer of the Guest Additions.
But…
Good Luck, your suffering has gone!
Do the very same process:
1 –> Devices
2 –> Mount CD/DVD ROM
3 –> CD/DVD ROM
4 –> Click VBoxGuestAdditions.iso
5 –> Click Select
*note: Perhaps an error is prompt, continue clicking ok
At this point the problem is that nothing happens because the autorunner isn’t working.
So, let’s do it by keyboard
6 –> Press Windows + E to open the Explorer or Go to it by clicking Window key than navigate with help of arrows to My Computer.
*This done, you will see a virtual driver called “Virtual Guest Additions”.
So go ahead and with help of tab key focus on it and click Enter.
Now using tab key, Accept the Terms bla bla bla and go on, reboot and after this you will see all the addition s available
Hope You had help with it!
Hi,
i followed the tutorial.
im running windows xp under virtualbox 2.1.4 on ubuntu.
after the guest additions were installed succesfully, i still dont get the resolution right. it stays at 800X640 and with 8 bit colors.
i tried reinstalling the additions but i get the same effect.
I was having trouble getting this to work. Clicking on install guest additions would not download and I had to do it manually, but then mounting it was not causing it to show up anywhere… I’m not sure what ultimately made it work. I had a CD in my physical drive that I ejected, and then told it to install guest additions again. This time it did find the copy I manauly downloaded and ran the autorun.inf. Go figure.
Hi there, have vbox 2.2.2 on jaunty 9.04 running a guest windows xp pro, im having trouble getting updates for xp and it doesnt install new software i download from internet (e.g yahoo messenger) is there something im missing?