VirtualBox (VERR_PDM_MEDIA_LOCKED)

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

 

11 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.
    -Devices
    -CD/DVD Devices
    click
    ‘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!

Leave a Reply to KD Cancel reply

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

WordPress.com Logo

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

Google photo

You are commenting using your Google 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

Blog at WordPress.com.

Up ↑