This discussion is archived
4 Replies Latest reply: Nov 20, 2012 2:02 AM by 974856 RSS

Crash system and  *.vbox destroy !

974856 Newbie
Currently Being Moderated
Hello !

I had a hardware crash and i lost my config files of my vm principal. (virtualbox 4.2.4)
But I have the disk (vdi) and snapshots.
I work in the reconstruction for several days and I still have not managed to restart in the state of last snapshot.
Can someone help me?

I'have :

original disk : disque_c.vdi
original disk : disque_d.vdi

In Snapshot folder :
{77f218d2-b6f5-4f3e-bb0f-19941cad94ad}.vdi
{84ca1c75-c923-4a9d-8053-0c79017fad6c}.vdi
{258bff15-52dc-408c-a5c0-056859f053f6}.vdi
{eeb06859-6216-4225-9940-d92f5549a0de}.vdi
2012-10-25T18-17-12-160013000Z.sav

Thank

Dominique
  • 1. Re: Crash system and  *.vbox destroy !
    Bjoern Rost Oracle ACE Director
    Currently Being Moderated
    There may be a better way but this should work:

    - copy the VDI files (just to be safe)
    - start the virtualbox GUI and create a new machine (just like you would when creating a machine in the first place)
    - instead of creating a new virtual disk, select "Use an Existing Virtual Hard Drive" and point to one of your .vdi files
    - you should be able to boot that machine (you may have to add your second drive later)
    - halt the machine and import it back into VDI just like you would with a new template

    Bjoern
  • 2. Re: Crash system and  *.vbox destroy !
    974856 Newbie
    Currently Being Moderated
    Thank you for your answer.
    In fact, it works but my problem is the recovery of snapshots.
    How to recover?
  • 3. Re: Crash system and  *.vbox destroy !
    Bjoern Rost Oracle ACE Director
    Currently Being Moderated
    I do not think I understand the problem. You just want to rollback a zfs volume or fs to a previous snapshot? Look at the syntax for "zfs rollback". Or are you talking about vbox snapshots?

    bjoern
  • 4. Re: Crash system and  *.vbox destroy !
    974856 Newbie
    Currently Being Moderated
    Hello,

    I speak of my virtual machine snapshots. I only willing files vdi base and snapshot directory (they were on another disk in the crash). So I did more configuration files for the virtual machine (*. Vbox)

    What I want to do is to rebuild the machine with disks and snapshot.

    What I have problem is to attach snapshots basic disks.

    Exite there a procedure, a program to do this?

    Thank you for your help.

    Dominique

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points