largs

Introduction

This page describes the installation of largs, which is Suzie’s VirtualBox VM on her work laptop.

Procedure

  1. This is a VM with one 2-core CPU and 2GB RAM.
  2. Complete Installing Debian 10.
  3. Complete Configuring the desktop environment.
  4. Configure but disable a ssh reverse tunnel.
  5. To allow folders shared between the laptop and the VM running on the the laptop complete the following sub-procedure:
    1. 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.

    2. Reboot the VM.
    3. 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
    4. In the VM add an entry to /etc/fstab like the following:
      xxxx
  6. Complete Finalising a Linux installation.

On the laptop

  1. Install putty
  2. Install Xming
  3. In VirtualBox (besides creating the VM, which should be done before this VM is installed:
    1. Configure port forwarding from 0.0.0.0:22 to 10.0.2.15:22.
    2. Create a shared folder

See also