Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a physical (not virtualized) 32Bit Debian server I'd like to mirror as VirtualBox image. I seem unable to find tools like vmware-converter to do the trick.

So: what tools can I use? Or, can you point me to a howto document?

Edit: After I posted my question, I found this: Creating a virtual machine in VirtualBox from a physical one

Still, I hoped for a tool...

share|improve this question

3 Answers 3

up vote 3 down vote accepted

You can use the VMware Converter to get a copy of a (running) physical machine. The resulting image can be user natively by current VirtualBox releases.

share|improve this answer

One way should be just to take image of your server with the good old dd:

dd if=/dev/sda of=/path/to/somewhere/with/lots/of/diskspace/serverimage.dd bs=1M

(assuming your server HD is /dev/sda)

And then convert the dd image to VirtualBox image using VBoxManage:

VBoxManage convertfromraw serverimage.dd serverimage.vdi

Then just add that as your virtual server HD from VirtualBox GUI and you should be all set.

share|improve this answer

There are probably a few ways to approach this, but one way could be:

  • Create a VM with USB support & appropriately sized (and like/physical equivalent - IDE, SCSI, etc.) VM storage
  • Transfer physical disk onto USB case/enclosure
  • Boot VM with a bootable CD-based partition manager (maybe something with gParted, Acronis, etc.) with USB drive attached
  • Copy partitions from "USB drive" onto VM storage
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.