New Virtual Machine from hard drive backup?

Discussions about using Linux guests in VirtualBox.
Post Reply
csdco
Posts: 6
Joined: 10. Jul 2011, 19:44
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: Ubuntu Linux

New Virtual Machine from hard drive backup?

Post by csdco »

I had a virtual machine on a cloud server that I would like to boot locally. I have the last backup of this machine, which is simply a .tgz of the entire HD. Is it possible to restore this as/into a virtual machine in VirtualBox? I thought of simply creating a new similar machine (Ubuntu server x64) and then writing over the filesystem completely, but am not sure if there is any VirtualBox data that I need to be aware of that I would be overwriting. Can anyone point me in the right direction?
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: New Virtual Machine from hard drive backup?

Post by mpack »

If it's just a disk image instead of a proper VM backup, then no, you can't simply "restore" it. Instead you'll have to create a new VM and mount this disk in it. It will be up to you to get the new VM recipe approximately right. You should expect networking problems since the details of the old NIC (including e.g. MAC address) have been lost.
Post Reply