Update grml-live webpage
[grml.org.git] / grml-live / index.html
index 4659291..249be41 100644 (file)
@@ -1,31 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"\r
     "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">\r
 <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.3" />\r
+<meta name="generator" content="AsciiDoc 8.6.10" />\r
 <title>grml-live(8)</title>\r
 <style type="text/css">\r
-/* Sans-serif font. */\r
+/* Shared CSS for AsciiDoc xhtml11 and html5 backends */\r
+\r
+/* Default font. */\r
+body {\r
+  font-family: Georgia,serif;\r
+}\r
+\r
+/* Title font. */\r
 h1, h2, h3, h4, h5, h6,\r
 div.title, caption.title,\r
 thead, p.table.header,\r
-div#toctitle,\r
-span#author, span#revnumber, span#revdate, span#revremark,\r
-div#footer {\r
+#toctitle,\r
+#author, #revnumber, #revdate, #revremark,\r
+#footer {\r
   font-family: Arial,Helvetica,sans-serif;\r
 }\r
 \r
-/* Serif font. */\r
-div.sectionbody {\r
-  font-family: Georgia,"Times New Roman",Times,serif;\r
-}\r
-\r
-/* Monospace font. */\r
-tt {\r
-  font-size: inherit;\r
-}\r
-\r
 body {\r
   margin: 1em 5% 1em 5%;\r
 }\r
@@ -48,11 +46,6 @@ strong {
   color: #083194;\r
 }\r
 \r
-tt {\r
-  font-size: inherit;\r
-  color: navy;\r
-}\r
-\r
 h1, h2, h3, h4, h5, h6 {\r
   color: #527bbd;\r
   margin-top: 1.2em;\r
@@ -72,6 +65,9 @@ h3 {
 h3 + * {\r
   clear: left;\r
 }\r
+h5 {\r
+  font-size: 1.0em;\r
+}\r
 \r
 div.sectionbody {\r
   margin-left: 0;\r
@@ -92,41 +88,47 @@ 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
-span#author {\r
+#author {\r
   color: #527bbd;\r
   font-weight: bold;\r
   font-size: 1.1em;\r
 }\r
-span#email {\r
+#email {\r
 }\r
-span#revnumber, span#revdate, span#revremark {\r
+#revnumber, #revdate, #revremark {\r
 }\r
 \r
-div#footer {\r
+#footer {\r
   font-size: small;\r
   border-top: 2px solid silver;\r
   padding-top: 0.5em;\r
   margin-top: 4.0em;\r
 }\r
-div#footer-text {\r
+#footer-text {\r
   float: left;\r
   padding-bottom: 0.5em;\r
 }\r
-div#footer-badges {\r
+#footer-badges {\r
   float: right;\r
   padding-bottom: 0.5em;\r
 }\r
 \r
-div#preamble {\r
+#preamble {\r
   margin-top: 1.5em;\r
   margin-bottom: 1.5em;\r
 }\r
-div.tableblock, div.imageblock, div.exampleblock, div.verseblock,\r
+div.imageblock, div.exampleblock, div.verseblock,\r
 div.quoteblock, div.literalblock, div.listingblock, div.sidebarblock,\r
 div.admonitionblock {\r
   margin-top: 1.0em;\r
@@ -184,7 +186,7 @@ div.quoteblock, div.verseblock {
   margin-left: 1.0em;\r
   margin-right: 10%;\r
   border-left: 5px solid #f0f0f0;\r
-  color: #777777;\r
+  color: #888;\r
 }\r
 \r
 div.quoteblock > div.attribution {\r
@@ -224,7 +226,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
@@ -267,35 +269,12 @@ div.compact div, div.compact div {
   margin-bottom: 0.1em;\r
 }\r
 \r
-div.tableblock > table {\r
-  border: 3px solid #527bbd;\r
-}\r
-thead, p.table.header {\r
-  font-weight: bold;\r
-  color: #527bbd;\r
-}\r
 tfoot {\r
   font-weight: bold;\r
 }\r
 td > div.verse {\r
   white-space: pre;\r
 }\r
-p.table {\r
-  margin-top: 0;\r
-}\r
-/* Because the table frame attribute is overriden by CSS in most browsers. */\r
-div.tableblock > table[frame="void"] {\r
-  border-style: none;\r
-}\r
-div.tableblock > table[frame="hsides"] {\r
-  border-left-style: none;\r
-  border-right-style: none;\r
-}\r
-div.tableblock > table[frame="vsides"] {\r
-  border-top-style: none;\r
-  border-bottom-style: none;\r
-}\r
-\r
 \r
 div.hdlist {\r
   margin-top: 0.8em;\r
@@ -362,14 +341,14 @@ div.colist td img {
 }\r
 \r
 @media print {\r
-  div#footer-badges { display: none; }\r
+  #footer-badges { display: none; }\r
 }\r
 \r
-div#toc {\r
+#toc {\r
   margin-bottom: 2.5em;\r
 }\r
 \r
-div#toctitle {\r
+#toctitle {\r
   color: #527bbd;\r
   font-size: 1.1em;\r
   font-weight: bold;\r
@@ -377,7 +356,7 @@ div#toctitle {
   margin-bottom: 0.1em;\r
 }\r
 \r
-div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 {\r
+div.toclevel0, div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 {\r
   margin-top: 0;\r
   margin-bottom: 0;\r
 }\r
@@ -394,10 +373,172 @@ div.toclevel4 {
   font-size: 0.9em;\r
 }\r
 \r
+span.aqua { color: aqua; }\r
+span.black { color: black; }\r
+span.blue { color: blue; }\r
+span.fuchsia { color: fuchsia; }\r
+span.gray { color: gray; }\r
+span.green { color: green; }\r
+span.lime { color: lime; }\r
+span.maroon { color: maroon; }\r
+span.navy { color: navy; }\r
+span.olive { color: olive; }\r
+span.purple { color: purple; }\r
+span.red { color: red; }\r
+span.silver { color: silver; }\r
+span.teal { color: teal; }\r
+span.white { color: white; }\r
+span.yellow { color: yellow; }\r
+\r
+span.aqua-background { background: aqua; }\r
+span.black-background { background: black; }\r
+span.blue-background { background: blue; }\r
+span.fuchsia-background { background: fuchsia; }\r
+span.gray-background { background: gray; }\r
+span.green-background { background: green; }\r
+span.lime-background { background: lime; }\r
+span.maroon-background { background: maroon; }\r
+span.navy-background { background: navy; }\r
+span.olive-background { background: olive; }\r
+span.purple-background { background: purple; }\r
+span.red-background { background: red; }\r
+span.silver-background { background: silver; }\r
+span.teal-background { background: teal; }\r
+span.white-background { background: white; }\r
+span.yellow-background { background: yellow; }\r
+\r
+span.big { font-size: 2em; }\r
+span.small { font-size: 0.6em; }\r
+\r
+span.underline { text-decoration: underline; }\r
+span.overline { text-decoration: overline; }\r
+span.line-through { text-decoration: line-through; }\r
+\r
+div.unbreakable { page-break-inside: avoid; }\r
+\r
+\r
+/*\r
+ * xhtml11 specific\r
+ *\r
+ * */\r
+\r
+div.tableblock {\r
+  margin-top: 1.0em;\r
+  margin-bottom: 1.5em;\r
+}\r
+div.tableblock > table {\r
+  border: 3px solid #527bbd;\r
+}\r
+thead, p.table.header {\r
+  font-weight: bold;\r
+  color: #527bbd;\r
+}\r
+p.table {\r
+  margin-top: 0;\r
+}\r
+/* Because the table frame attribute is overriden by CSS in most browsers. */\r
+div.tableblock > table[frame="void"] {\r
+  border-style: none;\r
+}\r
+div.tableblock > table[frame="hsides"] {\r
+  border-left-style: none;\r
+  border-right-style: none;\r
+}\r
+div.tableblock > table[frame="vsides"] {\r
+  border-top-style: none;\r
+  border-bottom-style: none;\r
+}\r
+\r
+\r
+/*\r
+ * html5 specific\r
+ *\r
+ * */\r
+\r
+table.tableblock {\r
+  margin-top: 1.0em;\r
+  margin-bottom: 1.5em;\r
+}\r
+thead, p.tableblock.header {\r
+  font-weight: bold;\r
+  color: #527bbd;\r
+}\r
+p.tableblock {\r
+  margin-top: 0;\r
+}\r
+table.tableblock {\r
+  border-width: 3px;\r
+  border-spacing: 0px;\r
+  border-style: solid;\r
+  border-color: #527bbd;\r
+  border-collapse: collapse;\r
+}\r
+th.tableblock, td.tableblock {\r
+  border-width: 1px;\r
+  padding: 4px;\r
+  border-style: solid;\r
+  border-color: #527bbd;\r
+}\r
+\r
+table.tableblock.frame-topbot {\r
+  border-left-style: hidden;\r
+  border-right-style: hidden;\r
+}\r
+table.tableblock.frame-sides {\r
+  border-top-style: hidden;\r
+  border-bottom-style: hidden;\r
+}\r
+table.tableblock.frame-none {\r
+  border-style: hidden;\r
+}\r
+\r
+th.tableblock.halign-left, td.tableblock.halign-left {\r
+  text-align: left;\r
+}\r
+th.tableblock.halign-center, td.tableblock.halign-center {\r
+  text-align: center;\r
+}\r
+th.tableblock.halign-right, td.tableblock.halign-right {\r
+  text-align: right;\r
+}\r
+\r
+th.tableblock.valign-top, td.tableblock.valign-top {\r
+  vertical-align: top;\r
+}\r
+th.tableblock.valign-middle, td.tableblock.valign-middle {\r
+  vertical-align: middle;\r
+}\r
+th.tableblock.valign-bottom, td.tableblock.valign-bottom {\r
+  vertical-align: bottom;\r
+}\r
+\r
+\r
+/*\r
+ * manpage specific\r
+ *\r
+ * */\r
+\r
+body.manpage h1 {\r
+  padding-top: 0.5em;\r
+  padding-bottom: 0.5em;\r
+  border-top: 2px solid silver;\r
+  border-bottom: 2px solid silver;\r
+}\r
+body.manpage h2 {\r
+  border-style: none;\r
+}\r
+body.manpage div.sectionbody {\r
+  margin-left: 3em;\r
+}\r
+\r
+@media print {\r
+  body.manpage div#toc { display: none; }\r
+}\r
+\r
+\r
 </style>\r
 <script type="text/javascript">\r
 /*<![CDATA[*/\r
-window.onload = function(){asciidoc.footnotes(); asciidoc.toc(2);}\r
 var asciidoc = {  // Namespace.\r
 \r
 /////////////////////////////////////////////////////////////////////\r
@@ -439,7 +580,7 @@ toc: function (toclevels) {
 \r
   function tocEntries(el, toclevels) {\r
     var result = new Array;\r
-    var re = new RegExp('[hH]([2-'+(toclevels+1)+'])');\r
+    var re = new RegExp('[hH]([1-'+(toclevels+1)+'])');\r
     // Function that scans the DOM tree for header elements (the DOM2\r
     // nodeIterator API would be a better technique but not supported by all\r
     // browsers).\r
@@ -459,6 +600,25 @@ toc: function (toclevels) {
   }\r
 \r
   var toc = document.getElementById("toc");\r
+  if (!toc) {\r
+    return;\r
+  }\r
+\r
+  // Delete existing TOC entries in case we're reloading the TOC.\r
+  var tocEntriesToRemove = [];\r
+  var i;\r
+  for (i = 0; i < toc.childNodes.length; i++) {\r
+    var entry = toc.childNodes[i];\r
+    if (entry.nodeName.toLowerCase() == 'div'\r
+     && entry.getAttribute("class")\r
+     && entry.getAttribute("class").match(/^toclevel/))\r
+      tocEntriesToRemove.push(entry);\r
+  }\r
+  for (i = 0; i < tocEntriesToRemove.length; i++) {\r
+    toc.removeChild(tocEntriesToRemove[i]);\r
+  }\r
+\r
+  // Rebuild TOC entries.\r
   var entries = tocEntries(document.getElementById("content"), toclevels);\r
   for (var i = 0; i < entries.length; ++i) {\r
     var entry = entries[i];\r
@@ -486,24 +646,44 @@ toc: function (toclevels) {
  */\r
 \r
 footnotes: function () {\r
-  var cont = document.getElementById("content");\r
+  // Delete existing footnote entries in case we're reloading the footnodes.\r
+  var i;\r
   var noteholder = document.getElementById("footnotes");\r
+  if (!noteholder) {\r
+    return;\r
+  }\r
+  var entriesToRemove = [];\r
+  for (i = 0; i < noteholder.childNodes.length; i++) {\r
+    var entry = noteholder.childNodes[i];\r
+    if (entry.nodeName.toLowerCase() == 'div' && entry.getAttribute("class") == "footnote")\r
+      entriesToRemove.push(entry);\r
+  }\r
+  for (i = 0; i < entriesToRemove.length; i++) {\r
+    noteholder.removeChild(entriesToRemove[i]);\r
+  }\r
+\r
+  // Rebuild footnote entries.\r
+  var cont = document.getElementById("content");\r
   var spans = cont.getElementsByTagName("span");\r
   var refs = {};\r
   var n = 0;\r
   for (i=0; i<spans.length; i++) {\r
     if (spans[i].className == "footnote") {\r
       n++;\r
-      // Use [\s\S] in place of . so multi-line matches work.\r
-      // Because JavaScript has no s (dotall) regex flag.\r
-      note = spans[i].innerHTML.match(/\s*\[([\s\S]*)]\s*/)[1];\r
+      var note = spans[i].getAttribute("data-note");\r
+      if (!note) {\r
+        // Use [\s\S] in place of . so multi-line matches work.\r
+        // Because JavaScript has no s (dotall) regex flag.\r
+        note = spans[i].innerHTML.match(/\s*\[([\s\S]*)]\s*/)[1];\r
+        spans[i].innerHTML =\r
+          "[<a id='_footnoteref_" + n + "' href='#_footnote_" + n +\r
+          "' title='View footnote' class='footnote'>" + n + "</a>]";\r
+        spans[i].setAttribute("data-note", note);\r
+      }\r
       noteholder.innerHTML +=\r
         "<div class='footnote' id='_footnote_" + n + "'>" +\r
         "<a href='#_footnoteref_" + n + "' title='Return to text'>" +\r
         n + "</a>. " + note + "</div>";\r
-      spans[i].innerHTML =\r
-        "[<a id='_footnoteref_" + n + "' href='#_footnote_" + n +\r
-        "' title='View footnote' class='footnote'>" + n + "</a>]";\r
       var id =spans[i].getAttribute("id");\r
       if (id != null) refs["#"+id] = n;\r
     }\r
@@ -523,9 +703,32 @@ footnotes: function () {
       }\r
     }\r
   }\r
+},\r
+\r
+install: function(toclevels) {\r
+  var timerId;\r
+\r
+  function reinstall() {\r
+    asciidoc.footnotes();\r
+    if (toclevels) {\r
+      asciidoc.toc(toclevels);\r
+    }\r
+  }\r
+\r
+  function reinstallAndRemoveTimer() {\r
+    clearInterval(timerId);\r
+    reinstall();\r
+  }\r
+\r
+  timerId = setInterval(reinstall, 500);\r
+  if (document.addEventListener)\r
+    document.addEventListener("DOMContentLoaded", reinstallAndRemoveTimer, false);\r
+  else\r
+    window.onload = reinstallAndRemoveTimer;\r
 }\r
 \r
 }\r
+asciidoc.install(2);\r
 /*]]>*/\r
 </script>\r
 </head>\r
@@ -541,31 +744,24 @@ footnotes: function () {
 <div class="sect1">\r
 <h2 id="_name">1. Name</h2>\r
 <div class="sectionbody">\r
-<div class="paragraph"><p>grml-live - build framework based on FAI for generating a grml and Debian based\r
+<div class="paragraph"><p>grml-live - build framework based on FAI for generating a Grml and Debian based\r
 Linux Live system (CD/ISO)</p></div>\r
 </div>\r
 </div>\r
 <div class="sect1">\r
 <h2 id="_synopsis">2. Synopsis</h2>\r
 <div class="sectionbody">\r
-<div class="paragraph"><p>grml-live [-a &lt;architecture&gt;] [-c &lt;classe[s]&gt;] [-C &lt;configfile&gt;] [-g\r
-&lt;grml_name&gt;] [-i &lt;iso_name&gt; ] [-o &lt;output_directory&gt;] [-r &lt;release_name&gt;] [-s\r
-&lt;suite&gt;] [-t &lt;template_directory&gt;] [-v &lt;version_number&gt;] [-bBFhquVz]</p></div>\r
-<div class="admonitionblock">\r
-<table><tr>\r
-<td class="icon">\r
-<img src="./images/icons/caution.png" alt="Caution" />\r
-</td>\r
-<td class="content">Please check out <a href="#current_state">the <em>Current state of grml-live with squashfs-tools and kernel</em> section</a> for details about current state of involved\r
-tools before starting with grml-live or if you encounter any problems.</td>\r
-</tr></table>\r
-</div>\r
+<div class="paragraph"><p>grml-live [-a &lt;architecture&gt;] [-c &lt;classe[s]&gt;] [-C &lt;configfile&gt;] [\r
+-e &lt;extract_iso_name&gt;] [-g &lt;grml_name&gt;] [-i &lt;iso_name&gt;] [\r
+-o &lt;output_directory&gt;] [-r &lt;release_name&gt;] [-s &lt;suite&gt;] [\r
+-t &lt;template_directory&gt;] [-v &lt;version_number&gt;] [-U &lt;username&gt;] [\r
+-w &lt;date&gt;] [-AbBFnNqQuVz]</p></div>\r
 </div>\r
 </div>\r
 <div class="sect1">\r
 <h2 id="_description">3. Description</h2>\r
 <div class="sectionbody">\r
-<div class="paragraph"><p>grml-live provides the build system for creating a grml and Debian based Linux\r
+<div class="paragraph"><p>grml-live provides the build system for creating a Grml and Debian based Linux\r
 Live-CD. The build system is based on\r
 <a href="http://fai-project.org/">FAI</a> (Fully Automatic\r
 Installation). grml-live uses the "fai dirinstall" feature to generate a chroot\r
@@ -582,8 +778,8 @@ details of a build process.</p></div>
 <img src="./images/icons/caution.png" alt="Caution" />\r
 </td>\r
 <td class="content">grml-live does <strong>not</strong> use /etc/fai for configuration but instead\r
-provides and uses /etc/grml/fai. This ensures that it does not clash with\r
-default FAI configuration and packages, so you can use grml-live and FAI\r
+(unless overridden using the <em>'-D</em>' option). This ensures that it does not clash\r
+with default FAI configuration and packages, so you can use grml-live and FAI\r
 completely independent at the same time!</td>\r
 </tr></table>\r
 </div>\r
@@ -595,11 +791,9 @@ completely independent at the same time!</td>
 <td class="content">Please notice that you should have a fast network connection as all the Debian\r
 packages will be downloaded and installed via network. If you want to use a\r
 local mirror (strongly recommended if you plan to use grml-live more than once)\r
-checkout mkdebmirror (see /usr/share/doc/grml-live/examples/mkdebmirror),\r
-debmirror(1), reprepro(1) (see /usr/share/doc/grml-live/examples/reprepro/ for a\r
+checkout debmirror(1), reprepro(1) (see /usr/share/doc/grml-live/examples/reprepro/ for a\r
 sample configuration), apt-cacher(1) and approx(8). To avoid downloading the\r
-base system again and again check out FAI&#8217;s NFSROOT (see FAQ of this document\r
-for details).</td>\r
+base system again and again check out <a href="#create-a-base-tgz">the base tar.gz feature</a>.</td>\r
 </tr></table>\r
 </div>\r
 </div>\r
@@ -609,6 +803,15 @@ for details).</td>
 <div class="sectionbody">\r
 <div class="dlist"><dl>\r
 <dt class="hdlist1">\r
+-A\r
+</dt>\r
+<dd>\r
+<p>\r
+Clean up all output directories before running the build process. After finishing,\r
+clean up the Chroot target and Build target directories.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
 -a <strong>ARCHITECTURE</strong>\r
 </dt>\r
 <dd>\r
@@ -638,7 +841,7 @@ but intend to only build the ISO.
 <dd>\r
 <p>\r
 Build the ISO without touching the chroot at all. This option is useful if\r
-you modified anything that FAI or grml-live might adjust via grml&#8217;s FAI\r
+you modified anything that FAI or grml-live might adjust via Grml&#8217;s FAI\r
 scripts.  It&#8217;s like the <em>-b</em> option but even more advanced. Use only if you\r
 really know that you do not want to update the chroot.\r
 </p>\r
@@ -649,12 +852,11 @@ really know that you do not want to update the chroot.
 <dd>\r
 <p>\r
 Specify the CLASSES to be used for building the ISO via FAI.  By default only\r
-the classes GRMLBASE, GRML_MEDIUM and I386 are assumed, resulting in a small base\r
-system (being about ~180MB total ISO size). If using a non-I386 system (like\r
-AMD64) you should specify the appropriate architecture as well. Additionally you\r
-can specify a class providing a grml-kernel (see\r
-<a href="#classes">the <em>CLASSES</em> section in this document</a> for details about available classes).\r
-So instead of GRML_MEDIUM you can also use GRML_SMALL and GRML_FULL.\r
+the classes GRMLBASE, GRML_FULL and I386/AMD64 (depending on system\r
+architecture) are assumed.  Additionally you can specify a class providing a\r
+(grml-)kernel (see <a href="#classes">the <em>CLASSES</em> section in this document</a> for\r
+details about available classes). So instead of GRML_FULL you can also use e.g.\r
+GRML_SMALL.\r
 </p>\r
 </dd>\r
 </dl></div>\r
@@ -684,9 +886,7 @@ Please notice that all configuration files have to be adjusted during execution
 of grml-live, so please make sure you use /etc/grml/grml-live.conf as a base for\r
 your own configuration file (usually /etc/grml/grml-live.local). Please also\r
 notice that the configuration file specified via this option is <strong>not</strong> (yet)\r
-supported inside the scripts/hooks/classes at /etc/grml/fai/config. Instead use\r
 /etc/grml/grml-live.local for configuration stuff used inside\r
-/etc/grml/fai/config.\r
 </p>\r
 </dd>\r
 <dt class="hdlist1">\r
@@ -704,6 +904,28 @@ advance. Usage example: <em>-d 2009-10-30</em>
 </p>\r
 </dd>\r
 <dt class="hdlist1">\r
+-D <strong>CONFIGURATION_DIRECTORY</strong>\r
+</dt>\r
+<dd>\r
+<p>\r
+The specified directory is used as configuration directory for grml-live and its\r
+FAI. By default /etc/grml/fai is used as default configuration directory.  If\r
+you want to have different configuration scripts, package definitions, etc. with\r
+without messing with the global configuration under /etc/grml/fai provided by\r
+grml-live this option provides you the option to use your own configuration\r
+throughout this documentation.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
+-e <strong>EXTRACT_ISO_NAME</strong>\r
+</dt>\r
+<dd>\r
+<p>\r
+The squashfs inside the specified ISO will be extracted and used as the chroot.\r
+This option is useful for remastering, in combination with -A and -b or -u.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
 -F\r
 </dt>\r
 <dd>\r
@@ -758,6 +980,22 @@ the chroot and/or recreate the squashfs file without building an ISO file.
 </p>\r
 </dd>\r
 <dt class="hdlist1">\r
+-N\r
+</dt>\r
+<dd>\r
+<p>\r
+Bootstrap the chroot without building bootloader, squashfs, or finalizing the\r
+ISO. Use this option if installation of some packages fails, you want to run\r
+custom commands or similar.\r
+The main use of this option is to save time by skipping stages which aren&#8217;t\r
+necessary for bootstrapping the chroot and which would get executed more than\r
+once when iterating through the initial bootstrapping.\r
+Alternatively, use this option as a test run of grml-live. Once you are\r
+satisfied with the state of your grml_chroot, use grml-live <strong>-u</strong> to build the\r
+remaining stages and finalize the ISO.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
 -o <strong>OUTPUT_DIRECTORY</strong>\r
 </dt>\r
 <dd>\r
@@ -779,6 +1017,14 @@ Consider combining this option with the build-only option <em>-b</em>.
 </p>\r
 </dd>\r
 <dt class="hdlist1">\r
+-Q\r
+</dt>\r
+<dd>\r
+<p>\r
+Build the ISO without generating a netboot package.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
 -r <strong>RELEASENAME</strong>\r
 </dt>\r
 <dd>\r
@@ -791,10 +1037,10 @@ Specify name of the release.
 </dt>\r
 <dd>\r
 <p>\r
-Specify the Debian suite you want to use for your live-system.  Defaults to\r
-"squeeze" (being current Debian/stable). Supported values are: etch, lenny,\r
-squeeze, sid. Debian "squeeze" requires a recent base.tgz\r
-(/etc/grml/fai/config/basefiles/$CLASSNAME.tar.gz) or a recent version of\r
+Specify the Debian suite you want to use for your live-system. If unset defaults\r
+to "testing". Supported values are: stable, testing, unstable (or their\r
+corresponding release names like "stretch"). Please be aware that recent Debian\r
+suites might require a recent base.tgz\r
 debootstrap.\r
 </p>\r
 </dd>\r
@@ -817,6 +1063,14 @@ based on the softupdate feature of FAI.
 </p>\r
 </dd>\r
 <dt class="hdlist1">\r
+-U <strong>USERNAME</strong>\r
+</dt>\r
+<dd>\r
+<p>\r
+Sets ownership of all build output files to specified username before exiting.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
 -v <strong>VERSION_NUMBER</strong>\r
 </dt>\r
 <dd>\r
@@ -833,6 +1087,26 @@ Increase verbosity in the build process.
 </p>\r
 </dd>\r
 <dt class="hdlist1">\r
+-w <strong>DATE</strong>\r
+</dt>\r
+<dd>\r
+<p>\r
+The wayback machine. Build the system using Debian archives from the specified\r
+date.  Valid date formats are yyyymmddThhmmssZ or simply yyyymmdd.  To learn\r
+which snapshots exist, i.e. which date strings are valid, simply browse the\r
+lists on <a href="http://snapshot.debian.org/">http://snapshot.debian.org/</a>.  If there is no import at the exact time\r
+you specified you will get the latest available timestamp which is before the\r
+time you specified.\r
+This option is useful especially for release and debugging builds - for example\r
+if you know that the Debian archive was in a good state on a specific date but\r
+you want to build it on another day in the future, where the archive might not\r
+be as needed anymore. Please be aware that this is restricted to the plain\r
+Debian repositories only, as referred to in /etc/apt/sources.list.d/debian.list\r
+(so neither the Grml repositories nor any further custom ones are affected by\r
+the wayback machine).\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
 -z\r
 </dt>\r
 <dd>\r
@@ -846,42 +1120,28 @@ Use ZLIB instead of LZMA/XZ compression in mksquashfs part of the build process.
 <div class="sect1">\r
 <h2 id="usage-examples">5. Usage examples</h2>\r
 <div class="sectionbody">\r
-<div class="paragraph"><p>To get a small, Debian-stable and grml-based Live-CD using /grml/grml-live\r
+<div class="paragraph"><p>To get a Debian-stable and Grml-based Live-CD using ./grml\r
 as build and output directory just run:</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt># grml-live</tt></pre>\r
+<pre><code># grml-live</code></pre>\r
 </div></div>\r
-<div class="paragraph"><p>To get a small Debian-unstable and grml-small based Live-CD using\r
-/home/mika/grml-live as build and output directory just use:</p></div>\r
+<div class="paragraph"><p>To get a 64bit Debian-testing and grml-small based Live-CD using /srv/grml-live\r
+as build and output directory use the following command line on your amd64\r
+system:</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt># grml-live -s sid -c GRMLBASE,GRML_SMALL,I386 -o /home/mika/grml-live</tt></pre>\r
-</div></div>\r
-<div class="paragraph"><p>To get a medium sized, Debian-unstable and grml-based Live-CD for i386\r
-architecture using /grml/grml-live as build and output directory just run:</p></div>\r
-<div class="literalblock">\r
-<div class="content">\r
-<pre><tt># grml-live -s sid -a i386 -c GRMLBASE,GRML_MEDIUM,I386</tt></pre>\r
-</div></div>\r
-<div class="paragraph"><p>To get a small, Debian-unstable and grml-based Live-CD using /tmp as build and\r
-output directory and use grml_0.0-3.iso as ISO name (placed inside\r
-/tmp/grml_isos) just invoke:</p></div>\r
-<div class="literalblock">\r
-<div class="content">\r
-<pre><tt># grml-live -o /tmp -c GRMLBASE,GRML_SMALL,I386 -s sid -i grml_0.0-3.iso</tt></pre>\r
+<pre><code># grml-live -s testing -c GRMLBASE,GRML_SMALL,AMD64 -o /srv/grml-live</code></pre>\r
 </div></div>\r
 <div class="admonitionblock">\r
 <table><tr>\r
 <td class="icon">\r
 <img src="./images/icons/note.png" alt="Note" />\r
 </td>\r
-<td class="content">If you have about 700MB of free space inside /dev/shm (being a tmpfs, usually\r
-you should have &gt;=1GB of RAM) just run "mount -o remount,suid,dev,rw /dev/shm"\r
-and use /dev/shm as build and output directory - resulting in very fast build\r
-process.  But please be aware of the fact that rebooting your system will result\r
-in an empty /dev/shm, so please use another directory for $CHROOT_OUTPUT,\r
-$BUILD_OUTPUT and $ISO_OUTPUT if you plan to create more persistent output. :)</td>\r
+<td class="content">If you have enough RAM, just run "mount -t tmpfs none /media/ramdisk" to get a\r
+tmpfs ("RAMDISK"), and use /media/ramdisk as build and output directory - this\r
+results in a very fast build process. Note that these files will be gone when\r
+rebooting.</td>\r
 </tr></table>\r
 </div>\r
 </div>\r
@@ -892,7 +1152,7 @@ $BUILD_OUTPUT and $ISO_OUTPUT if you plan to create more persistent output. :)</
 <div class="ulist"><ul>\r
 <li>\r
 <p>\r
-create a grml-/Debian-based Linux Live-CD with one single command\r
+create a Grml-/Debian-based Linux Live-CD with one single command\r
 </p>\r
 </li>\r
 <li>\r
@@ -916,11 +1176,6 @@ Debian repositories
 native support of FAI features\r
 </p>\r
 </li>\r
-<li>\r
-<p>\r
-multi-arch support (work in progress)\r
-</p>\r
-</li>\r
 </ul></div>\r
 </div>\r
 </div>\r
@@ -934,24 +1189,24 @@ losing the simplicity in the build process.</p></div>
 recommended to <strong>always</strong> use the class GRMLBASE when building an ISO using\r
 grml-live, as well as the architecture dependent class which provides the kernel\r
 (being <em>I386</em> for x86_32 and <em>AMD64</em> for x86_64) and a GRML_* class (like\r
-GRML_SMALL, GRML_MEDIUM or GRML_FULL). The following files and directories are\r
+GRML_SMALL or GRML_FULL). The following files and directories are\r
 relevant for class GRMLBASE by default:</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>/etc/grml/fai/config/scripts/GRMLBASE/\r
-/etc/grml/fai/config/debconf/GRMLBASE\r
-/etc/grml/fai/config/class/GRMLBASE.var\r
-/etc/grml/fai/config/hooks/instsoft.GRMLBASE\r
-/etc/grml/fai/config/package_config/GRMLBASE</tt></pre>\r
+<pre><code>${GRML_FAI_CONFIG}/config/scripts/GRMLBASE/\r
+${GRML_FAI_CONFIG}/config/debconf/GRMLBASE\r
+${GRML_FAI_CONFIG}/config/class/GRMLBASE.var\r
+${GRML_FAI_CONFIG}/config/hooks/instsoft.GRMLBASE\r
+${GRML_FAI_CONFIG}/config/package_config/GRMLBASE</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>Take a look at the next section for information about the concept of those\r
 files/directories.</p></div>\r
 <div class="paragraph"><p>If you want to use your own configuration, extend an existing configuration\r
 and/or add additional packages to your ISO just invent a new class (or extend an\r
 existing one). For example if you want to use your own class named "FOOBAR" just\r
-set CLASSES="GRMLBASE,GRML_SMALL,I386,FOOBAR" inside /etc/grml/grml-live.local\r
+set CLASSES="GRMLBASE,GRML_SMALL,AMD64,FOOBAR" inside /etc/grml/grml-live.local\r
 or invoke grml-live using the classes option: "grml-live -c\r
-GRMLBASE,GRML_SMALL,I386,FOOBAR &#8230;".</p></div>\r
+GRMLBASE,GRML_SMALL,AMD64,FOOBAR &#8230;".</p></div>\r
 <div class="paragraph"><p>More details regarding the class concept can be found in the documentation of\r
 FAI itself (being available at /usr/share/doc/fai-doc/).</p></div>\r
 </div>\r
@@ -960,42 +1215,55 @@ FAI itself (being available at /usr/share/doc/fai-doc/).</p></div>
 <h2 id="classes">8. Available classes</h2>\r
 <div class="sectionbody">\r
 <div class="paragraph"><p>The package selection part of the classes can be found in\r
-/etc/grml/fai/config/package_config whereas some further classes are defined for\r
-example in /etc/grml/fai/config/scripts/ so specific feature sets can be\r
 selected. The following classes are predefined:</p></div>\r
 <div class="ulist"><ul>\r
 <li>\r
 <p>\r
-DEBORPHAN: get rid of all packages listed in output of Deborphan\r
+DEBORPHAN: get rid of all packages listed in output of deborphan\r
 </p>\r
 </li>\r
 <li>\r
 <p>\r
-GRMLBASE: the main class responsible for getting a minimal subset of what&#8217;s\r
-defining a grml system. Important parts of the buildprocess are specified in\r
-this class as well, so unless you have a really good reason you should always\r
-use this class.\r
+FILE_RC: instead of using systemd as init system use file-rc instead. file-rc\r
+was the init system used by Grml until and including stable release 2014.11,\r
+starting with beginning of 2016 Grml switched to systemd instead. If you want to\r
+build a live system in the old style using file-rc instead of systemd then enable\r
+this class. Please notice that support for file-rc is no longer being actively\r
+maintained (the Grml team happily accepts patches though) and file-rc (upstream\r
+wise) might disappear too.\r
 </p>\r
 </li>\r
 <li>\r
 <p>\r
-GRML_FULL: full featured grml, also known as the "normal", full grml.\r
+FRESHCLAM: execute freshclam (if it&#8217;s present) to update clamav definitions\r
+(increases resulting ISO size ~70MB). By default it&#8217;s skipped to avoid bigger\r
+ISO size.\r
 </p>\r
 </li>\r
 <li>\r
 <p>\r
-GRML_MEDIUM: medium sized grml version, known as grml-medium\r
+GRMLBASE: the main class responsible for getting a minimal subset of what&#8217;s\r
+defining a Grml system. Important parts of the buildprocess are specified in\r
+this class as well, so unless you have a really good reason you should always\r
+use this class. Please be aware that using <strong>just</strong> the GRMLBASE class won&#8217;t be\r
+enough, because the kernel packages (e.g. linux-image-i386-grml<br />\r
+linux-image-amd64-grml) are chosen in further GRML_* classes (to provide maximum\r
+flexibility with kernel selection). If you don&#8217;t want to use the existing\r
+GRML_FULL or GRML_SMALL classes, define your own CLASS file choosing the kernel\r
+package you want to use (and don&#8217;t forget to include your CLASS in the arguments\r
+of grml-live&#8217;s -c&#8230; command line option).\r
 </p>\r
 </li>\r
 <li>\r
 <p>\r
-GRML_POWERPC: grml for PowerPC architecture, not supported yet (still work in\r
-progress)\r
+GRML_FULL: full featured Grml, also known as the "normal", full grml as\r
+introduced in December 2011 (~600MB ISO size).\r
 </p>\r
 </li>\r
 <li>\r
 <p>\r
-GRML_SMALL: minimum sized grml version, known as grml-small\r
+GRML_SMALL: minimum sized Grml version, known as grml-small (~300MB ISO\r
+size).\r
 </p>\r
 </li>\r
 <li>\r
@@ -1037,6 +1305,12 @@ REMOVE_DOCS: get rid of documentation directories (like /usr/share/doc,
 </li>\r
 <li>\r
 <p>\r
+SOURCES: retrieve Debian source packages after installation. Files will be\r
+placed in the output directory under grml_sources.\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
 XORG: providing important packages for use with a base grml-featured X.org\r
 setup\r
 </p>\r
@@ -1050,26 +1324,25 @@ setup
 <div class="paragraph"><p>Notice that grml-live ships FAI configuration files that do not use the same\r
 namespace as the FAI packages itself. This ensures that grml-live does not clash\r
 with your usual FAI configuration, so instead of /etc/fai/fai.conf (package\r
-fai-client) grml uses /etc/grml/fai/fai.conf instead. For more details see\r
 below. To get an idea how another configuration or example files could look like\r
 check out /usr/share/doc/fai-doc/examples/simple/ (provided by Debian package\r
 fai-doc). Furthermore /usr/share/doc/fai-doc/fai-guide.html/ch-config.html\r
 provides documentation regarding configuration possibilities.</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>/usr/sbin/grml-live</tt></pre>\r
+<pre><code>/usr/sbin/grml-live</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>Script for the main build process. Requires root permissions for execution.</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>/etc/grml/grml-live.conf</tt></pre>\r
+<pre><code>/etc/grml/grml-live.conf</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>Main configuration file for grml-live which should be considered as a reference\r
 configuration file only. Please use /etc/grml/grml-live.local for local\r
 configuration instead.</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>/etc/grml/grml-live.local</tt></pre>\r
+<pre><code>/etc/grml/grml-live.local</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>All the local configuration should go to this file. This file overrides any\r
 defaults of grml-live. Configurations via /etc/grml/grml-live.local are preferred\r
@@ -1078,82 +1351,59 @@ from /etc/grml/grml-live.local as well you have to specify them on the grml-live
 commandline.</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>/etc/grml/fai/fai.conf</tt></pre>\r
+<pre><code>${GRML_FAI_CONFIG}/fai.conf</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>Main configuration file for FAI which specifies where all the configuration\r
 files and scripts for FAI/grml-live can be found. By default the configuration\r
 variables are FAI_CONFIG_SRC=file:///etc/grml/fai/config and\r
-FAI_CONFIGDIR=/etc/grml/fai/config - both pointing to a directory shipped by\r
+GRML_FAI_CONFIG=/etc/grml/fai/config - both pointing to a directory shipped by\r
 grml-live out-of-the-box so you shouldn&#8217;t have to configure anything in this\r
 file.</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>/etc/grml/fai/make-fai-nfsroot.conf</tt></pre>\r
-</div></div>\r
-<div class="paragraph"><p>This file is used by make-fai-nfsroot(8) only. Usually you don&#8217;t have to change\r
-anything inside this file. If you want to modify NFSROOT though you can adjust\r
-it there.</p></div>\r
-<div class="literalblock">\r
-<div class="content">\r
-<pre><tt>/etc/grml/fai/NFSROOT</tt></pre>\r
-</div></div>\r
-<div class="paragraph"><p>This file specifies the package list for creating the NFSROOT.</p></div>\r
-<div class="literalblock">\r
-<div class="content">\r
-<pre><tt>/etc/grml/fai/apt/sources.list</tt></pre>\r
-</div></div>\r
-<div class="paragraph"><p>This file specifies which mirrors should be considered for retrieving the Debian\r
-packages when creating the main chroot (including all the software you would\r
-like to see included). Important: this file should <strong>not</strong> be adjusted manually!\r
-Instead use the GRML_LIVE_SOURCES variable inside /etc/grml/grml-live.conf or\r
-/etc/grml/grml-live.local which modifies /etc/grml/fai/apt/sources.list\r
-on-the-fly via grml-live then. If you want to generally adjust apt configuration\r
-use FAI&#8217;s fcopy command with /etc/grml/fai/config/files instead.</p></div>\r
-<div class="literalblock">\r
-<div class="content">\r
-<pre><tt>/etc/grml/fai/config/</tt></pre>\r
+<pre><code>${GRML_FAI_CONFIG}/config/</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>The main directory for configuration of FAI/grml-live. More details below.</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>/etc/grml/fai/config/class/</tt></pre>\r
+<pre><code>${GRML_FAI_CONFIG}/config/class/</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>This directory contains files which specify main configuration variables for the\r
 FAI classes.</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>/etc/grml/fai/config/debconf/</tt></pre>\r
+<pre><code>${GRML_FAI_CONFIG}/config/debconf/</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>This directory provides the files for preseeding/configuration of debconf\r
 through files.</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>/etc/grml/fai/config/hooks/</tt></pre>\r
+<pre><code>${GRML_FAI_CONFIG}/config/hooks/</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>This directory provides files for customising the build process through hooks.\r
 Hooks are user defined programs or scripts, which are called during the\r
 installation process.</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>/etc/grml/fai/config/package_config/</tt></pre>\r
+<pre><code>${GRML_FAI_CONFIG}/config/package_config/</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>Directory with lists of software packages to be installed or removed.  The\r
 different classes describe what should find its way to your ISO.  When running\r
-"grml-live -c GRMLBASE,GRML_SMALL,I386 &#8230;" only the configuration of GRMLBASE,\r
-GRML_SMALL and and I386 will be taken. If you use <em>grml-live -c\r
-GRMLBASE,GRML_SMALL,I386,FOOBAR &#8230;</em> then the files of GRMLBASE, GRML_SMALL,\r
-I386 <strong>plus</strong> the files from FOOBAR will be taken. So just create a new class to\r
+"grml-live -c GRMLBASE,GRML_SMALL,AMD64 &#8230;" only the configuration of GRMLBASE,\r
+GRML_SMALL and AMD64 will be taken. If you use <em>grml-live -c\r
+GRMLBASE,GRML_SMALL,AMD64,FOOBAR &#8230;</em> then the files of GRMLBASE, GRML_SMALL,\r
+AMD64 <strong>plus</strong> the files from FOOBAR will be taken. So just create a new class to\r
 adjust the package selection according to your needs.  Please notice that the\r
 directory GRMLBASE contains a package list defining a minimum but still\r
 reasonable package configuration.</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>/etc/grml/fai/config/scripts/</tt></pre>\r
+<pre><code>${GRML_FAI_CONFIG}/config/scripts/</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>Scripts for customising the ISO within the build process.</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>/etc/grml/fai/live-initramfs/</tt></pre>\r
+<pre><code>${GRML_FAI_CONFIG}/live-initramfs/</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>This directory provides the files used for building the initramfs/initrd via\r
 live-initramfs(8).</p></div>\r
@@ -1162,16 +1412,10 @@ live-initramfs(8).</p></div>
 <div class="sect1">\r
 <h2 id="log-files">10. Available log files</h2>\r
 <div class="sectionbody">\r
-<div class="paragraph"><p>grml-live itself logs to /var/log/grml-live.log. Unless you set PRESERVE_LOGFILE\r
-in your grml-live configuration the file is cleared on each new invocation of\r
-grml-live.</p></div>\r
-<div class="paragraph"><p>The FAI part of grml-live logs to /var/log/fai/$HOSTNAME/ - so the\r
-default being /var/log/fai/grml/.</p></div>\r
-<div class="paragraph"><p>If you are using the grml-live buildd you will find the logs of the grml-live\r
-run at /var/log/grml-buildd.stdout and /var/log/grml-buildd.stderr.</p></div>\r
-<div class="paragraph"><p>If you want to store build information in a database just install the\r
-grml-live-db Debian package. Further details available in the grml-live-db\r
-manpage.</p></div>\r
+<div class="paragraph"><p>Starting with grml-live version 0.17.0 you should find log files in a directory\r
+named <em>grml_logs</em> in the output directory (next to grml_isos, grml_chroot,&#8230;).</p></div>\r
+<div class="paragraph"><p>grml-live versions before 0.17.0 used to log into /var/log/grml-live.log\r
+and /var/log/fai/grml.</p></div>\r
 </div>\r
 </div>\r
 <div class="sect1">\r
@@ -1181,26 +1425,23 @@ manpage.</p></div>
 <li>\r
 <p>\r
 any Debian based system should be sufficient (if it doesn&#8217;t work it&#8217;s a bug,\r
-please send us a bug report then) [a usual\r
-<a href="http://grml.org/grml2hd/">grml2hd</a> harddisk installation (using grml or\r
-grml-medium) ships all you need]. Check out <a href="#deploy-on-debian">How do I deploy grml-live on a plain Debian installation</a> for details how to set up grml-live\r
+please send us a bug report then). Check out <a href="#deploy-on-debian">How do I deploy grml-live on a plain Debian installation</a> for details how to set up grml-live\r
 on a plain, original Debian system.\r
 </p>\r
 </li>\r
 <li>\r
 <p>\r
-enough free disk space; at least 800MB are required for a minimal grml-live\r
-run (~400MB for the chroot [$CHROOT_OUTPUT], ~150MB for the build target\r
-[$BUILD_OUTPUT] and \~150MB for the resulting ISO [$ISO_OUTPUT] plus some\r
-temporary files), if you plan to use GRML_FULL you should have at least 4GB of\r
-total free disk space\r
+enough free disk space; at least 1.5GB are required for a minimal grml-live\r
+run (~850MB for the chroot [$CHROOT_OUTPUT], ~300MB for the build target\r
+[$BUILD_OUTPUT], ~30MB for the netboot files and \~300MB for the resulting ISO\r
+[$ISO_OUTPUT] plus some temporary files), if you plan to use GRML_FULL you\r
+should have at least 4GB of total free disk space\r
 </p>\r
 </li>\r
 <li>\r
 <p>\r
 fast network access for retrieving the Debian packages used for creating the\r
-chroot (check out "local mirror" and "NFSROOT" to workaround this problem as far\r
-as possible)\r
+chroot (check out "local mirror" to workaround this problem as far as possible)\r
 </p>\r
 </li>\r
 </ul></div>\r
@@ -1210,9 +1451,8 @@ as possible)
 <div class="sect1">\r
 <h2 id="current_state">12. Current state of grml-live with squashfs-tools and kernel</h2>\r
 <div class="sectionbody">\r
-<div class="paragraph"><p>Use squashfs-tools &gt;=4.2-1 (available from Grml repositories as well as from\r
-Debian/unstable) to build Grml (based) ISOs featuring kernel version\r
-2.6.38-grml[64].</p></div>\r
+<div class="paragraph"><p>Use squashfs-tools &gt;=4.2-1 to build Grml (based) ISOs featuring kernel version\r
+2.6.38-grml[64] or newer.</p></div>\r
 </div>\r
 </div>\r
 <div class="sect1">\r
@@ -1220,581 +1460,346 @@ Debian/unstable) to build Grml (based) ISOs featuring kernel version
 <div class="sectionbody">\r
 <div class="sect2">\r
 <h3 id="deploy-on-debian">13.1. How do I deploy grml-live on a plain Debian installation?</h3>\r
-<div class="paragraph"><p>The easiest way to get a running grml-live setup is to install Grml or\r
-grml-medium using grml2hd (for example inside KVM, Virtualbox, VMware,&#8230; if you\r
-don&#8217;t want to run it on a physical system). Of course using grml-live on a\r
-plain, original Debian installation is supported as well. So there we go.</p></div>\r
-<div class="paragraph"><p>What we have: plain, original Debian Lenny (5.0).</p></div>\r
-<div class="paragraph"><p>What we want: build a grml-medium ISO based on Debian/squeeze for the i386\r
-architecture using grml-live.</p></div>\r
-<div class="admonitionblock">\r
-<table><tr>\r
-<td class="icon">\r
-<img src="./images/icons/important.png" alt="Important" />\r
-</td>\r
-<td class="content">If you encounter any problems while booting the resulting ISO please be aware of\r
-<a href="#current_state">the <em>current state of grml-live with squashfs-tools and kernel</em> section</a>.</td>\r
-</tr></table>\r
-</div>\r
+<div class="paragraph"><p>The easiest way to get a running grml-live setup is to just use Grml.\r
+Of course using grml-live on a plain, original Debian installation is supported\r
+as well. So there we go.</p></div>\r
+<div class="paragraph"><p>What we have: plain, original Debian stretch (9.x).</p></div>\r
+<div class="paragraph"><p>What we want: build a Grml ISO based on Debian/stretch for the amd64 architecture\r
+using grml-live.</p></div>\r
 <div class="sect3">\r
 <h4 id="_instructions">13.1.1. Instructions</h4>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt># adjust sources.list:\r
-cat &gt;&gt; /etc/apt/sources.list &lt;&lt; EOF</tt></pre>\r
+<pre><code># adjust sources.list:\r
+cat &gt;&gt; /etc/apt/sources.list &lt;&lt; EOF</code></pre>\r
 </div></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt># grml stable repository:\r
+<pre><code># grml stable repository:\r
   deb     http://deb.grml.org/ grml-stable  main\r
-# deb-src http://deb.grml.org/ grml-stable  main</tt></pre>\r
+# deb-src http://deb.grml.org/ grml-stable  main</code></pre>\r
 </div></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt># grml testing/development repository:\r
+<pre><code># grml testing/development repository:\r
   deb     http://deb.grml.org/ grml-testing main\r
 # deb-src http://deb.grml.org/ grml-testing main\r
-EOF</tt></pre>\r
+EOF</code></pre>\r
 </div></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt># adjust apt-pinning (only prefer squashfs stuff from grml):\r
-cat &gt;&gt; /etc/apt/preferences &lt;&lt; EOF\r
-Package: *\r
-Pin: origin deb.grml.org\r
-Pin-Priority: 1</tt></pre>\r
-</div></div>\r
-<div class="literalblock">\r
-<div class="content">\r
-<pre><tt>Package: squashfs-tools\r
-Pin: origin deb.grml.org\r
-Pin-Priority: 996\r
-EOF</tt></pre>\r
-</div></div>\r
-<div class="literalblock">\r
-<div class="content">\r
-<pre><tt># get keyring for apt:\r
+<pre><code># get keyring for apt:\r
 apt-get update\r
-apt-get --allow-unauthenticated install grml-debian-keyring</tt></pre>\r
+apt-get --allow-unauthenticated install grml-debian-keyring</code></pre>\r
 </div></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt># optionally(!) install basefile so we don't have to build basic\r
+<pre><code># optionally(!) install basefile so we don't have to build basic\r
 # chroot from scratch, grab from http://daily.grml.org/\r
 # mkdir -p /etc/grml/fai/config/basefiles/\r
-# mv base.tgz /etc/grml/fai/config/basefiles/I386.tar.gz\r
-# mv base64.tgz /etc/grml/fai/config/basefiles/AMD64.tar.gz</tt></pre>\r
+# mv I386.tar.gz /etc/grml/fai/config/basefiles/\r
+# mv AMD64.tar.gz /etc/grml/fai/config/basefiles/</code></pre>\r
 </div></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt># install relevant tools\r
-# please check out http://grml.org/grml-live/#current_state when encountering problems!\r
-apt-get -o APT::Install-Recommends=false install grml-live squashfs-tools</tt></pre>\r
+<pre><code># install relevant tools\r
+apt-get --no-install-recommends install grml-live</code></pre>\r
 </div></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt># adjust grml-live configuration for our needs:\r
+<pre><code># adjust grml-live configuration for our needs:\r
 cat &gt; /etc/grml/grml-live.local &lt;&lt; EOF\r
 ## want a faster build process and don't need smaller ISOs?\r
 ## if so use zlib compression\r
 # SQUASHFS_OPTIONS="-comp gzip -b 256k"\r
 ## want to use a specific squashfs binary?\r
 # SQUASHFS_BINARY='/usr/bin/mksquashfs'\r
-# install local files into the chroot\r
-CHROOT_INSTALL="/etc/grml/fai/chroot_install"\r
-## adjust if necessary (defaults to /grml/grml-live):\r
+## install local files into the chroot\r
+CHROOT_INSTALL="/etc/grml/fai/chroot_install"\r
+## adjust if necessary (defaults to ./grml/):\r
 ## OUTPUT="/srv/grml-live"\r
-FAI_DEBOOTSTRAP="squeeze http://cdn.debian.net/debian/"\r
-ARCH="i386"\r
-CLASSES="GRMLBASE,GRML_MEDIUM,I386"\r
-# PRESERVE_LOGFILE='1'\r
-# ZERO_FAI_LOGFILE='1'\r
-GRML_LIVE_SOURCES="\r
-deb http://deb.grml.org/            grml-stable  main\r
-deb http://deb.grml.org/            grml-testing main\r
-deb http://cdn.debian.net/debian squeeze main contrib non-free\r
-"\r
-EOF</tt></pre>\r
+FAI_DEBOOTSTRAP="stretch http://ftp.debian.org/debian/"\r
+# ARCH="amd64"\r
+CLASSES="GRMLBASE,GRML_FULL,AMD64"\r
+EOF</code></pre>\r
 </div></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt># just optional(!) - upgrade FAI to latest available version:\r
-cat &gt;&gt; /etc/apt/sources.list &lt;&lt; EOF\r
-# fai:\r
-  deb http://fai-project.org/download lenny koeln\r
-EOF</tt></pre>\r
+<pre><code># just optional(!) - upgrade FAI to latest available version:\r
+cat &gt;&gt; /etc/apt/sources.list.d/fai.list &lt;&lt; EOF\r
+deb     http://jenkins.grml.org/debian fai main\r
+deb-src http://jenkins.grml.org/debian fai main\r
+EOF</code></pre>\r
 </div></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt># get gpg key of FAI repos and install current FAI version:\r
-gpg -a --recv-keys AB9B66FD; gpg -a --export AB9B66FD | apt-key add -\r
+<pre><code># get gpg key of FAI repos and install current FAI version:\r
+wget -O - http://jenkins.grml.org/debian/C525F56752D4A654.asc | sudo apt-key add -\r
 apt-get update\r
-apt-get install fai-client fai-server fai-doc</tt></pre>\r
+apt-get install fai-client fai-server fai-doc</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>That&#8217;s it. Now invoking <em>grml-live -V</em> should build the ISO.  If everything\r
 worked as expected the last line of the shell output should look like:</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>[*] Successfully finished execution of grml-live [running 687 seconds]</tt></pre>\r
+<pre><code>[*] Successfully finished execution of grml-live [running 687 seconds]</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>and the ISO can be found inside /grml-live/grml-live/grml_isos/ then.</p></div>\r
 </div>\r
 </div>\r
 <div class="sect2">\r
-<h3 id="fai-on-etch">13.2. Help, I&#8217;m using Debian etch and I don&#8217;t have FAI version &gt;3.2</h3>\r
-<div class="literalblock">\r
-<div class="content">\r
-<pre><tt>wget http://fai-project.org/download/etch/fai-client_3.2.8_all.deb \\r
-     http://fai-project.org/download/etch/fai-server_3.2.8_all.deb \\r
-     http://fai-project.org/download/etch/fai-doc_3.2.8_all.deb\r
-dpkg -i fai-client_3.2.8_all.deb fai-server_3.2.8_all.deb fai-doc_3.2.8_all.deb</tt></pre>\r
-</div></div>\r
-<div class="paragraph"><p>or check out the <a href="http://fai-project.org/">FAI-homepage</a> for\r
-further details.</p></div>\r
+<h3 id="grml_fai_config_variable">13.2. What is $GRML_FAI_CONFIG?</h3>\r
+<div class="paragraph"><p>The variable <em>$GRML_FAI_CONFIG</em> is pointing to the directory /etc/grml/fai by\r
+default.  To provide you a maximum of flexibility you can set up your own\r
+configuration directory (e.g. based on /etc/grml/fai) and use this directory\r
+running grml-live with the <em>-D &lt;config_dir&gt;</em> option. Now <em>$GRML_FAI_CONFIG</em>\r
+points to the specified directory instead of using /etc/grml/fai and all the\r
+configuration files, scripts and hooks will be taken from your\r
+<em>$GRML_FAI_CONFIG</em> directory.</p></div>\r
 </div>\r
 <div class="sect2">\r
 <h3 id="how-to-debug">13.3. I&#8217;ve problems with the build process. How to start debugging?</h3>\r
-<div class="paragraph"><p>Check out the logs inside /var/log/fai/&#8230; If you think it&#8217;s a bug in grml-live\r
-send a copy of your config, logs and the commandline with a short problem\r
-description to &lt;<a href="mailto:mika@grml.org">mika@grml.org</a>&gt;:</p></div>\r
-<div class="literalblock">\r
-<div class="content">\r
-<pre><tt># history | grep grml-live &gt; /etc/grml/grml_live.cmdline\r
-# tar zcf grml_live_problem.tar.gz /etc/grml/grml-live.conf \\r
-          /etc/grml/grml_live.cmdline /etc/grml/grml-buildd.conf \\r
-          /var/log/fai /etc/grml/fai\r
--&gt; finally mail grml_live_problem.tar.gz to &lt;mika@grml.org&gt;</tt></pre>\r
-</div></div>\r
+<div class="paragraph"><p>Check out the logs inside the directory <em>grml_logs</em> next to your grml_chroot,\r
+grml_isos,&#8230; directories.</p></div>\r
 <div class="paragraph"><p>If you need help with grml-live or would like to see new features as part of\r
 grml-live you can get commercial support via\r
 <a href="http://grml-solutions.com/">Grml Solutions</a>.</p></div>\r
 </div>\r
 <div class="sect2">\r
-<h3 id="lzma-vs-zlib">13.4. How much is the difference between LZMA and ZLIB compression?</h3>\r
-<div class="paragraph"><p>ISO size (bs = blocksize):</p></div>\r
-<div class="tableblock">\r
-<table rules="all"\r
-width="45%"\r
-frame="border"\r
-cellspacing="0" cellpadding="4">\r
-<col width="42%" />\r
-<col width="28%" />\r
-<col width="28%" />\r
-<tbody>\r
-<tr>\r
-<td align="left" valign="top"><p class="table">ISO</p></td>\r
-<td align="center" valign="top"><p class="table">LZMA (256kB bs)</p></td>\r
-<td align="center" valign="top"><p class="table">ZLIB</p></td>\r
-</tr>\r
-<tr>\r
-<td align="left" valign="top"><p class="table">grml_sid</p></td>\r
-<td align="center" valign="top"><p class="table">666M</p></td>\r
-<td align="center" valign="top"><p class="table">771M</p></td>\r
-</tr>\r
-<tr>\r
-<td align="left" valign="top"><p class="table">grml_squeeze</p></td>\r
-<td align="center" valign="top"><p class="table">659M</p></td>\r
-<td align="center" valign="top"><p class="table">761M</p></td>\r
-</tr>\r
-<tr>\r
-<td align="left" valign="top"><p class="table">grml_lenny</p></td>\r
-<td align="center" valign="top"><p class="table">624M</p></td>\r
-<td align="center" valign="top"><p class="table">723M</p></td>\r
-</tr>\r
-<tr>\r
-<td align="left" valign="top"><p class="table">grml64_sid</p></td>\r
-<td align="center" valign="top"><p class="table">677M</p></td>\r
-<td align="center" valign="top"><p class="table">791M</p></td>\r
-</tr>\r
-<tr>\r
-<td align="left" valign="top"><p class="table">grml64_squeeze</p></td>\r
-<td align="center" valign="top"><p class="table">671M</p></td>\r
-<td align="center" valign="top"><p class="table">785M</p></td>\r
-</tr>\r
-<tr>\r
-<td align="left" valign="top"><p class="table">grml64_lenny</p></td>\r
-<td align="center" valign="top"><p class="table">639M</p></td>\r
-<td align="center" valign="top"><p class="table">745M</p></td>\r
-</tr>\r
-<tr>\r
-<td align="left" valign="top"><p class="table">grml-medium_sid</p></td>\r
-<td align="center" valign="top"><p class="table">208M</p></td>\r
-<td align="center" valign="top"><p class="table">236M</p></td>\r
-</tr>\r
-<tr>\r
-<td align="left" valign="top"><p class="table">grml-medium_squeeze</p></td>\r
-<td align="center" valign="top"><p class="table">206M</p></td>\r
-<td align="center" valign="top"><p class="table">234M</p></td>\r
-</tr>\r
-<tr>\r
-<td align="left" valign="top"><p class="table">grml-medium_lenny</p></td>\r
-<td align="center" valign="top"><p class="table">193M</p></td>\r
-<td align="center" valign="top"><p class="table">220M</p></td>\r
-</tr>\r
-<tr>\r
-<td align="left" valign="top"><p class="table">grml64-medium_sid</p></td>\r
-<td align="center" valign="top"><p class="table">213M</p></td>\r
-<td align="center" valign="top"><p class="table">245M</p></td>\r
-</tr>\r
-<tr>\r
-<td align="left" valign="top"><p class="table">grml64-medium_squeeze</p></td>\r
-<td align="center" valign="top"><p class="table">213M</p></td>\r
-<td align="center" valign="top"><p class="table">244M</p></td>\r
-</tr>\r
-<tr>\r
-<td align="left" valign="top"><p class="table">grml64-medium_lenny</p></td>\r
-<td align="center" valign="top"><p class="table">201M</p></td>\r
-<td align="center" valign="top"><p class="table">231M</p></td>\r
-</tr>\r
-<tr>\r
-<td align="left" valign="top"><p class="table">grml-small_sid</p></td>\r
-<td align="center" valign="top"><p class="table">102M</p></td>\r
-<td align="center" valign="top"><p class="table">118M</p></td>\r
-</tr>\r
-<tr>\r
-<td align="left" valign="top"><p class="table">grml-small_squeeze</p></td>\r
-<td align="center" valign="top"><p class="table">101M</p></td>\r
-<td align="center" valign="top"><p class="table">117M</p></td>\r
-</tr>\r
-<tr>\r
-<td align="left" valign="top"><p class="table">grml-small_lenny</p></td>\r
-<td align="center" valign="top"><p class="table">97M</p></td>\r
-<td align="center" valign="top"><p class="table">112M</p></td>\r
-</tr>\r
-<tr>\r
-<td align="left" valign="top"><p class="table">grml64-small_sid</p></td>\r
-<td align="center" valign="top"><p class="table">103M</p></td>\r
-<td align="center" valign="top"><p class="table">120M</p></td>\r
-</tr>\r
-<tr>\r
-<td align="left" valign="top"><p class="table">grml64-small_squeeze</p></td>\r
-<td align="center" valign="top"><p class="table">103M</p></td>\r
-<td align="center" valign="top"><p class="table">120M</p></td>\r
-</tr>\r
-<tr>\r
-<td align="left" valign="top"><p class="table">grml64-small_lenny</p></td>\r
-<td align="center" valign="top"><p class="table">99M</p></td>\r
-<td align="center" valign="top"><p class="table">116M</p></td>\r
-</tr>\r
-</tbody>\r
-</table>\r
-</div>\r
-<div class="paragraph"><p>Build time of grml-medium&#8217;s squashfs file (depends on your system, though just\r
-to get the ratio between the different options):</p></div>\r
-<div class="ulist"><ul>\r
-<li>\r
-<p>\r
-10 minutes and 4 seconds with LZMA default blocksize (128k)\r
-</p>\r
-</li>\r
-<li>\r
-<p>\r
-7 minutes 27 seconds with LZMA and blocksize 256k\r
-</p>\r
-</li>\r
-<li>\r
-<p>\r
-6 minutes and 8 seconds with LZMA blocksize 512k\r
-</p>\r
-</li>\r
-<li>\r
-<p>\r
-1 minute and 40 seconds with ZLIB\r
-</p>\r
-</li>\r
-</ul></div>\r
-</div>\r
-<div class="sect2">\r
-<h3 id="install-local-files">13.5. How do I install further files into the chroot/ISO?</h3>\r
+<h3 id="install-local-files">13.4. How do I install further files into the chroot/ISO?</h3>\r
 <div class="paragraph"><p>Just point the configuration variable CHROOT_INSTALL to the directory which\r
 provides the files you would like to install. Note that the files are installed\r
 under <em>/</em> in the chroot - so you have to create the rootfs structure on your\r
 own. Usage example:</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>echo "CHROOT_INSTALL=\$GRML_FAI_CONFIG/chroot_install" &gt;&gt; /etc/grml/grml-live.local\r
+<pre><code>echo "CHROOT_INSTALL=\$GRML_FAI_CONFIG/chroot_install" &gt;&gt; /etc/grml/grml-live.local\r
 mkdir -p /etc/grml/fai/chroot_install/usr/src/\r
 wget example.org/foo.tar.gz\r
 mv foo.tar.gz /etc/grml/fai/chroot_install/usr/src/\r
-grml-live ...</tt></pre>\r
+grml-live ...</code></pre>\r
 </div></div>\r
 </div>\r
 <div class="sect2">\r
-<h3 id="local-debian-mirror">13.6. Can I use my own (local) Debian mirror?</h3>\r
-<div class="paragraph"><p>Sure. Just adjust the variables GRML_LIVE_SOURCES and FAI_DEBOOTSTRAP (if not\r
-already using NFSROOT&#8217;s base.tgz) inside /etc/grml/grml-live.conf according to\r
-your needs. Please don&#8217;t forget that you should use the grml servers as well\r
-(see default configuration) so all the grml packages can be downloaded as well.</p></div>\r
-<div class="paragraph"><p>If you want to use a local (for example NFS mount) mirror additionally, just\r
-adjust MIRROR_DIRECTORY and MIRROR_SOURCES inside /etc/grml/grml-live.conf as\r
-well.</p></div>\r
-<div class="paragraph"><p>Unless you specify GRML_LIVE_SOURCES and/or FAI_DEBOOTSTRAP the default from\r
-/etc/grml/fai/apt/sources.list and /etc/grml/fai/make-fai-nfsroot.conf will be\r
-taken. If you customise the variables in /etc/grml/grml-live.conf then the two\r
-files will be adjusted during runtime automatically.</p></div>\r
-<div class="paragraph"><p>If MIRROR_DIRECTORY and MIRROR_SOURCES are specified the local mirror will be\r
-taken as first entry in the generated sources.list so it&#8217;s preferred over\r
-non-local mirrors. Using a fallback mirror (via providing several mirrors in\r
-GRML_LIVE_SOURCES as used by default) is a recommended setting.</p></div>\r
+<h3 id="local-debian-mirror">13.5. Can I use my own (local) Debian mirror?</h3>\r
+<div class="paragraph"><p>Yes. Set up an according sources.list configuration as class file in\r
+FAI_DEBOOTSTRAP (if not already using a base.tgz) inside\r
+/etc/grml/grml-live.conf[.local]. If you&#8217;re setting up your own class file don&#8217;t\r
+forget to include the class name in the class list (grml-live -c &#8230;).</p></div>\r
+<div class="paragraph"><p>If you want to use a local (for example NFS mount) mirror additionally then\r
+adjust MIRROR_DIRECTORY in /etc/grml/grml-live.conf[.local] as well.</p></div>\r
+<div class="paragraph"><p>If you want to use a HTTP Proxy (like apt-cacher-ng), set APT_PROXY. Example:</p></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><code>APT_PROXY="http://localhost:3142/"</code></pre>\r
+</div></div>\r
 </div>\r
 <div class="sect2">\r
-<h3 id="add-additional-debian-packages">13.7. How do I add additional Debian package(s) to my CD/ISO?</h3>\r
+<h3 id="add-additional-debian-packages">13.6. How do I add additional Debian package(s) to my CD/ISO?</h3>\r
 <div class="paragraph"><p>Just create a new class (using the package_config directory):</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt># cat &gt; /etc/grml/fai/config/package_config/MIKA &lt;&lt; EOF\r
-PACKAGES aptitude</tt></pre>\r
+<pre><code># cat &gt; /etc/grml/fai/config/package_config/MIKA &lt;&lt; EOF\r
+PACKAGES install</code></pre>\r
 </div></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>vim\r
+<pre><code>vim\r
 another_name_of_a_debian_package\r
 and_another_one\r
-EOF</tt></pre>\r
+EOF</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>and specify it when invoking grml-live then:</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt># grml-live -c GRMLBASE,GRML_SMALL,I386,MIKA</tt></pre>\r
+<pre><code># grml-live -c GRMLBASE,GRML_SMALL,AMD64,MIKA</code></pre>\r
 </div></div>\r
 </div>\r
 <div class="sect2">\r
-<h3 id="reset-grml-live-configuration">13.8. I fscked up my grml-live configuration. How do I reset it to the defaults?</h3>\r
+<h3 id="reset-grml-live-configuration">13.7. I fscked up my grml-live configuration. How do I reset it to the defaults?</h3>\r
 <div class="paragraph"><p>Notice: this deletes all your grml-live configuration files. If that&#8217;s really\r
 what you are searching for just run:</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>rm -rf /etc/grml/fai /etc/grml/grml-live.conf\r
-dpkg -i --force-confnew --force-confmiss /path/to/grml-live_..._all.deb</tt></pre>\r
-</div></div>\r
-<div class="admonitionblock">\r
-<table><tr>\r
-<td class="icon">\r
-<img src="./images/icons/note.png" alt="Note" />\r
-</td>\r
-<td class="content">If you don&#8217;t control your /etc using a version control system (VCS) yet it&#8217;s a\r
-good chance to start using it now. Check out\r
-<a href="http://michael-prokop.at/blog/2007/03/14/maintain-etc-with-mercurial-on-debian/">http://michael-prokop.at/blog/2007/03/14/maintain-etc-with-mercurial-on-debian/</a>\r
-for more details how to maintain /etc using the mercurial VCS.</td>\r
-</tr></table>\r
-</div>\r
-</div>\r
-<div class="sect2">\r
-<h3 id="create-a-base-tgz">13.9. How do I create a base.tgz for use as NFSROOT?</h3>\r
-<div class="paragraph"><p>First of all build the chroot system:</p></div>\r
-<div class="literalblock">\r
-<div class="content">\r
-<pre><tt>mkdir /tmp/nfsroot &amp;&amp; cd /tmp/nfsroot\r
-debootstrap squeeze /tmp/nfsroot/ http://cdn.debian.net/debian\r
-tar zcf base.tgz ./</tt></pre>\r
-</div></div>\r
-<div class="paragraph"><p>Then check out where your NFSROOT is located:</p></div>\r
-<div class="literalblock">\r
-<div class="content">\r
-<pre><tt># grep '^NFSROOT' /etc/grml/fai/make-fai-nfsroot.conf\r
-NFSROOT=/grml/fai/nfsroot</tt></pre>\r
-</div></div>\r
-<div class="paragraph"><p>So as /grml/fai/nfsroot is your NFSROOT place the file under\r
-/grml/fai/nfsroot/live/filesystem.dir/var/tmp/:</p></div>\r
-<div class="literalblock">\r
-<div class="content">\r
-<pre><tt>mv base.tgz /grml/fai/nfsroot/live/filesystem.dir/var/tmp/base.tgz</tt></pre>\r
-</div></div>\r
-<div class="paragraph"><p>or even better use /etc/grml/fai/config/basefiles/$CLASSNAME.tar.gz instead.\r
-Use I386 as $CLASSNAME for i386 builds and AMD64 for amd64 builds.</p></div>\r
-<div class="paragraph"><p>Now running "grml-live &#8230;" will use this file as main system instead of\r
-executing debootstrap. Check out the output for the following lines if using\r
-NFSROOT:</p></div>\r
-<div class="literalblock">\r
-<div class="content">\r
-<pre><tt>[...]\r
-Calling task_extrbase\r
-Unpacking Debian base archive\r
-Extracting /grml/fai/nfsroot/live/filesystem.dir/var/tmp/base.tgz\r
-Calling task_mirror\r
-[...]</tt></pre>\r
-</div></div>\r
-<div class="paragraph"><p>or if using /etc/grml/fai/config/basefiles/$CLASSNAME.tar.gz for:</p></div>\r
-<div class="literalblock">\r
-<div class="content">\r
-<pre><tt>[...]\r
-ftar: extracting /etc/grml/fai/config/basefiles///AMD64.tar.gz to\r
-/grml-live/grml-live_20071029.22138/grml_chroot//\r
-[...]</tt></pre>\r
-</div></div>\r
-<div class="admonitionblock">\r
-<table><tr>\r
-<td class="icon">\r
-<img src="./images/icons/tip.png" alt="Tip" />\r
-</td>\r
-<td class="content">Existing base.tgz can be found at <a href="http://daily.grml.org/">http://daily.grml.org/</a></td>\r
-</tr></table>\r
-</div>\r
-</div>\r
-<div class="sect2">\r
-<h3 id="apt-cacher">13.10. Set up apt-cacher / apt-cacher-ng for use with grml-live</h3>\r
-<div class="paragraph"><p>Make sure /etc/grml/grml-live.conf provides according GRML_LIVE_SOURCES and\r
-FAI_DEBOOTSTRAP:</p></div>\r
-<div class="literalblock">\r
-<div class="content">\r
-<pre><tt># cat /etc/grml/grml-live.conf\r
-[...]\r
-GRML_LIVE_SOURCES="\r
-deb http://localhost:3142/deb.grml.org grml-stable  main\r
-deb http://localhost:3142/deb.grml.org grml-testing main\r
-deb http://localhost:3142/cdn.debian.net/debian squeeze main contrib non-free\r
-"\r
-[...]\r
-FAI_DEBOOTSTRAP="squeeze http://localhost:3142/cdn.debian.net/debian squeeze main contrib non-free"</tt></pre>\r
+<pre><code>rm -rf /etc/grml/fai /etc/grml/grml-live.conf\r
+dpkg -i --force-confnew --force-confmiss /path/to/grml-live_..._all.deb</code></pre>\r
 </div></div>\r
-<div class="paragraph"><p>Make sure apt-cacher / apt-cacher-ng is running (<em>/etc/init.d/apt-cacher\r
-restart</em> or <em>/etc/init.d/apt-cacher-ng restart</em>). That&#8217;s it.  All downloaded\r
-files will be cached in /var/cache/apt-cacher/ or /var/cache/apt-cacher-ng then.</p></div>\r
 </div>\r
 <div class="sect2">\r
-<h3 id="approx">13.11. Set up approx for use with grml-live</h3>\r
-<div class="paragraph"><p>Make sure /etc/grml/grml-live.conf provides according GRML_LIVE_SOURCES and\r
+<h3 id="apt-cacher">13.8. Set up apt-cacher-ng for use with grml-live</h3>\r
+<div class="paragraph"><p>Make sure /etc/grml/grml-live.local provides according APT_PROXY and\r
 FAI_DEBOOTSTRAP:</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt># cat /etc/grml/grml-live.conf\r
+<pre><code># cat /etc/grml/grml-live.local\r
 [...]\r
-GRML_LIVE_SOURCES="\r
-deb http://localhost:9999/grml            grml-stable  main\r
-deb http://localhost:9999/grml            grml-testing main\r
-deb http://localhost:9999/debian squeeze  main contrib non-free\r
-"\r
-FAI_DEBOOTSTRAP="squeeze http://localhost:9999/debian"</tt></pre>\r
-</div></div>\r
-<div class="paragraph"><p>Configure approx:</p></div>\r
-<div class="literalblock">\r
-<div class="content">\r
-<pre><tt># cat /etc/approx/approx.conf\r
+APT_PROXY="http://localhost:3142/"\r
 [...]\r
-debian http://ftp.at.debian.org/debian\r
-grml   http://deb.grml.org/</tt></pre>\r
+FAI_DEBOOTSTRAP="stretch http://localhost:3142/ftp.debian.org/debian stretch main contrib non-free"</code></pre>\r
 </div></div>\r
-<div class="paragraph"><p>Don&#8217;t forget to restart approx (/etc/init.d/approx restart). That&#8217;s it.\r
-All downloaded files will be cached in /var/cache/approx now.</p></div>\r
+<div class="paragraph"><p>Make sure apt-cacher-ng is running (<em>/etc/init.d/apt-cacher-ng restart</em>).\r
+That&#8217;s it.  All downloaded files will be cached in /var/cache/apt-cacher-ng then.</p></div>\r
 </div>\r
 <div class="sect2">\r
-<h3 id="revert_manifold">13.12. How do I revert the manifold feature from an ISO?</h3>\r
-<div class="paragraph"><p>The so called manifold feature Grml ISOs use by default allows to use the same\r
+<h3 id="revert_manifold">13.9. How do I revert the manifold feature from an ISO?</h3>\r
+<div class="paragraph"><p>The so called manifold feature Grml ISOs use by default allows one to use the same\r
 ISO for CD boot and USB boot. If you notice any problems when booting just\r
 revert the manifold feature running:</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>% dd if=/dev/zero of=grml.iso bs=512 count=1 conv=notrunc</tt></pre>\r
+<pre><code>% dd if=/dev/zero of=grml.iso bs=512 count=1 conv=notrunc</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>To switch from manifold to isohybrid mode (an alternative approach provided by\r
 syslinux) then just execute:</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>% isohybrid grml.iso</tt></pre>\r
+<pre><code>% isohybrid grml.iso</code></pre>\r
 </div></div>\r
 </div>\r
 <div class="sect2">\r
-<h3 id="basetgz">13.13. How do I create a base tar.gz (I386.tar.gz or AMD64.tar.gz)</h3>\r
-<div class="paragraph"><p>Execute the following commands (requires root):</p></div>\r
+<h3 id="create-a-base-tgz">13.10. How do I create a base tar.gz (I386.tar.gz or AMD64.tar.gz)</h3>\r
+<div class="paragraph" id="basetgz"><p>First of all create the chroot using debootstrap (requires root):</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>ARCH='amd64' # replace with i386 if necessary\r
-SUITE='squeeze' # using the current stable release should always work\r
-debootstrap --arch "$ARCH" --exclude=info,tasksel,tasksel-data "$SUITE" "$ARCH" http://debian.netcologne.de/debian\r
-cd "$ARCH"\r
-rm var/cache/apt/archives/*.deb\r
-tar zcf ../"${ARCH}".tar.gz *</tt></pre>\r
+<pre><code>BASECHROOT='/tmp/basefile'  # path where the chroot gets generated\r
+SUITE='stretch'              # using the current stable release should always work\r
+debootstrap --exclude=info,tasksel,tasksel-data "$SUITE" "$BASECHROOT" http://ftp.debian.org/debian\r
+tar -C "$BASECHROOT" --exclude='var/cache/apt/archives/*.deb' -zcf "${SUITE}".tar.gz ./</code></pre>\r
 </div></div>\r
-<div class="paragraph"><p>And finally place the generated tarball in /etc/grml/fai/config/basefiles/ (note\r
-that it needs to be uppercase letters matching the class names, so: AMD64.tar.gz\r
-for amd64 and I386.tar.gz for i386).</p></div>\r
+<div class="admonitionblock">\r
+<table><tr>\r
+<td class="icon">\r
+<img src="./images/icons/tip.png" alt="Tip" />\r
+</td>\r
+<td class="content">By default debootstrap builds a chroot matching the architecture of the running\r
+host system. If you&#8217;re using an amd64 system and want to build an i386 base.tgz\r
+then invoke debootstrap using the <em>--arch i386</em> option. Disclaimer: building an\r
+AMD64 base.tgz won&#8217;t work if you are using a 32bit kernel system of course.</td>\r
+</tr></table>\r
 </div>\r
-<div class="sect2">\r
-<h3 id="autobuild">13.14. How do I set up an autobuild environment?</h3>\r
-<div class="paragraph"><p>If you want to set up a system like <a href="http://daily.grml.org/">daily.grml.org</a>\r
-the Debian package grml-live-buildd provides all you need to start. Start with\r
-figuring out the cron job script /usr/share/grml-live/buildd/cronjob.sh.</p></div>\r
-<div class="paragraph"><p>If you want to automatically update the grml-live Debian package on your build\r
-system based on the git tree of grml-live (so you get bleeding edge of\r
-development which might is interesting for services like daily.grml.org) the\r
-provided release_helper.sh script provides everything you need. Execute as root:</p></div>\r
+<div class="paragraph"><p>Finally place the generated tarball in /etc/grml/fai/config/basefiles/ (note\r
+that it needs to be uppercase letters matching the class names, so: e.g.\r
+AMD64.tar.gz for amd64 and I386.tar.gz for i386).</p></div>\r
+<div class="paragraph"><p>Then executing grml-live should use this file as base system instead of executing\r
+debootstrap. Check out the output for something like:</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>echo "deb file:/home/grml-live-git/grml-live.build-area/ ./" &gt;&gt; /etc/apt/sources.list.d/grml-live.list\r
-adduser --disabled-login --disabled-password grml-live-git</tt></pre>\r
+<pre><code>[...]\r
+ftar: extracting //etc/grml/fai/config/basefiles///AMD64.tar.gz to /srv/grml64_testing/grml_chroot//\r
+[...]</code></pre>\r
 </div></div>\r
-<div class="paragraph"><p>Execute <em>visudo</em> to update sudo configuration and add the following line:</p></div>\r
+</div>\r
+<div class="sect2">\r
+<h3 id="localrepos">13.11. How to use your own local repository</h3>\r
+<div class="paragraph"><p>Let&#8217;s assume you have Debian package(s) in your filesystem inside\r
+<code>/home/foobar/local-packages</code> and want to provide them to your grml-live build.\r
+This can be achieved either 1) through a bind mount (using the MIRROR_DIRECTORY\r
+configuration) or 2) by serving a repository via HTTP.</p></div>\r
+<div class="sect3">\r
+<h4 id="_serving_via_bind_mount_mirror_directory">13.11.1. Serving via bind mount / MIRROR_DIRECTORY</h4>\r
+<div class="paragraph"><p>Make sure to create an according sources.list configuration file, e.g. using\r
+your own class name <code>CUSTOM</code>:</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>grml-live-git ALL=NOPASSWD: /usr/bin/apt-get</tt></pre>\r
+<pre><code># cat &gt; /etc/grml/fai/config/files/etc/apt/sources.list.d/local-packages.list/CUSTOM &lt;&lt; EOF\r
+deb file:///home/foobar/local-packages ./\r
+EOF</code></pre>\r
 </div></div>\r
-<div class="paragraph"><p>Switch to user grml-live-git and configure the rest:</p></div>\r
+<div class="paragraph"><p>Add the according MIRROR_DIRECTORY configuration to your grml-live configuration:</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>su - grml-live-git\r
-mkdir grml-live.build-area\r
-git clone git://git.grml.org/grml-live.git\r
-git config --global user.name "Grml-Live Git Autobuild"\r
-git config --global user.email "grml-live-git@$(hostname)"</tt></pre>\r
+<pre><code># echo "MIRROR_DIRECTORY='/home/foobar/packages'" &gt;&gt; /etc/grml/grml-live.local</code></pre>\r
 </div></div>\r
-<div class="paragraph"><p>Finally install a cron job (as user grml-live-git) like:</p></div>\r
+<div class="paragraph"><p>Make sure the local directory looks like a mirror:</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>30 00 * * * cd /home/grml-live-git/grml-live.git/ &amp;&amp; env AUTOBUILD=1 scripts/release_helper.sh &gt;/home/grml-live-git/grml-live-build.log</tt></pre>\r
+<pre><code>% cd /home/foobar/packages\r
+% dpkg-scanpackages . /dev/null | gzip &gt; Packages.gz</code></pre>\r
 </div></div>\r
-<div class="paragraph"><p>Tip: To find out the build date of the installed grml-live package just execute:</p></div>\r
+<div class="paragraph"><p>Finally invoke grml-live with your class name (<code>CUSTOM</code> in this example) added\r
+to the list of classes on the command line (see grml-live option <code>-c</code>).</p></div>\r
+</div>\r
+<div class="sect3">\r
+<h4 id="_serving_a_repository_via_http">13.11.2. Serving a repository via HTTP</h4>\r
+<div class="paragraph"><p>Make sure to create an according sources.list configuration file, e.g. using\r
+your own class name <code>CUSTOM</code>:</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>% apt-cache policy grml-live | grep 'Installed.*autobuild'\r
- Installed: 0.13.1~autobuild1300450381</tt></pre>\r
+<pre><code># cat &gt; /etc/grml/fai/config/files/etc/apt/sources.list.d/local-packages.list/CUSTOM &lt;&lt; EOF\r
+deb http://127.0.0.1:8000/ ./\r
+EOF</code></pre>\r
 </div></div>\r
-<div class="paragraph"><p>and run "date -ud @$STRING" where $STRING is the number behind the "autobuild",\r
-like:</p></div>\r
+<div class="paragraph"><p>Make sure the local directory is served via HTTP on the according IP address and\r
+port. For the <code>http://127.0.0.1:8000/</code> example from above it should be enough to\r
+just invoke:</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>% date -ud @1300450081\r
-Fri Mar 18 12:08:01 UTC 2011</tt></pre>\r
+<pre><code>% cd /home/foobar/packages\r
+% dpkg-scanpackages . /dev/null | gzip &gt; Packages.gz\r
+% python -m SimpleHTTPServer 8000</code></pre>\r
 </div></div>\r
+<div class="admonitionblock">\r
+<table><tr>\r
+<td class="icon">\r
+<img src="./images/icons/tip.png" alt="Tip" />\r
+</td>\r
+<td class="content">Of course you can also use a real Debian repository setup using tools like\r
+reprepro(1) and/or using a real web server, though for quick debugging sessions\r
+python&#8217;s SimpleHTTPServer in combination with dpkg-scanpackages from package\r
+dpkg-dev is a simple and easy approach.</td>\r
+</tr></table>\r
+</div>\r
+<div class="paragraph"><p>Finally invoke grml-live with your class name (<code>CUSTOM</code> in this example) added\r
+to the list of classes on the command line (see grml-live option <code>-c</code>).</p></div>\r
 </div>\r
-<div class="sect2">\r
-<h3 id="question">13.15. I&#8217;ve a question which isn&#8217;t answered by this document</h3>\r
-<div class="paragraph"><p>Don&#8217;t hesitate to contact the author: &lt;<a href="mailto:mika@grml.org">mika@grml.org</a>&gt;</p></div>\r
 </div>\r
 </div>\r
 </div>\r
 <div class="sect1">\r
 <h2 id="download">14. Download / install grml-live as a Debian package</h2>\r
 <div class="sectionbody">\r
-<div class="paragraph"><p>Debian packages are available through the grml-repository at\r
-<a href="http://deb.grml.org/pool/main/g/grml-live/">deb.grml.org</a>.  If you want to\r
-build a Debian package on your own (using for example a specific version or the\r
-current development tree), just execute:</p></div>\r
+<div class="paragraph"><p>Stable Debian packages are available through the grml-repository at\r
+<a href="http://deb.grml.org/pool/main/g/grml-live/">deb.grml.org</a> and the latest\r
+Git commits are available as Debian packages from\r
+<a href="http://jenkins.grml.org/job/grml-live-binaries/">jenkins.grml.org</a>.\r
+If you want to build a Debian package on your own (using for example a specific\r
+version or the current development tree), just execute:</p></div>\r
 <div class="literalblock">\r
 <div class="content">\r
-<pre><tt>git clone git://git.grml.org/grml-live\r
+<pre><code>git clone git://git.grml.org/grml-live\r
 cd grml-live\r
-debuild -us -uc</tt></pre>\r
+debuild -us -uc</code></pre>\r
 </div></div>\r
 </div>\r
 </div>\r
 <div class="sect1">\r
-<h2 id="source">15. Source</h2>\r
+<h2 id="run-from-git">15. Run grml-live directly from git</h2>\r
 <div class="sectionbody">\r
-<div class="paragraph"><p>The source of grml-live is available at\r
-<a href="http://git.grml.org/?p=grml-live.git">http://git.grml.org/?p=grml-live.git</a></p></div>\r
+<div class="paragraph"><p>In case you want to run grml-live directly from the git repository checkout\r
+(after making sure all dependencies are installed), you should set\r
+<code>GRML_FAI_CONFIG</code> so that a) it finds the according FAI configuration files and\r
+b) does not use the config files of an possibly installed <code>grml-live</code> package.\r
+Usage example:</p></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><code># export GRML_FAI_CONFIG=$(pwd)/etc/grml/fai\r
+# export SCRIPTS_DIRECTORY=$(pwd)/scripts\r
+# ./grml-live -s sid -a amd64 -c GRMLBASE,GRML_FULL,AMD64</code></pre>\r
+</div></div>\r
 </div>\r
 </div>\r
 <div class="sect1">\r
-<h2 id="todo-list">16. TODO list</h2>\r
+<h2 id="source">16. Source</h2>\r
 <div class="sectionbody">\r
-<div class="paragraph"><p>Check out the <a href="http://git.grml.org/?p=grml-live.git;a=blob;f=TODO;hb=HEAD">TODO file</a>.</p></div>\r
+<div class="paragraph"><p>The source of grml-live is available at\r
+<a href="https://github.com/grml/grml-live/">https://github.com/grml/grml-live/</a></p></div>\r
 </div>\r
 </div>\r
 <div class="sect1">\r
 <h2 id="bugs">17. Bugs</h2>\r
 <div class="sectionbody">\r
 <div class="paragraph"><p>Please report feedback, <a href="http://grml.org/bugs/">bugreports</a> and wishes\r
-<a href="http://grml.org/contact/">to the grml-team</a>!</p></div>\r
+<a href="http://grml.org/contact/">to the Grml team</a>!</p></div>\r
 </div>\r
 </div>\r
 <div class="sect1">\r
@@ -1827,7 +1832,8 @@ in different formats:</p></div>
 <div id="footnotes"><hr /></div>\r
 <div id="footer">\r
 <div id="footer-text">\r
-Last updated 2011-03-18 13:51:07 CET\r
+Last updated\r
+ 2018-10-25 14:47:41 UTC\r
 </div>\r
 </div>\r
 </body>\r