6 grml-debootstrap - wrapper around debootstrap for installing plain Debian via grml
10 grml-debootstrap [ options ]
12 image:images/screenshot.png[Screenshot]
17 grml-debootstrap is a wrapper suite around debootstrap
18 (and cdebootstrap if you want) for installing a plain Debian
19 system via grml very fast and easy.
21 All you have to do is adjust a few variables in configuration file
22 /etc/debootstrap/config (or specify some variables via commandline) and invoke
23 grml-debootstrap without any further options then.
25 A plain and base Debian system will be installed on the given
26 device (or directory) then. Customization of this process is
29 CAUTION: The grml team does not take responsibility for loss of any data!
31 Options and environment variables
32 ---------------------------------
36 Show summary of options and exit.
40 Show version of program and exit.
44 Where do you want to install grub to? Use grub syntax for specifying.
45 Do not forget to set groot as well. Leave empty to avoid installation of grub.
49 Specify root device for usage in grub (corresponds with $TARGET).
50 Again, use grub syntax for specifying.
51 Corresponding with configuration variable GROOT.
55 Specify mirror which should be used for apt-get/aptitude. Notice that
56 specifying the mirror also sets the chrootmirror to the given value.
57 Corresponding with configuration variables MIRROR and CHROOTMIRROR.
59 -p, --mntpoint </mntpoint>
61 Specify mountpoint that should be used for mounting the target system.
62 Corresponding with configuration variable MNTPOINT.
64 -r, --release <releasename>
66 Specify release of new Debian system. Supported relases: sarge, etch, lenny and sid.
67 Corresponding with configuration variable RELEASE.
71 Target partition (/dev/...) or directory (anything else without /dev at the
74 WARNING: the commandline parsing of grml-debootstrap does not validate the provided
75 arguments for the commandline options. Please be careful and check docs and
76 /etc/debootstrap/config for further information.
81 grml-debootstrap --target /dev/hda1 --grub hd0 --groot hd0,0
83 Install default Debian release (stable/etch) on /dev/hda1 and install bootmanager
84 Grub in MBR (master boot record) of /dev/hda and use /dev/hda1 as system partition.
86 grml-debootstrap --target /dev/hda6 --grub hd0 --groot hd0,5 --release sid
88 Install Debian unstable/sid on /dev/hda6, install bootmanager
89 Grub in MBR (master boot record) of /dev/hda and use /dev/hda6 as system partition.
91 grml-debootstrap --target /data/chroot
93 Install default Debian release (stable/etch) in directory /data/chroot (without
96 grml-debootstrap --target /dev/sda3 --grub hd0 --groot hd0,2 --mirror ftp://ftp.tugraz.at/mirror/debian
98 Install default Debian release (stable/etch) on /dev/sda3 and install bootmanager
99 Grub in MBR (master boot record) of /dev/sda and use /dev/sda3 as system partition.
100 Use specifed mirror instead of the default (ftp://ftp.debian.de/debian) one.
105 /etc/debootstrap/config
107 Main configuration file. You have to adjust it according to your needs
108 before you are able to run grml-debootstrap.
110 /etc/debootstrap/chroot-script
112 The script executed within the new Debian system as soon as the main system
113 has been installed via [c]debootstrap.
115 /etc/debootstrap/locale.gen
117 Defines the default locales used for generating locales via locale-gen.
119 /etc/debootstrap/packages
121 Defines the software packages which should be installed in the new
122 Debian system by default.
124 /etc/debootstrap/stages/
126 The default directory for storing information about executed stages. Every
127 single function of grml-debootstrap will write 'done' to the stages directory
128 into a file named as the function itself if it has been executed sucessfully.
129 You can adjust the location of the directory via configuration variable STAGES
130 via /etc/debootstrap/config. Please notice that you have to remove the stages
131 directory on your own if you want to re-execute grml-deboostrap after running it
132 successfully once. This should avoid recurrent execution by error of
133 grml-debootstrap (which might delete present data).
138 You can control execution of grml-debootstrap via adjusting
139 /etc/debootstrap/config for some main stuff or via setting some selected
140 variables via commandline. The packages which should be installed in the new
141 Debian system can be defined via the file /etc/debootstrap/packages. If you
142 want to put existing files to the new Debian system you can place them into the
143 (by default non-existing) directories boot, etc, share, usr and var in
144 /etc/debootstrap/. Every existing directory will be copied to the new Debian
150 include::releasetable.txt[]
154 =====================================================================
155 [1] Please notice that Sarge is the current old-stable within Debian.
156 grml-debootstrap can handle the release but you really should not
157 use Sarge anymore unless you really know what you are doing. Choose
159 =====================================================================
164 Probably. Please send bugreports to Michael Prokop <mika@grml.org>.
169 debootstrap (8), cdebootstrap (1).
173 Michael Prokop <mika@grml.org>