Virtual machine inaccessible [solved]
Posted: 26. Jan 2010, 14:04
Hi all,
I've seen several posts with this topic however following the suggestions I have found there have not worked for me.
I am using Ubuntu 9.10 on AMD64 with VirtualBox 3.1.2 and have two Windows XP VM's. One today became inaccessible after saving its state and rebooting the host system. I found that the xml configuration file is empty with a file size of 0 (/home/ian/.VirtualBox/Machines/Windows_XP-Bettina/Windows_XP-Bettina.xml)
I have tried recreating a new VM using an existing hard disk, however the hard disk that Virtualbox finds is from a snapshot done shortly after install, which is unacceptable as there are numerous software packages which were not installed and large amounts of user data which has been imported, modified and created in that time. In the HardDisks directory, the vdi file is from 6 weeks ago, and since then there have been two snapshots.
In the Snapshots directory, the vdi file (/home/ian/.VirtualBox/Machines/Windows_XP-Bettina/Snapshots/{cdd7dcc4-071b-491f-8fdc-d90a3c49454f}.vdi) is from the last shutdown. The .sav file which I assume is associated with this VM and has the same timestamp as the vdi file and is empty.
-rw------- 1 ian ian 328M 2009-12-25 20:24 {31d7c455-0c40-4928-8070-5806a66991c2}.sav
-rw------- 1 ian ian 195M 2009-12-18 08:03 {57a1639e-69ca-4a85-9e88-dbd622af183d}.sav
-rw------- 1 ian ian 1.1G 2009-12-25 20:23 {74248b9e-c312-402c-819a-174a7e26230b}.vdi
-rw------- 1 ian ian 0 2010-01-26 11:26 {91a49bc9-0cf7-462b-ba12-32051c1c7bcc}.sav
-rw------- 1 ian ian 16G 2009-12-18 08:03 {97202f05-3151-4aa0-8fb5-849328ba689a}.vdi
-rw------- 1 ian ian 14G 2010-01-26 11:26 {cdd7dcc4-071b-491f-8fdc-d90a3c49454f}.vdi
The hard disk entries in the VirtualBox xml config file is as follows (other data is about net, usb and so on and is not relevant):
<MachineRegistry>
<MachineEntry uuid="{fe16a78e-2cec-4b82-a557-45e647780877}" src="Machines/WinXP-SP3-Ian/WinXP-SP3-Ian.xml"/>
<MachineEntry uuid="{91a49bc9-0cf7-462b-ba12-32051c1c7bcc}" src="Machines/Windows_XP-Bettina/Windows_XP-Bettina.xml"/>
<MachineEntry uuid="{5b1d893b-55ef-4c5f-b3c1-4b8ed97df026}" src="Machines/WindowsXP-Bettina/WindowsXP-Bettina.xml"/>
</MachineRegistry>
<MediaRegistry>
<HardDisks>
<HardDisk uuid="{19714cd0-4561-4eb4-8717-6c6c96097942}" location="HardDisks/WindowsXP-SP2.vdi" format="VDI" type="Normal"/>
<HardDisk uuid="{940d7993-b56d-490d-821e-782c455f17d9}" location="HardDisks/XP-SP3-60Gb.vdi" format="VDI" type="Normal">
<HardDisk uuid="{8fdfafa6-aba8-49dd-bbd3-d7ebe5fd3f3c}" location="Machines/WinXP-SP3-Ian/Snapshots/{8fdfafa6-aba8-49dd-bbd3-d7ebe5fd3f3c}.vdi" format="VDI">
<HardDisk uuid="{ab9276ef-2751-4cac-a551-40da56e949a8}" location="Machines/WinXP-SP3-Ian/Snapshots/{ab9276ef-2751-4cac-a551-40da56e949a8}.vdi" format="VDI"/>
</HardDisk>
</HardDisk>
<HardDisk uuid="{bf69d81b-8d16-4d4f-a3bf-c692072493e0}" location="HardDisks/Windows_XP-Bettina.vdi" format="VDI" type="Normal">
<HardDisk uuid="{97202f05-3151-4aa0-8fb5-849328ba689a}" location="/home/ian/.VirtualBox/Machines/Windows_XP-Bettina/Snapshots/{97202f05-3151-4aa0-8fb5-849328ba689a}.vdi" format="VDI">
<HardDisk uuid="{74248b9e-c312-402c-819a-174a7e26230b}" location="/root/.VirtualBox/Machines/Windows_XP-Bettina/Snapshots/{74248b9e-c312-402c-819a-174a7e26230b}.vdi" format="VDI">
<HardDisk uuid="{cdd7dcc4-071b-491f-8fdc-d90a3c49454f}" location="/root/.VirtualBox/Machines/Windows_XP-Bettina/Snapshots/{cdd7dcc4-071b-491f-8fdc-d90a3c49454f}.vdi" format="VDI"/>
</HardDisk>
</HardDisk>
<HardDisk uuid="{2f54ee40-283d-4e57-99f3-903e204a8fd6}" location="/root/.VirtualBox/Machines/WindowsXP-Bettina/Snapshots/{2f54ee40-283d-4e57-99f3-903e204a8fd6}.vdi" format="VDI"/>
</HardDisk>
</HardDisks>
I need to restore this image, otherwise my girlfriend is going to kill me!!! She has critical data in that VM related to the contracts she gets. Also, now I will be going away with her for the next three days, and I have no idea how I will tell her that everything she has done might be gone.
I will appreciate any help anyone can give me!
I've seen several posts with this topic however following the suggestions I have found there have not worked for me.
I am using Ubuntu 9.10 on AMD64 with VirtualBox 3.1.2 and have two Windows XP VM's. One today became inaccessible after saving its state and rebooting the host system. I found that the xml configuration file is empty with a file size of 0 (/home/ian/.VirtualBox/Machines/Windows_XP-Bettina/Windows_XP-Bettina.xml)
I have tried recreating a new VM using an existing hard disk, however the hard disk that Virtualbox finds is from a snapshot done shortly after install, which is unacceptable as there are numerous software packages which were not installed and large amounts of user data which has been imported, modified and created in that time. In the HardDisks directory, the vdi file is from 6 weeks ago, and since then there have been two snapshots.
In the Snapshots directory, the vdi file (/home/ian/.VirtualBox/Machines/Windows_XP-Bettina/Snapshots/{cdd7dcc4-071b-491f-8fdc-d90a3c49454f}.vdi) is from the last shutdown. The .sav file which I assume is associated with this VM and has the same timestamp as the vdi file and is empty.
-rw------- 1 ian ian 328M 2009-12-25 20:24 {31d7c455-0c40-4928-8070-5806a66991c2}.sav
-rw------- 1 ian ian 195M 2009-12-18 08:03 {57a1639e-69ca-4a85-9e88-dbd622af183d}.sav
-rw------- 1 ian ian 1.1G 2009-12-25 20:23 {74248b9e-c312-402c-819a-174a7e26230b}.vdi
-rw------- 1 ian ian 0 2010-01-26 11:26 {91a49bc9-0cf7-462b-ba12-32051c1c7bcc}.sav
-rw------- 1 ian ian 16G 2009-12-18 08:03 {97202f05-3151-4aa0-8fb5-849328ba689a}.vdi
-rw------- 1 ian ian 14G 2010-01-26 11:26 {cdd7dcc4-071b-491f-8fdc-d90a3c49454f}.vdi
The hard disk entries in the VirtualBox xml config file is as follows (other data is about net, usb and so on and is not relevant):
<MachineRegistry>
<MachineEntry uuid="{fe16a78e-2cec-4b82-a557-45e647780877}" src="Machines/WinXP-SP3-Ian/WinXP-SP3-Ian.xml"/>
<MachineEntry uuid="{91a49bc9-0cf7-462b-ba12-32051c1c7bcc}" src="Machines/Windows_XP-Bettina/Windows_XP-Bettina.xml"/>
<MachineEntry uuid="{5b1d893b-55ef-4c5f-b3c1-4b8ed97df026}" src="Machines/WindowsXP-Bettina/WindowsXP-Bettina.xml"/>
</MachineRegistry>
<MediaRegistry>
<HardDisks>
<HardDisk uuid="{19714cd0-4561-4eb4-8717-6c6c96097942}" location="HardDisks/WindowsXP-SP2.vdi" format="VDI" type="Normal"/>
<HardDisk uuid="{940d7993-b56d-490d-821e-782c455f17d9}" location="HardDisks/XP-SP3-60Gb.vdi" format="VDI" type="Normal">
<HardDisk uuid="{8fdfafa6-aba8-49dd-bbd3-d7ebe5fd3f3c}" location="Machines/WinXP-SP3-Ian/Snapshots/{8fdfafa6-aba8-49dd-bbd3-d7ebe5fd3f3c}.vdi" format="VDI">
<HardDisk uuid="{ab9276ef-2751-4cac-a551-40da56e949a8}" location="Machines/WinXP-SP3-Ian/Snapshots/{ab9276ef-2751-4cac-a551-40da56e949a8}.vdi" format="VDI"/>
</HardDisk>
</HardDisk>
<HardDisk uuid="{bf69d81b-8d16-4d4f-a3bf-c692072493e0}" location="HardDisks/Windows_XP-Bettina.vdi" format="VDI" type="Normal">
<HardDisk uuid="{97202f05-3151-4aa0-8fb5-849328ba689a}" location="/home/ian/.VirtualBox/Machines/Windows_XP-Bettina/Snapshots/{97202f05-3151-4aa0-8fb5-849328ba689a}.vdi" format="VDI">
<HardDisk uuid="{74248b9e-c312-402c-819a-174a7e26230b}" location="/root/.VirtualBox/Machines/Windows_XP-Bettina/Snapshots/{74248b9e-c312-402c-819a-174a7e26230b}.vdi" format="VDI">
<HardDisk uuid="{cdd7dcc4-071b-491f-8fdc-d90a3c49454f}" location="/root/.VirtualBox/Machines/Windows_XP-Bettina/Snapshots/{cdd7dcc4-071b-491f-8fdc-d90a3c49454f}.vdi" format="VDI"/>
</HardDisk>
</HardDisk>
<HardDisk uuid="{2f54ee40-283d-4e57-99f3-903e204a8fd6}" location="/root/.VirtualBox/Machines/WindowsXP-Bettina/Snapshots/{2f54ee40-283d-4e57-99f3-903e204a8fd6}.vdi" format="VDI"/>
</HardDisk>
</HardDisks>
I need to restore this image, otherwise my girlfriend is going to kill me!!! She has critical data in that VM related to the contracts she gets. Also, now I will be going away with her for the next three days, and I have no idea how I will tell her that everything she has done might be gone.
I will appreciate any help anyone can give me!