Issue to mount the Virtualbox addition

Discussions about using Linux guests in VirtualBox.
Post Reply
HuaMin
Posts: 239
Joined: 17. Jan 2012, 07:01
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Oracle linux

Issue to mount the Virtualbox addition

Post by HuaMin »

Hi,
I have issue below to mount the Virtualbox addition to Ubuntu.
Unable to insert the virtual optical disk C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso into the machine Ubun18.04(Python) Hd5.






Could not mount the media/drive 'C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso' (VERR_PDM_MEDIA_LOCKED).


Result Code: E_FAIL (0x80004005)
Component: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
Callee: IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}

mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Issue to mount the Virtualbox addition

Post by mpack »

https://www.google.com/search?hl=en&as_ ... type=&tbs=

And topic moved to Linux Guests, since the Windows host is not relevant to the question asked.
HuaMin
Posts: 239
Joined: 17. Jan 2012, 07:01
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Oracle linux

Re: Issue to mount the Virtualbox addition

Post by HuaMin »

Hi,
I further set up Virtual box additions and what to do with "gcc make perl packages" below?
1m.png
1m.png (93.6 KiB) Viewed 3965 times
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Issue to mount the Virtualbox addition

Post by scottgus1 »

Guest Additions has the same prerequisites in the Linux VM as installing Virtualbox on a Linux host. See https://www.virtualbox.org/manual/ch02. ... nux-prereq

How you install 'gcc make perl' is a Linux question. Personally I don't know how. Try web-searching how to do this in your VM's OS.
HuaMin
Posts: 239
Joined: 17. Jan 2012, 07:01
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Oracle linux

Re: Issue to mount the Virtualbox addition

Post by HuaMin »

Good day Scott,
Before this, I never had issue of resolution to Ubuntu guest. I am not sure why there is now problem (having resolution problem to Ubuntu guest, since I started to use Virtual Box 6.1.

I now am not sure if Virtual Box addition has been applied properly to the current Ubuntu guest, or not.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Issue to mount the Virtualbox addition

Post by scottgus1 »

The manual link above shows why Virtualbox and Guest Additions need things done to the OS before installation. If you haven't handled the prerequisites in the past, it could be that the OS had the items in place at that time. But the error message says the prerequisites are not in place now, so they have to be done again before installing Guest Additions.
Post Reply