ubuntu stopped working

Discussions related to using VirtualBox on Windows hosts.
iprogramplus
Posts: 19
Joined: 15. Feb 2012, 02:59

ubuntu stopped working

Post by iprogramplus »

I clicked on devices while in Ubuntu left it and now I get this:

Cannot attach medium 'C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso' {e4962013-82b6-4022-bcf0-6b300b1b3d1d}: medium is already associated with the current state of machine uuid {b67c1a0e-d860-408b-8b24-cad81cc59e54}!.
Result Code:
VBOX_E_OBJECT_IN_USE (0x80BB000C)
Component:
Medium
Interface:
IMedium {53f9cc0c-e0fd-40a5-a404-a7a5272082cd}

help
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: ubuntu stopped working

Post by Perryg »

You must have clicked on install guest additions. Just dismiss the warning and release the install cd from the virtual cd/dvd drive. Then you will be able to install the guest additions.
iprogramplus
Posts: 19
Joined: 15. Feb 2012, 02:59

Re: ubuntu stopped working

Post by iprogramplus »

thanks for the reply,
Yes you are correct, however, in the VM control panel Ubuntu shows up as "inaccessible" I have no access to it.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: ubuntu stopped working

Post by Perryg »

Inaccessible means that the guest is in a saved state and not shut down.
Have you actually installed the guest or are yo running it as a live cd?
iprogramplus
Posts: 19
Joined: 15. Feb 2012, 02:59

Re: ubuntu stopped working

Post by iprogramplus »

yes i believe so, and I have been working with it for about 2 weeks now. The problem began as follows: I installed updated software for Ubuntu, and restarted the system, then the display that fit to complete screen did not anymore. I played around with some display settings and it was a bit better, but did not fit to entire screen. I found a possible cure, that told me to go to devices, and click guest devices, when I clicked nothing happened. I gave up, and existed, when I returned to VM, I saw the "inaccessible" under, UbuntuLinux, and in a box next to it the above message.
I am hoping there is a way to manually change a parameter, and get this working.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: ubuntu stopped working

Post by Perryg »

The Ubuntu guest usually comes with the Ubuntu version of VBox guest additions pre-installed. The best thing to do is make sure that these are removed and install the ones from VirtualBox instead. Use the synaptic package manager to remove the guest additions first and reboot the guest.
Next make sure that the following packages are installed:

Code: Select all

sudo apt-get install dkms build-essential linux-headers-generic
Next you install the guest additions. Click the device menu at the top and select install guest additions. If nothing happens then the guest additions are already mounted. Open the CD-drive in your file manager and verify that it is mounted and if it is open a terminal and run the installer from there as sudo.

Once the guest additions are installed and working you do not use the guests settings to change the screen size. You use the mouse click and drag or the hot-key toggles (host+f) to go in and out of full screen.
iprogramplus
Posts: 19
Joined: 15. Feb 2012, 02:59

Re: ubuntu stopped working

Post by iprogramplus »

thanks again, however, as i said I cannot get into Ubuntu, only the VM control panel, with options to add or delete.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: ubuntu stopped working

Post by Perryg »

Is the discard arrow active at the top?
Can you post a screen shot of the VBox manager?
iprogramplus
Posts: 19
Joined: 15. Feb 2012, 02:59

Re: ubuntu stopped working

Post by iprogramplus »

here it is attached
Attachments
screen shot
screen shot
screenshot.jpg (93.19 KiB) Viewed 2664 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: ubuntu stopped working

Post by Perryg »

Look in the VirtualBox VMs folder and inside the folder that has the guest. Post the *.vbox file and the *.vbox-prev file here as an attachment.
iprogramplus
Posts: 19
Joined: 15. Feb 2012, 02:59

Re: ubuntu stopped working

Post by iprogramplus »

under program files->oracle->virualbox there are files and 5 directories: accessble, doc, drivers, rls, sdk
I can not find the files :-(
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: ubuntu stopped working

Post by Perryg »

It's probably in your home folder. Search for UbuntuLinux.* and see where it is. There you should see both files I asked to see.
iprogramplus
Posts: 19
Joined: 15. Feb 2012, 02:59

Re: ubuntu stopped working

Post by iprogramplus »

never mind the last reply.
attached the prev file, that all I can find
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: ubuntu stopped working

Post by Perryg »

You don't see one that ends in vbox? That is not good. You can try to make a copy of the *.vbox-prev and then rename it to *.vbox and see if that works. VirtualBox must be completely shut down for this. What version of VirtualBox are you using by the way?
iprogramplus
Posts: 19
Joined: 15. Feb 2012, 02:59

Re: ubuntu stopped working

Post by iprogramplus »

version: 4.1.8r75467
Locked