1 .\" Copyright 2011 Lars Wirzenius <liw@liw.fi>
3 .\" This program is free software: you can redistribute it and/or modify
4 .\" it under the terms of the GNU General Public License as published by
5 .\" the Free Software Foundation, either version 3 of the License, or
6 .\" (at your option) any later version.
8 .\" This program is distributed in the hope that it will be useful,
9 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
10 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 .\" GNU General Public License for more details.
13 .\" You should have received a copy of the GNU General Public License
14 .\" along with this program. If not, see <http://www.gnu.org/licenses/>.
18 vmdebootstrap \- install basic Debian system into virtual disk image
21 .BR \-\-image =\fIFILE
25 installs a basic Debian system into a virtual disk image,
26 for use with virtual machines,
27 such as KVM, Qemu, or VirtualBox.
30 which does the same thing, but puts the system into a directory,
44 Show full list of options (this manual page may be incomplete).
47 Report what is going on.
53 .BR \-\-log\-level =\fILEVEL
54 Write log messages of the given
67 .BR \-\-image =\fIFILE
68 Put created disk image in
72 Create a disk image of the given
74 which can be given in bytes,
78 using the appropriate suffix.
80 .BR \-\-mirror =\fIURL
81 Use the Debian mirror at
83 You probably want to specify a local mirror, if you have one.
85 .IR http://cdn.debian.net/debian/ ,
86 which should work fairly well for most people without a local mirror.
89 Use a given architecture.
90 This only works if the host system can run binaries for the architecture,
91 e.g., you can build an i386 image on amd64, but not arm.
93 .BR \-\-distribution =\fINAME
94 Use a given release of Debian.
96 To create an image for the stable release of Debian:
99 sudo ./vmdebootstrap --image test.img --size 1g \\
100 --log test.log --log-level debug --verbose \\
101 --mirror http://mirror.lan/debian/