How to install VirtualBox
Option 1 : Calamares
We recommend this option as it is the easiest way to get VirtualBox on your computer.
During the ArcoLinux installation Calamares will provide you the choice to either install:
- VirtualBox for a linux kernel
- VirtualBox for a linux-lts kernel
Option 2: Nemesis scripts
Use our scripts to install VirtualBox and many other applications.
Type this in a terminal
git clone https://github.com/erikdubois/arcolinux-nemesis
Navigate to the AUR folder and launch the right script. Choose for linux or linux-lts.
./install...
There is an advantage if you run this script.
It will ensure you do not see all these messages when you first boot up VirtualBox.
ALWAYS REBOOT AFTER INSTALLING VIRTUALBOX
Option 3
Just copy/paste the right code in your terminal and install manually.
Type ‘neofetch‘ in your terminal to read what kernel you have.
sudo pacman -S virtualbox
sudo pacman -S virtualbox-host-modules-arch
sudo pacman -S linux-headers
sudo pacman -S virtualbox
sudo pacman -S virtualbox-host-dkms
sudo pacman -S linux-lts-headers
update-grub
When you are working on Linux-ZEN kernel
sudo pacman -S virtualbox
sudo pacman -S virtualbox-host-dkms
sudo pacman -S linux-zen-headers
update-grub
When you are working on Linux-HARDENED kernel
sudo pacman -S virtualbox
sudo pacman -S virtualbox-host-dkms
sudo pacman -S linux-hardened-headers
update-grub
When you are working on Linux-ANY kernel (xanmod, mainline, next, …)
sudo pacman -S virtualbox
sudo pacman -S virtualbox-host-dkms
sudo pacman -S linux-....-headers (search for the package)
update-grub
ALWAYS REBOOT AFTER INSTALLING VIRTUALBOX
allow virtualization – Motherboard setting
Have you changed the setting in the motherboard to allow virtualization?
GO TO TTY IN VIRTUALBOX
In order to go to the TTY in VirtualBox you use the
RIGHT CTRL + F2 till F6
On real metal we use
CTRL + ALT + F2 till F6
SHARE FOLDER BETWEEN HOST AND GUEST
You can share a folder between the host operating system and the guest operating system . In this manner you can share files and folders between two operating systems. Alternatives are usb’s and cloud services.
Host is the operating system (OS) that is running on your computer.
Guest is the OS that is running inside virtualbox.
We have added a script to easily and quickly share a folder between the host computer and the guest computer.
We have created an alias for it
vbm – this alias stands for virtual box mount
It will launch a script called arcolinux-vbox-share.
Only to be used in a virtual box.
Actions on the host computer
On the host computer you need to go into the virtual machine settings to be able to share a folder and to AUTOMOUNT it.
Actions on the guest computer
When you have booted up in VirtualBox there are just two things to remember.
1. Type this in the terminal
vbm
2. Log out and log back in
If you have set the folder to automount it will be present in the filemanager.
Dolphin file manager is the exception on the rule. Thunar is present on Plasma.
What are my current settings of VirtualBox
Make virtualbox fullscreen
on tiling window managers
Moving files between
guest and host
Give your VirtualBox more video memory
from 128MB to 256MB
make the terminals
transparent in virtual box
USE snapshot
to revert back to
a previous state
proper settings
install arcolinux
Creating a template for later – use the proper settings.
Installing ArcoLinux.
VIRTUalbox on windows 10
another example
Arcolinux 19.5 and virtual box 6.0.8
Read all about their way of using virtualbox on their website @
https://www.makeuseof.com/tag/how-to-use-virtualbox/
Read all about this issue of virtualbox on Windows on this website @
http://www.fixedbyvonnie.com/2014/11/virtualbox-showing-32-bit-guest-versions-64-bit-host-os/
Superuser
https://superuser.com/questions/1241956/virtualbox-only-allowing-32-bit-os
VirtualBox: Diagnose and fix ‘VT-x/AMD-V hardware acceleration’ errors
https://www.itworld.com/article/2981515/virtualization/virtualbox-diagnose-and-fix-vt-xamd-v-hardware-acceleration-errors.html