Yaky's

VirtualBox

Installing VirtualBox on Debian and using it to flash a smartphone.

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:
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