[Solved] Unable to install Guest Additions on Debian server

Discussions about using Linux guests in VirtualBox.

[Solved] Unable to install Guest Additions on Debian server

Postby emil78 » 27. Feb 2018, 19:57

I have Debian server on guest machine and if i try to insert the guest additions disk from Devices>Insert Guest Additions CD image i get this error:

Code: Select all   Expand viewCollapse view
Unable to insert the virtual optical disk C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso into the machine Debian Server.



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 {85cd948e-a71f-4289-281e-0ca7ad48cd89}


I am using Virtualbox 5.2.6 on Windows 7 x64.
Last edited by socratis on 2. Mar 2018, 00:54, edited 1 time in total.
Reason: Marked as [Solved].
emil78
 
Posts: 76
Joined: 15. Jun 2012, 11:28

Re: Unable to install Guest Additions on Debian server

Postby mpack » 27. Feb 2018, 20:14

Not a "Windows Hosts" question. Topic moved to "Linux Guests" forum.

IME you should also be asked the question "do you want to force dismount the old media?" (or words to that effect), which should let you fix the problem.
mpack
Site Moderator
 
Posts: 29692
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Unable to install Guest Additions on Debian server

Postby emil78 » 28. Feb 2018, 12:21

I noticed something strange. If i right click on the CD icon on the virtual machine status bar there is a check mark on the VBoxGuestAddition.iso which means that the guest addition cd image is inserted, but if i type 'mount' it doesn't appear to be mounted to the file system.
emil78
 
Posts: 76
Joined: 15. Jun 2012, 11:28

Re: Unable to install Guest Additions on Debian server

Postby socratis » 28. Feb 2018, 14:22

Eject it. Then re-insert it from the Devices menu. And after you're done with the GAs installation, eject it from within the guest. The last part is what you didn't do, that's what led you to where you are right now.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 25224
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Unable to install Guest Additions on Debian server

Postby emil78 » 1. Mar 2018, 08:49

I ejected and reinserted the disk but it still doesn't appear mounted to the file system. Anyway, i installed cifs utilities and was able to mount smb share from my windows host without installing the guest additions. Don't know why the guest addition disk doesn't mount to the file system. Haven't had this problem before.
emil78
 
Posts: 76
Joined: 15. Jun 2012, 11:28

Re: Unable to install Guest Additions on Debian server

Postby Martin » 1. Mar 2018, 09:46

Did you try to manually mount the virtual CD/DVD drive?
Many systems don't mount CDs automatically anymore.
Martin
Volunteer
 
Posts: 2219
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: XP, Win7, Linux, OS/2

Re: Unable to install Guest Additions on Debian server

Postby emil78 » 1. Mar 2018, 18:14

Yes, that was the problem. I had to mount the CD drive first. Thanks!
Last edited by socratis on 2. Mar 2018, 00:53, edited 1 time in total.
Reason: Removed unnecessary verbatim quote of the whole previous message.
emil78
 
Posts: 76
Joined: 15. Jun 2012, 11:28

Re: Unable to install Guest Additions on Debian server

Postby socratis » 2. Mar 2018, 00:54

Glad you got it going. Marking as [Solved].
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 25224
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: [Solved] Unable to install Guest Additions on Debian server

Postby george++ » 23. Jan 2019, 19:27

I have same problem - using Virtual Box 5.2.24, installing Debian 9 on Windows10. Can you provide more detailed instructions on ejecting/remounting? I can see the relevant files if look on /media/cdrom0, including autorun.sh VBoxLinuxAdditions.run, and other files, but I get this "unable to install" message. The directory 64Bit has the Readme.txt file instructing me to run VBoxWindowsAdditions-amd64 /extract /D=C:\Drivers, but this command is not found.
george++
 
Posts: 1
Joined: 23. Jan 2019, 19:17

Re: [Solved] Unable to install Guest Additions on Debian server

Postby socratis » 25. Jan 2019, 07:23

If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 25224
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5


Return to Linux Guests

Who is online

Users browsing this forum: No registered users and 13 guests