How to install Debian 12 bookworm inside other host system in Virtualbox in 20 minutes.

Adam Jurkiewicz Pythonista
3 min readSep 20, 2023

When you need to test some functions or you just want to see any other system you are using everyday — just try to install it into a VirtualBox.

Screenshot — my host system (Debian 12)

In this Article I assume, that you already have VirtualBox, but if not — read my story about it https://blog.jurkiewicz.tech/instalacja-virtualbox-7-w-systemie-debian-12-261669be0f3 (it is in Polish language, but you should be able to read terminal commands and do the same in your system).

Virtualbox inside my host system

Or — you can just download the latest version:

Get the ISO file — 3,7 GB DVD iso.

In this article we use KDE version, but the ISO is the same for different Window Managers — the only thing is to choose whatever you want to install in the middle of instalation process.

The ISO is located in current release:

https://cdimage.debian.org/cdimage/release/current/amd64/iso-dvd/debian-12.1.0-amd64-DVD-1.iso

How looks the page with ISO file.

Just download this file, or find any MIRROR near your geographical location — here you can find the whole list:

Set up new virtual Machine

We have to create NEW virtual machine inside a VirtualBox. On first screen we set name Debian 12 bookworm, set destination filder for our VM (or leave default value), point ISO file location.

Create new VM screen

Very important is to set Skip Unattended Initialization checkbox, after that installer will run in standard way, letting us to change some parameters, like Window Manager (KDE, Gnome, Xfce…)

Next, we set up some RAM, CPU and a hard drive, 20 GB of space allocated for new system will be enough to check functionality.

Summary page

When installer starts, choose graphical one.

Be aware of moment, when you can choose your preffered Window manager: KDE, Gnome….

Short video on YouTube — how to install, what to do — just about 10 minuts watching:

After system is running, we need to add us to sudo group, so we have to run Terminal, and inside put some commands

su - — this will log in as to root account

usermod -a _login_ -G sudo — this will add aour user to sudo group

Adding user to group

After that operation, standard user can use sudo in the same way as for example in Ubuntu.

I hope, this article will be useful for you. If yes, clap me a hand on this:

--

--

Linux (Debian/Ubuntu) admin 😆, Python (OOP, fastAPI) programmer 🖥️ | Teacher, trainer 📚 ⚓