Creating a new VM from snapshot image

This is for discussing general topics about how to use VirtualBox.
Post Reply
sunlight
Posts: 6
Joined: 15. May 2013, 08:22

Creating a new VM from snapshot image

Post by sunlight »

I have created one VM say LCVM1 and while the LCVM1 is running at certain point I took the snapshot of the same.

Now I need to create the new VM using that snapshot .vdi image.

Is there any way of doing it?
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: Creating a new VM from snapshot image

Post by mpack »

Use Clone function. Select full clone, current state only.

Incidentally, a snapshot is not a disk image, it's only a fragment of one (i.e. the fragment that differs from the parent image). I point this out because others before you have thought that way, and made the mistake of deleting the parent image thinking it was no longer required.
sunlight
Posts: 6
Joined: 15. May 2013, 08:22

Re: Creating a new VM from snapshot image

Post by sunlight »

Thanks mpack from your response.

I can't use the clone function, as the cloned VM will boot from scratch which apparently not my requirement.

Is it possible to save the state of VM booting up at certain point and then use the .sav image to create the new VM which will boot now from the same point?
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: Creating a new VM from snapshot image

Post by mpack »

No, the .sav file is not usable in the way you suggest.

The clone need only be booted up from scratch once - it will boot up to the same status as your previous VM. You can then save the state if you insist, though most users eventually find that it's a cause of problems (all PCs like to be restarted regularly, to clear out the cobwebs - is your time so precious that you really can't afford that additional 30 seconds out of your day?).
Post Reply