Thanks
I tried
sudo aptitude update
sudo aptitude install dkms
sudo /etc/init.d/vboxdrv setup
and its works good
anish@anish-Aspire-4930:~$ sudo aptitude update
[sudo] password for anish:
sudo: aptitude: command not found
anish@anish-Aspire-4930:~$
hi i'm getting this error
please help?
anish@anish-Aspire-4930:~$ sudo /etc/init.d/vboxdrv setup
* Stopping VirtualBox kernel modules [ OK ]
* Uninstalling old VirtualBox DKMS kernel modules [ OK ]
* Trying to register the VirtualBox kernel modules using DKMS
* Failed, trying without DKMS
* Recompiling VirtualBox kernel modules
* Look at /var/log/vbox-install.log to find out what went wrong
anish@anish-Aspire-4930:~$
where is this log?
Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide
Tomorrow's an illusion and yesterday's a dream, today is a solution...
Hi
I used adelani's post's instructions and it works fine
thanks CharlesA and every one at the forum for your valuable contribution!!
regards,
Anish3190
Ok so this worked for almost all Ubuntu, Kubuntu 12.04, Kubuntu 12.04, Ubuntu 12.04, FAILED with Lubuntu 12.04,
Required Steps:
1. Install aptitude
2. Install DMKS (With Aptitude)
3. Install VBOX Additions
Steps to succeed:
1. Sudo -s (Be sure You're at Root In The Terminal)
2. sudo apt-get install aptitude
3. sudo aptitude install DKMS (Rebuild DMKS)
4. cd /VirtualBoxGuestAddtions (or whatever the mounted VboxAddtions disk name is)
5. sudo sh VirtualBoxGuestAdditions.run (Or Whatever the .run file is on the cd drive
Enjoy
1. You don't need a root shell.
2. Using apt-get works completely fine to install dkms.
3. You only install the guest additions on the guest, not the host.
EDIT: I just checked a 12.04 guest, with the guest additions installed via "additional drivers" and the guest has dkms installed:
The Kernel module not loaded error has nothing to do with guest additions because it occurs on the host not the guest.Code:charles@Precise:~$ dpkg -l | grep dkms ii dkms 2.2.0.3-1ubuntu3 Dynamic Kernel Module Support Framework ii virtualbox-guest-dkms 4.1.12-dfsg-2 x86 virtualization solution - guest addition module source for dkms
Last edited by CharlesA; June 17th, 2012 at 02:32 PM.
Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide
Tomorrow's an illusion and yesterday's a dream, today is a solution...
+1 to CharlesA's comments, and...
No! That's inadvisable. Please see:
https://help.ubuntu.com/community/Ro...udo_and_shells
And:
http://ubuntuforums.org/showpost.php...26&postcount=4
The correct command for getting a root shell is "sudo -i", but as CharlesA says, you don't need a root shell - just prepend all commands with sudo. And besides, "Sudo -s" would fail. Linux is case sensitive.
Ubuntu 20.04 Desktop Guide - Ubuntu 22.04 Desktop Guide - Forum Guide to BBCode - Using BBCode code tags
Member: Not Canonical Team
If you need help with your forum account, such as SSO login issues, username changes, etc, the correct place to contact an admin is here. Please do not PM me about these matters unless you have been asked to - unsolicited PMs concerning forum accounts will be ignored.
Bookmarks