💾 Archived View for yaky.dev › notes › virtualbox captured on 2024-12-17 at 10:08:27. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

VirtualBox

Installing VirtualBox on Debian.

Notes: I run Debian testing and use micro as the text editor. Adjust the instructions as necessary.

Enable virtualization

Go into your machine's BIOS and enable virtualization support.

This is different on each machine.

Install VirtualBox

Based on Debian Wiki

Add the correct sources

Open Apt's sources

sudo micro /etc/apt/sources.list

Add sid (unstable) repo:

deb http://deb.debian.org/debian/ sid main non-free contrib

To prevent Debian from installing latest packages from sid, which might make your system less stable, set a default release.

Create a new file:

sudo micro /etc/apt/apt.conf.d/00default-release

Add the setting:

APT::Default-Release "testing";

Install the packages

All required software:

sudo apt install virtualbox virtualbox-ext-pack virtualbox-guest-additions virtualbox-guest-additions-iso virtualbox-guest-utils virtualbox-dkms linux-headers-$(uname -r)

Guest additions ISO is downloaded into /usr/share/virtualbox

Some more config

Add yourself to the vboxusers group:

sudo usermod -a -G vboxusers $(whoami)

You might need to enable the kernel module for virtualbox:

sudo modproble vboxdrv

Run

virtualbox

Guest additions (shared folders etc)

Known issues

Do not use VirtualBox (or GNOME boxes) if you are trying to flash a phone, for example, with OnePlus' MSM tool.

home

email me: hi@yaky.dev

CC BY-NC yaky.dev