Install the image

Download the image: disk.tar.gz

The image works in AWS, GCE, and other providers that allow custom images like, netcup, lunanode or locally by using VirtualBox

One advantage of using GCE google compute engine is that the image can be uploaded compressed tar.gz for other providers needs to be uncompressed and upload the plain 2GB disk.raw.

Because of this the image is just created using 2GB and later needs to be expanded.

Install via web

Some providers like vultr and lunanode allow to use custom snapshots, images but an URL needs to be specified from the one the images will be fetched, for this cases you could do from a public web server:

$ mkdir fabrik
$ cd fabrik
$ fetch
$ gunzip disk.tar.gz
$ www

www is a static web server ( it will expose all contents from the directory fabrik so that you easily just share the disk.raw image


To test in Virtualbox the disk.raw needs to be converted to VDI format:

VBoxManage convertfromraw disk.raw disk.vdi --format VDI

The image size is 2GB, once the image is in VDI format it can be resized:

VBoxManage modifyhd disk.vdi --resize 20480

20480 will create a 20GB disk


To use the image in VMWARE convert the raw image to vmdk, this can be done by installing qemu:

brew install qemu

And then:

qemu-img convert -f raw -O vmdk disk.raw disk.vmdk

If using VMware, virtual disks can be expanded using this ESXi/ESX command:

vmkfstools -X <new size> <virtual disk>.vmdk

For example, use this command to grow the virtual disk to 25GB in size:

vmkfstools -X 25g /vmfs/volumes/xxxx/vmname/vmname.vmdk


To convert the image from raw to qcow2:

qemu-img convert -f raw -O qcow2 disk.raw disk.qcow2

resize ZFS

Once the image has been installed and the system is up and running, the disk should be expanded, see resize ZFS for more details.

The current image on the first boot, will try to automatically resize the ZFS.

comments powered by Disqus