Update grml-debootstrap docs
authorMichael Prokop <mika@grml.org>
Thu, 9 Oct 2014 07:58:33 +0000 (09:58 +0200)
committerMichael Prokop <mika@grml.org>
Thu, 9 Oct 2014 07:58:33 +0000 (09:58 +0200)
grml-debootstrap/index.html

index ed93dd7..30b6add 100644 (file)
@@ -3,7 +3,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">\r
 <head>\r
 <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />\r
-<meta name="generator" content="AsciiDoc 8.6.7" />\r
+<meta name="generator" content="AsciiDoc 8.6.9" />\r
 <title>grml-debootstrap(8)</title>\r
 <style type="text/css">\r
 /* Shared CSS for AsciiDoc xhtml11 and html5 backends */\r
@@ -87,10 +87,16 @@ ul, ol, li > p {
 ul > li     { color: #aaa; }\r
 ul > li > * { color: black; }\r
 \r
-pre {\r
+.monospaced, code, pre {\r
+  font-family: "Courier New", Courier, monospace;\r
+  font-size: inherit;\r
+  color: navy;\r
   padding: 0;\r
   margin: 0;\r
 }\r
+pre {\r
+  white-space: pre-wrap;\r
+}\r
 \r
 #author {\r
   color: #527bbd;\r
@@ -219,7 +225,7 @@ div.exampleblock > div.content {
 }\r
 \r
 div.imageblock div.content { padding-left: 0; }\r
-span.image img { border-style: none; }\r
+span.image img { border-style: none; vertical-align: text-bottom; }\r
 a.image:visited { color: white; }\r
 \r
 dl {\r
@@ -415,12 +421,6 @@ div.unbreakable { page-break-inside: avoid; }
  *\r
  * */\r
 \r
-tt {\r
-  font-family: "Courier New", Courier, monospace;\r
-  font-size: inherit;\r
-  color: navy;\r
-}\r
-\r
 div.tableblock {\r
   margin-top: 1.0em;\r
   margin-bottom: 1.5em;\r
@@ -454,12 +454,6 @@ div.tableblock > table[frame="vsides"] {
  *\r
  * */\r
 \r
-.monospaced {\r
-  font-family: "Courier New", Courier, monospace;\r
-  font-size: inherit;\r
-  color: navy;\r
-}\r
-\r
 table.tableblock {\r
   margin-top: 1.0em;\r
   margin-bottom: 1.5em;\r
@@ -539,6 +533,8 @@ body.manpage div.sectionbody {
 @media print {\r
   body.manpage div#toc { display: none; }\r
 }\r
+\r
+\r
 </style>\r
 <script type="text/javascript">\r
 /*<![CDATA[*/\r
@@ -759,7 +755,7 @@ asciidoc.install();
 <h2 id="_introduction">Introduction</h2>\r
 <div class="sectionbody">\r
 <div class="paragraph"><p>grml-debootstrap is a wrapper suite around debootstrap (and cdebootstrap if you\r
-want) for installing a plain Debian system (e.g. via Grml) very fast and easy.</p></div>\r
+want) for installing a plain Debian system very fast and easy.</p></div>\r
 <div class="paragraph"><p>All you have to do is adjust a few variables in the configuration file\r
 /etc/debootstrap/config or specify some command line options and invoke\r
 grml-debootstrap. If invoked without any configuration modifications or command\r
@@ -793,6 +789,16 @@ or virtual image file then. Customization of this process is possible as well.</
 </p>\r
 </dd>\r
 <dt class="hdlist1">\r
+<strong>--backportrepos</strong>\r
+</dt>\r
+<dd>\r
+<p>\r
+    Enable Debian&#8217;s Backports repository (<a href="http://backports.debian.org/">http://backports.debian.org/</a>) via the\r
+    /etc/apt/sources.list.d/backports.list configuration file. This provides the\r
+    option to install Debian packages from Debian&#8217;s backports repository.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
 <strong>--bootappend</strong> <em>appendline-for-the-kernel</em>\r
 </dt>\r
 <dd>\r
@@ -846,12 +852,21 @@ or virtual image file then. Customization of this process is possible as well.</
 </p>\r
 </dd>\r
 <dt class="hdlist1">\r
+<strong>--debug</strong>\r
+</dt>\r
+<dd>\r
+<p>\r
+   Execute in very verbose way. Useful for debugging possible problems\r
+   with grml-debootstrap or identify what&#8217;s actually executed.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
 <strong>--filesystem</strong> <em>filesystem</em>\r
 </dt>\r
 <dd>\r
 <p>\r
     Filesystem that should be created when installing to a partition.\r
-    If unset defaults to ext3. Valid values are all filesystems that\r
+    If unset defaults to ext4. Valid values are all filesystems that\r
     can be created through mkfs.<em>filesystem</em>.\r
 </p>\r
 </dd>\r
@@ -899,7 +914,7 @@ or virtual image file then. Customization of this process is possible as well.</
 </dt>\r
 <dd>\r
 <p>\r
-    Use specified hostname instead of the default (being <em>grml</em>).\r
+    Use specified hostname instead of the default (being $HOSTNAME or if unset <em>grml</em>).\r
 </p>\r
 </dd>\r
 <dt class="hdlist1">\r
@@ -940,6 +955,26 @@ or virtual image file then. Customization of this process is possible as well.</
 </p>\r
 </dd>\r
 <dt class="hdlist1">\r
+<strong>--nointerfaces</strong>\r
+</dt>\r
+<dd>\r
+<p>\r
+    Do not copy /etc/network/interfaces from host system to the target.\r
+    This option is automatically enabled when using --vm or --vmfile.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
+<strong>--nokernel</strong>\r
+</dt>\r
+<dd>\r
+<p>\r
+    Skip installation of default kernel images. This option might be\r
+    interesting for you if you want a Debian system which doesn&#8217;t\r
+    need to provide regular boot, e.g. a system which provides\r
+    ISOs for booting via GRUB using grml-rescueboot.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
 <strong>--nopackages</strong>\r
 </dt>\r
 <dd>\r
@@ -1026,9 +1061,7 @@ or virtual image file then. Customization of this process is possible as well.</
 <dd>\r
 <p>\r
     Target partition (/dev/&#8230;) or directory (anything else without /dev at the\r
-    beginning). To install grub using <strong>--grub</strong> make sure to use a <em>device</em>\r
-    instead of a directory as <em>target</em> (installation of grub as bootloader when\r
-    using directories is NOT supported).\r
+    beginning).\r
 </p>\r
 </dd>\r
 <dt class="hdlist1">\r
@@ -1040,6 +1073,18 @@ or virtual image file then. Customization of this process is possible as well.</
 </p>\r
 </dd>\r
 <dt class="hdlist1">\r
+<strong>--vm</strong>\r
+</dt>\r
+<dd>\r
+<p>\r
+    Set up a Virtual Machine on an existing block device, which will be\r
+    partitioned.\r
+    This allows deployment of a Virtual Machine. The options needs to be\r
+    combined with the --target option.\r
+    Usage example: --vm --target /dev/mapper/your-vm-disk\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
 <strong>--vmfile</strong>\r
 </dt>\r
 <dd>\r
@@ -1075,9 +1120,9 @@ or virtual image file then. Customization of this process is possible as well.</
 <td class="icon">\r
 <img src="./images/icons/warning.png" alt="Warning" />\r
 </td>\r
-<td class="content">the command line parsing of grml-debootstrap does not validate the provided\r
-arguments for the command line options. Please be careful and check docs and\r
-/etc/debootstrap/config for further information.</td>\r
+<td class="content">the command line parsing of grml-debootstrap usually does not validate\r
+the provided arguments for the command line options. Please be careful and check\r
+docs and /etc/debootstrap/config for further information.</td>\r
 </tr></table>\r
 </div>\r
 </div>\r
@@ -1087,41 +1132,41 @@ arguments for the command line options. Please be careful and check docs and
 <div class="sectionbody">\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>grml-debootstrap --target /dev/sda1 --grub /dev/sda</tt></pre>\r
+<pre><code>grml-debootstrap --target /dev/sda1 --grub /dev/sda</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>Install default Debian release (wheezy) on /dev/sda1 and install bootmanager\r
 Grub in MBR (master boot record) of /dev/sda and use /dev/sda1 as system partition.</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>grml-debootstrap --target /dev/sda6 --grub /dev/sda --release sid</tt></pre>\r
+<pre><code>grml-debootstrap --target /dev/sda6 --grub /dev/sda --release sid</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>Install Debian unstable/sid on /dev/sda6, install bootmanager Grub in MBR\r
 (master boot record) of /dev/sda and use /dev/sda6 as system partition.</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>mount /dev/sda1 /data/chroot\r
-grml-debootstrap --target /data/chroot</tt></pre>\r
+<pre><code>mount /dev/sda1 /data/chroot\r
+grml-debootstrap --target /data/chroot</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>Install default Debian release (wheezy) in directory /data/chroot (without\r
 any bootloader).</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>grml-debootstrap --target /dev/sda3 --grub /dev/sda  --mirror ftp://ftp.tugraz.at/mirror/debian</tt></pre>\r
+<pre><code>grml-debootstrap --target /dev/sda3 --grub /dev/sda  --mirror ftp://ftp.tugraz.at/mirror/debian</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>Install default debian release (wheezy) in a Virtual Machine file with\r
 3GB disk size (including Grub as bootmanager in MBR of the virtual disk file):</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>mount /dev/sda1 /mnt/sda1\r
-grml-debootstrap --vmfile --vmsize 3G --target /mnt/sda1/qemu.img</tt></pre>\r
+<pre><code>mount /dev/sda1 /mnt/sda1\r
+grml-debootstrap --vmfile --vmsize 3G --target /mnt/sda1/qemu.img</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>Install default Debian release (wheezy) on /dev/sda3 and install bootmanager\r
 Grub in MBR (master boot record) of /dev/sda and use /dev/sda3 as system partition.\r
 Use specified mirror instead of the default (<a href="ftp://ftp.debian.de/debian">ftp://ftp.debian.de/debian</a>) one.</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>mount -o loop /mnt/sda6/debian-CD-1.iso /mnt/iso\r
-grml-debootstrap --target /dev/sda1 --grub /dev/sda --iso file:/mnt/iso/debian/</tt></pre>\r
+<pre><code>mount -o loop /mnt/sda6/debian-CD-1.iso /mnt/iso\r
+grml-debootstrap --target /dev/sda1 --grub /dev/sda --iso file:/mnt/iso/debian/</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>Install Debian on /dev/sda1 using the loopback mounted Debian-ISO\r
 for the base-system and install bootmanager Grub in MBR (master boot record) of\r
@@ -1135,46 +1180,34 @@ ISO.</p></div>
 <div class="sectionbody">\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>/etc/debootstrap/config</tt></pre>\r
+<pre><code>/etc/debootstrap/config</code></pre>\r
 </div></div>\r
-<div class="paragraph"><p>Main configuration file. You have to adjust it according to your needs\r
-if you want to execute grml-debootstrap in the non-interactive mode without\r
-any special command line arguments.</p></div>\r
+<div class="paragraph"><p>Main configuration file. Adjust it according to your needs if you want to\r
+execute grml-debootstrap in the non-interactive mode without any special command\r
+line arguments.</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>/etc/debootstrap/chroot-script</tt></pre>\r
+<pre><code>/etc/debootstrap/chroot-script</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>The script executed within the new Debian system as soon as the main system\r
 has been installed via [c]debootstrap.</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>/etc/debootstrap/locale.gen</tt></pre>\r
+<pre><code>/etc/debootstrap/locale.gen</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>Defines the default locales used for generating locales via locale-gen.</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>/etc/debootstrap/packages</tt></pre>\r
+<pre><code>/etc/debootstrap/packages</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>Defines the software packages which should be installed in the new\r
 Debian system by default.</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>/etc/debootstrap/extrapackages/</tt></pre>\r
+<pre><code>/etc/debootstrap/extrapackages/</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>Debian Packages dropped in this directory will be installed into the new Debian\r
 system by default (Control variable: EXTRAPACKAGES)</p></div>\r
-<div class="literalblock">\r
-<div class="content">\r
-<pre><tt>/etc/debootstrap/stages/</tt></pre>\r
-</div></div>\r
-<div class="paragraph"><p>The default directory for storing information about executed stages. Every\r
-single function of grml-debootstrap will write <em>done</em> to the stages directory\r
-into a file named as the function itself if it has been executed successfully.\r
-You can adjust the location of the directory via configuration variable STAGES\r
-via /etc/debootstrap/config.  Please notice that you have to remove the stages\r
-directory on your own if you want to re-execute grml-debootstrap after running it\r
-successfully once. This should avoid recurrent execution by error of\r
-grml-debootstrap (which might delete present data).</p></div>\r
 </div>\r
 </div>\r
 <div class="sect1">\r
@@ -1204,39 +1237,39 @@ kernelname at the bootprompt) supports the following boot options (they
 correspond with the command line options mentioned above):</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>target=...</tt></pre>\r
+<pre><code>target=...</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>The target partition/directory of the new Debian system. Usage example:\r
 target=/dev/sda1</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>grub=...</tt></pre>\r
+<pre><code>grub=...</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>Where do you want to install grub to? Usage example: grub=/dev/sda</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>release=...</tt></pre>\r
+<pre><code>release=...</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>Specify release of new Debian system. Defaults to Debian wheezy. Supported\r
 relases: lenny, squeeze, wheezy and sid. Usage example: release=sid</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>mirror=...</tt></pre>\r
+<pre><code>mirror=...</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>Specify mirror which should be used for apt-get/aptitude instead\r
 of the default one (<a href="http://http.debian.net/debian">http://http.debian.net/debian</a>).\r
 Usage example: mirror=ftp://ftp.tugraz.at/mirror/debian</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>password=...</tt></pre>\r
+<pre><code>password=...</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>Set password of user root without prompting for it but set it to the given\r
 argument. Usage example: password=AiTh5ahn</p></div>\r
 <div class="sect2">\r
-<h3 id="_usage_example_for_automatic_installation">Usage example for automatic installation:</h3>\r
+<h3 id="_usage_example_for_automatic_installation">Usage example for automatic installation</h3>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>debian2hd target=/dev/sda1 grub=/dev/sda mirror=ftp://ftp.tugraz.at/mirror/debian password=foobar</tt></pre>\r
+<pre><code>debian2hd target=/dev/sda1 grub=/dev/sda mirror=ftp://ftp.tugraz.at/mirror/debian password=foobar</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>You have to enter this command line at the bootprompt of the Grml live system.\r
 Please make sure that /dev/sda1 is the partition where you really want to\r
@@ -1334,7 +1367,7 @@ cellspacing="0" cellpadding="4">
 </td>\r
 <td class="content">\r
 <div class="title">lenny release</div>\r
-<div class="paragraph"><p>[1] Please notice that lenny is the current old-stable release within Debian.\r
+<div class="paragraph"><p>[1] Please notice that lenny is an unsupported release within Debian nowadays.\r
 grml-debootstrap can handle the release but you really should not use lenny\r
 anymore unless you really know what you are doing. Choose Debian 6.0 (squeeze)\r
 or Debian 7.0 (wheezy) instead.</p></div>\r
@@ -1354,10 +1387,10 @@ the advantage of grub-legacy actually being able to boot from it.</p></div>
 <img src="./images/icons/note.png" alt="Note" />\r
 </td>\r
 <td class="content">\r
-<div class="title">sid release</div>\r
-<div class="paragraph"><p>[2] Please notice that sid is Debian/unstable and due to its nature might not be\r
-always installable. What <em>might</em> work instead is deploying a stable or testing\r
-release and upgrade it after installation finished.</p></div>\r
+<div class="title">unstable and testing releases</div>\r
+<div class="paragraph"><p>[2] Please notice that jessie (Debian/testing) and sid (Debian/unstable) might\r
+not be always installable due to their nature. What <em>might</em> work instead is\r
+deploying a stable release and upgrade it after installation finished.</p></div>\r
 </td>\r
 </tr></table>\r
 </div>\r
@@ -1385,7 +1418,8 @@ release and upgrade it after installation finished.</p></div>
 <div id="footnotes"><hr /></div>\r
 <div id="footer">\r
 <div id="footer-text">\r
-Last updated 2013-02-19 00:04:27 CET\r
+Last updated\r
+ 2014-10-09 09:55:39 CEST\r
 </div>\r
 </div>\r
 </body>\r