tha
Wondering whether the VB error you're seeing is a "Kernel driver not installed" error? Did you try running "sudo /sbin/vboxconfig"? If that doesn't work, try "sudo /sbin/rcvboxdrv setup" (according to this bug report:
https://www.virtualbox.org/ticket/14723).
If neither of these work, there are a few threads relating to the "Kernel driver" error on the web, such as:
https://ubuntuforums.org/showthread.php?t=2390941 https://ubuntuforums.org/showthread.php?t=2350741
Aside from checking that you've gotten hold of the correct package for your OS (which is usually why people suggest "sudo apt install virtualbox" - but if you're getting the upstream package direct from virtualbox.org, that should work too as long as you're getting the "
Ubuntu 18.04 AMD64" one).
From those threads, other possible reasons for the kernel driver not working is if there is a TPM (trusted platform module) enabled in your UEFI, also at least with some UEFI the "Secure Boot" feature may conflict and you can try disabling that.
ha yeah that vboxconfig was the error i kept getting and tried different commands i found online in relation which didnt work, but i dont recall seeing that setup command, so will try that.
i assume i got the correct download as i think it was top of the list, will double check and as for boot options, secure boot is off, theres limited options on this laptop, as i said this laptop is a windows version originally, i dont know how the hardware differs to the versions that came with linux, but i defaulted the bios so many times when i tried to get windows to install, so all that should be fine..
edit:
right before i press enter i have just loaded up the laptop and as dont have Vbox installed i am on the website and it is the top of the list - Ubuntu 18.04 / 18.10 / debian 10 amd64 , so i am going back through that route to download/install and as i expected, the error comes up when i click 'start'.. reading more of the error dialog, at the bottom it says -
VERR_VM_DRIVER_NOT_INSTALLED(-1908) - the support driver is not installed. On Linux, open returned ENOENT
edit: from the looks at things ive got to try the /sbin/vboxconfig as root?
further edit: i havent been able to resolve this yet, but i deleted the VM i was trying to run and made another that still comes with the same error, however at the start i chose VHD which is didnt realise was for windows based
, so this new one i kept it as the native selected VDI, maybe i will get better luck and maybe i wont lol.