I am trying to run VirtualBox so I can install a copy of Windows XP for school. I can get through setting up a new VM but when I try to start it there's a problem with kernels.
Failed to open a session for the virtual machine Windows XP.
The virtual machine 'Windows XP' has terminated unexpectedly during startup with exit code 1.
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: Machine
Interface: IMachine {22781af3-1c96-4126-9edf-67a020e0e858}
That's the VirtualBox error then there's one that says:
error in sublibOslnit
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 reinstall the kernel module by executing
/etc/init.d/vboxdrv setup
as root. if it is available in your distribution, you should install the dkms package first.
I have ran that and get errors everytime. I dont know how to change the permissions if thats the problem.
sudo (command)
orsudo su
and(command)
. Command in your case is/etc/init.d/vboxdrv setup