]> git.siccegge.de Git - forks/vmdebootstrap.git/blob - vmdebootstrap.8.in
Allow option to chown the image when complete.
[forks/vmdebootstrap.git] / vmdebootstrap.8.in
1 .\" Copyright 2011 Lars Wirzenius <liw@liw.fi>
2 .\"
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.
7 .\"
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.
12 .\"
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/>.
15 .\"
16 .TH VMDEBOOTSTRAP 8
17 .SH NAME
18 vmdebootstrap \- install basic Debian system into virtual disk image
19 .SH SYNOPSIS
20 .SH DESCRIPTION
21 .B vmdebootstrap
22 installs a basic Debian system into a virtual disk image,
23 for use with virtual machines,
24 such as KVM, Qemu, or VirtualBox.
25 It is like
26 .BR debootstrap (8),
27 which does the same thing, but puts the system into a directory,
28 for use with
29 .BR chroot (8).
30 (In fact,
31 .B vmdebootstrap
32 is a wrapper around
33 .BR debootstrap ).
34 .PP
35 You need to run
36 .B vmdebootstrap
37 as root.
38 .PP
39 To use the image,
40 you probably want to create a virtual machine using your preferred
41 virtualization technology, such as
42 .BR kvm (1),
43 or
44 .BR qemu (1).
45 Configure the virtual machine to use the image you've created.
46 Then start the virtual machine,
47 and log into it via its console to configure it.
48 .PP
49 The image will be using
50 .BR extlinux (1)
51 as a boot loader.
52 It has an empty root password.
53 The image will not have networking configured.
54 Set the root password before you configure networking.
55 .SH OPTIONS
56 .SH EXAMPLE
57 To create an image for the stable release of Debian:
58 .nf
59 .IP
60 sudo ./vmdebootstrap --image test.img --size 1g \\
61 --log test.log --log-level debug --verbose \\
62 --mirror http://mirror.lan/debian/
63 .SH "SEE ALSO"
64 .BR debootstrap (8).