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