Install the image


Download the image: disk.tar.gz

The image works in AWS, GCE, and other providers that allow custom images like vultr.com, 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 (https://images.fabrik.red/)

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 use:

https://images.fabrik.red/disk.raw

Or

https://images.fabrik.red/disk.qcow2

In case the provider can’t resolve the domain use the IP instead, for example: http://72.55.175.70/disk.qcow2

VirtualBox

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

vmdk

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

qcow2

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