Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I got into a big trouble now. My hard disk just kind of "crashed". I get from disks that "DISK IS LIKELY TO FAIL".

My main OS is ubuntu, and I am (or was) using a Windows 7 VBOX. When I start ubuntu, it freezez. I know it's the hard-disk for sure.

I am on superuser.com now from an ubuntu live cd. I don't have any backup of my hard-disk (yep, I know...) so I could backup my files from ubuntu, but I also have some important files on my VBOX. Is there any way to copy the VBOX or, get files from it without it running ?

share|improve this question

2 Answers 2

So you are booted off a LiveCD and it sounds like you are able to copy data from your hard drive. If that is the case, then all you need to do is copy the .VMDK file that was created when you made the Windows virtual machine. This file is the virtual hard drive. Once you have that file, you can boot the Windows VM on any other machine running Virtualbox.

share|improve this answer
    
Where do I find it ? –  user1812076 Sep 21 '13 at 18:01
    
home/.VirtualBox I believe –  Keltari Sep 21 '13 at 18:24

In newer versions of Ubuntu, the Virtualbox files are located inside a folder called:

/home/YourName/VirtualBox VMs

Inside this folder, there will be one with our VM's name. All of the files inside this folder will be essential to you, both the one ending with .vbox and the very large file ending in vdi, vdmk, or whatever, which is basically the image of your VM's disk.

If you can save those, once you move them to a new pc, you will want to create an Appliance, which is basically a single file in the ova format which allows to export your VM to other pcs, and even to different hypervisors, like Xen, VMWare, and so on. And you cal also cross the VM, from a 32 bit host to a 64 bit host, or viceversa.

As for your Windows license, I am afraid that it might be voided once you re-open the VM on a new host. That has something to do with cpyright protection, not VirtualBox or any other Hypervisor.

Good luck with your rescue operation.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.