VirtualBox/Gast-Erweiterung: Unterschied zwischen den Versionen
Zeile 72: | Zeile 72: | ||
= RHEL/CentOS = | = RHEL/CentOS = | ||
=== | === Install required packages for a guest addition compilation === | ||
# dnf install tar bzip2 kernel-devel-$(uname -r) kernel-headers perl gcc make elfutils-libelf-devel | # dnf install tar bzip2 kernel-devel-$(uname -r) kernel-headers perl gcc make elfutils-libelf-devel | ||
=== Insert Virtualbox guest additions ISO image === | |||
'''NOTE''' | '''NOTE''' | ||
Zeile 87: | Zeile 86: | ||
Click on the <tt>Devices</tt> menu and select <tt>Insert Guest Additions CD image...</tt> | Click on the <tt>Devices</tt> menu and select <tt>Insert Guest Additions CD image...</tt> | ||
=== Compile and install Virtualbox guest additions === | |||
Once you insert the Virtualbox Guest addition ISO image the window may pop-up. You can hit the <tt>Run</tt> button to begin the installation. | |||
[[Image:Bild3.png|top|alt="Begin the Virtualbox guest additions installation"]] | [[Image:Bild3.png|top|alt="Begin the Virtualbox guest additions installation"]] | ||
=== Begin the Virtualbox guest additions installation === | |||
However, I suggest to start the installation from the command line in order to get more verbose output from the installation process. This way it is easier to troubleshoot any possible issues you encounter. | However, I suggest to start the installation from the command line in order to get more verbose output from the installation process. This way it is easier to troubleshoot any possible issues you encounter. | ||
[[Image:Bild4.png|top|alt="Mounted Virtualbox guest additions ISO location"]] | [[Image:Bild4.png|top|alt="Mounted Virtualbox guest additions ISO location"]] | ||
=== Mounted Virtualbox guest additions ISO location === | |||
To do so run the following command: | To do so run the following command: | ||
$ cd /run/media/`whoami`/VB* | $ cd /run/media/`whoami`/VB* | ||
Zeile 107: | Zeile 107: | ||
VirtualBox Guest Additions: Running kernel modules will not be replaced until the system is restarted | VirtualBox Guest Additions: Running kernel modules will not be replaced until the system is restarted | ||
VirtualBox Guest Additions: Starting. | VirtualBox Guest Additions: Starting. | ||
=== Reboot your system to enable the Virtualbox guest additions === | |||
=== Confirm that Virtualbox guest additions are installed and loaded === | |||
# lsmod | grep vbox | # lsmod | grep vbox | ||
[[Kategorie:VirtualBox]] | [[Kategorie:VirtualBox]] |
Version vom 16. September 2022, 09:01 Uhr
VirtualBox-Gast-Erweiterung verbessern sie Integration in das Host-System
Beschreibung
- Funktionen
- Bessere Mauszeigerintegration
- Ordnerfreigaben vom Host zum Gast
- Grafikkartentreiber
- Nahtloser Fenstermodus ("seamless windows")
- Zeitsynchronisation
- Gemeinsame Zwischenablage (Copy & Paste)
- Drag'n'Drop
- Automatisierte Windows-Anmeldungen mittels VBoxGINA
Installation
Die Gasterweiterungen werden innerhalb der virtuellen Maschine installiert
- Nachdem das Gast-Betriebssystem fertig installiert worden ist.
Debian Host
# apt install build-essential # apt install linux-headers-$(uname -r)
[...]
# apt-get install virtualbox-guest-additions-iso
Debian Gast
Anwendungen
Fehlerbehebung
Syntax
Optionen
Parameter
Umgebungsvariablen
Exit-Status
Konfiguration
Dateien
Sicherheit
Dokumentation
RFC
Man-Pages
Info-Pages
Siehe auch
Links
Projekt-Homepage
Weblinks
Einzelnachweise
Testfragen
Testfrage 1
Testfrage 2
Testfrage 3
Testfrage 4
Testfrage 5
RHEL/CentOS
Install required packages for a guest addition compilation
# dnf install tar bzip2 kernel-devel-$(uname -r) kernel-headers perl gcc make elfutils-libelf-devel
Insert Virtualbox guest additions ISO image
NOTE Use the latest Virtualbox Guest addition CD image if possible. The ISO supplied with your VirtualBox may be outdated which might result in compilation errors.
Use the following link to download the latest Virtualbox Guest addition ISO image.
"Click on the Devices menu and select Insert Guest Additions CD image..."
Click on the Devices menu and select Insert Guest Additions CD image...
Compile and install Virtualbox guest additions
Once you insert the Virtualbox Guest addition ISO image the window may pop-up. You can hit the Run button to begin the installation.
"Begin the Virtualbox guest additions installation"
Begin the Virtualbox guest additions installation
However, I suggest to start the installation from the command line in order to get more verbose output from the installation process. This way it is easier to troubleshoot any possible issues you encounter.
"Mounted Virtualbox guest additions ISO location"
Mounted Virtualbox guest additions ISO location
To do so run the following command:
$ cd /run/media/`whoami`/VB*
Change to the root user and begin installation:
$ su # ./VBoxLinuxAdditions.run
if successful you should see the following output:
Installing additional modules ... VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel modules. This may take a while. VirtualBox Guest Additions: Running kernel modules will not be replaced until the system is restarted VirtualBox Guest Additions: Starting.
Reboot your system to enable the Virtualbox guest additions
Confirm that Virtualbox guest additions are installed and loaded
# lsmod | grep vbox