Installing Guest Additions on Ubuntu 9.04 “Jaunty” Workaround

By | 2009/03/18

WIN goes to nixternal for pointing out a fix regarding the VirtualBox guest additions installation on Ubuntu 9.04.  Just the other day I installed the latest Ubuntu 9.04 “Jaunty” alpha 6 release and then installed guest additions on the virtual machine.  At that point things went downhill.  I was no longer able to get a graphical session other than “Safe Mode” which, as we all know, isn’t the best.  I had not had time to figure out how to work around it–I honestly tossed it up to a bug in an alpha release–but then nixternal pointed out the fix on his blog.  Again, thanks.

The Workaround

If you’ve attemted to install VirtualBox guest additions within your Ubuntu 9.04 installation and had issues, this workaround should hopefully solve your problems.

  1. Mount the VirtualBox Guest Additions CD.  This is done by clicking “Devices > Install Guest Additions”
  2. Open a terminal (Applications > Accessories > Terminal) and navigate your way to /media/cdrom/
  3. Extract the architecture-specific file using the command: sudo ./VBoxLinuxAdditions-XXX.run --target /tmp
  4. Edit the install.sh file, which should now be sitting in your /tmp directory.
  5. Line 415 (in vim type :415 to jump directly), needs to be changed to: 1.5.99.* | 1.6.0 )
  6. Run: sudo ./install.sh
  7. Reboot

It appears that an upstream patch would be *very* simple, so hopefully this gets fixed before it bites too many people.  In the meantime, I hope this helps anyone that got stuck like I did.

5 thoughts on “Installing Guest Additions on Ubuntu 9.04 “Jaunty” Workaround

  1. Ari Torhamo

    This happened to me too a few days ago. Without reading your post, I still wouldn’t know were the safe mode came from. Being a regular user, I wasn’t able to diagnose the problem. Thanks 🙂

  2. Jonathan

    Which version of VirtualBox are you using? I haven’t had a problem loading Jaunty in Virtualbox since alpha 3 or 4. It “just worked” because they added support for the newest X (I thought).

    1. Christer Edwards Post author

      @Jonathan – I’m using VirtualBox 2.1.4-2 from the virtualbox site (not the -ose version).

Comments are closed.