Schlagwort: virtual

Leave a reply

Virtual Box with Debian – Mount Shared Folder

Manually mount

After installing the Guest Additions (LINK) you can use Shared Folders between the host and the guest.
For this you have to add Folders in the „Machines Settings“ and then the section „Shared Folders“
For mounting them in the Guest Debian System you have to use following command:

Before you mount them you should create the target folder by using mkdir (if not you will get the same error like you can see it here:

Automount (using Virtual Box’s help)

If you klick on the „Auto-mount“ checkbox Virtual Box will automatically mount the Folder into the Debian’s /media/sf_“foldername“

In my tests (Debian 8) only the root had rights. I was not able to change this.

 

Mount via cron.d (for not root user, accessible )

Find your UUID:

Create a file in the folder (/etc/cron.d) (UUID=1000)

reboot, Thats it

 

help:
https://wiki.ubuntuusers.de/mount/

 


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

4.Install required packages and prepare the machine with

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

6. Mount the Guest Additions CD

 

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

After this you should see following screen:

Reboot and you are done

 

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


Leave a reply

screen commands

Screen

Use the command „screen“ to open a virtual terminal session in you actual session. The sessions will stay active until you terminate them.

Installation:

MacOS X
# build in
Debian
# apt-get install screen

normal use:

 

man:

-a Force all capabilities into each window’s termcap.
-A -[r|R] Adapt all windows to the new display width & height.
-c file Read configuration file instead of ‚.screenrc‘.
-d (-r) Detach the elsewhere running screen (and reattach here).
-dmS name Start as daemon: Screen session in detached mode.
-D (-r) Detach and logout remote (and reattach here).
-D -RR Do whatever is needed to get a screen session.
-e xy Change command characters.
-f Flow control on, -fn = off, -fa = auto.
-h lines Set the size of the scrollback history buffer.
-i Interrupt output sooner when flow control is on.
-list or -ls. Do nothing, just list our SockDir.
-L Turn on output logging.
-m ignore $STY variable, do create a new screen session.
-O Choose optimal output rather than exact vt100 emulation.
-p window Preselect the named window if it exists.
-q Quiet startup. Exits with non-zero return code if unsuccessful.
-r Reattach to a detached screen process.
-R Reattach if possible, otherwise start a new session.
-s shell Shell to execute rather than $SHELL.
-S sockname Name this session <pid>.sockname instead of <pid>.<tty>.<host>.
-t title Set title. (window’s name).
-T term Use term as $TERM for windows, rather than „screen“.
-U Tell screen to use UTF-8 encoding.
-v Print „Screen version 4.00.03 (FAU) 23-Oct-06“.
-wipe Do nothing, just clean up SockDir.
-x Attach to a not detached screen. (Multi display mode).
-X Execute <cmd> as a screen command in the specified session.


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