How to install VirtualBox from A to Z and learn to use it

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:

  1. VirtualBox for a linux kernel
  2. 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.

When you are working on Linux kernel
sudo pacman -S virtualbox
sudo pacman -S virtualbox-host-modules-arch
sudo pacman -S linux-headers
When you are working on Linux-lTS kernel
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

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.

Seeing this – just reboot

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

VIRTUalbox on windows 10
proper settings
install arcolinux
Follow the video to see what I do to install virtualbox on your W10 machine (1803). Solving the issue of seeing only 32 bits in the dropdown by just rebooting.

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

HOw to use virtualbox — makeuseof.com
DOWNLOAD THEIR PDF HERE. 

Read all about their way of using virtualbox on their website @
https://www.makeuseof.com/tag/how-to-use-virtualbox/

Virtualbox only showing 32 bits

VirtualBox: Diagnose and fix ‘VT-x/AMD-V hardware acceleration’ errors

YOUTUBE PLAYLIST