1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
|
# SOME DESCRIPTIVE TITLE
# Copyright (C) YEAR Free Software Foundation, Inc.
# This file is distributed under the same license as the live-manual package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: live-manual 5.0~a2-1\n"
"POT-Creation-Date: 2015-08-23 11:04+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#. type: Plain text
#: en/about_manual.ssi:92 en/about_manual.ssi:100 en/about_manual.ssi:108
#: en/about_manual.ssi:116 en/about_manual.ssi:124 en/about_manual.ssi:132
#: en/appendix_style-guide.ssi:124 en/appendix_style-guide.ssi:134
#: en/appendix_style-guide.ssi:144 en/appendix_style-guide.ssi:154
#: en/appendix_style-guide.ssi:164 en/appendix_style-guide.ssi:177
#: en/examples.ssi:14 en/examples.ssi:30 en/examples.ssi:40 en/examples.ssi:54
#: en/examples.ssi:67 en/examples.ssi:83 en/examples.ssi:93
#: en/examples.ssi:106 en/examples.ssi:114 en/examples.ssi:124
#: en/examples.ssi:134 en/examples.ssi:149 en/examples.ssi:157
#: en/examples.ssi:165 en/examples.ssi:173 en/examples.ssi:189
#: en/examples.ssi:203 en/examples.ssi:211 en/examples.ssi:219
#: en/examples.ssi:235 en/examples.ssi:249 en/examples.ssi:257
#: en/examples.ssi:265 en/examples.ssi:285 en/examples.ssi:293
#: en/examples.ssi:302 en/examples.ssi:312 en/project_bugs.ssi:62
#: en/project_coding-style.ssi:30 en/project_coding-style.ssi:40
#: en/project_coding-style.ssi:53 en/project_coding-style.ssi:63
#: en/project_coding-style.ssi:94 en/project_coding-style.ssi:102
#: en/project_coding-style.ssi:112 en/project_coding-style.ssi:123
#: en/project_contributing.ssi:34 en/project_contributing.ssi:45
#: en/project_contributing.ssi:59 en/project_contributing.ssi:68
#: en/project_contributing.ssi:79 en/project_contributing.ssi:87
#: en/project_git.ssi:8 en/project_git.ssi:16 en/project_git.ssi:24
#: en/project_git.ssi:34 en/project_git.ssi:44 en/project_git.ssi:56
#: en/project_procedures.ssi:39 en/project_procedures.ssi:51
#: en/user_basics.ssi:50 en/user_basics.ssi:58 en/user_basics.ssi:68
#: en/user_basics.ssi:86 en/user_basics.ssi:100 en/user_basics.ssi:113
#: en/user_basics.ssi:121 en/user_basics.ssi:159 en/user_basics.ssi:167
#: en/user_basics.ssi:179 en/user_basics.ssi:190 en/user_basics.ssi:198
#: en/user_basics.ssi:210 en/user_basics.ssi:218 en/user_basics.ssi:226
#: en/user_basics.ssi:238 en/user_basics.ssi:250 en/user_basics.ssi:260
#: en/user_basics.ssi:270 en/user_basics.ssi:288 en/user_basics.ssi:319
#: en/user_basics.ssi:335 en/user_basics.ssi:343 en/user_basics.ssi:363
#: en/user_basics.ssi:390 en/user_basics.ssi:406
#: en/user_customization-binary.ssi:18 en/user_customization-contents.ssi:24
#: en/user_customization-contents.ssi:33 en/user_customization-contents.ssi:51
#: en/user_customization-installer.ssi:32
#: en/user_customization-installer.ssi:44
#: en/user_customization-packages.ssi:14 en/user_customization-packages.ssi:22
#: en/user_customization-packages.ssi:40 en/user_customization-packages.ssi:53
#: en/user_customization-packages.ssi:67 en/user_customization-packages.ssi:95
#: en/user_customization-packages.ssi:106
#: en/user_customization-packages.ssi:114
#: en/user_customization-packages.ssi:138
#: en/user_customization-packages.ssi:151
#: en/user_customization-packages.ssi:161
#: en/user_customization-packages.ssi:171
#: en/user_customization-packages.ssi:195
#: en/user_customization-packages.ssi:211
#: en/user_customization-packages.ssi:290
#: en/user_customization-packages.ssi:302
#: en/user_customization-packages.ssi:312
#: en/user_customization-packages.ssi:326
#: en/user_customization-packages.ssi:342
#: en/user_customization-packages.ssi:359 en/user_customization-runtime.ssi:14
#: en/user_customization-runtime.ssi:26 en/user_customization-runtime.ssi:44
#: en/user_customization-runtime.ssi:56 en/user_customization-runtime.ssi:75
#: en/user_customization-runtime.ssi:83 en/user_customization-runtime.ssi:92
#: en/user_customization-runtime.ssi:121 en/user_customization-runtime.ssi:131
#: en/user_customization-runtime.ssi:139 en/user_customization-runtime.ssi:148
#: en/user_customization-runtime.ssi:157 en/user_customization-runtime.ssi:172
#: en/user_customization-runtime.ssi:202 en/user_customization-runtime.ssi:210
#: en/user_customization-runtime.ssi:219 en/user_customization-runtime.ssi:229
#: en/user_customization-runtime.ssi:237 en/user_customization-runtime.ssi:245
#: en/user_customization-runtime.ssi:253 en/user_customization-runtime.ssi:261
#: en/user_customization-runtime.ssi:269 en/user_customization-runtime.ssi:277
#: en/user_customization-runtime.ssi:285 en/user_installation.ssi:38
#: en/user_installation.ssi:48 en/user_installation.ssi:56
#: en/user_installation.ssi:66 en/user_installation.ssi:74
#: en/user_installation.ssi:82 en/user_installation.ssi:106
#: en/user_installation.ssi:121 en/user_installation.ssi:134
#: en/user_managing_a_configuration.ssi:22
#: en/user_managing_a_configuration.ssi:32
#: en/user_managing_a_configuration.ssi:55
#: en/user_managing_a_configuration.ssi:67
#: en/user_managing_a_configuration.ssi:76 en/user_overview.ssi:34
#: en/user_overview.ssi:47 en/user_overview.ssi:55
msgid "code{"
msgstr ""
#. type: Plain text
#: en/about_manual.ssi:96 en/about_manual.ssi:104 en/about_manual.ssi:112
#: en/about_manual.ssi:120 en/about_manual.ssi:128 en/about_manual.ssi:136
#: en/appendix_style-guide.ssi:128 en/appendix_style-guide.ssi:138
#: en/appendix_style-guide.ssi:148 en/appendix_style-guide.ssi:158
#: en/appendix_style-guide.ssi:173 en/appendix_style-guide.ssi:182
#: en/examples.ssi:20 en/examples.ssi:34 en/examples.ssi:44 en/examples.ssi:61
#: en/examples.ssi:71 en/examples.ssi:89 en/examples.ssi:102
#: en/examples.ssi:110 en/examples.ssi:118 en/examples.ssi:128
#: en/examples.ssi:141 en/examples.ssi:153 en/examples.ssi:161
#: en/examples.ssi:169 en/examples.ssi:177 en/examples.ssi:197
#: en/examples.ssi:207 en/examples.ssi:215 en/examples.ssi:231
#: en/examples.ssi:239 en/examples.ssi:253 en/examples.ssi:261
#: en/examples.ssi:269 en/examples.ssi:289 en/examples.ssi:298
#: en/examples.ssi:308 en/examples.ssi:324 en/project_bugs.ssi:66
#: en/project_coding-style.ssi:36 en/project_coding-style.ssi:47
#: en/project_coding-style.ssi:59 en/project_coding-style.ssi:70
#: en/project_coding-style.ssi:98 en/project_coding-style.ssi:106
#: en/project_coding-style.ssi:119 en/project_coding-style.ssi:130
#: en/project_contributing.ssi:41 en/project_contributing.ssi:55
#: en/project_contributing.ssi:64 en/project_contributing.ssi:73
#: en/project_contributing.ssi:83 en/project_contributing.ssi:90
#: en/project_git.ssi:12 en/project_git.ssi:20 en/project_git.ssi:28
#: en/project_git.ssi:38 en/project_git.ssi:48 en/project_git.ssi:60
#: en/project_procedures.ssi:47 en/project_procedures.ssi:92
#: en/user_basics.ssi:54 en/user_basics.ssi:62 en/user_basics.ssi:72
#: en/user_basics.ssi:91 en/user_basics.ssi:105 en/user_basics.ssi:117
#: en/user_basics.ssi:125 en/user_basics.ssi:163 en/user_basics.ssi:171
#: en/user_basics.ssi:184 en/user_basics.ssi:194 en/user_basics.ssi:202
#: en/user_basics.ssi:214 en/user_basics.ssi:222 en/user_basics.ssi:230
#: en/user_basics.ssi:242 en/user_basics.ssi:254 en/user_basics.ssi:264
#: en/user_basics.ssi:274 en/user_basics.ssi:311 en/user_basics.ssi:323
#: en/user_basics.ssi:339 en/user_basics.ssi:347 en/user_basics.ssi:374
#: en/user_basics.ssi:394 en/user_basics.ssi:410
#: en/user_customization-binary.ssi:25 en/user_customization-contents.ssi:29
#: en/user_customization-contents.ssi:43 en/user_customization-contents.ssi:55
#: en/user_customization-installer.ssi:38
#: en/user_customization-installer.ssi:49
#: en/user_customization-packages.ssi:18 en/user_customization-packages.ssi:26
#: en/user_customization-packages.ssi:45 en/user_customization-packages.ssi:59
#: en/user_customization-packages.ssi:71
#: en/user_customization-packages.ssi:100
#: en/user_customization-packages.ssi:110
#: en/user_customization-packages.ssi:118
#: en/user_customization-packages.ssi:143
#: en/user_customization-packages.ssi:157
#: en/user_customization-packages.ssi:167
#: en/user_customization-packages.ssi:177
#: en/user_customization-packages.ssi:201
#: en/user_customization-packages.ssi:216
#: en/user_customization-packages.ssi:294
#: en/user_customization-packages.ssi:306
#: en/user_customization-packages.ssi:316
#: en/user_customization-packages.ssi:330
#: en/user_customization-packages.ssi:355
#: en/user_customization-packages.ssi:364 en/user_customization-runtime.ssi:18
#: en/user_customization-runtime.ssi:30 en/user_customization-runtime.ssi:48
#: en/user_customization-runtime.ssi:69 en/user_customization-runtime.ssi:79
#: en/user_customization-runtime.ssi:88 en/user_customization-runtime.ssi:97
#: en/user_customization-runtime.ssi:125 en/user_customization-runtime.ssi:135
#: en/user_customization-runtime.ssi:144 en/user_customization-runtime.ssi:153
#: en/user_customization-runtime.ssi:162 en/user_customization-runtime.ssi:180
#: en/user_customization-runtime.ssi:206 en/user_customization-runtime.ssi:215
#: en/user_customization-runtime.ssi:223 en/user_customization-runtime.ssi:233
#: en/user_customization-runtime.ssi:241 en/user_customization-runtime.ssi:249
#: en/user_customization-runtime.ssi:257 en/user_customization-runtime.ssi:265
#: en/user_customization-runtime.ssi:273 en/user_customization-runtime.ssi:281
#: en/user_customization-runtime.ssi:289 en/user_installation.ssi:42
#: en/user_installation.ssi:52 en/user_installation.ssi:62
#: en/user_installation.ssi:70 en/user_installation.ssi:78
#: en/user_installation.ssi:86 en/user_installation.ssi:111
#: en/user_installation.ssi:128 en/user_installation.ssi:139
#: en/user_managing_a_configuration.ssi:28
#: en/user_managing_a_configuration.ssi:43
#: en/user_managing_a_configuration.ssi:61
#: en/user_managing_a_configuration.ssi:72
#: en/user_managing_a_configuration.ssi:80 en/user_overview.ssi:41
#: en/user_overview.ssi:51 en/user_overview.ssi:59
msgid "}code"
msgstr ""
#. type: Plain text
#: en/examples.ssi:108 en/user_basics.ssi:60
#, no-wrap
msgid " $ lb config\n"
msgstr ""
#. type: Plain text
#: en/examples.ssi:126 en/examples.ssi:237 en/user_basics.ssi:70
#: en/user_basics.ssi:228 en/user_basics.ssi:272
#, no-wrap
msgid " # lb build\n"
msgstr ""
#. type: Plain text
#: en/examples.ssi:151 en/user_basics.ssi:252
#, no-wrap
msgid " # lb clean\n"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:2
msgid ":B~ The basics"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:4
msgid "1~the-basics The basics"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:6
msgid ""
"This chapter contains a brief overview of the build process and instructions "
"for using the three most commonly used image types. The most versatile image "
"type, #{iso-hybrid}#, may be used on a virtual machine, optical medium or "
"USB portable storage device. In certain special cases, as explained later, "
"the #{hdd}# type may be more suitable. The chapter includes detailed "
"instructions for building and using a #{netboot}# type image, which is a bit "
"more involved due to the setup required on the server. This is an slightly "
"advanced topic for anyone who is not already familiar with netbooting, but "
"it is included here because once the setup is done, it is a very convenient "
"way to test and deploy images for booting on the local network without the "
"hassle of dealing with image media."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:8
msgid ""
"The section finishes with a quick introduction to {webbooting}#webbooting "
"which is, perhaps, the easiest way of using different images for different "
"purposes, switching from one to the other as needed using the internet as a "
"means."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:10
msgid ""
"Throughout the chapter, we will often refer to the default filenames "
"produced by live-build. If you are {downloading a prebuilt image}"
"#downloading-prebuilt-images instead, the actual filenames may vary."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:12
msgid "2~what-is-live What is a live system?"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:14
msgid ""
"A live system usually means an operating system booted on a computer from a "
"removable medium, such as a CD-ROM or USB stick, or from a network, ready to "
"use without any installation on the usual drive(s), with auto-configuration "
"done at run time (see {Terms}#terms)."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:16
msgid ""
"With live systems, it's an operating system, built for one of the supported "
"architectures (currently amd64 and i386). It is made from the following "
"parts:"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:18
msgid "_* *{Linux kernel image}*, usually named #{vmlinuz*}#"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:20
msgid ""
"_* *{Initial RAM disk image (initrd)}*: a RAM disk set up for the Linux "
"boot, containing modules possibly needed to mount the System image and some "
"scripts to do it."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:22
msgid ""
"_* *{System image}*: The operating system's filesystem image. Usually, a "
"SquashFS compressed filesystem is used to minimize the live system image "
"size. Note that it is read-only. So, during boot the live system will use a "
"RAM disk and 'union' mechanism to enable writing files within the running "
"system. However, all modifications will be lost upon shutdown unless "
"optional persistence is used (see {Persistence}#persistence)."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:24
msgid ""
"_* *{Bootloader}*: A small piece of code crafted to boot from the chosen "
"medium, possibly presenting a prompt or menu to allow selection of options/"
"configuration. It loads the Linux kernel and its initrd to run with an "
"associated system filesystem. Different solutions can be used, depending on "
"the target medium and format of the filesystem containing the previously "
"mentioned components: isolinux to boot from a CD or DVD in ISO9660 format, "
"syslinux for HDD or USB drive booting from a VFAT partition, extlinux for "
"ext2/3/4 and btrfs partitions, pxelinux for PXE netboot, GRUB for ext2/3/4 "
"partitions, etc."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:26
msgid ""
"You can use live-build to build the system image from your specifications, "
"set up a Linux kernel, its initrd, and a bootloader to run them, all in one "
"medium-dependant format (ISO9660 image, disk image, etc.)."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:28
msgid "2~downloading-prebuilt-images Downloading prebuilt images"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:30
msgid ""
"While the focus of this manual is developing and building your own live "
"images, you may simply wish to try one of our prebuilt images, either as an "
"introduction to their use or instead of building your own. These images are "
"built using our {live-images git repository}#clone-configuration-via-git and "
"official stable releases are published at https://www.debian.org/CD/live/. "
"In addition, older and upcoming releases, and unofficial images containing "
"non-free firmware and drivers are available at http://live-systems.org/"
"cdimage/release/."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:32
msgid "2~using-web-builder Using the web live image builder"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:34
msgid ""
"As a service to the community, we run a web-based live image builder service "
"at http://live-systems.org/build/. This site is maintained on a best effort "
"basis. That is, although we strive to keep it up-to-date and operational at "
"all times, and do issue notices for significant operational outages, we "
"cannot guarantee 100% availability or fast image building, and the service "
"may occasionally have issues that take some time to resolve. If you have "
"problems or questions about the service, please {contact us}#contact, "
"providing us with the link to your build."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:36
msgid "3~ Web builder usage and caveats"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:38
msgid ""
"The web interface currently makes no provision to prevent the use of invalid "
"combinations of options, and in particular, where changing an option would "
"normally (i.e. using live-build directly) change defaults of other options "
"listed in the web form, the web builder does not change these defaults. Most "
"notably, if you change #{--architectures}# from the default #{i386}# to "
"#{amd64}#, you must change the corresponding option #{--linux-flavours}# "
"from the default #{586}# to #{amd64}#. See the #{lb_config}# man page for "
"the version of live-build installed on the web builder for more details. The "
"version number of live-build is listed at the bottom of the web builder page."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:40
msgid ""
"The time estimate given by the web builder is a crude estimate only and may "
"not reflect how long your build actually takes. Nor is the estimate updated "
"once it is displayed. Please be patient. Do not refresh the page you land on "
"after submitting the build, as this will resubmit a new build with the same "
"parameters. You should {contact us}#contact if you don't receive "
"notification of your build only once you are certain you've waited long "
"enough and verified the notification e-mail did not get caught by your own e-"
"mail spam filter."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:42
msgid ""
"The web builder is limited in the kinds of images it can build. This keeps "
"it simple and efficient to use and maintain. If you would like to make "
"customizations that are not provided for by the web interface, the rest of "
"this manual explains how to build your own images using live-build."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:44
msgid "2~building-iso-hybrid First steps: building an ISO hybrid image"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:46
msgid ""
"Regardless of the image type, you will need to perform the same basic steps "
"to build an image each time. As a first example, create a build directory, "
"change to that directory and then execute the following sequence of live-"
"build commands to create a basic ISO hybrid image containing a default live "
"system without X.org. It is suitable for burning to CD or DVD media, and "
"also to copy onto a USB stick."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:48
msgid ""
"The name of the working directory is absolutely up to you, but if you take a "
"look at the examples used throughout live-manual, it is a good idea to use a "
"name that helps you identify the image you are working with in each "
"directory, especially if you are working or experimenting with different "
"image types. In this case you are going to build a default system so let's "
"call it, for example, live-default."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:52
#, no-wrap
msgid " $ mkdir live-default && cd live-default\n"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:56
msgid ""
"Then, run the #{lb config}# command. This will create a \"config/\" "
"hierarchy in the current directory for use by other commands:"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:64
msgid ""
"No parameters are passed to these commands, so defaults for all of their "
"various options will be used. See {The lb config command}#lb-config for more "
"details."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:66
msgid ""
"Now that the \"config/\" hierarchy exists, build the image with the #{lb "
"build}# command:"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:74
msgid ""
"This process can take a while, depending on the speed of your computer and "
"your network connection. When it is complete, there should be a #{live-image-"
"i386.hybrid.iso}# image file, ready to use, in the current directory."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:76
#, no-wrap
msgid "*{Note:}* If you are building on an amd64 system the name of the resulting image will be #{live-image-amd64.hybrid.iso}#. Keep in mind this naming convention throughout the manual.\n"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:78
msgid "2~using-iso-hybrid Using an ISO hybrid live image"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:80
msgid ""
"After either building or downloading an ISO hybrid image, which can be "
"obtained at https://www.debian.org/CD/live/, the usual next step is to "
"prepare your medium for booting, either CD-R(W) or DVD-R(W) optical media or "
"a USB stick."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:82
msgid "3~burning-iso-image Burning an ISO image to a physical medium"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:84
msgid ""
"Burning an ISO image is easy. Just install /{xorriso}/ and use it from the "
"command-line to burn the image. For instance:"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:89
#, no-wrap
msgid ""
" # apt-get install xorriso\n"
" $ xorriso -as cdrecord -v dev=/dev/sr0 blank=as_needed live-image-i386.hybrid.iso\n"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:93
msgid "3~copying-iso-hybrid-to-usb Copying an ISO hybrid image to a USB stick"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:95
msgid ""
"ISO images prepared with #{xorriso}#, can be simply copied to a USB stick "
"with the #{cp}# program or an equivalent. Plug in a USB stick with a size "
"large enough for your image file and determine which device it is, which we "
"hereafter refer to as #{${USBSTICK}}#. This is the device file of your key, "
"such as #{/dev/sdb}#, not a partition, such as #{/dev/sdb1}#! You can find "
"the right device name by looking in #{dmesg}#'s output after plugging in the "
"stick, or better yet, #{ls -l /dev/disk/by-id}#."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:98
msgid ""
"Once you are certain you have the correct device name, use the #{cp}# "
"command to copy the image to the stick. *{This will definitely overwrite "
"any previous contents on your stick!}*"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:103
#, no-wrap
msgid ""
" $ cp live-image-i386.hybrid.iso ${USBSTICK}\n"
" $ sync\n"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:107
#, no-wrap
msgid "*{Note:}* The /{sync}/ command is useful to ensure that all the data, which is stored in memory by the kernel while copying the image, is written to the USB stick.\n"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:109
msgid "3~using-usb-extra-space Using the space left on a USB stick"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:111
msgid ""
"After copying the #{live-image-i386.hybrid.iso}# to a USB stick, the first "
"partition on the device will be filled up by the live system. To use the "
"remaining free space, use a partitioning tool such as /{gparted}/ or /"
"{parted}/ to create a new partition on the stick."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:115
#, no-wrap
msgid " # gparted ${USBSTICK}\n"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:119
msgid ""
"After the partition is created, where #{${PARTITION}}# is the name of the "
"partition, such as #{/dev/sdb2}#, you have to create a filesystem on it. One "
"possible choice would be ext4."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:123
#, no-wrap
msgid " # mkfs.ext4 ${PARTITION}\n"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:127
#, no-wrap
msgid "*{Note:}* If you want to use the extra space with Windows, apparently that OS cannot normally access any partitions but the first. Some solutions to this problem have been discussed on our {mailing list}#contact, but it seems there are no easy answers.\n"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:129
#, no-wrap
msgid "*{Remember: Every time you install a new live-image-i386.hybrid.iso on the stick, all data on the stick will be lost because the partition table is overwritten by the contents of the image, so back up your extra partition first to restore again after updating the live image.}*\n"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:131
msgid "3~booting-live-medium Booting the live medium"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:133
msgid ""
"The first time you boot your live medium, whether CD, DVD, USB key, or PXE "
"boot, some setup in your computer's BIOS may be needed first. Since BIOSes "
"vary greatly in features and key bindings, we cannot get into the topic in "
"depth here. Some BIOSes provide a key to bring up a menu of boot devices at "
"boot time, which is the easiest way if it is available on your system. "
"Otherwise, you need to enter the BIOS configuration menu and change the boot "
"order to place the boot device for the live system before your normal boot "
"device."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:135
msgid ""
"Once you've booted the medium, you are presented with a boot menu. If you "
"just press enter here, the system will boot using the default entry, #{Live}"
"# and default options. For more information about boot options, see the "
"\"help\" entry in the menu and also the live-boot and live-config man pages "
"found within the live system."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:137
msgid ""
"Assuming you've selected #{Live}# and booted a default desktop live image, "
"after the boot messages scroll by, you should be automatically logged into "
"the #{user}# account and see a desktop, ready to use. If you have booted a "
"console-only image, such as a #{standard}# flavour {prebuilt image}"
"#downloading-prebuilt-images, you should be automatically logged in on the "
"console to the #{user}# account and see a shell prompt, ready to use."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:139
msgid "2~using-virtual-machine Using a virtual machine for testing"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:141
msgid ""
"It can be a great time-saver for the development of live images to run them "
"in a virtual machine (VM). This is not without its caveats:"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:143
msgid ""
"_* Running a VM requires enough RAM for both the guest OS and the host and a "
"CPU with hardware support for virtualization is recommended."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:145
msgid ""
"_* There are some inherent limitations to running on a VM, e.g. poor video "
"performance, limited choice of emulated hardware."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:147
msgid ""
"_* When developing for specific hardware, there is no substitute for running "
"on the hardware itself."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:149
msgid ""
"_* Occasionally there are bugs that relate only to running in a VM. When in "
"doubt, test your image directly on the hardware."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:151
msgid ""
"Provided you can work within these constraints, survey the available VM "
"software and choose one that is suitable for your needs."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:153
msgid "3~testing-iso-with-qemu Testing an ISO image with QEMU"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:155
msgid ""
"The most versatile VM in Debian is QEMU. If your processor has hardware "
"support for virtualization, use the /{qemu-kvm}/ package; the /{qemu-kvm}/ "
"package description briefly lists the requirements."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:157
msgid ""
"First, install /{qemu-kvm}/ if your processor supports it. If not, install /"
"{qemu}/, in which case the program name is #{qemu}# instead of #{kvm}# in "
"the following examples. The /{qemu-utils}/ package is also valuable for "
"creating virtual disk images with #{qemu-img}#."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:161
#, no-wrap
msgid " # apt-get install qemu-kvm qemu-utils\n"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:165
msgid "Booting an ISO image is simple:"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:169
#, no-wrap
msgid " $ kvm -cdrom live-image-i386.hybrid.iso\n"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:173
msgid "See the man pages for more details."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:175
msgid "3~testing-iso-with-virtualbox Testing an ISO image with VirtualBox"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:177
msgid "In order to test the ISO with /{virtualbox}/:"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:182
#, no-wrap
msgid ""
" # apt-get install virtualbox virtualbox-qt virtualbox-dkms\n"
" $ virtualbox\n"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:186
msgid ""
"Create a new virtual machine, change the storage settings to use #{live-"
"image-i386.hybrid.iso}# as the CD/DVD device, and start the machine."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:188
#, no-wrap
msgid "*{Note:}* For live systems containing X.org that you want to test with /{virtualbox}/, you may wish to include the VirtualBox X.org driver package, /{virtualbox-guest-dkms}/ and /{virtualbox-guest-x11}/, in your live-build configuration. Otherwise, the resolution is limited to 800x600.\n"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:192
#, no-wrap
msgid " $ echo \"virtualbox-guest-dkms virtualbox-guest-x11\" >> config/package-lists/my.list.chroot\n"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:196
msgid ""
"In order to make the dkms package work, also the kernel headers for the "
"kernel flavour used in your image need to be installed. Instead of manually "
"listing the correct /{linux-headers}/ package in above created package list, "
"the selection of the right package can be done automatically by live-build."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:200
#, no-wrap
msgid " $ lb config --linux-packages \"linux-image linux-headers\"\n"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:204
msgid "2~using-hdd-image Building and using an HDD image"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:206
msgid ""
"Building an HDD image is similar to an ISO hybrid one in all respects except "
"you specify #{-b hdd}# and the resulting filename is #{live-image-i386.img}# "
"which cannot be burnt to optical media. It is suitable for booting from USB "
"sticks, USB hard drives, and various other portable storage devices. "
"Normally, an ISO hybrid image can be used for this purpose instead, but if "
"you have a BIOS which does not handle hybrid images properly, you need an "
"HDD image."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:208
#, no-wrap
msgid "*{Note:}* if you created an ISO hybrid image with the previous example, you will need to clean up your working directory with the #{lb clean}# command (see {The lb clean command}#lb-clean):\n"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:212
#, no-wrap
msgid " # lb clean --binary\n"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:216
msgid ""
"Run the #{lb config}# command as before, except this time specifying the HDD "
"image type:"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:220
#, no-wrap
msgid " $ lb config -b hdd\n"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:224 en/user_basics.ssi:268
msgid "Now build the image with the #{lb build}# command:"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:232
msgid ""
"When the build finishes, a #{live-image-i386.img}# file should be present in "
"the current directory."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:234
msgid ""
"The generated binary image contains a VFAT partition and the syslinux "
"bootloader, ready to be directly written on a USB device. Once again, using "
"an HDD image is just like using an ISO hybrid one on USB. Follow the "
"instructions in {Using an ISO hybrid live image}#using-iso-hybrid, except "
"use the filename #{live-image-i386.img}# instead of #{live-image-i386.hybrid."
"iso}#."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:236
msgid ""
"Likewise, to test an HDD image with Qemu, install /{qemu}/ as described "
"above in {Testing an ISO image with QEMU}#testing-iso-with-qemu. Then run "
"#{kvm}# or #{qemu}#, depending on which version your host system needs, "
"specifying #{live-image-i386.img}# as the first hard drive."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:240
#, no-wrap
msgid " $ kvm -hda live-image-i386.img\n"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:244
msgid "2~building-netboot-image Building a netboot image"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:246
msgid ""
"The following sequence of commands will create a basic netboot image "
"containing a default live system without X.org. It is suitable for booting "
"over the network."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:248
#, no-wrap
msgid "*{Note:}* if you performed any previous examples, you will need to clean up your working directory with the #{lb clean}# command:\n"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:256
msgid ""
"In this specific case, a #{lb clean --binary}# would not be enough to clean "
"up the necessary stages. The cause for this is that in netboot setups, a "
"different initramfs configuration needs to be used which live-build performs "
"automatically when building netboot images. Since the initramfs creation "
"belongs to the chroot stage, switching to netboot in an existing build "
"directory means to rebuild the chroot stage too. Therefore, #{lb clean}# "
"(which will remove the chroot stage, too) needs to be used."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:258
msgid ""
"Run the #{lb config}# command as follows to configure your image for "
"netbooting:"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:262
#, no-wrap
msgid " $ lb config -b netboot --net-root-path \"/srv/debian-live\" --net-root-server \"192.168.0.2\"\n"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:266
msgid ""
"In contrast with the ISO and HDD images, netbooting does not, itself, serve "
"the filesystem image to the client, so the files must be served via NFS. "
"Different network filesystems can be chosen through lb config. The #{--net-"
"root-path}# and #{--net-root-server}# options specify the location and "
"server, respectively, of the NFS server where the filesystem image will be "
"located at boot time. Make sure these are set to suitable values for your "
"network and server."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:276
msgid ""
"In a network boot, the client runs a small piece of software which usually "
"resides on the EPROM of the Ethernet card. This program sends a DHCP request "
"to get an IP address and information about what to do next. Typically, the "
"next step is getting a higher level bootloader via the TFTP protocol. That "
"could be pxelinux, GRUB, or even boot directly to an operating system like "
"Linux."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:278
msgid ""
"For example, if you unpack the generated #{live-image-i386.netboot.tar}# "
"archive in the #{/srv/debian-live}# directory, you'll find the filesystem "
"image in #{live/filesystem.squashfs}# and the kernel, initrd and pxelinux "
"bootloader in #{tftpboot/}#."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:280
msgid ""
"We must now configure three services on the server to enable netbooting: the "
"DHCP server, the TFTP server and the NFS server."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:282
msgid "3~ DHCP server"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:284
msgid ""
"We must configure our network's DHCP server to be sure to give an IP address "
"to the netbooting client system, and to advertise the location of the PXE "
"bootloader."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:286
msgid ""
"Here is an example for inspiration, written for the ISC DHCP server #{isc-"
"dhcp-server}# in the #{/etc/dhcp/dhcpd.conf}# configuration file:"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:290
#, no-wrap
msgid " # /etc/dhcp/dhcpd.conf - configuration file for isc-dhcp-server\n"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:292
#, no-wrap
msgid " ddns-update-style none;\n"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:295
#, no-wrap
msgid ""
" option domain-name \"example.org\";\n"
" option domain-name-servers ns1.example.org, ns2.example.org;\n"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:298
#, no-wrap
msgid ""
" default-lease-time 600;\n"
" max-lease-time 7200;\n"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:300
#, no-wrap
msgid " log-facility local7;\n"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:309
#, no-wrap
msgid ""
" subnet 192.168.0.0 netmask 255.255.255.0 {\n"
" range 192.168.0.1 192.168.0.254;\n"
" filename \"pxelinux.0\";\n"
" next-server 192.168.0.2;\n"
" option subnet-mask 255.255.255.0;\n"
" option broadcast-address 192.168.0.255;\n"
" option routers 192.168.0.1;\n"
"}\n"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:313
msgid "3~ TFTP server"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:315
msgid "This serves the kernel and initial ramdisk to the system at run time."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:317
msgid ""
"You should install the /{tftpd-hpa}/ package. It can serve all files "
"contained inside a root directory, usually #{/srv/tftp}#. To let it serve "
"files inside #{/srv/debian-live/tftpboot}#, run as root the following "
"command:"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:321
#, no-wrap
msgid " # dpkg-reconfigure -plow tftpd-hpa\n"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:325
msgid "and fill in the new tftp server directory when being asked about it."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:327
msgid "3~ NFS server"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:329
msgid ""
"Once the guest computer has downloaded and booted a Linux kernel and loaded "
"its initrd, it will try to mount the Live filesystem image through a NFS "
"server."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:331
msgid "You need to install the /{nfs-kernel-server}/ package."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:333
msgid ""
"Then, make the filesystem image available through NFS by adding a line like "
"the following to #{/etc/exports}#:"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:337
#, no-wrap
msgid " /srv/debian-live *(ro,async,no_root_squash,no_subtree_check)\n"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:341
msgid ""
"and tell the NFS server about this new export with the following command:"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:345
#, no-wrap
msgid " # exportfs -rv\n"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:349
msgid ""
"Setting up these three services can be a little tricky. You might need some "
"patience to get all of them working together. For more information, see the "
"syslinux wiki at http://www.syslinux.org/wiki/index.php/PXELINUX or the "
"Debian Installer Manual's TFTP Net Booting section at http://d-i.alioth."
"debian.org/manual/en.i386/ch04s05.html. They might help, as their processes "
"are very similar."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:351
msgid "3~ Netboot testing HowTo"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:353
msgid ""
"Netboot image creation is made easy with live-build, but testing the images "
"on physical machines can be really time consuming."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:355
msgid "To make our life easier, we can use virtualization."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:357
msgid "3~ Qemu"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:359
msgid "_* Install /{qemu}/, /{bridge-utils}/, /{sudo}/."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:361
msgid "Edit #{/etc/qemu-ifup}#:"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:372
#, no-wrap
msgid ""
" #!/bin/sh\n"
" sudo -p \"Password for $0:\" /sbin/ifconfig $1 172.20.0.1\n"
" echo \"Executing /etc/qemu-ifup\"\n"
" echo \"Bringing up $1 for bridged mode...\"\n"
" sudo /sbin/ifconfig $1 0.0.0.0 promisc up\n"
" echo \"Adding $1 to br0...\"\n"
" sudo /usr/sbin/brctl addif br0 $1\n"
" sleep 2\n"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:376
msgid "Get, or build a #{grub-floppy-netboot}#."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:378
msgid ""
"Launch #{qemu}# with \"#{-net nic,vlan=0 -net tap,vlan=0,ifname=tun0}#\""
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:380
msgid "2~webbooting Webbooting"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:382
msgid ""
"Webbooting is a convenient way of retrieving and booting live systems using "
"the internet as a means. The requirements for webbooting are very few. On "
"the one hand, you need a medium with a bootloader, an initial ramdisk and a "
"kernel. On the other hand, a web server to store the squashfs files which "
"contain the filesystem."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:384
msgid "3~ Getting the webboot files"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:386
msgid ""
"As usual, you can build the images yourself or use the prebuilt files, which "
"are available on the project's homepage at http://live-systems.org/. Using "
"prebuilt images would be handy for doing initial testing until one can fine "
"tune their own needs. If you have built a live image you will find the files "
"needed for webbooting in the build directory under #{binary/live/}#. The "
"files are called #{vmlinuz}#, #{initrd.img}# and #{filesystem.squashfs}#."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:388
msgid ""
"It is also possible to extract those files from an already existing iso "
"image. In order to achieve that, loopback mount the image as follows:"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:392
#, no-wrap
msgid " # mount -o loop image.iso /mnt\n"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:396
msgid ""
"The files are to be found under the #{live/}# directory. In this specific "
"case, it would be #{/mnt/live/}#. This method has the disadvantage that you "
"need to be root to be able to mount the image. However, it has the advantage "
"that it is easily scriptable and thus, easily automatized."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:398
msgid ""
"But undoubtedly, the easiest way of extracting the files from an iso image "
"and uploading it to the web server at the same time, is using the midnight "
"commander or /{mc}/. If you have the /{genisoimage}/ package installed, the "
"two-pane file manager allows you to browse the contents of an iso file in "
"one pane and upload the files via ftp in the other pane. Even though this "
"method requires manual work, it does not require root privileges."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:400
msgid "3~ Booting webboot images"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:402
msgid ""
"While some users will prefer virtualization to test webbooting, we refer to "
"real hardware here to match the following possible use case which should "
"only be considered as an example."
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:404
msgid ""
"In order to boot a webboot image it is enough to have the components "
"mentioned above, i.e. #{vmlinuz}# and #{initrd.img}# in a usb stick inside a "
"directory named #{live/}# and install syslinux as bootloader. Then boot from "
"the usb stick and type #{fetch=URL/PATH/TO/FILE}# at the boot options. live-"
"boot will retrieve the squashfs file and store it into ram. This way, it is "
"possible to use the downloaded compressed filesystem as a regular live "
"system. For example:"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:408
#, no-wrap
msgid " append boot=live components fetch=http://192.168.2.50/images/webboot/filesystem.squashfs\n"
msgstr ""
#. type: Plain text
#: en/user_basics.ssi:411
#, no-wrap
msgid "*{Use case:}* You have a web server in which you have stored two squashfs files, one which contains a full desktop, like for example gnome, and a standard one. If you need a graphical environment for one machine, you can plug your usb stick in and webboot the gnome image. If you need one of the tools included in the second type of image, perhaps for another machine, you can webboot the standard one.\n"
msgstr ""
|