Can't install GAs

Discussions about using Linux guests in VirtualBox.
Post Reply
danielsender
Posts: 58
Joined: 21. Mar 2012, 21:34
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: centos 7, windows 7
Location: Berkeley, CA

Can't install GAs

Post by danielsender »

My host is an Ubuntu 18.04 and guest is Centos 7. I saw many postings with a similar problem but trying to apply the corresponding suggestions didn't lead me to a solution. Here is the problem: everything was runing just fine until I did an upgrade to 6.1.10r138449. When I try to install the GAs virtual CD I get a popup with the following Details:

Code: Select all

Could not unmount the currently mounted media/drive (VERR_PDM_MEDIA_LOCKED).
Result Code: 
NS_ERROR_FAILURE (0x80004005)
Component: 
ConsoleWrap
Interface: 
IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
Callee: 
IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}
so I went to File->Virtual Media Manager->Optical disks and there is an entry with an old GAs (5.1.30), that in the properties says that is attached to the guest but I can't remove it because the "Remove" option is grayed out. I imagine that this is the cause for not being allowed to mount the new GAs. Can someone tell me how to remove this?

Many thanks in advance
danielsender
Posts: 58
Joined: 21. Mar 2012, 21:34
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: centos 7, windows 7
Location: Berkeley, CA

Re: Can't install GAs

Post by danielsender »

Any ideas?
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Can't install GAs

Post by scottgus1 »

Does your guest use snapshots? If so it could liley be that an old snapshot still has the GAs ISO installed. I seem to recall that manual editing of the guest's .vbox file might be necessary.

Please right-click the guest in the main Virtualbox window's guest list, choose "Show in whatever-Linux-calls-its-file-browser". In the window that opens, zip the guest's .vbox file, and post the zip file, using the forum's Upload Attachment tab.

BTW, what does Linux call its file browser? :lol: I don't have a Linux host. Could you please fill in the blank for me, what Virtualbox says in: "Show in ______"
danielsender
Posts: 58
Joined: 21. Mar 2012, 21:34
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: centos 7, windows 7
Location: Berkeley, CA

Re: Can't install GAs

Post by danielsender »

It says: "Show in File Manager", which in Ubuntu is Nautilus (I believe).
Attachments
vivaldi.zip
(2.98 KiB) Downloaded 9 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Can't install GAs

Post by scottgus1 »

Thanks for the info on 'File Manager', going to take a note of that.

Your guest has one snapshot, with the GAs ISO loaded in its CD drive:
<DVDImages>
<Image uuid="{523182fd-bac5-4b43-bb94-88e33bf19973}" location="/home/daniel/Downloads/CentOS-7-x86_64-Everything-1511.iso"/>
<Image uuid="{d85a689f-d725-49a9-af5a-aff8793351ee}" location="/home/daniel/Downloads/VBoxGuestAdditions_5.1.30.iso"/>
</DVDImages>
......
<StorageControllers>
<StorageController name="IDE" type="PIIX4" PortCount="2" useHostIOCache="true" Bootable="true">
<AttachedDevice type="HardDisk" hotpluggable="false" port="0" device="0">
<Image uuid="{d3350509-e6ca-43de-a11c-76f486ae398c}"/>
</AttachedDevice>
<AttachedDevice passthrough="false" type="DVD" hotpluggable="false" port="1" device="0">
<Image uuid="{d85a689f-d725-49a9-af5a-aff8793351ee}"/>
</AttachedDevice>
</StorageController>
In the attached .vbox file I pulled the GAs ISO out of the DVD drive:
<StorageControllers>
<StorageController name="IDE" type="PIIX4" PortCount="2" useHostIOCache="true" Bootable="true">
<AttachedDevice type="HardDisk" hotpluggable="false" port="0" device="0">
<Image uuid="{d3350509-e6ca-43de-a11c-76f486ae398c}"/>
</AttachedDevice>
<AttachedDevice passthrough="false" type="DVD" hotpluggable="false" port="1" device="0"/>
</StorageController>
</StorageControllers>
Try rebooting your host, so no Virtualbox processes are running, then rename the guest's existing .vbox file to "vivaldi.vbox-snapshotwithGAs". Then put the attached "vivaldi.vbox" in the guest folder, then start Virtualbox and try the guest. If the guest runs, keep the old .vbox file and don't change anything about the guest until you are absolutely sure everything is working.
vivaldi vbox no GAs.zip
(2.94 KiB) Downloaded 10 times
danielsender
Posts: 58
Joined: 21. Mar 2012, 21:34
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: centos 7, windows 7
Location: Berkeley, CA

Re: Can't install GAs

Post by danielsender »

Sorry I was confused. Currently this VM has two guests: vivaldi and chopin3. I never use vivaldi, I use chopin3. When I open "Virtual Media Manager" in chopin3 I see the window that is attached here. So it appears that such GAs iso (5.1.30) is attached to vivaldi so it should not be preventing chopin3 from attaching the valid GAs to chopin3. However I cannot unmount nor install the GAs.
Attachments
Pop up window when I try to insert GAs
Pop up window when I try to insert GAs
vminsert.jpg (52.29 KiB) Viewed 2184 times
Virtual Media Manager of chopin3
Virtual Media Manager of chopin3
vmvirtual.jpg (58.79 KiB) Viewed 2184 times
danielsender
Posts: 58
Joined: 21. Mar 2012, 21:34
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: centos 7, windows 7
Location: Berkeley, CA

Re: Can't install GAs

Post by danielsender »

I forgot to mention that when the guest starts I get the message "vboxclient the virtualbox kernel service is not running. exiting"

Again, I should emphasize that everything was working fine with the last version, after the upgrade to 6.1 is when the problems started.
danielsender
Posts: 58
Joined: 21. Mar 2012, 21:34
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: centos 7, windows 7
Location: Berkeley, CA

Re: Can't install GAs

Post by danielsender »

Can someone help me?
Post Reply