VMDEBOOTSTRAP(8)

NAME
vmdebootstrap - install basic Debian system into virtual disk image

SYNOPSIS

DESCRIPTION
vmdebootstrap installs a basic Debian system into a virtual disk image, for use with virtual machines, such as KVM, Qemu, or VirtualBox. It is like debootstrap(8), which does the same thing, but puts the system into a directory, for use with chroot(8). (In fact, vmdebootstrap is a wrapper around debootstrap).

You need to run vmdebootstrap as root.

To use the image, you probably want to create a virtual machine using your preferred virtualization technology, such as kvm(1), or qemu(1). Configure the virtual machine to use the image you've created. Then start the virtual machine, and log into it via its console to configure it.

The image will be using extlinux(1) as a boot loader. It has an empty root password. The image will not have networking configured. Set the root password before you configure networking.

OPTIONS

EXAMPLE
To create an image for the stable release of Debian:

    sudo ./vmdebootstrap --image test.img --size 1g \
        --log test.log --log-level debug --verbose \
        --mirror http://mirror.lan/debian/

SEE ALSO
debootstrap(8).