11

I installed Ubuntu 11.04 on Virtual Box. It had poor performance (had low max resolution, cursor was choppy when going across the screen, none of the unity stuff was there), until I installed the Virtual Box Guest additions. After installing the guest additions, everything worked beautifully until I an update through the update manager. Everything looked like crap again (the unity stuff is gone, and the mouse cursor lags when going across the screen, overall just doesn't look nearly as nice as it did pre-update).

I reran the guest additions installer and everything is almost back to normal (the mouse cursor is one cm off target and there is an inch at the bottom of the screen which you can't use), but I would like to mitigate this for future updates. Is there a way to mitigate this issue when installing updates?

Dave
  • 213

3 Answers3

14

This should have been taken care of by dkms - this builds kernel support each time the kernel is updated.

Ensure dkms is installed before the next time you run the VBoxGuestAdditions module

i.e.

sudo apt-get install dkms
cd /cdrom
sudo sh ./VBoxLinuxAdditions-x86.run
fossfreedom
  • 174,526
3

[Solved it] It was the same problem. It's suddenly occurred after Ubuntu update

  1. sudo apt-get install dkms
  2. sudo /etc/init.d/vboxadd setup
  3. Insert CD VBoxGuestAdditions.iso
  4. sudo sh ./VBoxLinuxAdditions.run after do it anything not occur.
  5. very important: Turn off the machine and reboot it.

Ref: http://www.virtualbox.org/manual/ch04.html#idp11306688

Bhavin Doshi
  • 2,496
0

You should re-install the guest additions every time you update virtualbox. For the latest guest additions I think they update the kernel modules automatically if you update the kernel with apt.

Just make sure you have the build-essential and current kernel-headers packages installed.