Difference between revisions of "VirtualBox"

→‎Selecting a Display Controller: simplified paragraph - added trouble shooting for Manjaro - added guest configuration
imported>Fhdk
imported>Fhdk
(→‎Selecting a Display Controller: simplified paragraph - added trouble shooting for Manjaro - added guest configuration)
Line 71: Line 71:
{{Tip | '''Graphics''': '''128MB''', '''VBoxSVGA''', '''Enable 3D Acceleration'''.}}
{{Tip | '''Graphics''': '''128MB''', '''VBoxSVGA''', '''Enable 3D Acceleration'''.}}


Once it is installed run the following command to ensure the kernel modules are installed and install the guest utils:
If you follow these recommendattion the kernel modules the necessary packages are installed by mhwd.
pamac install virtualbox-guest-utils $(pacman -Qsq "^linux" | grep "^linux[0-9]*[-rt]*$" | awk '{print $1"-virtualbox-guest-modules"}' ORS=' ')


=== Trouble shooting ===
If you deem it necessary to ensure the packages are installed please follow this recipe
~ >>> mhwd-kernel -li                                                         
Currently running: 5.4.0-1-MANJARO (linux54)
The following kernels are installed in your system:
    * linux54
~ >>> sudo pacman -Syu virtualbox-guest-utils linux54-virtualbox-guest-modules
=== Guest Configuration ===
You will need to load the modules if you don't want to reboot:
You will need to load the modules if you don't want to reboot:
  sudo modprobe vboxguest vboxvideo vboxsf
  sudo modprobe vboxguest vboxvideo vboxsf
Add you VM user to the vboxsf group
sudo gpasswd -a $USER vboxsf


The guest utils than need to be started and enabled:
The guest utils than need to be started and enabled:
  sudo systemctl enable --now vboxservice.service
  sudo systemctl enable --now vboxservice.service
Add you VM user to the vboxsf group (this requires you to logout to apply the new group)
sudo gpasswd -a $USER vboxsf


= Advice, Tips, and Tricks =
= Advice, Tips, and Tricks =
Anonymous user