VirtualBox warning - Image files are not currently accessible

In this post, I explain how you can get rid of the VirtualBox warning message "One or more virtual hard disks, CD/DVD or floppy disk image files are not currently accessible."

After I moved an ISO file to a new location, VirtualBox threw the above warning whenever I started the VirtualBox Manager. Moving the ISO file to its original location made the message go away; however, I was quite determined that the new location was the better choice. Convincing VirtualBox about this was harder than expected.

VirtualBox Warning - One or more virtual hard disks, CD-DVD or floppy disk image files are not currently accessible

VirtualBox Warning - One or more virtual hard disks, CD/DVD or floppy disk image files are not currently accessible.

First of all, you can, of course, get rid of the prompt by checking Do not show this message again. However, these warnings sometimes point to a real problem and it therefore makes sense to click the Check button.

This will open the Virtual Media Manager, which you can also access through the VirtualBox File menu. The tab with the exclamation mark contains information about the missing file. In my case, it was a Windows 10 ISO file.

Missing file in Virtual Media Manager

Missing file in Virtual Media Manager

You’ll see the file name and the original location. If you restore the file, the warning will disappear. If you deleted the file or want to move the file to a new location, things can get tricky. As you can see in the screenshot, all options to manage the ISO file are grayed out. Thus, I can’t tell Virtual Media Manager the new location of the file or that the file is no longer required.

You can see the reason in the Attached to field of the screenshot above. The ISO file is attached to a virtual machine, and VirtualBox therefore disapproves meddling with the file. The first solution that comes to mind is to simply remove the disk from the virtual drive.

Remove disk from virtual drive

Remove disk from virtual drive

In many cases, this will work. In my case, it didn’t. A closer look at the attached information reveals that the ISO file is not just attached to a virtual machine but also to a snapshot. The question is, how can you detach a virtual drive from a snapshot? I am unaware of any method that allows you to do this directly in the snapshot. One way to get rid of the problem is to simply delete the snapshot. You can do this in VirtualBox console by clicking the Snapshot tab of the virtual machine.

Delete snapshot

Delete snapshot

In my case, the snapshot belonged to a linked clone. Deleting the linked clone or removing the virtual drive in the corresponding VM doesn’t solve the problem; I also had to delete the snapshot. If you want to keep the VM that belongs to the snapshot, you first have to create a full clone of the snapshot and then delete the snapshot. Don’t forget to remove the virtual DVD from the new VM. Otherwise, the VirtualBox warning will show up again.

Want to write for 4sysops? We are looking for new authors.

Read 4sysops without ads and for free by becoming a member!

0
Share
4 Comments
  1. Cj 4 years ago

    An easy question! When trying to install virtualbox I get message to close files in use. Where to look for these files?

    0

  2. Author

    You can use the free EMCO UnLock IT tool to find an unlock files that are in use.

    0

  3. Caroline Thom 3 years ago

    I noticed my VM of Ubuntu had uninstalled itself as I moved the iso image to a external storage device - is that normal ? I thought once it had been set up it was in the Virtual box for good ?

    0

  4. BrF 3 years ago

    Thought I'd take the time & effort to let you know this was much appreciated. Why something so simple could turn into a disaster so quickly... I won't use that snap shot feature ever again. Taking a snap shot shouldn't be such an adventure, I almost lost an entire server setup over this error from taking a simple snap shot * not being able to mount the disks.

     

    0

Leave a reply

Your email address will not be published. Required fields are marked *

*

© 4sysops 2006 - 2020

CONTACT US

Please ask IT administration questions in the forums. Any other messages are welcome.

Sending

Log in with your credentials

or    

Forgot your details?

Create Account