LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
Search this Thread
Old 10-20-2012, 06:04 AM   #1
orcaja
Member
 
Registered: Aug 2008
Posts: 80

Rep: Reputation: 1
Unhappy Virtualbox updated, virtual machine dissapear


I there, I updated my VB from 4.1.18 to 4.1.22, and the virtual machine disapeared. Then I selected "Machine" -> "add" -> and slected the "xml file", and I got this:



Failed to open virtual machine located in C:/Users/Javito/.VirtualBox/Machines/Debian/Debian.xml.

Could not find an open hard disk with UUID {1b978737-2dfd-4e12-ba28-cd0c49657cc8}.

Result Code: VBOX_E_OBJECT_NOT_FOUND (0x80BB0001)
Component: VirtualBox
Interface: IVirtualBox {c28be65f-1a8f-43b4-81f1-eb60cb516e66}


I have updated several times my VB and I never have had this problem before. Now I don't know what to do. Any help would be really appreciated.
Thanks in advance.
Joc
 
Old 10-20-2012, 06:15 AM   #2
SecretCode
Member
 
Registered: Apr 2011
Location: UK
Distribution: Kubuntu 11.10
Posts: 562

Rep: Reputation: 102Reputation: 102
I haven't experienced an issue like this when updating the vbox version. It should be recoverable.

Check the File > Virtual Media Manager. Is the hard drive for that vm listed (all the drives, if you have more than one attached)?

Out of interest do you have a lot of vms and hard drives?
 
Old 10-20-2012, 12:32 PM   #3
jefro
Guru
 
Registered: Mar 2008
Posts: 11,552

Rep: Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406
Wonder if some permission is causing this?
 
Old 10-21-2012, 06:36 PM   #4
orcaja
Member
 
Registered: Aug 2008
Posts: 80

Original Poster
Rep: Reputation: 1
I checked the File > Virtual Media Manager and there's nothing there, however in the folder .VirtualBox, there are two folders: one is named HardDisks and the other is Machines.

Any ideas?
 
Old 10-21-2012, 06:37 PM   #5
orcaja
Member
 
Registered: Aug 2008
Posts: 80

Original Poster
Rep: Reputation: 1
I downgrade the VirtualBox to 4.1.18 and then 4.1.14 but the virtual machine doesn't appear there anymore.

Any ideas?
 
Old 10-22-2012, 03:56 PM   #6
SecretCode
Member
 
Registered: Apr 2011
Location: UK
Distribution: Kubuntu 11.10
Posts: 562

Rep: Reputation: 102Reputation: 102
I don't think I have time to look at this today, but can you look at the properties of the virtual machine (in the gui) and see what hard drive it has, and where on the disk you think it should be - then add that into the virtual media manager?

It may be something else but this should be a start
 
Old 10-22-2012, 04:00 PM   #7
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 11.4
Posts: 1,319

Rep: Reputation: 252Reputation: 252Reputation: 252
Was the kernel module compiled and restarted for your actual kernel?
 
Old 10-24-2012, 09:28 AM   #8
orcaja
Member
 
Registered: Aug 2008
Posts: 80

Original Poster
Rep: Reputation: 1
I haven't compiled the kernel in this VB.
 
Old 10-24-2012, 10:19 AM   #9
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 11.4
Posts: 1,319

Rep: Reputation: 252Reputation: 252Reputation: 252
Sorry, I thought the VirtualBox application on its own wouldn’t start up (VirtualBox uses a kernel module on its own and usually it’s recompiled when you install the RPM). But I realized now, that only the VM definition is missing.

With some versions Oracle split the settings file and VirtualBox images into “~/.VirtualBox” and “~/VirtualBox VMs”.

Do you still have the image in “~/.VirtualBox/HardDisks”? You could also create a new VM, copy (for safety reasons) the image you had before to “~/VirtualBox VMs/<created during definition of the VM>/” and attach it to the new VM.
 
Old 10-24-2012, 10:52 AM   #10
orcaja
Member
 
Registered: Aug 2008
Posts: 80

Original Poster
Rep: Reputation: 1
OK!, I'm not sure if I understand, I have debian. Does it mean that I have to create a new Virtual machine, install a new version of debian and once that is working properly, attach the old /hard disk?, is that how it works? or what would be the steps?... I'm sorry, it sounds like a silly question, but I have no idea how to proceed.

Thanks in advance.
 
Old 10-24-2012, 11:43 AM   #11
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 11.4
Posts: 1,319

Rep: Reputation: 252Reputation: 252Reputation: 252
No, there is no need to reinstall the OS in the VM – at least if the disk image used in the VM isn’t broken.

Normally it should work without recreating a new VM and attaching the old disk image. But maybe something got screwed up, so it’s worth to test it. And as I suggested to use a copy of the image, nothing bad should happen.

I have a prepared image of a VM and each time I want to have it on a new (physical) machine I define a new VM there, transfer the image thereto, and select “Use existing hard disk” while defining the new VM (3rd step after defining the granted memory).
 
1 members found this post helpful.
Old 10-28-2012, 07:00 PM   #12
orcaja
Member
 
Registered: Aug 2008
Posts: 80

Original Poster
Rep: Reputation: 1
Thank you!, that worked!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change monitor resolution in Fedora 13 64 bit VirtualBox virtual machine garyl Linux - Newbie 8 01-05-2011 12:32 AM
VirtualBox: Use a host block device in the virtual machine Kenny_Strawn Linux - Virtualization and Cloud 4 11-21-2010 05:00 PM
Virtualbox winxp virtual machine just can't access serial port xmrkite Linux - Virtualization and Cloud 5 11-11-2009 10:52 PM
virtualbox's virtual machine start on boot paul_mat Linux - Server 1 03-06-2008 06:56 AM
Virtualbox USB device not available to virtual machine - FC7 speedsrfr Linux - Software 2 09-22-2007 12:02 PM


All times are GMT -5. The time now is 05:54 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration