Open Terminal and run any of the following commands:
- $ cat /etc/issue
- $ cat /etc/debian_version
- $ lsb_release -a
$ cat /etc/issue
Debian GBU/Linux 9 \n \l
$ cat /etc/debian_version
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 9.3 (stretch)
To find out more about the lsb (linux standard base) command read the man page or issue the -h (help) option.
$ lsb_release -h
Usage: lsb_release [options]
-h, --help show this help message and exit
-v, --version show LSB modules this system supports
-i, --id show distributor ID
-d, --description show description of this distribution
-r, --release show release number of this distribution
-c, --codename show code name of this distribution
-a, --all show all of the above information
-s, --short show requested information in short format
When you first install Debian in VirtualBox you can’t adjust the size of the guest OS. In order to be able to adjust the screen size of the guest OS you must install VirtualBox Guest Additions on the guest OS. This will allow you to use the guest OS just like you were using a normal OS.
Here is how to do this:
- log in as root or with an account that has root privileges
- update & upgrade the system
apt-get update && apt-get upgrade
- install required packages for building kernel modules
apt-get install dkms build-essential module-assistant linux-headers-$(uname -r)
- prepare your system for building kernel modules
- download the same version of VirtualBox Guest Additions that matches your VirtualBox version.
- in the virtual machine window go to Devices -> Insert Guest Additions CD image …
- mount the CD
- run the VboxLinuxAdditions.run script
- Do not Enable 3D Acceleration in Settings > Display. After installing the VirtualBox Linux Additions, the dispaly manager will crush and you won’t be able to see anything on the screen.