Difference between revisions of "VirtualBox"

→‎Install VirtualBox: added mhwd-kernel as source for vbox modules
imported>Fhdk
m (added trouble shooting for Windows guest)
imported>Fhdk
(→‎Install VirtualBox: added mhwd-kernel as source for vbox modules)
Line 27: Line 27:
==Install VirtualBox==
==Install VirtualBox==


To install VirtualBox, you need to install the packages {{ic|virtualbox}} and {{ic|linux*-virtualbox-host-modules}}.  The latter must match the version of the kernel you are running.
To install VirtualBox, you need to install the packages {{ic|virtualbox}} and {{ic|linux*-virtualbox-host-modules}}.  The latter must match the version of the kernel you are running. To list what kernels is installed use mhwd
 
~ >>> mhwd-kernel -li                                                         
Currently running: 5.4.0-1-MANJARO (linux54)
The following kernels are installed in your system:
    * linux54




To install VirtualBox and automatically install the kernel modules for your installed kernels enter the following command in the terminal:
To install VirtualBox and automatically install the kernel modules for your installed kernels enter the following command in the terminal:


  pamac install virtualbox $(pacman -Qsq "^linux" | grep "^linux[0-9]*[-rt]*$" | awk '{print $1"-virtualbox-host-modules"}' ORS=' ')
  pamac install virtualbox linux54-virtualbox-host-modules




Line 38: Line 43:


  sudo vboxreload
  sudo vboxreload


==Install the Extension Pack(Optional)==
==Install the Extension Pack(Optional)==
Anonymous user