import existing physical OpenBSD installation?

Discussions about using non Windows and Linux guests such as FreeBSD, DOS, OS/2, OpenBSD, etc.
Post Reply
danielpolak
Posts: 2
Joined: 16. Jun 2010, 06:49
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Windows 7, OpenBSD

import existing physical OpenBSD installation?

Post 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
turnover
Posts: 2
Joined: 1. Jul 2010, 17:08
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: freebsd, windows, linux

Re: import existing physical OpenBSD installation?

Post 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.)
Post Reply