Showing posts with label virtual_machines. Show all posts
Showing posts with label virtual_machines. Show all posts

Tuesday, 16 July 2013

Cannot register the DVD image '/usr/share/virtualbox/VBoxGuestAdditions.iso'

Came across this lovely error today, when updating VirtualBox on an old laptop from 4.1 to 4.2:

Cannot register the DVD image '/usr/share/virtualbox/VBoxGuestAdditions.iso' {20f4b244-eb29-4082-ac34-4acf6ccb4904} because a CD/DVD image '/usr/share/virtualbox/VBoxGuestAdditions.iso' with UUID {62ebaac7-ba6d-4d7d-876b-362642de4c1b} already exists
Was like, "sh*t, my VM's are dead"!








Edit the '.vbox' file for the VM in question:

$ sudo nano -c /path/to/virtualbox/vm.vbox

Delete any lines that are located between the tags:

'<'DVDImages'>' and '<'/DVDImages'>'

Save the file and start your VM.

HTH

Monday, 15 July 2013

Installing VBox Guest Additions in Fedora

You need a few extra bits before you can install Guest Additions in Fedora:

$ yum install kernel-headers kernel-devel gcc
Then go for it:

 $ cd /run/media/mac/VBOXADDITIONS_4.2.16_86992
 $ sudo ./VBoxLinuxAdditions.run
 Finally, when the installer finishes, we need to add our user to the 'vboxusers' group:

$ sudo usermod -a -G vboxusers {user}
Replace {user} with your username. Then reboot to finish.

HTH



Thursday, 9 May 2013

Installing Virutal Box Guest Additions on Debian

I had a little nightmare with this and couldn't get my head round why I didnt have the kernel headers even though I had installed build-essential. So here's how I did it.

sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get install build-essential module-assistant -y
sudo m-a prepare -y

Click on Install Guest Additions from the Devices menu:


Then cancel the autorun prompt as that never works!

Finally,
sudo sh /media/cdrom/VBoxLinuxAdditions.run, and follow the instructions on screen

Restart your VM and it should be job done.

HTH!