VirtualBox

Opened 11 years ago

Closed 11 years ago

#12142 closed defect (worksforme)

Linux Guest Additions Lubuntu 13.4 - wrong kernel compilation when run

Reported by: Anthony NaRaine Owned by:
Component: installer Version: VirtualBox 4.2.18
Keywords: Linux Guest Additions Cc:
Guest type: Linux Host type: Windows

Description (last modified by Frank Mehnert)

I had an issue when installing guest additions in lubuntu 13.4 desktop.

I ran script as root and it appears to install but not working. (Screen does not auto-size, no clipboard etc) The fix for me was to remove old kernels

Ubuntu Cleanup: How to Remove All Unused Linux Kernel Headers, Images and Modules January 8, 2011 by Ubuntu Genius

dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | xargs sudo apt-get -y purge

And then it installed and worked! I think the script needs to check current active kernel and compile against that?

Thanks Raine

Change History (2)

comment:1 by Frank Mehnert, 11 years ago

Description: modified (diff)

comment:2 by Frank Mehnert, 11 years ago

Resolution: worksforme
Status: newclosed

This information is not sufficient. We will not make any changes to the installer before we don't know what went wrong with your installation. The file /var/log/vboxadd-install.log which was created after you installed the Additions the first time is the minimum requirement. Then installer will look at the currently running kernel and use the corresponding kernel headers to compile the modules. If you are just upgraded your kernel and installed the Additions at the same time (without rebooting) then the modules will probably not be loaded the next time you boot your guest (because the modules were compiled for a different kernel).

Please reopen if you can provide more information (see above).

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use