How to install Guest Additions in Ubuntu 14.04 Server for VirtualBox

VirtualBox

This is a very short blurb on how to install guest additions in ubuntu 14.04 server for Virtualbox.  This is very simple to do yet I never remember.  I also use Virtualbox a lot but that doesn’t seem to help me remember.  Very simply, if you are using Ubuntu server this is the command to enter in terminal:

sudo apt-get install virtualbox-guest-dkms 

Unable to remove virtual machine from Virtualbox

I am unable to remove a deleted virtual machine in Virtualbox.  I’m using Windows 8.1.

I get a warning stating that one or more virtual hard disks, CD/DVD or floppy disk image files are not currently accessible.  As a result, you will not be able to operate virtual machines that use these files until they become accessible later.

The error message goes on to say to check the Virtual Media Manager.  You can get to it from the menu or from clicking the “check” button on the error.

My google searching has led me to believe that this would be the correct way to fix the issue.  Usually it means that there is a snapshot sitting out there that needs to be removed first.   My problem is that the VM doesn’t exist anymore since I had to move some of my VM’s to free space and this particular one I just deleted.

I think I am just going to have to live with this until an update eventually fixes the issue.  The latest version as of this writing is 4.3.4r91027.

 

VBoxManage.exe: error: Cannot register the hard disk Virtualbox

virtualbox

I got this error today right after I had moved my virtual machine folder to a different drive.

This is what happened.  I moved the virtual machine folder off my main hard disk to another disk.  I then deleted the listing in Virtualbox and then went to add the machine back.  This is where I get the message.  A very simple step that was missing was for me to  CLOSE Virtualbox and reopen the program.  After that simple mistake I was then able to add my VM and start it.