2015.11.26 by anthony
The main ubuntu download link was very slow, so I used a mirror, which was very fast:
The VM originally had a 640×480 resolution, which is tiny.
Found several message board posts giving incorrect information. This one gave correct answer, although it includes a typo:
From the post, with the typo corrected (replaced
We don't support the Ubuntu fork of the guest additions. I would suggest that you remove them and install the official ones from your VirtualBox. Start the guest and install the following packages then click on the device tab and click insert guest additions. sudo apt-get install dkms build-essential linux-headers-generic
Initially made an 8GB primary partition, which filled up after installing only a few things! Increased to 15GB resizing the VDI using the VirtualBox vboxmanage tools on the OSX command line, installing gparted on Ubuntu, deleting the swap partition, resizing the primary partition, and then recreating the same sized swap partition. So far so good.
Chose “dynamically allocated” storage option when I set up the VM, but I still don't understand or see any evidence of it adjusting itself.
This is the page the finally solved my problem:
120 sudo mount -t vboxsf -o uid=$UID,gid=$(id -g) acate /media/sf_acate 121 dmesg | tail 125 sudo updatedb 127 locate mount.vboxsf 128 ll `locate mount.vboxsf` 134 cat /etc/modules 135 echo `locate mount.vboxsf` 136 ln -sf `locate mount.vboxsf` /sbin/mount.vboxsf 137 sudo ln -sf `locate mount.vboxsf` /sbin/mount.vboxsf 148 sudo mount -t vboxsf -o uid=$UID,gid=$(id -g) acate /media/sf_acate 154 mount 158 cat /etc/fstab 159 sudo pico /etc/fstab 163 sudo pico /etc/modules
On 2015 Macbook Air laptop.
Permissions had always been
root:root, which was very inconvenient. So Anthony set them to be
anthony:anthony by changing
The relevant line now reads:
acate /media/sf_acate vboxsf uid=1000,gid=1000 0 1
(Reboot required after change).
Found instructions from these links:
This process is slightly different from cloning, apparently, and uses what Virtualbox calls “appliances” that can hold multiple VMs.
Anthony took advice from these links: