Recently after installing updates on Ubuntu 12.04 , the “Full Screen” functionality of my VM VirtualBox did not work anymore.

Every time I click on VirtualBox window – Devices – Install Guest Additions, gave me this error  – VERR_PDM_MEDIA_LOCKED, which implies that your local drive allocated for your VM is locked out for any changes.

Then I realised that I had to unmount the drive, to make any changes.

So easy steps to achieve the “Full Screen” functionality are as follows –

1. ‘Devices‘ Drill down

2. If you are using VM Virtalbox Version 6.0.0 (Qt5.6.2) or later select Optical Drives (for older versions its called ‘CD/DVD Devices‘) uncheck VBoxGuestAdditions.iso

3. without restart, click on “Devices” again and ‘Install Guest Additions

4. The terminal automatically starts , give your password… Might take a few minutes.

5. Restart


12 thoughts on “VirtualBox (VERR_PDM_MEDIA_LOCKED)

Add yours

  1. This worked for me too, (Mac OSX 10.6.8)
    -Goto ‘VirtualBoxVM’ window for the guest OS.
    -CD/DVD Devices
    ‘Remove disk from virtual drive’
    Then ‘Install Guest additions, as above’

  2. Update: It is called ‘Optical Drives’ instead of ‘CD/DVD Devices’ in the Devices Menu, for VM Virtalbox Version 6.0.0 r127566 (Qt5.6.2).

    Otherwise, this worked for me, thank you very much or posting this!

  3. hi i try to remove the vbox guest additons from the commented location, and couldn’t work out pls what should i do.

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Create a website or blog at

Up ↑