Skip to content
"genvm" Is a powerfull script bash to generate a minimal and complete Debian and Ubuntu virtual machines for KVM/QEMU (so usable in ProxMox, libvirtd, ...), VirtualBox and/or VMWare.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


GenVM Is a powerful script designed to generate minimum and complete Debian or Ubuntu virtual machines for KVM/QEMU (so usable in ProxMox, libvirtd, ...), VirtualBox and VMWare.

GenVM is distributed under the GPL3.

Sources are available from GitHub ( and documentation is available on

Tested distributions

GenVM was tested on Debian Wheezy, Jessie, Stretch, Ubuntu Trusty, Vivid, Wily and Arch Linux.

Generated VM

Distrib. Name Rev Arch
debian wheezy 7.X i386
debian wheezy 7.X amd64
debian jessie 8.X i386
debian jessie 8.X amd64
debian stretch 9.X i386
debian stretch 9.X amd64
debian buster 10.X amd64
ubuntu precise 12.04 i386
ubuntu precise 12.04 amd64
ubuntu trusty 14.04 i386
ubuntu trusty 14.04 amd64
ubuntu vivid 15.04 i386
ubuntu vivid 15.04 amd64
ubuntu wily 15.10 i386
ubuntu wily 15.10 amd64
ubuntu xenial 16.04 i386
ubuntu xenial 16.04 amd64
ubuntu bionic 18.04 amd64


No special installation needed, only download the latest version of GenVM, adjust permissions and launch it via sudo or su.

From sources

$ git clone
Cloning into 'genvm'...
remote: Counting objects: 125, done.
remote: Compressing objects: 100% (45/45), done.
remote: Total 125 (delta 39), reused 123 (delta 39), pack-reused 0
Receiving objects: 100% (125/125), 44.15 KiB | 0 bytes/s, done.
Resolving deltas: 100% (39/39), done.
Checking connectivity... done.
$ cd genvm
$ ls

From archive

Last version (dev)

$ wget -q
$ unzip
  creating: genvm-master/
  inflating: genvm-master/genvm      

Stable version

You can find stable versions from GitHub on this page :

Download the latest version and extract it.


Consult for all documentations.

Simple Debian

$ su -c "./genvm debian-stable.vmdk"
Set password to root > 
Enter new UNIX password: 
Retype new UNIX password: 
passwd: password updated successfully
$ ls -lh debian-stable.vmdk
-rw-r--r-- 1 root users 875M Jul 27 17:33 debian-stable.vmdk

Simple Ubuntu

$ su -c "./genvm -b grub-pc -k linux-image-generic \
 -n trusty \
 -S \
 -V trusty ubuntu-trusty.vmdk"


team at genvm dot eu

You can’t perform that action at this time.