`gentoo-img` is a script to convert a Gentoo stage3/4 tarball into a virtual machine image. It supports GPT disk partitions and LVM volumes, and allows executing custom scripts inside the image for additional configuration.