Introduction
This page describes the installation of largs, which is Suzie’s VirtualBox VM on her work laptop.
Procedure
- This is a VM with one 2-core CPU and 2GB RAM.
- Complete Installing Debian 10.
- Complete Configuring the desktop environment.
- Configure but disable a ssh reverse tunnel.
- To allow folders shared between the laptop and the VM running on the the laptop complete the following sub-procedure:
- Run:
apt-get install virtualbox-guest-additions-iso linux-headers-$(uname -r) dkms losetup /dev/loop0 /usr/share/virtualbox/VBoxGuestAdditions.iso mount /dev/loop0 /mnt cd /mnt ./VBoxLinuxAdditions.run --nox11 # fails with
Note that the VBoxLinuxAdditions.run call will fail with:
VirtualBox Guest Additions: modprobe vboxsf failed
and /var/log/vboxadd-setup.log suggests all went well.
- Reboot the VM.
- In VirtualBox add a shared folder; do not use the default names like ‘DRIVE_D’ as will cause the client’s call to mount to fail with the error message:
/sbin/mount.vboxsf: mounting failed with the error: Protocol error
- In the VM add an entry to /etc/fstab like the following:
xxxx
- Run:
- Complete Finalising a Linux installation.
On the laptop
- Install putty
- Install Xming
- In VirtualBox (besides creating the VM, which should be done before this VM is installed:
- Configure port forwarding from 0.0.0.0:22 to 10.0.2.15:22.
- Create a shared folder