On Sat, Nov 17, 2018 at 10:42:57PM +0100, Ingo Schwarze wrote:
> Hi Martin,
> 
> Martin Sukany wrote on Sat, Nov 17, 2018 at 09:13:15PM +0100:
> 
> > I want to migrate OpenBSD 6.4 (stable) from VM to bare metal. I see, as 
> > usual, two options:
> > 
> > 1) install everything from scratch
> > 2) create some flashimage (I did such thing on Solaris few years ago) 
> > and apply the image on new hw.
> 
> I'd recommend option 1), reinstall.
> 
> I have no idea whether or not option 2) will work.  It may or may not.
> If it doesn't, you end up doing a reinstall anyway, and nobody will be
> interested in the reasons why it didn't work for you.  Such a thing
> simply isn't supported.
> 
> Yours,
>   Ingo
> 
I second reinstall. If you are concerned about setting things up the same I tend
to do as couple tricks to make my setup portable. I have a tgz I created of
important ~/.config items, mostly related to my openbox setup. I have git repos
for my vim, mutt, fish, and ~/.local/bin items. I have a tgz of important /etc
items, particularly vm.conf virtual host info for vmm, pf, etc.

Lastly I have a master file of my installed packages created from pkg_info
(forget the specific flags) but you can feel that file to a pkg add and let it
install everything for you.

Ken

Reply via email to