Verr File Not Found

Discussions related to using VirtualBox on Mac OS X hosts.

Verr File Not Found

Postby IFChicago » 14. Aug 2013, 13:03

I am running VB on Mac OSX

Running Virtualbox is now failing to run with the following error message
Failed to open a session for the virtual machine JKMacWin7.

Could not open the medium '/Users/Jonathan/VirtualBox VMs/JKMacWin7/JKMacWin7.vdi'.

VD: error VERR_FILE_NOT_FOUND opening image file '/Users/Jonathan/VirtualBox VMs/JKMacWin7/JKMacWin7.vdi' (VERR_FILE_NOT_FOUND).

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: Medium
Interface: IMedium {29989373-b111-4654-8493-2e1176cba890}
IFChicago
 
Posts: 13
Joined: 4. Jul 2013, 16:21

Re: Verr File Not Found

Postby mpack » 14. Aug 2013, 13:05

What is unclear about the message? Make that file available in that folder and the VM should run.

Is there something you are forgetting to say? E.g. that you copied these VM files from a Windows 7 PC?
mpack
Site Moderator
 
Posts: 29692
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Verr File Not Found

Postby IFChicago » 16. Aug 2013, 14:33

Hi was playing around with the filename after is failed to run. I changed is back to the correct filename and I now get this error message:
Failed to open a session for the virtual machine JKMacWin7.

UUID {29c08c7c-a47d-4bea-80fb-4d51c5725508} of the medium '/Users/Jonathan/VirtualBox VMs/JKMacWin7/JKMacWin7.vdi' does not match the value {62ba67de-68ee-4a27-b7ee-6cf149559e3f} stored in the media registry ('/Users/Jonathan/Library/VirtualBox/VirtualBox.xml').

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: Medium
Interface: IMedium {29989373-b111-4654-8493-2e1176cba890}
IFChicago
 
Posts: 13
Joined: 4. Jul 2013, 16:21

Re: Verr File Not Found

Postby mpack » 16. Aug 2013, 16:22

Whatever change you made, it clearly wasn't correct. You can't just change some random file's name to match the missing file's name. You have to restore the specific missing file "JKMacWin7.vdi". The procedure for doing that depends on why it is missing in the first place. If you deleted it the only possible solution is to restore it from a backup. If you moved it to another folder, move it back. Etc.

The missing file evidently represents the primary disk for the VM, so repair is probably impossible.
mpack
Site Moderator
 
Posts: 29692
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Verr File Not Found

Postby IFChicago » 18. Aug 2013, 17:38

Ok. I have the original JKMacWin7.vdi file intact. I simply backed it up to another folder. The VM has some kind corrput state error that I couldnt resolve. So my intention was to create a new VM and "import" the original JKMacWin7.vdi into it, somehow. Obviously that's not the correct procedure.

Now, even though I restored the original folder and vdi file, VirtualBox won't recognize it and gives me the following error message below.

Given that, is there any way i can restore this original JKMacWin7.vdi file?
Cannot attach medium '/Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso' {b686ed09-ccd1-45ae-9d8d-ab9ff460aa75}: medium is already associated with the current state of machine uuid {a83543e2-6b84-490a-b081-91f10dbae1c2}!.

Result Code: VBOX_E_OBJECT_IN_USE (0x80BB000C)
Component: Medium
Interface: IMedium {29989373-b111-4654-8493-2e1176cba890}
IFChicago
 
Posts: 13
Joined: 4. Jul 2013, 16:21

Re: Verr File Not Found

Postby mpack » 19. Aug 2013, 09:24

Make sure your VMs do not have saved states - right click the VM and select "Discard saved state" if it isn't grayed out.

Next, go to File|Virtual Media Manager, select VBoxGuestAdditions.iso (in the list under the "Optical Disks" tab), select Release to unmount it from any VMs, then Remove to unregister it. Answer No if it asks whether you want to delete the physical file. Repeat for any further occurrence of VBoxGuestAdditions.iso in the list.
mpack
Site Moderator
 
Posts: 29692
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Verr File Not Found

Postby IFChicago » 19. Aug 2013, 13:43

Ok I did as you suggested. The VM is still inaccessible, with error message:
Cannot attach medium '/Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso' {b686ed09-ccd1-45ae-9d8d-ab9ff460aa75}: medium is already associated with the current state of machine uuid {a83543e2-6b84-490a-b081-91f10dbae1c2}!.
Result Code: VBOX_E_OBJECT_IN_USE (0x80BB000C)
Component: Medium
Interface: IMedium {29989373-b111-4654-8493-2e1176cba890}

Can I release it via a registry entry, perhaps?
IFChicago
 
Posts: 13
Joined: 4. Jul 2013, 16:21

Re: Verr File Not Found

Postby mpack » 19. Aug 2013, 14:33

Please zip up, and attach here, the .vbox file for this VM.
mpack
Site Moderator
 
Posts: 29692
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Verr File Not Found

Postby IFChicago » 20. Aug 2013, 23:29

Hi - I tried but the zip file is too large, apparently. Can I FTP it to you somehow?
IFChicago
 
Posts: 13
Joined: 4. Jul 2013, 16:21

Re: Verr File Not Found

Postby Perryg » 21. Aug 2013, 00:15

Don wants the control file. *.vbox not the image file.
Perryg
Site Moderator
 
Posts: 34373
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Verr File Not Found

Postby IFChicago » 22. Aug 2013, 13:10

I am not sure what file you want. here is the log file.
Attachments
VBox.log
(114.15 KiB) Downloaded 250 times
IFChicago
 
Posts: 13
Joined: 4. Jul 2013, 16:21

Re: Verr File Not Found

Postby mpack » 22. Aug 2013, 14:38

In the same folder as your VDI file is another file with the extension ".vbox". Please zip up that file (or otherwise compress it using the compression container of your choice) and attach the .zip file here. If you don't know how to compress a file then simply make a copy of it, add the ".txt" extension to the copy, then attach that text file here.
mpack
Site Moderator
 
Posts: 29692
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Verr File Not Found

Postby IFChicago » 23. Aug 2013, 01:44

I dont appear to have a file with the .vbox extension anywhere on my hard drive.
IFChicago
 
Posts: 13
Joined: 4. Jul 2013, 16:21

Re: Verr File Not Found

Postby Perryg » 23. Aug 2013, 01:52

This is the location of the image file
Code: Select all   Expand viewCollapse view
/Users/Jonathan/VirtualBox VMs/JKMacbookWin7/JKMacbookWin7.vdi

And the vbox file should be in the same directory similar to the following
Code: Select all   Expand viewCollapse view
/Users/Jonathan/VirtualBox VMs/JKMacbookWin7/JKMacbookWin7.vbox
Perryg
Site Moderator
 
Posts: 34373
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Verr File Not Found

Postby IFChicago » 23. Aug 2013, 13:19

Sorry - yes I see it now. It appears search doesnt work very well on macs.

I have attached as a zip file.

JKMacbookWin7.vbox.zip
(2.91 KiB) Downloaded 268 times
IFChicago
 
Posts: 13
Joined: 4. Jul 2013, 16:21

Next

Return to VirtualBox on Mac OS X Hosts

Who is online

Users browsing this forum: No registered users and 8 guests