Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
12
rated 0 times [  12] [ 0]  / answers: 1 / hits: 8215  / 2 Years ago, sun, march 13, 2022, 9:38:27

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,


More From » updates

 Answers
3

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



[#31065] Monday, March 14, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
antoccasiona

Total Points: 430
Total Questions: 127
Total Answers: 131

Location: Netherlands
Member since Sat, Jun 26, 2021
3 Years ago
;