Page 1 of 1

import existing physical OpenBSD installation?

Posted: 16. Jun 2010, 06:56
by danielpolak
I have several physical OpenBSD machines that I'd like to virtualise. It would save me a lot of work not having to do fresh installs of OpenBSD and all the apps and data.
Is it possible to make an image of an existing OpenBSD disk and use this image as a VirtualBox disk to boot an OpenBSD guest?

Daniel

Re: import existing physical OpenBSD installation?

Posted: 1. Jul 2010, 17:14
by turnover
Yes,

connect the Hard drive to your virtualbox machine. don't mount it.
do a dd if=/dev/harddrive of=image.img

VBoxManage convertfromraw image.img image.vdi

setup a new virtual machine using image.vdi as the harddrive.

(I'm typing this from memory so you may need to check the syntax.)