import existing physical OpenBSD installation?

Discussions about using non Windows and Linux guests such as FreeBSD, DOS, OS/2, OpenBSD, etc.

import existing physical OpenBSD installation?

Postby danielpolak » 16. Jun 2010, 06:56

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
danielpolak
 
Posts: 2
Joined: 16. Jun 2010, 06:49
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Windows 7, OpenBSD

Re: import existing physical OpenBSD installation?

Postby turnover » 1. Jul 2010, 17:14

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


Return to Other Guests

Who is online

Users browsing this forum: No registered users and 3 guests