Help! Can't start my virtual machine!
-
jlburke
- Posts: 9
- Joined: 16. Apr 2009, 00:46
- Primary OS: Ubuntu 8.10
- VBox Version: OSE other
- Guest OSses: windows xp
Help! Can't start my virtual machine!
Hello,
I did a stupid thing, I ran the app called "Computer Janitor" in Ubuntu Jaunty, and I inadvertently must have erased some virtualbox files I shouldn't have erased. Anyway, the .VirtualBox folder in home is intact, so I went ahead and downloaded the latest virtualbox deb package from the Sun site. I started Vbox and when i try to start my windoze xp virtual machine I get the following message:
Quote:
Kernel driver not installed (rc=-190
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Re-setup the kernel module by executing
'/etc/init.d/vboxdrv setup'
as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
I try to run that command as indicated by the message, and get a "command not found" message in the terminal.
I do have DKMS installed and I have reinstalled it, restarted the computer, and nothing is happening.
Please help, I need to use that virtual machine for work.
Thanks.
I did a stupid thing, I ran the app called "Computer Janitor" in Ubuntu Jaunty, and I inadvertently must have erased some virtualbox files I shouldn't have erased. Anyway, the .VirtualBox folder in home is intact, so I went ahead and downloaded the latest virtualbox deb package from the Sun site. I started Vbox and when i try to start my windoze xp virtual machine I get the following message:
Quote:
Kernel driver not installed (rc=-190
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Re-setup the kernel module by executing
'/etc/init.d/vboxdrv setup'
as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
I try to run that command as indicated by the message, and get a "command not found" message in the terminal.
I do have DKMS installed and I have reinstalled it, restarted the computer, and nothing is happening.
Please help, I need to use that virtual machine for work.
Thanks.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Help! Can't start my virtual machine!
Did you add you login to the vboxusers group?
-
jlburke
- Posts: 9
- Joined: 16. Apr 2009, 00:46
- Primary OS: Ubuntu 8.10
- VBox Version: OSE other
- Guest OSses: windows xp
Re: Help! Can't start my virtual machine!
I did, like this, and then rebooted. Still nothing.
sudo gpasswd -a juanluis vboxusers
sudo gpasswd -a juanluis vboxusers
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Help! Can't start my virtual machine!
sudo usermod -a -G vboxusers username
-
jlburke
- Posts: 9
- Joined: 16. Apr 2009, 00:46
- Primary OS: Ubuntu 8.10
- VBox Version: OSE other
- Guest OSses: windows xp
Re: Help! Can't start my virtual machine!
Thanks Perry,
I did as told, rebooted, but I still get the "command not found" message. Are there any packages that I might be missing and need to install?
Thanks for your help anyway.
I did as told, rebooted, but I still get the "command not found" message. Are there any packages that I might be missing and need to install?
Thanks for your help anyway.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Help! Can't start my virtual machine!
Have you looked and does /etc/init.d/vboxdrv exist?
and if so while in the init.d directory run sudo ./vboxdrv setup and does it give the same reply?
and if so while in the init.d directory run sudo ./vboxdrv setup and does it give the same reply?
-
jlburke
- Posts: 9
- Joined: 16. Apr 2009, 00:46
- Primary OS: Ubuntu 8.10
- VBox Version: OSE other
- Guest OSses: windows xp
Re: Help! Can't start my virtual machine!
No, it doesn't exist, there is a vboxdrv.dpkg.bak only.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Help! Can't start my virtual machine!
Then the install did not complete correctly. You said that you installed the latest VBox but were there any errors when you installed it? You will need to re-install and watch for errors. Note what they are and repair accordingly.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Help! Can't start my virtual machine!
Also look at the /var/log/vbox-install.log to see what the errors were.
-
jlburke
- Posts: 9
- Joined: 16. Apr 2009, 00:46
- Primary OS: Ubuntu 8.10
- VBox Version: OSE other
- Guest OSses: windows xp
Re: Help! Can't start my virtual machine!
Terry,
I re-installed, there were no mistakes that I could see, and the log file points out no mistakes either, i downloaded the deb file from here: http://www.virtualbox.org/wiki/Linux_Downloads
I re-installed, there were no mistakes that I could see, and the log file points out no mistakes either, i downloaded the deb file from here: http://www.virtualbox.org/wiki/Linux_Downloads
* Compiling vboxdrv
Attempting to install using DKMS
Creating symlink /var/lib/dkms/vboxdrv/2.2.2/source ->
/usr/src/vboxdrv-2.2.2
DKMS: add Completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
make KERNELRELEASE=2.6.28-11-generic -C /lib/modules/2.6.28-11-generic/build M=/var/lib/dkms/vboxdrv/2.2.2/build........
Running the post_build script:
cleaning build area....
DKMS: build Completed.
vboxdrv.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/2.6.28-11-generic/updates/dkms/
depmod....
DKMS: install Completed.
** Compiling vboxnetflt
Attempting to install using DKMS
Creating symlink /var/lib/dkms/vboxnetflt/2.2.2/source ->
/usr/src/vboxnetflt-2.2.2
DKMS: add Completed.
Kernel preparation unnecessary for this kernel. Skipping...
Running the pre_build script:
Building module:
cleaning build area....
make KERNELRELEASE=2.6.28-11-generic -C /lib/modules/2.6.28-11-generic/build M=/var/lib/dkms/vboxnetflt/2.2.2/build.......
cleaning build area....
DKMS: build Completed.
vboxnetflt.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/2.6.28-11-generic/updates/dkms/
depmod....
DKMS: install Completed.
-
jlburke
- Posts: 9
- Joined: 16. Apr 2009, 00:46
- Primary OS: Ubuntu 8.10
- VBox Version: OSE other
- Guest OSses: windows xp
Re: Help! Can't start my virtual machine!
OK, solved it, sorry for bugging you guys.
The thing was, I had uninstalled "Virtualbox-ose source" from Synaptic since the deb package at first told me that the installation was in conflict with the ose packages. So I went to Synaptic and uninstalled them. Thing is, there are two packages: virtualbox ose and virtualbox ose-source. I wiped them out both.
After tinkering around, I realized I obviously needed the source files.
Thanks for your help.
The thing was, I had uninstalled "Virtualbox-ose source" from Synaptic since the deb package at first told me that the installation was in conflict with the ose packages. So I went to Synaptic and uninstalled them. Thing is, there are two packages: virtualbox ose and virtualbox ose-source. I wiped them out both.
After tinkering around, I realized I obviously needed the source files.
Thanks for your help.
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Re: Help! Can't start my virtual machine!
When installing the version from the website, you don't want any OSE thing from the Ubuntu repository installed. Remove it, purge it's config, then reinstall the .deb you downloaded. Add the repository for your Debian flavour and you will receive automatic updates too.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.