vmdebootstrap

Bootstrap Debian into a (virtual machine) disk image

Install

All systems
curl cmd.cat/vmdebootstrap.sh
Debian Debian
apt-get install vmdebootstrap
Ubuntu
apt-get install vmdebootstrap
Windows (WSL2)
sudo apt-get update sudo apt-get install vmdebootstrap
Raspbian
apt-get install vmdebootstrap

vmdebootstrap

Bootstrap Debian into a (virtual machine) disk image

vmdebootstrap is a wrapper around debootstrap to install Debian into a disk image, which can be used with a virtual machine (such as KVM). syslinux and grub2 bootloaders can be supported, depending on the distribution and the architecture. An example of setting up u-boot for armhf on a beaglebone-black is included. This package also includes documentation on using vmdebootstrap to create installation images and live images.