Trojaner-Board

Trojaner-Board (https://www.trojaner-board.de/)
-   Alles rund um Mac OSX & Linux (https://www.trojaner-board.de/alles-rund-um-mac-osx-linux/)
-   -   Fenstergröße VirtualBox Debian (https://www.trojaner-board.de/193339-fenstergroesse-virtualbox-debian.html)

stephan65 11.10.2018 12:09

Fenstergröße VirtualBox Debian
 
Hallo,

ich habe unter Windows 10 eine virtuelle Maschine eingerichtet. Dort laufen Suse-Linux und Debian. Unter Suse kann ich das Fenster des Gastes bequem vergrößern (bildschirmfüllend).
Bei Debian bekomme ich das nicht hin.:headbang:

Kann mir jemand helfen ?
Danke.

cosinus 11.10.2018 12:11

Du musst die Gasterweiterungen installieren. Sonst haut das nicht hin. Lege die Gasterweitungen ins virtuelle DVD-Laufwerk der Debian-VM. Dann machste ein terminal auf und tipsst diese Befehle ein:

Code:

su
mount /dev/sr0 /mnt
cd /mnt
./VBoxLinuxAdditions.run


stephan65 12.10.2018 07:24

Hallo,
danke Cosinus.
Klappt nicht ganz.

Code:

stephan@debian:~$ su
Passwort:
root@debian:/home/stephan# mount /dev/sr0 /mnt
mount: /dev/sr0 is write-protected, mounting read-only
root@debian:/home/stephan# ./VboxLinuxadditions.run
bash: ./VboxLinuxadditions.run: Datei oder Verzeichnis nicht gefunden
root@debian:/home/stephan# cd /media/cdrom0
root@debian:/media/cdrom0# ls
32Bit            OS2                      VBoxWindowsAdditions-amd64.exe
64Bit            runasroot.sh              VBoxWindowsAdditions.exe
AUTORUN.INF  TRANS.TBL                      VBoxWindowsAdditions-x86.exe
autorun.sh  VBoxLinuxAdditions.run
cert            VBoxSolarisAdditions.pkg
root@debian:/media/cdrom0# ./VBoxLinuxAdditions.run
bash: ./VBoxLinuxAdditions.run: Keine Berechtigung
root@debian:/media/cdrom0#


cosinus 12.10.2018 08:01

Zitat:

./VboxLinuxadditions.run
Du musst auf die richtige Groß-/Kleinschreibung achten, Linux Dateisysteme sind immer case sensitiv! (ich hab meinen Text korrigiert)

Außerdem steht in meinen Text dass du nach /mnt mounten sollst und nicht nach /media/cdrom

stephan65 12.10.2018 08:15

Danke,
man muss halt richtig lesen.

Und was nun ? Muss ich neu starten ?

cosinus 12.10.2018 08:18

Vllt liest du mal die Ausgabe des Programm richtig? Da steht doch was zu tun ist.

stephan65 12.10.2018 08:19

Das sieht jetzt so aus:


Code:

stephan@debian:~$ su
Passwort:
root@debian:/home/stephan# mount /dev/sr0 /mnt
mount: /dev/sr0 is write-protected, mounting read-only
mount: /dev/sr0 is already mounted or /mnt busy
      /dev/sr0 is already mounted on /mnt
root@debian:/home/stephan# cd /mnt
root@debian:/mnt# ./VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.2.18 Guest Additions for Linux........
VirtualBox Guest Additions installer
Removing installed version 5.2.18 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel modules.  This may take a while.
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
The distribution packages containing the headers are probably:
    linux-headers-amd64 linux-headers-4.9.0-7-amd64
VirtualBox Guest Additions: Starting.

VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel modules.  This may take a while.
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
The distribution packages containing the headers are probably:
    linux-headers-amd64 linux-headers-4.9.0-7-amd64

root@debian:/mnt#


cosinus 12.10.2018 08:31

Du brauchst die linux-headers, denn ein Teil der Installation besteht aus dem Kompilieren von Kernelmodulen. Als root ausführen:

Code:

apt update && apt install linux-headers-amd64
Dann die VBoxLinuxAdditions.run erneut ausführen

stephan65 12.10.2018 08:46

Zitat:

Zitat von cosinus (Beitrag 1704594)
Du brauchst die linux-headers, denn ein Teil der Installation besteht aus dem Kompilieren von Kernelmodulen. Als root ausführen:

Code:

apt update && apt install linux-headers-amd64
Dann die VBoxLinuxAdditions.run erneut ausführen


Hab ich gemacht. Und jetzt ?

cosinus 12.10.2018 08:55

Wie und jetzt, ich bin doch kein Prophet :glaskugel: du musst schon die Ausgaben posten!

stephan65 12.10.2018 09:06

Hallo,

ich habe in der Zwischenzeit einen Neustart gemacht. Und siehe ich kann die Anzeige nach meinen Wünschen einstellen.

Vielen Dank.

cosinus 12.10.2018 10:20

Gut, aber du musst schon dran denken, dass hier niemand auf deinen Bildschirm schauen kann. http://www.trojaner-board.de/images/icons/icon32.gif

Vergiss nicht, dass man die Gasterweiterungen aktualisieren muss wenn du VirtualBox selbst updatest. Heißt wann du also irgendwann in deinem Windows auf VirtualBox 5.2.x updatest, dann musst du auch die Gasterweiterungen in den VMs in Version 5.2.x neu installieren.


Alle Zeitangaben in WEZ +1. Es ist jetzt 03:22 Uhr.

Copyright ©2000-2025, Trojaner-Board


Search Engine Optimization by vBSEO ©2011, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19