Posted : admin On 1/26/2022
  • Unable to insert the virtual optical disk C:Program FilesOracleVirtualBoxVBoxGuestAdditions.iso into the machine Ubuntu 20 LTS. Could not mount the media/drive 'C:Program FilesOracleVirtualBoxVBoxGuestAdditions.iso' (VERRPDMMEDIALOCKED). In this case, you may already have media loaded which will need to be removed before you can proceed.
  • Re: VirtualBox cannot Install Guest Additions for openSUSE 12.3 (VERRPDMMEDIALOCKED) This question is about mounting an ISO image on an Apple Mac. Untill this is achieved installing Guest Additions on an openSuSE vm is moot.
  • VirtualBox is one of the most popular virtualization programs available for Mac, Windows, and Linux. It’s feature rich, easy to use, and free.
  1. Verr_pdm_media_locked)
  2. Verr_pdm_media_locked Virtualbox

I am very new to sage. I installed sage in my windows operating system using Oracle VirtualBox. I want to access text files in windows through sage. When I try to set shared folder, I saw that I should install GuestAddition.

Updated: December 29, 2008

If you're using VirtualBox as your favorite virtualization product, you may have heard or noticed that virtual machines you install can be boosted with Guest Additions. When installed, the Guest Additions tools allow your guests to run faster and better, to share mouse and clipboard with the host, to use the Shared folders, and more. All in all, a highly useful ... addition. So we will learn how to use them.

Guest Additions are similar to VMware Tools for VMware Server / Workstation. In fact, I most warmly recommend you read the first tutorial, which explains how to install VMware Tools on Windows and Linux guests. Today, we will see the similar tutorial, focusing on Sun's VirtualBox. For much more information about virtualization, I most warmly recommend you read my entire Virtualization section. Follow me.

Install Guest Additions on Windows guest

The procedure is very simple. Just boot into your guest. Then, in the VirtualBox menu, under Devices, click Install Guest Additions...

The same like VMware Tools, this will popup a wizard in your guest. Follow it through, reboot and enjoy.

After you restart, look for the VirtualBox icon in the system tray. Simple, isn't it?

Install Guest Additions on Linux guest

Again, a fairly simple procedure. Repeat the first step. This will mount the VirtualBox Guest Additions ISO (included with the program) as a CD-ROM drive inside the virtual machine.

A file manager windows might popup, depending on your guest configuration, showing all the available options, including Guest Additions for both 32-bit and 64-bit systems, Windows and Linux alike - and even Solaris, not surprising, considering VirtualBox owned by Sun. On most modern Linux distros, the system will auto-mount CD-ROMs and launch file browsers / managers.

Choose the right package for your hardware architecture. In our case, this is x86. Open a terminal window and run the script with root privileges:

sudo sh ./<script-relevant-for-your-architecture>

See image:


Wait a few moments until the installation is complete. Reboot.

And that's it!

Extras (missing Guest Additions)

This extra section is necessary, because sometimes people have trouble finding the Guest Additions! In general, whenever you click Install Guest Additions ..., VirtualBox is supposed to mount the Guest Additions ISO. But this may not happen. There are several ways to rectify the situation:

First, if the Guest Additions are not found, VirtualBox may prompt you to access Internet and download the ISO file. You only have to do this once. Unfortunately, I do not have a screenshots to share on this one.

Alternatively, you can download the image yourself and then manually mount it as a CD-ROM, under the Settings for the particular virtual machine.

Then, the next time you launch the virtual machine, the Guest Additions will be mounted as a CD-ROM. To install the Additions, on Windows, double-click the executable; on Linux, run the scripts as demonstrated above.

From here, you're on common grounds.


The installation of VirtualBox Guest Additions is even simpler than VMware Tools. Then again, so is the installation of VirtualBox. Either way, the procedure is simple and fast and rather painless. Minimal tinkering with the command line is involved. Now, you have also learned how to master VirtualBox so that you can benefit most from your guest machines.

Hopefully, this article, as well as the VMware Tools guide, help clear some of the mist. This way, we can move on to more complicated things. Hint: in the next articles, we'll talk optimization, bridged networking ... and even 3D acceleration? Stay tuned.

P.S. If you find this article useful, please support Dedoimedo.



To use “Shared Folders” in VirtualBox, the user should install VirtualBox guest additions:

(1) Select Devices -> Insert Guest Additions CD image. If the VirtualBox prompts:

It means the Devices -> CD/DVD DEvices already has ISO file. Please inject it, and try Insert Guest Additions CD image again.

(2) Mount the ISO file:

(3) Install the VirtualBox guest additions (Take Linux as an example):

Verr_pdm_media_locked Virtualbox

You may also need to install bzip2, gcc and kernel files to install guest additions successfully. When meeting errors, please refer /var/log/vboxadd-install.log for detail info.