Retrieve previous 'current state'?

Discussions about using Windows guests in VirtualBox.
Post Reply
marvinq
Posts: 2
Joined: 2. Dec 2010, 18:25
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP

Retrieve previous 'current state'?

Post by marvinq »

Hi everyone,
I may have goofed up the current state on one of my VMs.

Let me give you a little background. Lately my XP VM box has been messaging me to that I'm running out of HD Space. So, I started Tinkering around the VM Interface for a way to increase disk space.

I figured there would be some setting somewhere that would increase it. While I tinkered around I 'released' my vm drive and then realized I was wrong. I can't increase it that way. So I reattached the drive to my machine. When I restarted the machine I found that my current state got lost and the machine was booting up like my very last snapshot. I didn't realize that I'd lose my current state (and losing about a months work).

I searched through the directory structure and I found the file that appears to be the 'current state' that I would want to bring back. My question to all of you is... can I bring back that current state? and if so, how?

Marvin
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Retrieve previous 'current state'?

Post by Sasquatch »

What you found is indeed the current state. Everything that you have done after you created the snapshot is stored in that file. Have you tried to attach the snapshot file to the media manager?
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
marvinq
Posts: 2
Joined: 2. Dec 2010, 18:25
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP

Re: Retrieve previous 'current state'?

Post by marvinq »

no I haven't tried to attach that snapshot file to the media manager... I don't know how... Would you be able to lead me in the right direction?

Marvin
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Retrieve previous 'current state'?

Post by mpack »

The only easy solution I know is to clone the current state VDI. When you do that the software will in fact merge that VDI with all its ancestor files, creating a flattened VDI which you can mount in a new VM - mounting in the old VM is tricky because it still has a memory of snapshots. With an XP guest creating a new VM is the easiest option - but make sure that IDE controller type, IO APIC setting and MAC address are the same as the old VM, otherwise XP will give you BSODs or activation problems.

Once you are happy that the new VM is stable you can delete the old VM and all the old snapshot fragments.
Post Reply