How to recover a VM after host OS is lost

Discussions related to using VirtualBox on Windows hosts.
Post Reply
nomis
Posts: 1
Joined: 6. Jun 2009, 14:24
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: XP

How to recover a VM after host OS is lost

Post by nomis »

Hi,

I was running one XP VM with one snapshot on an XP host. Unfortunately I had an issue with the host which meant I lost the host OS. I have now rebuilt the host system and re-installed Virtualbox. If I re-create the VM using the existing vdi file I get a working VM minus any changes since the snapshot was taken.

Is it possible re-create the VM including the snapshot ? I have tried various ways of editing the .xml files with no success. The main issues seem to be related to a mismatch between the VM .xml config file and the (now new) global config .xml which was on the C drive.

Any suggestions would be gratefully received.

Simon
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: How to recover a VM after host OS is lost

Post by Perryg »

It is doable but really hard. You must have a copy of the original vitualbox.xml and machine.xml file to compare. Actually you can just copy/paste if you have them both, but almost totally impossible if you do not.
Post Reply