Update grml-debootstrap website to latest grml-debootstrap.git state
[grml.org.git] / grml-debootstrap / index.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"\r
2     "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">\r
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">\r
4 <head>\r
5 <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />\r
6 <meta name="generator" content="AsciiDoc 8.6.9" />\r
7 <title>grml-debootstrap(8)</title>\r
8 <style type="text/css">\r
9 /* Shared CSS for AsciiDoc xhtml11 and html5 backends */\r
10 \r
11 /* Default font. */\r
12 body {\r
13   font-family: Georgia,serif;\r
14 }\r
15 \r
16 /* Title font. */\r
17 h1, h2, h3, h4, h5, h6,\r
18 div.title, caption.title,\r
19 thead, p.table.header,\r
20 #toctitle,\r
21 #author, #revnumber, #revdate, #revremark,\r
22 #footer {\r
23   font-family: Arial,Helvetica,sans-serif;\r
24 }\r
25 \r
26 body {\r
27   margin: 1em 5% 1em 5%;\r
28 }\r
29 \r
30 a {\r
31   color: blue;\r
32   text-decoration: underline;\r
33 }\r
34 a:visited {\r
35   color: fuchsia;\r
36 }\r
37 \r
38 em {\r
39   font-style: italic;\r
40   color: navy;\r
41 }\r
42 \r
43 strong {\r
44   font-weight: bold;\r
45   color: #083194;\r
46 }\r
47 \r
48 h1, h2, h3, h4, h5, h6 {\r
49   color: #527bbd;\r
50   margin-top: 1.2em;\r
51   margin-bottom: 0.5em;\r
52   line-height: 1.3;\r
53 }\r
54 \r
55 h1, h2, h3 {\r
56   border-bottom: 2px solid silver;\r
57 }\r
58 h2 {\r
59   padding-top: 0.5em;\r
60 }\r
61 h3 {\r
62   float: left;\r
63 }\r
64 h3 + * {\r
65   clear: left;\r
66 }\r
67 h5 {\r
68   font-size: 1.0em;\r
69 }\r
70 \r
71 div.sectionbody {\r
72   margin-left: 0;\r
73 }\r
74 \r
75 hr {\r
76   border: 1px solid silver;\r
77 }\r
78 \r
79 p {\r
80   margin-top: 0.5em;\r
81   margin-bottom: 0.5em;\r
82 }\r
83 \r
84 ul, ol, li > p {\r
85   margin-top: 0;\r
86 }\r
87 ul > li     { color: #aaa; }\r
88 ul > li > * { color: black; }\r
89 \r
90 .monospaced, code, pre {\r
91   font-family: "Courier New", Courier, monospace;\r
92   font-size: inherit;\r
93   color: navy;\r
94   padding: 0;\r
95   margin: 0;\r
96 }\r
97 pre {\r
98   white-space: pre-wrap;\r
99 }\r
100 \r
101 #author {\r
102   color: #527bbd;\r
103   font-weight: bold;\r
104   font-size: 1.1em;\r
105 }\r
106 #email {\r
107 }\r
108 #revnumber, #revdate, #revremark {\r
109 }\r
110 \r
111 #footer {\r
112   font-size: small;\r
113   border-top: 2px solid silver;\r
114   padding-top: 0.5em;\r
115   margin-top: 4.0em;\r
116 }\r
117 #footer-text {\r
118   float: left;\r
119   padding-bottom: 0.5em;\r
120 }\r
121 #footer-badges {\r
122   float: right;\r
123   padding-bottom: 0.5em;\r
124 }\r
125 \r
126 #preamble {\r
127   margin-top: 1.5em;\r
128   margin-bottom: 1.5em;\r
129 }\r
130 div.imageblock, div.exampleblock, div.verseblock,\r
131 div.quoteblock, div.literalblock, div.listingblock, div.sidebarblock,\r
132 div.admonitionblock {\r
133   margin-top: 1.0em;\r
134   margin-bottom: 1.5em;\r
135 }\r
136 div.admonitionblock {\r
137   margin-top: 2.0em;\r
138   margin-bottom: 2.0em;\r
139   margin-right: 10%;\r
140   color: #606060;\r
141 }\r
142 \r
143 div.content { /* Block element content. */\r
144   padding: 0;\r
145 }\r
146 \r
147 /* Block element titles. */\r
148 div.title, caption.title {\r
149   color: #527bbd;\r
150   font-weight: bold;\r
151   text-align: left;\r
152   margin-top: 1.0em;\r
153   margin-bottom: 0.5em;\r
154 }\r
155 div.title + * {\r
156   margin-top: 0;\r
157 }\r
158 \r
159 td div.title:first-child {\r
160   margin-top: 0.0em;\r
161 }\r
162 div.content div.title:first-child {\r
163   margin-top: 0.0em;\r
164 }\r
165 div.content + div.title {\r
166   margin-top: 0.0em;\r
167 }\r
168 \r
169 div.sidebarblock > div.content {\r
170   background: #ffffee;\r
171   border: 1px solid #dddddd;\r
172   border-left: 4px solid #f0f0f0;\r
173   padding: 0.5em;\r
174 }\r
175 \r
176 div.listingblock > div.content {\r
177   border: 1px solid #dddddd;\r
178   border-left: 5px solid #f0f0f0;\r
179   background: #f8f8f8;\r
180   padding: 0.5em;\r
181 }\r
182 \r
183 div.quoteblock, div.verseblock {\r
184   padding-left: 1.0em;\r
185   margin-left: 1.0em;\r
186   margin-right: 10%;\r
187   border-left: 5px solid #f0f0f0;\r
188   color: #888;\r
189 }\r
190 \r
191 div.quoteblock > div.attribution {\r
192   padding-top: 0.5em;\r
193   text-align: right;\r
194 }\r
195 \r
196 div.verseblock > pre.content {\r
197   font-family: inherit;\r
198   font-size: inherit;\r
199 }\r
200 div.verseblock > div.attribution {\r
201   padding-top: 0.75em;\r
202   text-align: left;\r
203 }\r
204 /* DEPRECATED: Pre version 8.2.7 verse style literal block. */\r
205 div.verseblock + div.attribution {\r
206   text-align: left;\r
207 }\r
208 \r
209 div.admonitionblock .icon {\r
210   vertical-align: top;\r
211   font-size: 1.1em;\r
212   font-weight: bold;\r
213   text-decoration: underline;\r
214   color: #527bbd;\r
215   padding-right: 0.5em;\r
216 }\r
217 div.admonitionblock td.content {\r
218   padding-left: 0.5em;\r
219   border-left: 3px solid #dddddd;\r
220 }\r
221 \r
222 div.exampleblock > div.content {\r
223   border-left: 3px solid #dddddd;\r
224   padding-left: 0.5em;\r
225 }\r
226 \r
227 div.imageblock div.content { padding-left: 0; }\r
228 span.image img { border-style: none; vertical-align: text-bottom; }\r
229 a.image:visited { color: white; }\r
230 \r
231 dl {\r
232   margin-top: 0.8em;\r
233   margin-bottom: 0.8em;\r
234 }\r
235 dt {\r
236   margin-top: 0.5em;\r
237   margin-bottom: 0;\r
238   font-style: normal;\r
239   color: navy;\r
240 }\r
241 dd > *:first-child {\r
242   margin-top: 0.1em;\r
243 }\r
244 \r
245 ul, ol {\r
246     list-style-position: outside;\r
247 }\r
248 ol.arabic {\r
249   list-style-type: decimal;\r
250 }\r
251 ol.loweralpha {\r
252   list-style-type: lower-alpha;\r
253 }\r
254 ol.upperalpha {\r
255   list-style-type: upper-alpha;\r
256 }\r
257 ol.lowerroman {\r
258   list-style-type: lower-roman;\r
259 }\r
260 ol.upperroman {\r
261   list-style-type: upper-roman;\r
262 }\r
263 \r
264 div.compact ul, div.compact ol,\r
265 div.compact p, div.compact p,\r
266 div.compact div, div.compact div {\r
267   margin-top: 0.1em;\r
268   margin-bottom: 0.1em;\r
269 }\r
270 \r
271 tfoot {\r
272   font-weight: bold;\r
273 }\r
274 td > div.verse {\r
275   white-space: pre;\r
276 }\r
277 \r
278 div.hdlist {\r
279   margin-top: 0.8em;\r
280   margin-bottom: 0.8em;\r
281 }\r
282 div.hdlist tr {\r
283   padding-bottom: 15px;\r
284 }\r
285 dt.hdlist1.strong, td.hdlist1.strong {\r
286   font-weight: bold;\r
287 }\r
288 td.hdlist1 {\r
289   vertical-align: top;\r
290   font-style: normal;\r
291   padding-right: 0.8em;\r
292   color: navy;\r
293 }\r
294 td.hdlist2 {\r
295   vertical-align: top;\r
296 }\r
297 div.hdlist.compact tr {\r
298   margin: 0;\r
299   padding-bottom: 0;\r
300 }\r
301 \r
302 .comment {\r
303   background: yellow;\r
304 }\r
305 \r
306 .footnote, .footnoteref {\r
307   font-size: 0.8em;\r
308 }\r
309 \r
310 span.footnote, span.footnoteref {\r
311   vertical-align: super;\r
312 }\r
313 \r
314 #footnotes {\r
315   margin: 20px 0 20px 0;\r
316   padding: 7px 0 0 0;\r
317 }\r
318 \r
319 #footnotes div.footnote {\r
320   margin: 0 0 5px 0;\r
321 }\r
322 \r
323 #footnotes hr {\r
324   border: none;\r
325   border-top: 1px solid silver;\r
326   height: 1px;\r
327   text-align: left;\r
328   margin-left: 0;\r
329   width: 20%;\r
330   min-width: 100px;\r
331 }\r
332 \r
333 div.colist td {\r
334   padding-right: 0.5em;\r
335   padding-bottom: 0.3em;\r
336   vertical-align: top;\r
337 }\r
338 div.colist td img {\r
339   margin-top: 0.3em;\r
340 }\r
341 \r
342 @media print {\r
343   #footer-badges { display: none; }\r
344 }\r
345 \r
346 #toc {\r
347   margin-bottom: 2.5em;\r
348 }\r
349 \r
350 #toctitle {\r
351   color: #527bbd;\r
352   font-size: 1.1em;\r
353   font-weight: bold;\r
354   margin-top: 1.0em;\r
355   margin-bottom: 0.1em;\r
356 }\r
357 \r
358 div.toclevel0, div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 {\r
359   margin-top: 0;\r
360   margin-bottom: 0;\r
361 }\r
362 div.toclevel2 {\r
363   margin-left: 2em;\r
364   font-size: 0.9em;\r
365 }\r
366 div.toclevel3 {\r
367   margin-left: 4em;\r
368   font-size: 0.9em;\r
369 }\r
370 div.toclevel4 {\r
371   margin-left: 6em;\r
372   font-size: 0.9em;\r
373 }\r
374 \r
375 span.aqua { color: aqua; }\r
376 span.black { color: black; }\r
377 span.blue { color: blue; }\r
378 span.fuchsia { color: fuchsia; }\r
379 span.gray { color: gray; }\r
380 span.green { color: green; }\r
381 span.lime { color: lime; }\r
382 span.maroon { color: maroon; }\r
383 span.navy { color: navy; }\r
384 span.olive { color: olive; }\r
385 span.purple { color: purple; }\r
386 span.red { color: red; }\r
387 span.silver { color: silver; }\r
388 span.teal { color: teal; }\r
389 span.white { color: white; }\r
390 span.yellow { color: yellow; }\r
391 \r
392 span.aqua-background { background: aqua; }\r
393 span.black-background { background: black; }\r
394 span.blue-background { background: blue; }\r
395 span.fuchsia-background { background: fuchsia; }\r
396 span.gray-background { background: gray; }\r
397 span.green-background { background: green; }\r
398 span.lime-background { background: lime; }\r
399 span.maroon-background { background: maroon; }\r
400 span.navy-background { background: navy; }\r
401 span.olive-background { background: olive; }\r
402 span.purple-background { background: purple; }\r
403 span.red-background { background: red; }\r
404 span.silver-background { background: silver; }\r
405 span.teal-background { background: teal; }\r
406 span.white-background { background: white; }\r
407 span.yellow-background { background: yellow; }\r
408 \r
409 span.big { font-size: 2em; }\r
410 span.small { font-size: 0.6em; }\r
411 \r
412 span.underline { text-decoration: underline; }\r
413 span.overline { text-decoration: overline; }\r
414 span.line-through { text-decoration: line-through; }\r
415 \r
416 div.unbreakable { page-break-inside: avoid; }\r
417 \r
418 \r
419 /*\r
420  * xhtml11 specific\r
421  *\r
422  * */\r
423 \r
424 div.tableblock {\r
425   margin-top: 1.0em;\r
426   margin-bottom: 1.5em;\r
427 }\r
428 div.tableblock > table {\r
429   border: 3px solid #527bbd;\r
430 }\r
431 thead, p.table.header {\r
432   font-weight: bold;\r
433   color: #527bbd;\r
434 }\r
435 p.table {\r
436   margin-top: 0;\r
437 }\r
438 /* Because the table frame attribute is overriden by CSS in most browsers. */\r
439 div.tableblock > table[frame="void"] {\r
440   border-style: none;\r
441 }\r
442 div.tableblock > table[frame="hsides"] {\r
443   border-left-style: none;\r
444   border-right-style: none;\r
445 }\r
446 div.tableblock > table[frame="vsides"] {\r
447   border-top-style: none;\r
448   border-bottom-style: none;\r
449 }\r
450 \r
451 \r
452 /*\r
453  * html5 specific\r
454  *\r
455  * */\r
456 \r
457 table.tableblock {\r
458   margin-top: 1.0em;\r
459   margin-bottom: 1.5em;\r
460 }\r
461 thead, p.tableblock.header {\r
462   font-weight: bold;\r
463   color: #527bbd;\r
464 }\r
465 p.tableblock {\r
466   margin-top: 0;\r
467 }\r
468 table.tableblock {\r
469   border-width: 3px;\r
470   border-spacing: 0px;\r
471   border-style: solid;\r
472   border-color: #527bbd;\r
473   border-collapse: collapse;\r
474 }\r
475 th.tableblock, td.tableblock {\r
476   border-width: 1px;\r
477   padding: 4px;\r
478   border-style: solid;\r
479   border-color: #527bbd;\r
480 }\r
481 \r
482 table.tableblock.frame-topbot {\r
483   border-left-style: hidden;\r
484   border-right-style: hidden;\r
485 }\r
486 table.tableblock.frame-sides {\r
487   border-top-style: hidden;\r
488   border-bottom-style: hidden;\r
489 }\r
490 table.tableblock.frame-none {\r
491   border-style: hidden;\r
492 }\r
493 \r
494 th.tableblock.halign-left, td.tableblock.halign-left {\r
495   text-align: left;\r
496 }\r
497 th.tableblock.halign-center, td.tableblock.halign-center {\r
498   text-align: center;\r
499 }\r
500 th.tableblock.halign-right, td.tableblock.halign-right {\r
501   text-align: right;\r
502 }\r
503 \r
504 th.tableblock.valign-top, td.tableblock.valign-top {\r
505   vertical-align: top;\r
506 }\r
507 th.tableblock.valign-middle, td.tableblock.valign-middle {\r
508   vertical-align: middle;\r
509 }\r
510 th.tableblock.valign-bottom, td.tableblock.valign-bottom {\r
511   vertical-align: bottom;\r
512 }\r
513 \r
514 \r
515 /*\r
516  * manpage specific\r
517  *\r
518  * */\r
519 \r
520 body.manpage h1 {\r
521   padding-top: 0.5em;\r
522   padding-bottom: 0.5em;\r
523   border-top: 2px solid silver;\r
524   border-bottom: 2px solid silver;\r
525 }\r
526 body.manpage h2 {\r
527   border-style: none;\r
528 }\r
529 body.manpage div.sectionbody {\r
530   margin-left: 3em;\r
531 }\r
532 \r
533 @media print {\r
534   body.manpage div#toc { display: none; }\r
535 }\r
536 \r
537 \r
538 </style>\r
539 <script type="text/javascript">\r
540 /*<![CDATA[*/\r
541 var asciidoc = {  // Namespace.\r
542 \r
543 /////////////////////////////////////////////////////////////////////\r
544 // Table Of Contents generator\r
545 /////////////////////////////////////////////////////////////////////\r
546 \r
547 /* Author: Mihai Bazon, September 2002\r
548  * http://students.infoiasi.ro/~mishoo\r
549  *\r
550  * Table Of Content generator\r
551  * Version: 0.4\r
552  *\r
553  * Feel free to use this script under the terms of the GNU General Public\r
554  * License, as long as you do not remove or alter this notice.\r
555  */\r
556 \r
557  /* modified by Troy D. Hanson, September 2006. License: GPL */\r
558  /* modified by Stuart Rackham, 2006, 2009. License: GPL */\r
559 \r
560 // toclevels = 1..4.\r
561 toc: function (toclevels) {\r
562 \r
563   function getText(el) {\r
564     var text = "";\r
565     for (var i = el.firstChild; i != null; i = i.nextSibling) {\r
566       if (i.nodeType == 3 /* Node.TEXT_NODE */) // IE doesn't speak constants.\r
567         text += i.data;\r
568       else if (i.firstChild != null)\r
569         text += getText(i);\r
570     }\r
571     return text;\r
572   }\r
573 \r
574   function TocEntry(el, text, toclevel) {\r
575     this.element = el;\r
576     this.text = text;\r
577     this.toclevel = toclevel;\r
578   }\r
579 \r
580   function tocEntries(el, toclevels) {\r
581     var result = new Array;\r
582     var re = new RegExp('[hH]([1-'+(toclevels+1)+'])');\r
583     // Function that scans the DOM tree for header elements (the DOM2\r
584     // nodeIterator API would be a better technique but not supported by all\r
585     // browsers).\r
586     var iterate = function (el) {\r
587       for (var i = el.firstChild; i != null; i = i.nextSibling) {\r
588         if (i.nodeType == 1 /* Node.ELEMENT_NODE */) {\r
589           var mo = re.exec(i.tagName);\r
590           if (mo && (i.getAttribute("class") || i.getAttribute("className")) != "float") {\r
591             result[result.length] = new TocEntry(i, getText(i), mo[1]-1);\r
592           }\r
593           iterate(i);\r
594         }\r
595       }\r
596     }\r
597     iterate(el);\r
598     return result;\r
599   }\r
600 \r
601   var toc = document.getElementById("toc");\r
602   if (!toc) {\r
603     return;\r
604   }\r
605 \r
606   // Delete existing TOC entries in case we're reloading the TOC.\r
607   var tocEntriesToRemove = [];\r
608   var i;\r
609   for (i = 0; i < toc.childNodes.length; i++) {\r
610     var entry = toc.childNodes[i];\r
611     if (entry.nodeName.toLowerCase() == 'div'\r
612      && entry.getAttribute("class")\r
613      && entry.getAttribute("class").match(/^toclevel/))\r
614       tocEntriesToRemove.push(entry);\r
615   }\r
616   for (i = 0; i < tocEntriesToRemove.length; i++) {\r
617     toc.removeChild(tocEntriesToRemove[i]);\r
618   }\r
619 \r
620   // Rebuild TOC entries.\r
621   var entries = tocEntries(document.getElementById("content"), toclevels);\r
622   for (var i = 0; i < entries.length; ++i) {\r
623     var entry = entries[i];\r
624     if (entry.element.id == "")\r
625       entry.element.id = "_toc_" + i;\r
626     var a = document.createElement("a");\r
627     a.href = "#" + entry.element.id;\r
628     a.appendChild(document.createTextNode(entry.text));\r
629     var div = document.createElement("div");\r
630     div.appendChild(a);\r
631     div.className = "toclevel" + entry.toclevel;\r
632     toc.appendChild(div);\r
633   }\r
634   if (entries.length == 0)\r
635     toc.parentNode.removeChild(toc);\r
636 },\r
637 \r
638 \r
639 /////////////////////////////////////////////////////////////////////\r
640 // Footnotes generator\r
641 /////////////////////////////////////////////////////////////////////\r
642 \r
643 /* Based on footnote generation code from:\r
644  * http://www.brandspankingnew.net/archive/2005/07/format_footnote.html\r
645  */\r
646 \r
647 footnotes: function () {\r
648   // Delete existing footnote entries in case we're reloading the footnodes.\r
649   var i;\r
650   var noteholder = document.getElementById("footnotes");\r
651   if (!noteholder) {\r
652     return;\r
653   }\r
654   var entriesToRemove = [];\r
655   for (i = 0; i < noteholder.childNodes.length; i++) {\r
656     var entry = noteholder.childNodes[i];\r
657     if (entry.nodeName.toLowerCase() == 'div' && entry.getAttribute("class") == "footnote")\r
658       entriesToRemove.push(entry);\r
659   }\r
660   for (i = 0; i < entriesToRemove.length; i++) {\r
661     noteholder.removeChild(entriesToRemove[i]);\r
662   }\r
663 \r
664   // Rebuild footnote entries.\r
665   var cont = document.getElementById("content");\r
666   var spans = cont.getElementsByTagName("span");\r
667   var refs = {};\r
668   var n = 0;\r
669   for (i=0; i<spans.length; i++) {\r
670     if (spans[i].className == "footnote") {\r
671       n++;\r
672       var note = spans[i].getAttribute("data-note");\r
673       if (!note) {\r
674         // Use [\s\S] in place of . so multi-line matches work.\r
675         // Because JavaScript has no s (dotall) regex flag.\r
676         note = spans[i].innerHTML.match(/\s*\[([\s\S]*)]\s*/)[1];\r
677         spans[i].innerHTML =\r
678           "[<a id='_footnoteref_" + n + "' href='#_footnote_" + n +\r
679           "' title='View footnote' class='footnote'>" + n + "</a>]";\r
680         spans[i].setAttribute("data-note", note);\r
681       }\r
682       noteholder.innerHTML +=\r
683         "<div class='footnote' id='_footnote_" + n + "'>" +\r
684         "<a href='#_footnoteref_" + n + "' title='Return to text'>" +\r
685         n + "</a>. " + note + "</div>";\r
686       var id =spans[i].getAttribute("id");\r
687       if (id != null) refs["#"+id] = n;\r
688     }\r
689   }\r
690   if (n == 0)\r
691     noteholder.parentNode.removeChild(noteholder);\r
692   else {\r
693     // Process footnoterefs.\r
694     for (i=0; i<spans.length; i++) {\r
695       if (spans[i].className == "footnoteref") {\r
696         var href = spans[i].getElementsByTagName("a")[0].getAttribute("href");\r
697         href = href.match(/#.*/)[0];  // Because IE return full URL.\r
698         n = refs[href];\r
699         spans[i].innerHTML =\r
700           "[<a href='#_footnote_" + n +\r
701           "' title='View footnote' class='footnote'>" + n + "</a>]";\r
702       }\r
703     }\r
704   }\r
705 },\r
706 \r
707 install: function(toclevels) {\r
708   var timerId;\r
709 \r
710   function reinstall() {\r
711     asciidoc.footnotes();\r
712     if (toclevels) {\r
713       asciidoc.toc(toclevels);\r
714     }\r
715   }\r
716 \r
717   function reinstallAndRemoveTimer() {\r
718     clearInterval(timerId);\r
719     reinstall();\r
720   }\r
721 \r
722   timerId = setInterval(reinstall, 500);\r
723   if (document.addEventListener)\r
724     document.addEventListener("DOMContentLoaded", reinstallAndRemoveTimer, false);\r
725   else\r
726     window.onload = reinstallAndRemoveTimer;\r
727 }\r
728 \r
729 }\r
730 asciidoc.install();\r
731 /*]]>*/\r
732 </script>\r
733 </head>\r
734 <body class="article">\r
735 <div id="header">\r
736 <h1>grml-debootstrap(8)</h1>\r
737 </div>\r
738 <div id="content">\r
739 <div class="sect1">\r
740 <h2 id="_name">Name</h2>\r
741 <div class="sectionbody">\r
742 <div class="paragraph"><p>grml-debootstrap - wrapper around debootstrap for installing plain Debian</p></div>\r
743 </div>\r
744 </div>\r
745 <div class="sect1">\r
746 <h2 id="_synopsis">Synopsis</h2>\r
747 <div class="sectionbody">\r
748 <div class="paragraph"><p>grml-debootstrap [ <em>options</em> ]</p></div>\r
749 <div class="paragraph"><p><span class="image">\r
750 <img src="images/screenshot.png" alt="Screenshot" />\r
751 </span></p></div>\r
752 </div>\r
753 </div>\r
754 <div class="sect1">\r
755 <h2 id="_introduction">Introduction</h2>\r
756 <div class="sectionbody">\r
757 <div class="paragraph"><p>grml-debootstrap is a wrapper suite around debootstrap (and cdebootstrap if you\r
758 want) for installing a plain Debian system very fast and easy.</p></div>\r
759 <div class="paragraph"><p>All you have to do is adjust a few variables in the configuration file\r
760 /etc/debootstrap/config or specify some command line options and invoke\r
761 grml-debootstrap. If invoked without any configuration modifications or command\r
762 line options a dialog based frontend will be available to control some basic\r
763 configuration options.</p></div>\r
764 <div class="paragraph"><p>A plain and base Debian system will be installed on the given device, directory\r
765 or virtual image file then. Customization of this process is possible as well.</p></div>\r
766 <div class="admonitionblock">\r
767 <table><tr>\r
768 <td class="icon">\r
769 <img src="./images/icons/caution.png" alt="Caution" />\r
770 </td>\r
771 <td class="content">The Grml team does not take responsibility for loss of any data!</td>\r
772 </tr></table>\r
773 </div>\r
774 </div>\r
775 </div>\r
776 <div class="sect1">\r
777 <h2 id="_options_and_environment_variables">Options and environment variables</h2>\r
778 <div class="sectionbody">\r
779 <div class="dlist"><dl>\r
780 <dt class="hdlist1">\r
781 <strong>--arch</strong> <em>architecture</em>\r
782 </dt>\r
783 <dd>\r
784 <p>\r
785     Set target architecture you want to install. Defaults to the architecture\r
786     you are currently running. If you&#8217;re running an amd64 kernel and want to\r
787     deploy an i386 system use this option. Note: deploying amd64 from an i386\r
788     kernel does <strong>not</strong> work. Example: "<em>--arch i386</em>"\r
789 </p>\r
790 </dd>\r
791 <dt class="hdlist1">\r
792 <strong>--backportrepos</strong>\r
793 </dt>\r
794 <dd>\r
795 <p>\r
796     Enable Debian&#8217;s Backports repository (<a href="http://backports.debian.org/">http://backports.debian.org/</a>) via the\r
797     /etc/apt/sources.list.d/backports.list configuration file. This provides the\r
798     option to install Debian packages from Debian&#8217;s backports repository.\r
799 </p>\r
800 </dd>\r
801 <dt class="hdlist1">\r
802 <strong>--bootappend</strong> <em>appendline-for-the-kernel</em>\r
803 </dt>\r
804 <dd>\r
805 <p>\r
806     Specify appendline for the kernel.\r
807     E.g. "<em>pci=nomsi</em>"\r
808 </p>\r
809 </dd>\r
810 <dt class="hdlist1">\r
811 <strong>-c</strong>, <strong>--config</strong> <em>file</em>\r
812 </dt>\r
813 <dd>\r
814 <p>\r
815     Use specified configuration file, defaults to /etc/debootstrap/config.\r
816 </p>\r
817 </dd>\r
818 <dt class="hdlist1">\r
819 <strong>--chroot-scripts</strong> <em>directory</em>\r
820 </dt>\r
821 <dd>\r
822 <p>\r
823     Execute chroot scripts from specified directory. This allows customisation\r
824     of the chroot setup, the executable script(s) present in the given directory\r
825     are executed at the end of the chroot procedure.\r
826     Default directory: /etc/debootstrap/chroot-scripts/\r
827 </p>\r
828 </dd>\r
829 <dt class="hdlist1">\r
830 <strong>--contrib</strong>\r
831 </dt>\r
832 <dd>\r
833 <p>\r
834     Enable the <em>contrib</em> repository in COMPONENTS. By default only\r
835     the <em>main</em> repository is enabled.\r
836 </p>\r
837 </dd>\r
838 <dt class="hdlist1">\r
839 <strong>-d</strong>, <strong>--confdir</strong> <em>path</em>\r
840 </dt>\r
841 <dd>\r
842 <p>\r
843     Place of configuration files for debootstrap, defaults to /etc/debootstrap.\r
844 </p>\r
845 </dd>\r
846 <dt class="hdlist1">\r
847 <strong>--debconf</strong> <em>file</em>\r
848 </dt>\r
849 <dd>\r
850 <p>\r
851     Use specified file for preseeding Debian packages instead of using\r
852     the default &lt;confdir&gt;/debconf-selections.\r
853 </p>\r
854 </dd>\r
855 <dt class="hdlist1">\r
856 <strong>--debopt</strong> <em>params</em>\r
857 </dt>\r
858 <dd>\r
859 <p>\r
860     Extra parameters passed to the debootstrap command.\r
861 </p>\r
862 </dd>\r
863 <dt class="hdlist1">\r
864 <strong>--debug</strong>\r
865 </dt>\r
866 <dd>\r
867 <p>\r
868    Execute in very verbose way. Useful for debugging possible problems\r
869    with grml-debootstrap or identify what&#8217;s actually executed.\r
870 </p>\r
871 </dd>\r
872 <dt class="hdlist1">\r
873 <strong>--efi</strong> <em>device</em>\r
874 </dt>\r
875 <dd>\r
876 <p>\r
877     Partition where EFI boot manager should be installed to. If the\r
878     specified device doesn&#8217;t use a FAT filesystem yet grml-debootstrap\r
879     automatically creates the filesystem. If a FAT filesystem is already\r
880     present the filesystem creation is skipped. Please ensure that it&#8217;s\r
881     a valid FAT32 filesystem and the partition has the <em>boot</em> and <em>esp</em>\r
882     flags enabled. This option requires EFI support on the running system\r
883     and the option is NOT supported for Virtual Machine deployments.\r
884 </p>\r
885 </dd>\r
886 <dt class="hdlist1">\r
887 <strong>--filesystem</strong> <em>filesystem</em>\r
888 </dt>\r
889 <dd>\r
890 <p>\r
891     Filesystem that should be created when installing to a partition.\r
892     If unset defaults to ext4. Valid values are all filesystems that\r
893     can be created through mkfs.<em>filesystem</em>.\r
894 </p>\r
895 </dd>\r
896 <dt class="hdlist1">\r
897 <strong>--force</strong>\r
898 </dt>\r
899 <dd>\r
900 <p>\r
901     Skip user acknowledgement and do not prompt for user input.\r
902 </p>\r
903 </dd>\r
904 <dt class="hdlist1">\r
905 <strong>--grmlrepos</strong>\r
906 </dt>\r
907 <dd>\r
908 <p>\r
909     Enable Grml.org&#8217;s Debian repository (<a href="http://deb.grml.org/">http://deb.grml.org/</a>) via the\r
910     /etc/apt/sources.list.d/grml.list configuration file. This provides the\r
911     option to install Debian packages from Grml&#8217;s repository.\r
912 </p>\r
913 </dd>\r
914 <dt class="hdlist1">\r
915 <strong>--grub</strong> <em>device</em>\r
916 </dt>\r
917 <dd>\r
918 <p>\r
919     Device where grub should be installed to. Note that only the MBR (master\r
920     boot record) can be used (/dev/sda, /dev/sdb,&#8230;). Partitions (like\r
921     /dev/sda1, /dev/sdb2,&#8230;) are NOT supported because grub2 doesn&#8217;t support\r
922     installation into the PBR (partition boot record) anymore.  Usage example:\r
923     <em>--grub /dev/sda</em>.  Note: just do not set this option to avoid installation\r
924     of grub.\r
925 </p>\r
926 </dd>\r
927 <dt class="hdlist1">\r
928 <strong>--help</strong>, <strong>-h</strong>\r
929 </dt>\r
930 <dd>\r
931 <p>\r
932     Show summary of options and exit.\r
933 </p>\r
934 </dd>\r
935 <dt class="hdlist1">\r
936 <strong>--hostname</strong> <em>hostname</em>\r
937 </dt>\r
938 <dd>\r
939 <p>\r
940     Use specified hostname instead of the default (being $HOSTNAME or if unset <em>grml</em>).\r
941 </p>\r
942 </dd>\r
943 <dt class="hdlist1">\r
944 <strong>-i</strong>, <strong>--iso</strong> <em>/mntpoint</em>\r
945 </dt>\r
946 <dd>\r
947 <p>\r
948     Specify mount point where you have a Debian ISO mounted loopback.\r
949     Using this option instead of the mirror option gives you the possibility\r
950     to install the base-system without network access. Make sure you\r
951     mounted the according Debian-ISO to the given <em>/mntpoint</em>. See section\r
952     <em>Usage examples</em> for a demonstration.\r
953 </p>\r
954 </dd>\r
955 <dt class="hdlist1">\r
956 <strong>--keep_src_list</strong>\r
957 </dt>\r
958 <dd>\r
959 <p>\r
960      Do not overwrite user provided /etc/apt/sources.list.\r
961 </p>\r
962 </dd>\r
963 <dt class="hdlist1">\r
964 <strong>-m</strong>, <strong>--mirror</strong> <em>URL</em>\r
965 </dt>\r
966 <dd>\r
967 <p>\r
968     Specify mirror which should be used for apt-get/aptitude.\r
969     Corresponding with configuration variable MIRROR.\r
970 </p>\r
971 </dd>\r
972 <dt class="hdlist1">\r
973 <strong>--nodebootstrap</strong>\r
974 </dt>\r
975 <dd>\r
976 <p>\r
977     Skip debootstrap, only do configuration to the target.\r
978 </p>\r
979 </dd>\r
980 <dt class="hdlist1">\r
981 <strong>--nointerfaces</strong>\r
982 </dt>\r
983 <dd>\r
984 <p>\r
985     Do not copy /etc/network/interfaces from host system to the target.\r
986     This option is automatically enabled when using --vm or --vmfile.\r
987 </p>\r
988 </dd>\r
989 <dt class="hdlist1">\r
990 <strong>--nokernel</strong>\r
991 </dt>\r
992 <dd>\r
993 <p>\r
994     Skip installation of default kernel images. This option might be\r
995     interesting for you if you want a Debian system which doesn&#8217;t\r
996     need to provide regular boot, e.g. a system which provides\r
997     ISOs for booting via GRUB using grml-rescueboot.\r
998 </p>\r
999 </dd>\r
1000 <dt class="hdlist1">\r
1001 <strong>--non-free</strong>\r
1002 </dt>\r
1003 <dd>\r
1004 <p>\r
1005     Enable the <em>non-free</em> repository in COMPONENTS. By default only\r
1006     the <em>main</em> repository is enabled.\r
1007 </p>\r
1008 </dd>\r
1009 <dt class="hdlist1">\r
1010 <strong>--nopackages</strong>\r
1011 </dt>\r
1012 <dd>\r
1013 <p>\r
1014     Skip installation of packages defined in /etc/debootstrap/packages.\r
1015 </p>\r
1016 </dd>\r
1017 <dt class="hdlist1">\r
1018 <strong>--nopassword</strong>\r
1019 </dt>\r
1020 <dd>\r
1021 <p>\r
1022     Do not prompt for the root password. Note: Use the <em>--password</em> option if\r
1023     you want to set the root password during an automatic installation but don&#8217;t\r
1024     want to use the interactive dialog.\r
1025 </p>\r
1026 </dd>\r
1027 <dt class="hdlist1">\r
1028 <strong>-p</strong>, <strong>--mntpoint</strong> <em>/mntpoint</em>\r
1029 </dt>\r
1030 <dd>\r
1031 <p>\r
1032     Specify mount point that should be used for mounting the target system.\r
1033     Corresponding with configuration variable MNTPOINT.\r
1034     Note: this option has no effect if option -t is given and represents a\r
1035     directory.\r
1036 </p>\r
1037 </dd>\r
1038 <dt class="hdlist1">\r
1039 <strong>--packages</strong> <em>file</em>\r
1040 </dt>\r
1041 <dd>\r
1042 <p>\r
1043     Use specified file as list for packages that should be installed instead of\r
1044     the default package list file &lt;confdir&gt;/packages.\r
1045 </p>\r
1046 </dd>\r
1047 <dt class="hdlist1">\r
1048 <strong>--password</strong> <em>password</em>\r
1049 </dt>\r
1050 <dd>\r
1051 <p>\r
1052     Use specified password as password for user root. Use with caution, as your\r
1053     command line might be visible in the process list and the shell history.\r
1054     It&#8217;s meant for automatic installation only.\r
1055 </p>\r
1056 </dd>\r
1057 <dt class="hdlist1">\r
1058 <strong>--post-scripts</strong> <em>directory</em>\r
1059 </dt>\r
1060 <dd>\r
1061 <p>\r
1062     Execute scripts from specified directory after executing the chroot script.\r
1063     This allows customisation of the system after the chroot has been set up.\r
1064     The environment variable $MNTPOINT is available inside the scripts for\r
1065     direct access of the chroot.\r
1066     Default directory: /etc/debootstrap/post-scripts/\r
1067 </p>\r
1068 </dd>\r
1069 <dt class="hdlist1">\r
1070 <strong>--pre-scripts</strong> <em>directory</em>\r
1071 </dt>\r
1072 <dd>\r
1073 <p>\r
1074     Execute scripts from specified directory before executing the chroot\r
1075     script. This allows customisation of the system before the chroot has\r
1076     been set up.  The environment variable $MNTPOINT is available inside the\r
1077     scripts for direct access of the chroot.\r
1078     Default directory: /etc/debootstrap/pre-scripts/\r
1079 </p>\r
1080 </dd>\r
1081 <dt class="hdlist1">\r
1082 <strong>-r</strong>, <strong>--release</strong> <em>releasename</em>\r
1083 </dt>\r
1084 <dd>\r
1085 <p>\r
1086     Specify release of new Debian system. Supported releases names: lenny,\r
1087     squeeze, wheezy, jessie, stretch (note: requires a recent version of debootstrap)\r
1088     and sid. Corresponding with configuration variable RELEASE.\r
1089 </p>\r
1090 </dd>\r
1091 <dt class="hdlist1">\r
1092 <strong>--remove-configs</strong>\r
1093 </dt>\r
1094 <dd>\r
1095 <p>\r
1096     Delete grml-debootstrap configuration files (/etc/debootstrap/*) from installed\r
1097     system. Useful for reproducible builds or if you don&#8217;t want to leak information.\r
1098 </p>\r
1099 </dd>\r
1100 <dt class="hdlist1">\r
1101 <strong>-t</strong>, <strong>--target</strong> <em>target</em>\r
1102 </dt>\r
1103 <dd>\r
1104 <p>\r
1105     Target partition (/dev/&#8230;) or directory (anything else without /dev at the\r
1106     beginning).\r
1107 </p>\r
1108 </dd>\r
1109 <dt class="hdlist1">\r
1110 <strong>-v</strong>, <strong>--verbose</strong>\r
1111 </dt>\r
1112 <dd>\r
1113 <p>\r
1114     Increase verbosity.\r
1115 </p>\r
1116 </dd>\r
1117 <dt class="hdlist1">\r
1118 <strong>--vm</strong>\r
1119 </dt>\r
1120 <dd>\r
1121 <p>\r
1122     Set up a Virtual Machine on an existing block device, which will be\r
1123     partitioned.\r
1124     This allows deployment of a Virtual Machine. The options needs to be\r
1125     combined with the --target option.\r
1126     Usage example: --vm --target /dev/mapper/your-vm-disk\r
1127 </p>\r
1128 </dd>\r
1129 <dt class="hdlist1">\r
1130 <strong>--vmfile</strong>\r
1131 </dt>\r
1132 <dd>\r
1133 <p>\r
1134     Set up a Virtual Machine using a regular file instead of installing to a\r
1135     partition/block device or directory. This allows deployment of a Virtual\r
1136     Machine. The options needs to be combined with the --target option\r
1137     (<em>qemu-img create -f raw &#8230;</em> is executed on the specified target).\r
1138     Usage example: --vmfile --target /mnt/sda1/qemu.img\r
1139 </p>\r
1140 </dd>\r
1141 <dt class="hdlist1">\r
1142 <strong>--vmsize</strong> <em>size</em>\r
1143 </dt>\r
1144 <dd>\r
1145 <p>\r
1146    Use specified size for size of Virtual Machine disk file. If not specified it\r
1147    defaults to 2G (being 2GB). Syntax as supported by qemu-img (see manpage\r
1148    qemu-img(1) for details.\r
1149    Usage example: --vmsize 3G\r
1150 </p>\r
1151 </dd>\r
1152 <dt class="hdlist1">\r
1153 <strong>-V</strong>, <strong>--version</strong>\r
1154 </dt>\r
1155 <dd>\r
1156 <p>\r
1157     Show version of program and exit.\r
1158 </p>\r
1159 </dd>\r
1160 </dl></div>\r
1161 <div class="admonitionblock">\r
1162 <table><tr>\r
1163 <td class="icon">\r
1164 <img src="./images/icons/warning.png" alt="Warning" />\r
1165 </td>\r
1166 <td class="content">the command line parsing of grml-debootstrap usually does not validate\r
1167 the provided arguments for the command line options. Please be careful and check\r
1168 docs and /etc/debootstrap/config for further information.</td>\r
1169 </tr></table>\r
1170 </div>\r
1171 </div>\r
1172 </div>\r
1173 <div class="sect1">\r
1174 <h2 id="_usage_examples">Usage examples</h2>\r
1175 <div class="sectionbody">\r
1176 <div class="literalblock">\r
1177 <div class="content">\r
1178 <pre><code>grml-debootstrap --target /dev/sda1 --grub /dev/sda</code></pre>\r
1179 </div></div>\r
1180 <div class="paragraph"><p>Install default Debian release (jessie) on /dev/sda1 and install bootmanager\r
1181 Grub in MBR (master boot record) of /dev/sda and use /dev/sda1 as system partition.</p></div>\r
1182 <div class="literalblock">\r
1183 <div class="content">\r
1184 <pre><code>grml-debootstrap --target /dev/sda6 --grub /dev/sda --release sid</code></pre>\r
1185 </div></div>\r
1186 <div class="paragraph"><p>Install Debian unstable/sid on /dev/sda6, install bootmanager Grub in MBR\r
1187 (master boot record) of /dev/sda and use /dev/sda6 as system partition.</p></div>\r
1188 <div class="literalblock">\r
1189 <div class="content">\r
1190 <pre><code>mount /dev/sda1 /data/chroot\r
1191 grml-debootstrap --target /data/chroot</code></pre>\r
1192 </div></div>\r
1193 <div class="paragraph"><p>Install default Debian release (jessie) in directory /data/chroot (without\r
1194 any bootloader).</p></div>\r
1195 <div class="literalblock">\r
1196 <div class="content">\r
1197 <pre><code>grml-debootstrap --target /dev/sda3 --grub /dev/sda  --mirror ftp://ftp.tugraz.at/mirror/debian</code></pre>\r
1198 </div></div>\r
1199 <div class="paragraph"><p>Install default Debian release (jessie) on /dev/sda3 and install bootmanager\r
1200 Grub in MBR (master boot record) of /dev/sda and use /dev/sda3 as system partition.\r
1201 Use specified mirror instead of the default (<a href="http://httpredir.debian.org/debian">http://httpredir.debian.org/debian</a>) one.</p></div>\r
1202 <div class="literalblock">\r
1203 <div class="content">\r
1204 <pre><code>mount /dev/sda1 /mnt/sda1\r
1205 grml-debootstrap --vmfile --vmsize 3G --target /mnt/sda1/qemu.img</code></pre>\r
1206 </div></div>\r
1207 <div class="paragraph"><p>Install default debian release (jessie) in a Virtual Machine file with\r
1208 3GB disk size (including Grub as bootmanager in MBR of the virtual disk file):</p></div>\r
1209 <div class="literalblock">\r
1210 <div class="content">\r
1211 <pre><code>mount -o loop /mnt/sda6/debian-CD-1.iso /mnt/iso\r
1212 grml-debootstrap --target /dev/sda1 --grub /dev/sda --iso file:/mnt/iso/debian/</code></pre>\r
1213 </div></div>\r
1214 <div class="paragraph"><p>Install Debian on /dev/sda1 using the loopback mounted Debian-ISO\r
1215 for the base-system and install bootmanager Grub in MBR (master boot record) of\r
1216 /dev/sda and use /dev/sda1 as system partition. Please notice, that the chroot\r
1217 system requires network access for all packages which are not part of the\r
1218 ISO.</p></div>\r
1219 </div>\r
1220 </div>\r
1221 <div class="sect1">\r
1222 <h2 id="_files">Files</h2>\r
1223 <div class="sectionbody">\r
1224 <div class="literalblock">\r
1225 <div class="content">\r
1226 <pre><code>/etc/debootstrap/config</code></pre>\r
1227 </div></div>\r
1228 <div class="paragraph"><p>Main configuration file. Adjust it according to your needs if you want to\r
1229 execute grml-debootstrap in the non-interactive mode without any special command\r
1230 line arguments.</p></div>\r
1231 <div class="literalblock">\r
1232 <div class="content">\r
1233 <pre><code>/etc/debootstrap/chroot-script</code></pre>\r
1234 </div></div>\r
1235 <div class="paragraph"><p>The script executed within the new Debian system as soon as the main system\r
1236 has been installed via [c]debootstrap.</p></div>\r
1237 <div class="literalblock">\r
1238 <div class="content">\r
1239 <pre><code>/etc/debootstrap/locale.gen</code></pre>\r
1240 </div></div>\r
1241 <div class="paragraph"><p>Defines the default locales used for generating locales via locale-gen.</p></div>\r
1242 <div class="literalblock">\r
1243 <div class="content">\r
1244 <pre><code>/etc/debootstrap/packages</code></pre>\r
1245 </div></div>\r
1246 <div class="paragraph"><p>Defines the software packages which should be installed in the new\r
1247 Debian system by default.</p></div>\r
1248 <div class="literalblock">\r
1249 <div class="content">\r
1250 <pre><code>/etc/debootstrap/extrapackages/</code></pre>\r
1251 </div></div>\r
1252 <div class="paragraph"><p>Debian Packages dropped in this directory will be installed into the new Debian\r
1253 system by default (Control variable: EXTRAPACKAGES)</p></div>\r
1254 </div>\r
1255 </div>\r
1256 <div class="sect1">\r
1257 <h2 id="_customization">Customization</h2>\r
1258 <div class="sectionbody">\r
1259 <div class="paragraph"><p>You can control execution of grml-debootstrap via adjusting\r
1260 /etc/debootstrap/config for some main stuff or via setting some selected\r
1261 variables via command line.  The packages which should be installed in the new\r
1262 Debian system can be defined via the file /etc/debootstrap/packages.  If you\r
1263 want to put existing files to the new Debian system you can place them into the\r
1264 (by default non-existing) directories boot, etc, share, usr and var in\r
1265 /etc/debootstrap/. Every existing directory will be copied to the new Debian\r
1266 system then. If you want to install additional packages that are not available\r
1267 via the Grml or Debian mirror drop them into /etc/debootstrap/extrapackages and\r
1268 make sure that EXTRAPACKAGES is set to "yes".</p></div>\r
1269 </div>\r
1270 </div>\r
1271 <div class="sect1">\r
1272 <h2 id="_automatic_installation">Automatic installation</h2>\r
1273 <div class="sectionbody">\r
1274 <div class="paragraph"><p>If environment variable AUTOINSTALL is set grml-debootstrap can be executed in a\r
1275 full automatic mode. While this mode isn&#8217;t really useful for interactive\r
1276 execution (just configure /etc/debootstrap/configure or specify the relevant\r
1277 variables on the command line instead) it is meant for use via boot option\r
1278 debian2hd on the Grml live system. The boot option debian2hd (more precise: the\r
1279 kernelname at the bootprompt) supports the following boot options (they\r
1280 correspond with the command line options mentioned above):</p></div>\r
1281 <div class="literalblock">\r
1282 <div class="content">\r
1283 <pre><code>target=...</code></pre>\r
1284 </div></div>\r
1285 <div class="paragraph"><p>The target partition/directory of the new Debian system. Usage example:\r
1286 target=/dev/sda1</p></div>\r
1287 <div class="literalblock">\r
1288 <div class="content">\r
1289 <pre><code>grub=...</code></pre>\r
1290 </div></div>\r
1291 <div class="paragraph"><p>Where do you want to install grub to? Usage example: grub=/dev/sda</p></div>\r
1292 <div class="literalblock">\r
1293 <div class="content">\r
1294 <pre><code>release=...</code></pre>\r
1295 </div></div>\r
1296 <div class="paragraph"><p>Specify release of new Debian system. Defaults to Debian jessie. Supported\r
1297 releases: lenny, squeeze, wheezy, jessie, stretch and sid. Usage example: release=sid</p></div>\r
1298 <div class="literalblock">\r
1299 <div class="content">\r
1300 <pre><code>mirror=...</code></pre>\r
1301 </div></div>\r
1302 <div class="paragraph"><p>Specify mirror which should be used for apt-get/aptitude instead\r
1303 of the default one (<a href="http://httpredir.debian.org/debian">http://httpredir.debian.org/debian</a>).\r
1304 Usage example: mirror=ftp://ftp.tugraz.at/mirror/debian</p></div>\r
1305 <div class="literalblock">\r
1306 <div class="content">\r
1307 <pre><code>password=...</code></pre>\r
1308 </div></div>\r
1309 <div class="paragraph"><p>Set password of user root without prompting for it but set it to the given\r
1310 argument. Usage example: password=AiTh5ahn</p></div>\r
1311 <div class="sect2">\r
1312 <h3 id="_usage_example_for_automatic_installation">Usage example for automatic installation</h3>\r
1313 <div class="literalblock">\r
1314 <div class="content">\r
1315 <pre><code>debian2hd target=/dev/sda1 grub=/dev/sda mirror=ftp://ftp.tugraz.at/mirror/debian password=foobar</code></pre>\r
1316 </div></div>\r
1317 <div class="paragraph"><p>You have to enter this command line at the bootprompt of the Grml live system.\r
1318 Please make sure that /dev/sda1 is the partition where you really want to\r
1319 install your new Debian system.</p></div>\r
1320 <div class="admonitionblock">\r
1321 <table><tr>\r
1322 <td class="icon">\r
1323 <img src="./images/icons/note.png" alt="Note" />\r
1324 </td>\r
1325 <td class="content">Automatic installation within booting process is done in grml-autoconfig via\r
1326 setting environment variable AUTOINSTALL and creation of\r
1327 /usr/bin/grml-debootstrap_noninteractive with the available and relevant\r
1328 boot options for grml-debootstrap.</td>\r
1329 </tr></table>\r
1330 </div>\r
1331 </div>\r
1332 </div>\r
1333 </div>\r
1334 <div class="sect1">\r
1335 <h2 id="_supported_releases">Supported Releases</h2>\r
1336 <div class="sectionbody">\r
1337 <div class="tableblock">\r
1338 <table rules="all"\r
1339 width="40%"\r
1340 frame="hsides"\r
1341 cellspacing="0" cellpadding="4">\r
1342 <caption class="title">Table 1. Current status</caption>\r
1343 <col width="50%" />\r
1344 <col width="50%" />\r
1345 <thead>\r
1346 <tr>\r
1347 <th align="left" valign="top">Release  </th>\r
1348 <th align="left" valign="top">Status</th>\r
1349 </tr>\r
1350 </thead>\r
1351 <tbody>\r
1352 <tr>\r
1353 <td align="left" valign="top"><p class="table">lenny</p></td>\r
1354 <td align="left" valign="top"><p class="table">works[1]</p></td>\r
1355 </tr>\r
1356 <tr>\r
1357 <td align="left" valign="top"><p class="table">squeeze</p></td>\r
1358 <td align="left" valign="top"><p class="table">works</p></td>\r
1359 </tr>\r
1360 <tr>\r
1361 <td align="left" valign="top"><p class="table">wheezy</p></td>\r
1362 <td align="left" valign="top"><p class="table">works</p></td>\r
1363 </tr>\r
1364 <tr>\r
1365 <td align="left" valign="top"><p class="table">jessie</p></td>\r
1366 <td align="left" valign="top"><p class="table">works</p></td>\r
1367 </tr>\r
1368 <tr>\r
1369 <td align="left" valign="top"><p class="table">stretch</p></td>\r
1370 <td align="left" valign="top"><p class="table">works</p></td>\r
1371 </tr>\r
1372 <tr>\r
1373 <td align="left" valign="top"><p class="table">sid</p></td>\r
1374 <td align="left" valign="top"><p class="table">works[2]</p></td>\r
1375 </tr>\r
1376 </tbody>\r
1377 </table>\r
1378 </div>\r
1379 <div class="admonitionblock">\r
1380 <table><tr>\r
1381 <td class="icon">\r
1382 <img src="./images/icons/note.png" alt="Note" />\r
1383 </td>\r
1384 <td class="content">\r
1385 <div class="title">lenny release</div>\r
1386 <div class="paragraph"><p>[1] Please notice that lenny is an unsupported release within Debian nowadays.\r
1387 grml-debootstrap can handle the release but you really should not use lenny\r
1388 anymore unless you really know what you are doing. Choose Debian 8.0 (jessie) or\r
1389 something newer instead.</p></div>\r
1390 <div class="paragraph"><p>Notice that you need to specify a mirror providing the lenny release, the\r
1391 default (<a href="http://httpredir.debian.org/debian">http://httpredir.debian.org/debian</a>) doesn&#8217;t provide it any longer nowadays.\r
1392 Set the mirror to e.g. <a href="http://archive.debian.org/debian/">http://archive.debian.org/debian/</a> if you don&#8217;t have\r
1393 your own lenny mirror.</p></div>\r
1394 <div class="paragraph"><p>You also need to specify a filesystem that&#8217;s supported by lenny, e.g.\r
1395 <em>--filesystem ext3</em> since grml-debootstrap&#8217;s current default (ext4) isn&#8217;t\r
1396 supported by lenny.</p></div>\r
1397 <div class="paragraph"><p>Also when debootstrapping lenny on a live system with a kernel version\r
1398 like "3.16-1-grml-amd64" lenny&#8217;s libc will fail to install with:</p></div>\r
1399 <div class="literalblock">\r
1400 <div class="content">\r
1401 <pre><code>[...]\r
1402 /var/lib/dpkg/tmp.ci/preinst: line 265: [: 3.16-1-grml-amd64: integery expression expected\r
1403 /var/lib/dpkg/tmp.ci/preinst: line 231: 3.16-1-grml-amd64: syntax error: invalid arithemtic operator (error token is ".16-1-grml-amd64")\r
1404 dpkg: error processing /var/cache/apt/archives/libc6_2.7-18lenny7_amd64.deb (--install):\r
1405 [....]</code></pre>\r
1406 </div></div>\r
1407 <div class="paragraph"><p>To workaround this either debootstrap from a system with an according\r
1408 kernel version or use the "fake uname" workaround (just google for it).</p></div>\r
1409 <div class="paragraph"><p>When installing lenny to a new mdraid, grml-debootstrap will use md metadata\r
1410 format version 0.90. This limits the device to a maximum size of 2TB, but has\r
1411 the advantage of grub-legacy actually being able to boot from it.</p></div>\r
1412 </td>\r
1413 </tr></table>\r
1414 </div>\r
1415 <div class="admonitionblock">\r
1416 <table><tr>\r
1417 <td class="icon">\r
1418 <img src="./images/icons/note.png" alt="Note" />\r
1419 </td>\r
1420 <td class="content">\r
1421 <div class="title">unstable and testing releases</div>\r
1422 <div class="paragraph"><p>[2] Please notice that Debian/testing and Debian/unstable (sid) might\r
1423 not be always installable due to their nature. What <em>might</em> work instead is\r
1424 deploying a stable release and upgrade it after installation finished.</p></div>\r
1425 </td>\r
1426 </tr></table>\r
1427 </div>\r
1428 </div>\r
1429 </div>\r
1430 <div class="sect1">\r
1431 <h2 id="_bugs">Bugs</h2>\r
1432 <div class="sectionbody">\r
1433 <div class="paragraph"><p>Probably. Please send bugreports to Michael Prokop &lt;<a href="mailto:mika@grml.org">mika@grml.org</a>&gt;.</p></div>\r
1434 </div>\r
1435 </div>\r
1436 <div class="sect1">\r
1437 <h2 id="_see_also">See also</h2>\r
1438 <div class="sectionbody">\r
1439 <div class="paragraph"><p>debootstrap (8), cdebootstrap (1).</p></div>\r
1440 </div>\r
1441 </div>\r
1442 <div class="sect1">\r
1443 <h2 id="_author">Author</h2>\r
1444 <div class="sectionbody">\r
1445 <div class="paragraph"><p>Michael Prokop &lt;<a href="mailto:mika@grml.org">mika@grml.org</a>&gt;</p></div>\r
1446 </div>\r
1447 </div>\r
1448 </div>\r
1449 <div id="footnotes"><hr /></div>\r
1450 <div id="footer">\r
1451 <div id="footer-text">\r
1452 Last updated\r
1453  2016-11-17 12:09:18 CET\r
1454 </div>\r
1455 </div>\r
1456 </body>\r
1457 </html>\r