Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a working VM with ubuntu under virtual box. Everything works fine, but there's a detail that's getting on my nerves.

Every time i receive a kernel update, i have to re-install virtual box's guest additions. Is there a way to automate this besides skipping the update (i found information on that approach here ). Is there a way to keep up with kernel updates without reinstalling the guest additions every time?

Thanks,

share|improve this question

1 Answer 1

up vote 7 down vote accepted

Quoting the VirtualBox User Manual:

Be sure to install DKMS before installing the Linux Guest Additions. If DKMS is not available or not installed, the guest kernel modules will need to be recreated manually whenever the guest kernel is updated using the command

/etc/init.d/vboxadd setup as root.

[...]

If it is not installed, use this command for Ubuntu/Debian systems:

sudo apt-get install dkms

share|improve this answer
    
Thanks, this made the trick! –  Carlos Jun 10 '13 at 20:50
    
I LOVE YOU SO MUCH –  ElGamed Aug 23 '13 at 0:32

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.