Schlagwort: guest

Leave a reply

Install Virtual Box Guest Additions Debian 8 & 9

1. Insert Guest Additions CD image (Devices -> „Insert Guest Additions CD image …)
2. Open Terminal (at the guest) and get root (su root)
3. Update you Database and install the last updates

apt-get update
apt-get upgrade

4.Install required packages and prepare the machine with

apt-get install build-essential module-assistant 
#then
m-a prepare

5. Find the device name of you CD Drive (in our Case sr0) using lsblk

root@debian:/# lsblk
NAME                      MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda                         8:0    0   500G  0 disk 
├─sda1                      8:1    0   243M  0 part /boot
├─sda2                      8:2    0     1K  0 part 
└─sda5                      8:5    0 499.8G  0 part 
  ├─ml--master--vg-root   254:0    0 491.8G  0 lvm  /
  └─ml--master--vg-swap_1 254:1    0     8G  0 lvm  [SWAP]
sr0                        11:0    1  56.6M  0 rom

6. Mount the Guest Additions CD

root@debian:/# mount /dev/sr0 /media/cdrom

mount: /dev/sr0 is write-protected, mounting read-only

 

7. Go to the folder where you have mounted the Guest Additions CD (/media/cdrom) and start the installation by typing this

cd /media/cdrom/
sh VBoxLinuxAdditions.run

After this you should see following screen:

Verifying archive integrity... All good.
Uncompressing VirtualBox 5.1.18 Guest Additions for Linux...........
VirtualBox Guest Additions installer
Copying additional installer modules ...
Installing additional modules ...
vboxadd.sh: Building Guest Additions kernel modules.
vboxadd.sh: Starting the VirtualBox Guest Additions.

You may need to restart the Window System (or just restart the guest system)
to enable the Guest Additions.

Reboot and you are done

 

VirtualBox Version
Version 5.1.18 r114002 (Qt5.6.2)
MacOSX Versions
10.12.5
Debian
jessie


Durch die weitere Nutzung der Seite stimmst du der Verwendung von Cookies zu. Weitere Informationen

Die Cookie-Einstellungen auf dieser Website sind auf "Cookies zulassen" eingestellt, um das beste Surferlebnis zu ermöglichen. Wenn du diese Website ohne Änderung der Cookie-Einstellungen verwendest oder auf "Akzeptieren" klickst, erklärst du sich damit einverstanden.

Schließen