Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Aug 2017 11:49:27 -0700
From:      Matt Joras <mjoras@FreeBSD.org>
To:        Panagiotes Mousikides <paggas1@yandex.com>, FreeBSD Current <freebsd-current@freebsd.org>, "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Re: Install FreeBSD from source into VM image
Message-ID:  <97d0475c-9603-03d8-144d-dc803e5530c7@FreeBSD.org>
In-Reply-To: <8888acfa-4dc8-a68f-8ca8-c4df84e5e74a@yandex.com>
References:  <8888acfa-4dc8-a68f-8ca8-c4df84e5e74a@yandex.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 08/14/2017 11:42, Panagiotes Mousikides wrote:
> I am working on the FreeBSD test suite, and need to create an image
> file from source.  How can I do that?
>
> I need to run something similar to make installkernel && make
> installworld with an image file as the target, such that the end
> result is a ready-made FreeBSD system that can be started up with
> bhyve.  How can I do that, including creating the correct /etc files,
> and the correct boot code and partitioning?
>  

See release(7), https://www.freebsd.org/cgi/man.cgi?release(7). The
relevant section is under virtual machine disk images and the vm-image
target. The VMFORMATS for bhyve is "raw". That will generate an image
that "just works" with vmrun.sh

Matt Joras




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?97d0475c-9603-03d8-144d-dc803e5530c7>