IT notes


Convert raw image to vmdk Install qemu: $ brew install qemu Convert using: $ qemu-img convert -f raw -O vmdk disk.raw disk.vmdk


FreeBSD zfs disk image Use VirtualBox to install FreeBSD using UFS. After having FreeBSD installed, update your sources and build a custom world and kernel based on your needs for the new image to be created: # cd /usr/src # make -j4 buildworld buildkernel adjust -j4 to the number or cpu cores Use this script to create the image: $ mkdir /raw && cd /raw $ fetch --no-verify-peer https://raw.


VPS providers that allow use your own image/kernel Google cloud (only ipv4) Allows to upload compreses raw images: tar --format=gnutar -Szcf disk.tar.gz disk.raw MTU needs to be set to 1460 and in some cases disable the checksum offload Amazon AWS (only ipv4) Images can’t be uploaded compressed, ans disabling TSO is required: ifconfig_DEFAULT="SYNCDHCP -tso" IPV6 support vultr Instead of uploading the raw images, they will be fetched, a URL needs to be provider from where the image can be downloaded.