Having problems getting virtualization to work
I am trying to setup a system that replicates my system at work. Linux development environment with Windows 7 running in a VM.
Bought all new parts, built computer, installed Ubuntu. Most everything went smoothly. Unfortunately my wireless adapter isn't yet supported so I have a wired connection for now. I will work the wireless issue later.
Started with VMware. Downloaded VMware-
Followed the instructions at
https:/
ran gksudo bash VMware-
Ran Vm player and created the first VM for, Windows 7 Home Premium 64 bit. I am not sure that is the one I am going to settle with but I thought it would be a good first try.
I used defaults to configure the VM.
Then I tried to Play the VM and got the dreaded:
Could not open /dev/vmmon: No such file or directory.
Please make sure that the kernel module `vmmon' is loaded.
Started troubleshooting this. Which led me to this page
http://
which had this:
sudo vmware-modconfig --console --install-all
which I ran, which produced:
Stopping VMware services:
VMware Authentication Daemon done
VM communication interface socket family done
Virtual machine communication interface done
Virtual machine monitor done
Blocking file system done
make: Entering directory '/tmp/modconfig
Using kernel build system.
/usr/bin/make -C /lib/modules/
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/
CC [M] /tmp/modconfig-
CC [M] /tmp/modconfig-
CC [M] /tmp/modconfig-
CC [M] /tmp/modconfig-
CC [M] /tmp/modconfig-
CC [M] /tmp/modconfig-
CC [M] /tmp/modconfig-
/tmp/modconfig-
LinuxDriverSyn
^
CC [M] /tmp/modconfig-
/tmp/modconfig-
/tmp/modconfig-
}
^
CC [M] /tmp/modconfig-
CC [M] /tmp/modconfig-
CC [M] /tmp/modconfig-
CC [M] /tmp/modconfig-
LD [M] /tmp/modconfig-
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/modconfig-
LD [M] /tmp/modconfig-
make[1]: Leaving directory '/usr/src/
/usr/bin/make -C $PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory '/tmp/modconfig
make: Entering directory '/tmp/modconfig
Using kernel build system.
/usr/bin/make -C /lib/modules/
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/
CC [M] /tmp/modconfig-
CC [M] /tmp/modconfig-
CC [M] /tmp/modconfig-
CC [M] /tmp/modconfig-
In file included from include/
include/
#define PCI_VENDOR_
^
In file included from /tmp/modconfig-
/tmp/modconfig-
#define PCI_VENDOR_
^
CC [M] /tmp/modconfig-
CC [M] /tmp/modconfig-
CC [M] /tmp/modconfig-
CC [M] /tmp/modconfig-
In file included from /tmp/modconfig-
/tmp/modconfig-
#define PCI_VENDOR_
^
In file included from include/
include/
#define PCI_VENDOR_
^
CC [M] /tmp/modconfig-
CC [M] /tmp/modconfig-
LD [M] /tmp/modconfig-
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/modconfig-
LD [M] /tmp/modconfig-
make[1]: Leaving directory '/usr/src/
/usr/bin/make -C $PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory '/tmp/modconfig
Starting VMware services:
Virtual machine monitor failed
Virtual machine communication interface done
VM communication interface socket family done
Blocking file system done
Virtual ethernet failed
VMware Authentication Daemon done
I have spend a few days, un-installing, re-installing, reformatting hard disk ans starting the system build again, LOTS of google searches, I keep comming back to this basic error.
Ripped everything out, restarted and this time followed
So then I went down the route of VirtualBox. Followed the instructions as best I could, got a VM setup and the tried to start it.
Got this error
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please install virtualbox-dkms package and load the kernel module by executing
'modprobe vboxdrv'
as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
where: suplibOsInit what: 3 VERR_VM_
So I did a sudo modprobe vboxdrv
and got this:
joe@joe-
[sudo] password for joe:
modprobe: ERROR: could not insert 'vboxdrv': Required key not available
I am stuck.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Manfred Hampl
- Solved:
- Last query:
- Last reply: