Custom Qcow2 Images

Pete Wright pete at
Sun Jul 14 23:37:45 UTC 2019

Hey there folks,
I am wondering if anyone has any pointers on creating a custom Qcow2 
FreeBSD that is akin in size to nanobsd.  I have an environment where we 
need to run a single binary and want to keep our disk image as small as 
possible.  It will run inside a user-mode Qemu process.  Reading through 
the nanobsd script it seems that it expects a raw disk for installation, 
so I do think using the nanobsd script itself well work well.  Has 
anyone else done something similar?  My goal is to have a disk image 
that is around 500MB.

Thanks in advance!

Pete Wright
pete at

More information about the freebsd-virtualization mailing list