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
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
|
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR Free Software Foundation, Inc.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2005-12-03 10:28+0000\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"
"MIME-Version: 1.0\n"
"Content-Type: application/x-xml2pot; charset=UTF-8\n"
"Content-Transfer-Encoding: ENCODING\n"
#: random-bits.xml:4
#, no-c-format
#. Tag: title
msgid "Random Bits"
msgstr ""
#: random-bits.xml:11
#, no-c-format
#. Tag: title
msgid "Preconfiguration File Example"
msgstr ""
#: random-bits.xml:13
#, no-c-format
#. Tag: para
msgid "This is a complete working example of a preconfiguration file for an automated install. Its use is explained in <xref linkend=\"automatic-install\"/>. You may want to uncomment some of the lines before using the file."
msgstr ""
#: random-bits.xml:21
#, no-c-format
#. Tag: para
msgid "In order to be able to properly present this example in the manual, we've had to split some lines. This is indicated by the use of the line-continuation-character <quote>\\</quote> and extra indentation in the next line. In a real preconfiguration file, these split lines have to be joined into <emphasis>one single line</emphasis>. If you do not, preconfiguration will fail with unpredictable results."
msgstr ""
#: random-bits.xml:29
#, no-c-format
#. Tag: para
msgid "A <quote>clean</quote> example file is available from &urlset-example-preseed;."
msgstr ""
#: random-bits.xml:41
#, no-c-format
#. Tag: screen
msgid ""
"#### Startup.\n"
"\n"
"# To use a preseed file, you'll first need to boot the installer,\n"
"# and tell it what preseed file to use. This is done by passing the\n"
"# kernel a boot parameter, either manually at boot or by editing the\n"
"# syslinux.cfg (or similar) file and adding the parameter to the end\n"
"# of the append line(s) for the kernel.\n"
"#\n"
"# If you're netbooting, use this:\n"
"# preseed/url=http://host/path/to/preseed\n"
"# If you're remastering a CD, you could use this:\n"
"# preseed/file=/cdrom/preseed\n"
"# If you're installing from USB media, use this, and put the preseed file\n"
"# in the toplevel directory of the USB stick.\n"
"# preseed/file=/hd-media/preseed\n"
"# Be sure to copy this file to the location you specify.\n"
"#\n"
"# Some parts of the installation process cannot be automated using\n"
"# some forms of preseeding, because the questions are asked before\n"
"# the preseed file is loaded. For example, if the preseed file is\n"
"# downloaded over the network, the network setup must be done first.\n"
"# One reason to use initrd preseeding is that it allows preseeding\n"
"# of even these early steps of the installation process.\n"
"#\n"
"# If a preseed file cannot be used to preseed some steps, the install can\n"
"# still be fully automated, since you can pass preseed values to the kernel\n"
"# on the command line. Just pass path/to/var=value for any of the preseed\n"
"# variables listed below.\n"
"#\n"
"# While you're at it, you may want to throw a debconf/priority=critical in\n"
"# there, to avoid most questions even if the preseeding below misses some.\n"
"# And you might set the timeout to 1 in syslinux.cfg to avoid needing to hit\n"
"# enter to boot the installer.\n"
"#\n"
"# Note that the kernel accepts a maximum of 8 command line options and\n"
"# 8 environment options (including any options added by default for the\n"
"# installer). If these numbers are exceeded, 2.4 kernels will drop any\n"
"# excess options and 2.6 kernels will panic. With kernel 2.6.9 or newer,\n"
"# you can use 32 command line options and 32 environment options.\n"
"#\n"
"# Some of the default options, like 'vga=normal' may be safely removed\n"
"# for most installations, which may allow you to add more options for\n"
"# preseeding.\n"
"\n"
"# It is not possible to use preseeding to set language, country, and\n"
"# keyboard. Instead you should use kernel parameters. Example:\n"
"# languagechooser/language-name=English\n"
"# countrychooser/shortlist=US\n"
"# console-keymaps-at/keymap=us\n"
"\n"
"#### Network configuration.\n"
"\n"
"# Of course, this won't work if you're loading your preseed file from the\n"
"# network! But it's great if you're booting from CD or USB stick. You can\n"
"# also pass network config parameters in on the kernel params if you are\n"
"# loading preseed files from the network.\n"
"\n"
"# netcfg will choose an interface that has link if possible. This makes it\n"
"# skip displaying a list if there is more than one interface.\n"
"d-i netcfg/choose_interface select auto\n"
"\n"
"# If you have a slow dhcp server and the installer times out waiting for\n"
"# it, this might be useful.\n"
"#d-i netcfg/dhcp_timeout string 60\n"
"\n"
"# If you prefer to configure the network manually, here's how:\n"
"#d-i netcfg/disable_dhcp boolean true\n"
"#d-i netcfg/get_nameservers string 192.168.1.1\n"
"#d-i netcfg/get_ipaddress string 192.168.1.42\n"
"#d-i netcfg/get_netmask string 255.255.255.0\n"
"#d-i netcfg/get_gateway string 192.168.1.1\n"
"#d-i netcfg/confirm_static boolean true\n"
"\n"
"# Note that any hostname and domain names assigned from dhcp take\n"
"# precedence over values set here. However, setting the values still\n"
"# prevents the questions from being shown even if values come from dhcp.\n"
"d-i netcfg/get_hostname string unassigned-hostname\n"
"d-i netcfg/get_domain string unassigned-domain\n"
"\n"
"# Disable that annoying WEP key dialog.\n"
"d-i netcfg/wireless_wep string\n"
"# The wacky dhcp hostname that some ISPs use as a password of sorts.\n"
"#d-i netcfg/dhcp_hostname string radish\n"
"\n"
"#### Mirror settings.\n"
"\n"
"d-i mirror/country string enter information manually\n"
"d-i mirror/http/hostname string http.us.debian.org\n"
"d-i mirror/http/directory string /debian\n"
"d-i mirror/suite string testing\n"
"d-i mirror/http/proxy string\n"
"\n"
"#### Partitioning.\n"
"\n"
"# If the system has free space you can choose to only partition that space.\n"
"#d-i partman-auto/init_automatically_partition \\\n"
"# select Use the largest continuous free space\n"
"\n"
"# Alternatively, you can specify a disk to partition. The device name can\n"
"# be given in either devfs or traditional non-devfs format.\n"
"# For example, to use the first disk devfs knows of:\n"
"d-i partman-auto/disk string /dev/discs/disc0/disc\n"
"\n"
"# You can choose from any of the predefined partitioning recipes:\n"
"d-i partman-auto/choose_recipe select \\\n"
" All files in one partition (recommended for new users)\n"
"#d-i partman-auto/choose_recipe select Desktop machine\n"
"#d-i partman-auto/choose_recipe select Multi-user workstation\n"
"\n"
"# Or provide a recipe of your own...\n"
"# The recipe format is documented in the file devel/partman-auto-recipe.txt.\n"
"# If you have a way to get a recipe file into the d-i environment, you can\n"
"# just point at it.\n"
"#d-i partman-auto/expert_recipe_file string /hd-media/recipe\n"
"\n"
"# If not, you can put an entire recipe in one line. This example creates\n"
"# a small /boot partition, suitable swap, and uses the rest of the space\n"
"# for the root partition:\n"
"#d-i partman-auto/expert_recipe string boot-root :: \\\n"
"# 20 50 100 ext3 $primary{ } $bootable{ } method{ format } format{ } \\\n"
"# use_filesystem{ } filesystem{ ext3 } mountpoint{ /boot } . \\\n"
"# 500 10000 1000000000 ext3 method{ format } format{ } \\\n"
"# use_filesystem{ } filesystem{ ext3 } mountpoint{ / } . \\\n"
"# 64 512 300% linux-swap method{ swap } format{ } .\n"
"# For reference, here is that same recipe in a more readable form:\n"
"# boot-root ::\n"
"# 40 50 100 ext3\n"
"# $primary{ } $bootable{ }\n"
"# method{ format } format{ }\n"
"# use_filesystem{ } filesystem{ ext3 }\n"
"# mountpoint{ /boot }\n"
"# .\n"
"# 500 10000 1000000000 ext3\n"
"# method{ format } format{ }\n"
"# use_filesystem{ } filesystem{ ext3 }\n"
"# mountpoint{ / }\n"
"# .\n"
"# 64 512 300% linux-swap\n"
"# method{ swap } format{ }\n"
"# .\n"
"\n"
"# This makes partman automatically partition without confirmation.\n"
"d-i partman/confirm_write_new_label boolean true\n"
"d-i partman/choose_partition select \\\n"
" Finish partitioning and write changes to disk\n"
"d-i partman/confirm boolean true\n"
"\n"
"#### Boot loader installation.\n"
"\n"
"# Grub is the default boot loader (for x86). If you want lilo installed\n"
"# instead, uncomment this:\n"
"#d-i grub-installer/skip boolean true\n"
"\n"
"# This is fairly safe to set, it makes grub install automatically to the MBR\n"
"# if no other operating system is detected on the machine.\n"
"d-i grub-installer/only_debian boolean true\n"
"\n"
"# This one makes grub-installer install to the MBR if if finds some other OS\n"
"# too, which is less safe as it might not be able to boot that other OS.\n"
"d-i grub-installer/with_other_os boolean true\n"
"\n"
"# Alternatively, if you want to install to a location other than the mbr,\n"
"# uncomment and edit these lines:\n"
"#d-i grub-installer/bootdev string (hd0,0)\n"
"#d-i grub-installer/only_debian boolean false\n"
"#d-i grub-installer/with_other_os boolean false\n"
"\n"
"#### Finishing up the first stage install.\n"
"\n"
"# Avoid that last message about the install being complete.\n"
"d-i prebaseconfig/reboot_in_progress note\n"
"\n"
"#### Shell commands.\n"
"\n"
"# d-i preseeding is inherently not secure. Nothing in the installer checks\n"
"# for attempts at buffer overflows or other exploits of the values of a\n"
"# preseed file like this one. Only use preseed files from trusted\n"
"# locations! To drive that home, and because it's generally useful, here's\n"
"# a way to run any shell command you'd like inside the installer,\n"
"# automatically.\n"
"\n"
"# This first command is run as early as possible, just after\n"
"# preseeding is read.\n"
"#d-i preseed/early_command string anna-install some-udeb\n"
"\n"
"# This command is run just before the install finishes, but when there is\n"
"# still a usable /target directory.\n"
"#d-i preseed/late_command string echo foo > /target/etc/bar\n"
"\n"
"# This command is run just as base-config is starting up.\n"
"#base-config base-config/early_command string echo hi mom\n"
"\n"
"# This command is run after base-config is done, just before the login:\n"
"# prompt. This is a good way to install a set of packages you want, or to\n"
"# tweak the configuration of the system.\n"
"#base-config base-config/late_command string \\\n"
"# apt-get install zsh; chsh -s /bin/zsh\n"
"\n"
"###### Preseeding the 2nd stage of the installation.\n"
"\n"
"#### Preseeding base-config.\n"
"\n"
"# Avoid the introductory message.\n"
"base-config base-config/intro note\n"
"\n"
"# Avoid the final message.\n"
"base-config base-config/login note\n"
"\n"
"# If you installed a display manager, but don't want to start it immediately\n"
"# after base-config finishes.\n"
"#base-config base-config/start-display-manager boolean false\n"
"\n"
"# Some versions of the installer can report back on what you've installed.\n"
"# The default is not to report back, but sending reports helps the project\n"
"# determine what software is most popular and include it on CDs.\n"
"#popularity-contest popularity-contest/participate boolean false\n"
"\n"
"#### Clock and time zone setup.\n"
"\n"
"# Controls whether or not the hardware clock is set to UTC.\n"
"#base-config tzconfig/gmt boolean true\n"
"# If you told the installer that you're in the United States, then you\n"
"# can set the time zone using this variable.\n"
"# (Choices are: Eastern, Central, Mountain, Pacific, Alaska, Hawaii,\n"
"# Aleutian, Arizona East-Indiana, Indiana-Starke, Michigan, Samoa, other)\n"
"#base-config tzconfig/choose_country_zone/US select Eastern\n"
"# If you told it you're in Canada.\n"
"# (Choices are: Newfoundland, Atlantic, Eastern, Central,\n"
"# East-Saskatchewan, Saskatchewan, Mountain, Pacific, Yukon, other)\n"
"#base-config tzconfig/choose_country_zone/CA select Eastern\n"
"# If you told it you're in Brazil. (Choices are: East, West, Acre,\n"
"# DeNoronha, other)\n"
"#base-config tzconfig/choose_country_zone/BR select East\n"
"# Many countries have only one time zone. If you told the installer you're\n"
"# in one of those countries, you can choose its standard time zone via this\n"
"# question.\n"
"#base-config tzconfig/choose_country_zone_single boolean true\n"
"# This question is asked as a fallback for countries other than those\n"
"# listed above, which have more than one time zone. You can preseed one of\n"
"# the time zones, or \"other\".\n"
"#base-config tzconfig/choose_country_zone_multiple select\n"
"\n"
"#### Account setup.\n"
"\n"
"# To preseed the root password, you have to put it in the clear in this\n"
"# file. That is not a very good idea, use caution!\n"
"#passwd passwd/root-password password r00tme\n"
"#passwd passwd/root-password-again password r00tme\n"
"\n"
"# If you want to skip creation of a normal user account.\n"
"#passwd passwd/make-user boolean false\n"
"\n"
"# Alternatively, you can preseed the user's name and login.\n"
"#passwd passwd/user-fullname string Debian User\n"
"#passwd passwd/username string debian\n"
"# And their password, but use caution!\n"
"#passwd passwd/user-password password insecure\n"
"#passwd passwd/user-password-again password insecure\n"
"\n"
"#### Apt setup.\n"
"\n"
"# This question controls what source the second stage installation uses\n"
"# for packages. Choices are cdrom, http, ftp, filesystem, edit sources list\n"
"# by hand\n"
"base-config apt-setup/uri_type select http\n"
"\n"
"# If you choose ftp or http, you'll be asked for a country and a mirror.\n"
"base-config apt-setup/country select enter information manually\n"
"base-config apt-setup/hostname string http.us.debian.org\n"
"base-config apt-setup/directory string /debian\n"
"# Stop after choosing one mirror.\n"
"base-config apt-setup/another boolean false\n"
"\n"
"# You can choose to install non-free and contrib software.\n"
"#base-config apt-setup/non-free boolean true\n"
"#base-config apt-setup/contrib boolean true\n"
"\n"
"# Do enable security updates.\n"
"base-config apt-setup/security-updates boolean true\n"
"\n"
"#### Package selection.\n"
"\n"
"# You can choose to install any combination of tasks that are available.\n"
"# Available tasks as of this writing include: Desktop environment,\n"
"# Web server, Print server, DNS server, File server, Mail server,\n"
"# SQL database, Laptop, Standard system, manual package selection. The\n"
"# last of those will run aptitude. You can also choose to install no\n"
"# tasks, and force the installation of a set of packages in some other\n"
"# way. We recommend always including the Standard system task.\n"
"tasksel tasksel/first multiselect Desktop environment, Standard system\n"
"#tasksel tasksel/first multiselect Web server, Standard system\n"
"\n"
"#### Mailer configuration.\n"
"\n"
"# During a normal install, exim asks only a few questions. Here's how to\n"
"# avoid even those. More complicated preseeding is possible.\n"
"exim4-config exim4/dc_eximconfig_configtype \\\n"
" select no configuration at this time\n"
"exim4-config exim4/no_config boolean true\n"
"exim4-config exim4/no_config boolean true\n"
"\n"
"# It's a good idea to set this to whatever user account you choose to\n"
"# create. Leaving the value blank results in postmaster mail going to\n"
"# /var/mail/mail.\n"
"exim4-config exim4/dc_postmaster string\n"
"\n"
"#### X Configuration.\n"
"\n"
"# Preseeding Debian's X config is possible, but you probably need to know\n"
"# some details about the video hardware of the machine, since Debian's X\n"
"# configurator does not do fully automatic configuration of everything.\n"
"\n"
"# X can detect the right driver for some cards, but if you're preseeding,\n"
"# you override whatever it chooses. Still, vesa will work most places.\n"
"#xserver-xfree86 xserver-xfree86/config/device/driver select vesa\n"
"\n"
"# A caveat with mouse autodetection is that if it fails, X will retry it\n"
"# over and over. So if it's preseeded to be done, there is a possibility of\n"
"# an infinite loop if the mouse is not autodetected.\n"
"#xserver-xfree86 xserver-xfree86/autodetect_mouse boolean true\n"
"\n"
"# Monitor autodetection is recommended.\n"
"xserver-xfree86 xserver-xfree86/autodetect_monitor boolean true\n"
"# Uncomment if you have an LCD display.\n"
"#xserver-xfree86 xserver-xfree86/config/monitor/lcd boolean true\n"
"# X has three configuration paths for the monitor. Here's how to preseed\n"
"# the \"medium\" path, which is always available. The \"simple\" path may not\n"
"# be available, and the \"advanced\" path asks too many questions.\n"
"xserver-xfree86 xserver-xfree86/config/monitor/selection-method \\\n"
" select medium\n"
"xserver-xfree86 xserver-xfree86/config/monitor/mode-list \\\n"
" select 1024x768 @ 60 Hz\n"
"\n"
"#### Everything else.\n"
"\n"
"# Depending on what software you choose to install, or if things go wrong\n"
"# during the installation process, it's possible that other questions may\n"
"# be asked. You can preseed those too, of course. To get a list of every\n"
"# possible question that could be asked during an install, do an\n"
"# installation, and then run these commands:\n"
"# debconf-get-selections --installer > file\n"
"# debconf-get-selections >> file\n"
"\n"
"# If you like, you can include other preseed files into this one.\n"
"# Any settings in those files will override pre-existing settings from this\n"
"# file. More that one file can be listed, separated by spaces; all will be\n"
"# loaded. The included files can have preseed/include directives of their\n"
"# own as well. Note that if the filenames are relative, they are taken from\n"
"# the same directory as the preseed file that includes them.\n"
"#d-i preseed/include string x.cfg\n"
"\n"
"# More flexibly, this runs a shell command and if it outputs the names of\n"
"# preseed files, includes those files. For example, to switch configs based\n"
"# on a particular usb storage device (in this case, a built-in card reader):\n"
"#d-i preseed/include_command string \\\n"
"# if $(grep -q \"GUID: 0aec3050aec305000001a003\" /proc/scsi/usb-storage-*/*); \\\n"
"# then echo kraken.cfg; else echo otherusb.cfg; fi\n"
"\n"
"# To check the format of your preseed file before performing an install,\n"
"# you can use debconf-set-selections:\n"
"# debconf-set-selections -c preseed.cfg"
msgstr ""
#: random-bits.xml:52
#, no-c-format
#. Tag: title
msgid "Linux Devices"
msgstr ""
#: random-bits.xml:53
#, no-c-format
#. Tag: para
msgid "In Linux you have various special files in <filename>/dev</filename>. These files are called device files. In the Unix world accessing hardware is different. There you have a special file which actually runs a driver which in turn accesses the hardware. The device file is an interface to the actual system component. Files under <filename>/dev</filename> also behave differently than ordinary files. Below are the most important device files listed."
msgstr ""
#: random-bits.xml:68
#, no-c-format
#. Tag: filename
msgid "<filename>fd0</filename>"
msgstr ""
#: random-bits.xml:69
#, no-c-format
#. Tag: entry
msgid "First Floppy Drive"
msgstr ""
#: random-bits.xml:71
#, no-c-format
#. Tag: filename
msgid "<filename>fd1</filename>"
msgstr ""
#: random-bits.xml:72
#, no-c-format
#. Tag: entry
msgid "Second Floppy Drive"
msgstr ""
#: random-bits.xml:78
#, no-c-format
#. Tag: filename
msgid "<filename>hda</filename>"
msgstr ""
#: random-bits.xml:79
#, no-c-format
#. Tag: entry
msgid "IDE Hard disk / CD-ROM on the first IDE port (Master)"
msgstr ""
#: random-bits.xml:81
#, no-c-format
#. Tag: filename
msgid "<filename>hdb</filename>"
msgstr ""
#: random-bits.xml:82
#, no-c-format
#. Tag: entry
msgid "IDE Hard disk / CD-ROM on the first IDE port (Slave)"
msgstr ""
#: random-bits.xml:84
#, no-c-format
#. Tag: filename
msgid "<filename>hdc</filename>"
msgstr ""
#: random-bits.xml:85
#, no-c-format
#. Tag: entry
msgid "IDE Hard disk / CD-ROM on the second IDE port (Master)"
msgstr ""
#: random-bits.xml:87
#, no-c-format
#. Tag: filename
msgid "<filename>hdd</filename>"
msgstr ""
#: random-bits.xml:88
#, no-c-format
#. Tag: entry
msgid "IDE Hard disk / CD-ROM on the second IDE port (Slave)"
msgstr ""
#: random-bits.xml:90
#, no-c-format
#. Tag: filename
msgid "hda1"
msgstr ""
#: random-bits.xml:91
#, no-c-format
#. Tag: entry
msgid "First partition of the first IDE hard disk"
msgstr ""
#: random-bits.xml:93
#, no-c-format
#. Tag: filename
msgid "hdd15"
msgstr ""
#: random-bits.xml:94
#, no-c-format
#. Tag: entry
msgid "Fifteenth partition of the fourth IDE hard disk"
msgstr ""
#: random-bits.xml:100
#, no-c-format
#. Tag: filename
msgid "<filename>sda</filename>"
msgstr ""
#: random-bits.xml:101
#, no-c-format
#. Tag: entry
msgid "SCSI Hard disk with lowest SCSI ID (e.g. 0)"
msgstr ""
#: random-bits.xml:103
#, no-c-format
#. Tag: filename
msgid "<filename>sdb</filename>"
msgstr ""
#: random-bits.xml:104
#, no-c-format
#. Tag: entry
msgid "SCSI Hard disk with next higher SCSI ID (e.g. 1)"
msgstr ""
#: random-bits.xml:106
#, no-c-format
#. Tag: filename
msgid "<filename>sdc</filename>"
msgstr ""
#: random-bits.xml:107
#, no-c-format
#. Tag: entry
msgid "SCSI Hard disk with next higher SCSI ID (e.g. 2)"
msgstr ""
#: random-bits.xml:109
#, no-c-format
#. Tag: filename
msgid "sda1"
msgstr ""
#: random-bits.xml:110
#, no-c-format
#. Tag: entry
msgid "First partition of the first SCSI hard disk"
msgstr ""
#: random-bits.xml:112
#, no-c-format
#. Tag: filename
msgid "sdd10"
msgstr ""
#: random-bits.xml:113
#, no-c-format
#. Tag: entry
msgid "Tenth partition of the fourth SCSI hard disk"
msgstr ""
#: random-bits.xml:119
#, no-c-format
#. Tag: filename
msgid "<filename>sr0</filename>"
msgstr ""
#: random-bits.xml:120
#, no-c-format
#. Tag: entry
msgid "SCSI CD-ROM with the lowest SCSI ID"
msgstr ""
#: random-bits.xml:122
#, no-c-format
#. Tag: filename
msgid "<filename>sr1</filename>"
msgstr ""
#: random-bits.xml:123
#, no-c-format
#. Tag: entry
msgid "SCSI CD-ROM with the next higher SCSI ID"
msgstr ""
#: random-bits.xml:129
#, no-c-format
#. Tag: filename
msgid "ttyS0"
msgstr ""
#: random-bits.xml:130
#, no-c-format
#. Tag: entry
msgid "Serial port 0, COM1 under MS-DOS"
msgstr ""
#: random-bits.xml:132
#, no-c-format
#. Tag: filename
msgid "ttyS1"
msgstr ""
#: random-bits.xml:133
#, no-c-format
#. Tag: entry
msgid "Serial port 1, COM2 under MS-DOS"
msgstr ""
#: random-bits.xml:135
#, no-c-format
#. Tag: filename
msgid "psaux"
msgstr ""
#: random-bits.xml:136
#, no-c-format
#. Tag: entry
msgid "PS/2 mouse device"
msgstr ""
#: random-bits.xml:138
#, no-c-format
#. Tag: filename
msgid "gpmdata"
msgstr ""
#: random-bits.xml:139
#, no-c-format
#. Tag: entry
msgid "Pseudo device, repeater data from GPM (mouse) daemon"
msgstr ""
#: random-bits.xml:145
#, no-c-format
#. Tag: filename
msgid "cdrom"
msgstr ""
#: random-bits.xml:146
#, no-c-format
#. Tag: entry
msgid "Symbolic link to the CD-ROM drive"
msgstr ""
#: random-bits.xml:148
#, no-c-format
#. Tag: filename
msgid "mouse"
msgstr ""
#: random-bits.xml:149
#, no-c-format
#. Tag: entry
msgid "Symbolic link to the mouse device file"
msgstr ""
#: random-bits.xml:155
#, no-c-format
#. Tag: filename
msgid "null"
msgstr ""
#: random-bits.xml:156
#, no-c-format
#. Tag: entry
msgid "Everything pointed to this device will disappear"
msgstr ""
#: random-bits.xml:158
#, no-c-format
#. Tag: filename
msgid "zero"
msgstr ""
#: random-bits.xml:159
#, no-c-format
#. Tag: entry
msgid "One can endlessly read zeros out of this device"
msgstr ""
#: random-bits.xml:166
#, no-c-format
#. Tag: title
msgid "Setting Up Your Mouse"
msgstr ""
#: random-bits.xml:168
#, no-c-format
#. Tag: para
msgid ""
"The mouse can be used in both the Linux console (with gpm) and the X window environment. The two uses can be made compatible if the gpm repeater is used to allow the signal to flow to the X server as shown: <informalexample><screen>\n"
"mouse => /dev/psaux => gpm => /dev/gpmdata -> /dev/mouse => X\n"
" /dev/ttyS0 (repeater) (symlink)\n"
" /dev/ttyS1\n"
"</screen></informalexample> Set the repeater protocol to be raw (in <filename>/etc/gpm.conf</filename>) while setting X to the original mouse protocol in <filename>/etc/X11/XF86Config</filename> or <filename>/etc/X11/XF86Config-4</filename>."
msgstr ""
#: random-bits.xml:180
#, no-c-format
#. Tag: para
msgid ""
"This approach to use gpm even in X has advantages when the mouse is unplugged inadvertently. Simply restarting gpm with <informalexample><screen>\n"
"# /etc/init.d/gpm restart\n"
"</screen></informalexample> will re-connect the mouse in software without restarting X."
msgstr ""
#: random-bits.xml:189
#, no-c-format
#. Tag: para
msgid "If gpm is disabled or not installed with some reason, make sure to set X to read directly from the mouse device such as /dev/psaux. For details, refer to the 3-Button Mouse mini-Howto at <filename>/usr/share/doc/HOWTO/en-txt/mini/3-Button-Mouse.gz</filename>, <userinput>man gpm</userinput>, <filename>/usr/share/doc/gpm/FAQ.gz</filename>, and <ulink url=\"&url-xfree86;current/mouse.html\">README.mouse</ulink>."
msgstr ""
#: random-bits.xml:199
#, no-c-format
#. Tag: para
msgid "For PowerPC, in <filename>/etc/X11/XF86Config</filename> or <filename>/etc/X11/XF86Config-4</filename>, set the mouse device to <userinput>\"/dev/input/mice\"</userinput>."
msgstr ""
#: random-bits.xml:205
#, no-c-format
#. Tag: para
msgid "Modern kernels give you the capability to emulate a three-button mouse when your mouse only has one button. Just add the following lines to <filename>/etc/sysctl.conf</filename> file."
msgstr ""
#: random-bits.xml:211
#, no-c-format
#. Tag: screen
msgid ""
"# 3-button mouse emulation\n"
"# turn on emulation\n"
"/dev/mac_hid/mouse_button_emulation = 1\n"
"# Send middle mouse button signal with the F11 key\n"
"/dev/mac_hid/mouse_button2_keycode = 87\n"
"# Send right mouse button signal with the F12 key\n"
"/dev/mac_hid/mouse_button3_keycode = 88\n"
"# For different keys, use showkey to tell you what the code is."
msgstr ""
#: random-bits.xml:218
#, no-c-format
#. Tag: title
msgid "Disk Space Needed for Tasks"
msgstr ""
#: random-bits.xml:230
#, no-c-format
#. Tag: para
msgid "The base installation for i386 using the default 2.4 kernel, including all standard packages, requires 573MB of disk space."
msgstr ""
#: random-bits.xml:235
#, no-c-format
#. Tag: para
msgid "The following table lists sizes reported by aptitude for the tasks listed in tasksel. Note that some tasks have overlapping constituents, so the total installed size for two tasks together may be less than the total obtained by adding up the numbers."
msgstr ""
#: random-bits.xml:242
#, no-c-format
#. Tag: para
msgid "Note that you will need to add the sizes listed in the table to the size of the base installation when determining the size of partitions. Most of the size listed as <quote>Installed size</quote> will end up in <filename>/usr</filename>; the size listed as <quote>Download size</quote> is (temporarily) required in <filename>/var</filename>."
msgstr ""
#: random-bits.xml:255
#, no-c-format
#. Tag: entry
msgid "Task"
msgstr ""
#: random-bits.xml:256
#, no-c-format
#. Tag: entry
msgid "Installed size (MB)"
msgstr ""
#: random-bits.xml:257
#, no-c-format
#. Tag: entry
msgid "Download size (MB)"
msgstr ""
#: random-bits.xml:258
#, no-c-format
#. Tag: entry
msgid "Space needed to install (MB)"
msgstr ""
#: random-bits.xml:264
#, no-c-format
#. Tag: entry
msgid "Desktop"
msgstr ""
#: random-bits.xml:265
#, no-c-format
#. Tag: entry
msgid "1392"
msgstr ""
#: random-bits.xml:266
#, no-c-format
#. Tag: entry
msgid "<entry>460</entry>"
msgstr ""
#: random-bits.xml:267
#, no-c-format
#. Tag: entry
msgid "1852"
msgstr ""
#: random-bits.xml:271
#, no-c-format
#. Tag: entry
msgid "Web server"
msgstr ""
#: random-bits.xml:272
#, no-c-format
#. Tag: entry
msgid "<entry>36</entry>"
msgstr ""
#: random-bits.xml:273
#, no-c-format
#. Tag: entry
msgid "<entry>12</entry>"
msgstr ""
#: random-bits.xml:274
#, no-c-format
#. Tag: entry
msgid "<entry>48</entry>"
msgstr ""
#: random-bits.xml:278
#, no-c-format
#. Tag: entry
msgid "Print server"
msgstr ""
#: random-bits.xml:279
#, no-c-format
#. Tag: entry
msgid "<entry>168</entry>"
msgstr ""
#: random-bits.xml:280
#, no-c-format
#. Tag: entry
msgid "<entry>58</entry>"
msgstr ""
#: random-bits.xml:281
#, no-c-format
#. Tag: entry
msgid "<entry>226</entry>"
msgstr ""
#: random-bits.xml:285
#, no-c-format
#. Tag: entry
msgid "DNS server"
msgstr ""
#: random-bits.xml:286
#, no-c-format
#. Tag: entry
msgid "<entry>2</entry>"
msgstr ""
#: random-bits.xml:287
#, no-c-format
#. Tag: entry
msgid "<entry>1</entry>"
msgstr ""
#: random-bits.xml:288 random-bits.xml:301
#, no-c-format
#. Tag: entry
msgid "<entry>3</entry>"
msgstr ""
#: random-bits.xml:292
#, no-c-format
#. Tag: entry
msgid "File server"
msgstr ""
#: random-bits.xml:293
#, no-c-format
#. Tag: entry
msgid "<entry>47</entry>"
msgstr ""
#: random-bits.xml:294
#, no-c-format
#. Tag: entry
msgid "<entry>24</entry>"
msgstr ""
#: random-bits.xml:295
#, no-c-format
#. Tag: entry
msgid "<entry>71</entry>"
msgstr ""
#: random-bits.xml:299
#, no-c-format
#. Tag: entry
msgid "Mail server"
msgstr ""
#: random-bits.xml:300
#, no-c-format
#. Tag: entry
msgid "<entry>10</entry>"
msgstr ""
#: random-bits.xml:302
#, no-c-format
#. Tag: entry
msgid "<entry>13</entry>"
msgstr ""
#: random-bits.xml:306
#, no-c-format
#. Tag: entry
msgid "SQL database"
msgstr ""
#: random-bits.xml:307
#, no-c-format
#. Tag: entry
msgid "<entry>66</entry>"
msgstr ""
#: random-bits.xml:308
#, no-c-format
#. Tag: entry
msgid "<entry>21</entry>"
msgstr ""
#: random-bits.xml:309
#, no-c-format
#. Tag: entry
msgid "<entry>87</entry>"
msgstr ""
#: random-bits.xml:315
#, no-c-format
#. Tag: para
msgid "The <emphasis>Desktop</emphasis> task will install both the Gnome and KDE desktop environments."
msgstr ""
#: random-bits.xml:322
#, no-c-format
#. Tag: para
msgid "If you install in a language other than English, <command>tasksel</command> may automatically install a <firstterm>localization task</firstterm>, if one is available for your language. Space requirements differ per language; you should allow up to 200MB in total for download and installation."
msgstr ""
#: random-bits.xml:337
#, no-c-format
#. Tag: title
msgid "Installing &debian; from a Unix/Linux System"
msgstr ""
#: random-bits.xml:339
#, no-c-format
#. Tag: para
msgid "This section explains how to install &debian; from an existing Unix or Linux system, without using the menu-driven installer as explained in the rest of the manual. This <quote>cross-install</quote> HOWTO has been requested by users switching to &debian; from Red Hat, Mandrake, and SUSE. In this section some familiarity with entering *nix commands and navigating the file system is assumed. In this section, <prompt>$</prompt> symbolizes a command to be entered in the user's current system, while <prompt>#</prompt> refers to a command entered in the Debian chroot."
msgstr ""
#: random-bits.xml:351
#, no-c-format
#. Tag: para
msgid "Once you've got the new Debian system configured to your preference, you can migrate your existing user data (if any) to it, and keep on rolling. This is therefore a <quote>zero downtime</quote> &debian; install. It's also a clever way for dealing with hardware that otherwise doesn't play friendly with various boot or installation media."
msgstr ""
#: random-bits.xml:363
#, no-c-format
#. Tag: title
msgid "Getting Started"
msgstr ""
#: random-bits.xml:364
#, no-c-format
#. Tag: para
msgid "With your current *nix partitioning tools, repartition the hard drive as needed, creating at least one filesystem plus swap. You need at least 150MB of space available for a console only install, or at least 300MB if you plan to install X."
msgstr ""
#: random-bits.xml:371
#, no-c-format
#. Tag: para
msgid ""
"To create file systems on your partitions. For example, to create an ext3 file system on partition <filename>/dev/hda6</filename> (that's our example root partition): <informalexample><screen>\n"
"# mke2fs -j /dev/hda6\n"
"</screen></informalexample> To create an ext2 file system instead, omit <userinput>-j</userinput>."
msgstr ""
#: random-bits.xml:381
#, no-c-format
#. Tag: para
msgid ""
"Initialize and activate swap (substitute the partition number for your intended Debian swap partition): <informalexample><screen>\n"
"# mkswap /dev/hda5\n"
"# sync; sync; sync\n"
"# swapon /dev/hda5\n"
"</screen></informalexample> Mount one partition as <filename>/mnt/debinst</filename> (the installation point, to be the root (<filename>/</filename>) filesystem on your new system). The mount point name is strictly arbitrary, it is referenced later below."
msgstr ""
#: random-bits.xml:393
#, no-c-format
#. Tag: screen
msgid ""
"# mkdir /mnt/debinst\n"
"# mount /dev/hda6 /mnt/debinst"
msgstr ""
#: random-bits.xml:396
#, no-c-format
#. Tag: para
msgid "If you want to have parts of the filesystem (e.g. /usr) mounted on separate partitions, you will need to create and mount these directories manually before proceding with the next stage."
msgstr ""
#: random-bits.xml:406
#, no-c-format
#. Tag: title
msgid "Install <command>debootstrap</command>"
msgstr ""
#: random-bits.xml:407
#, no-c-format
#. Tag: para
msgid "The tool that the Debian installer uses, which is recognized as the official way to install a Debian base system, is <command>debootstrap</command>. It uses <command>wget</command> and <command>ar</command>, but otherwise depends only on <classname>/bin/sh</classname>. Install <command>wget</command> and <command>ar</command> if they aren't already on your current system, then download and install <command>debootstrap</command>."
msgstr ""
#: random-bits.xml:417
#, no-c-format
#. Tag: para
msgid "If you have an rpm-based system, you can use alien to convert the .deb into .rpm, or download an rpm-ized version at <ulink url=\"http://people.debian.org/~blade/install/debootstrap\"></ulink>"
msgstr ""
#: random-bits.xml:423
#, no-c-format
#. Tag: para
msgid ""
"Or, you can use the following procedure to install it manually. Make a work folder for extracting the .deb into: <informalexample><screen>\n"
"# mkdir work\n"
"# cd work\n"
"</screen></informalexample> The <command>debootstrap</command> binary is located in the Debian archive (be sure to select the proper file for your architecture). Download the <command>debootstrap</command> .deb from the <ulink url=\"http://ftp.debian.org/debian/pool/main/d/debootstrap/\"> pool</ulink>, copy the package to the work folder, and extract the binary files from it. You will need to have root privileges to install the binaries."
msgstr ""
#: random-bits.xml:438
#, no-c-format
#. Tag: screen
msgid ""
"# ar -x debootstrap_0.X.X_arch.deb\n"
"# cd /\n"
"# zcat /full-path-to-work/work/data.tar.gz | tar xv"
msgstr ""
#: random-bits.xml:440
#, no-c-format
#. Tag: para
msgid "Note that running <command>debootstrap</command> may require you to have a minimal version of <classname>glibc</classname> installed (currently GLIBC_2.3). <command>debootstrap</command> itself is a shell script, but it calls various utilities that require <classname>glibc</classname>."
msgstr ""
#: random-bits.xml:451
#, no-c-format
#. Tag: title
msgid "Run <command>debootstrap</command>"
msgstr ""
#: random-bits.xml:452
#, no-c-format
#. Tag: para
msgid "<command>debootstrap</command> can download the needed files directly from the archive when you run it. You can substitute any Debian archive mirror for <userinput>http.us.debian.org/debian</userinput> in the command example below, preferably a mirror close to you network-wise. Mirrors are listed at <ulink url=\"http://www.debian.org/misc/README.mirrors\"></ulink>."
msgstr ""
#: random-bits.xml:461
#, no-c-format
#. Tag: para
msgid "If you have a &releasename; &debian; CD mounted at <filename>/cdrom</filename>, you could substitute a file URL instead of the http URL: <userinput>file:/cdrom/debian/</userinput>"
msgstr ""
#: random-bits.xml:467
#, no-c-format
#. Tag: para
msgid "Substitute one of the following for <replaceable>ARCH</replaceable> in the <command>debootstrap</command> command: <userinput>alpha</userinput>, <userinput>arm</userinput>, <userinput>hppa</userinput>, <userinput>i386</userinput>, <userinput>ia64</userinput>, <userinput>m68k</userinput>, <userinput>mips</userinput>, <userinput>mipsel</userinput>, <userinput>powerpc</userinput>, <userinput>s390</userinput>, or <userinput>sparc</userinput>."
msgstr ""
#: random-bits.xml:484
#, no-c-format
#. Tag: screen
msgid ""
"# /usr/sbin/debootstrap --arch ARCH &releasename; \\\n"
" /mnt/debinst http://http.us.debian.org/debian"
msgstr ""
#: random-bits.xml:490
#, no-c-format
#. Tag: title
msgid "Configure The Base System"
msgstr ""
#: random-bits.xml:491
#, no-c-format
#. Tag: para
msgid "Now you've got a real Debian system, though rather lean, on disk. <command>Chroot</command> into it:"
msgstr ""
#: random-bits.xml:496
#, no-c-format
#. Tag: screen
msgid "# LANG= chroot /mnt/debinst /bin/bash"
msgstr ""
#: random-bits.xml:501
#, no-c-format
#. Tag: title
msgid "Mount Partitions"
msgstr ""
#: random-bits.xml:502
#, no-c-format
#. Tag: para
msgid ""
"You need to create <filename>/etc/fstab</filename>. <informalexample><screen>\n"
"# editor /etc/fstab\n"
"</screen></informalexample> Here is a sample you can modify to suit: <informalexample><screen>\n"
"# /etc/fstab: static file system information.\n"
"#\n"
"# file system mount point type options dump pass\n"
"/dev/XXX / ext3 defaults 0 1\n"
"/dev/XXX /boot ext3 ro,nosuid,nodev 0 2\n"
"\n"
"/dev/XXX none swap sw 0 0\n"
"proc /proc proc defaults 0 0\n"
"\n"
"/dev/fd0 /mnt/floppy auto noauto,rw,sync,user,exec 0 0\n"
"/dev/cdrom /mnt/cdrom iso9660 noauto,ro,user,exec 0 0\n"
"\n"
"/dev/XXX /tmp ext3 rw,nosuid,nodev 0 2\n"
"/dev/XXX /var ext3 rw,nosuid,nodev 0 2\n"
"/dev/XXX /usr ext3 rw,nodev 0 2\n"
"/dev/XXX /home ext3 rw,nosuid,nodev 0 2\n"
"</screen></informalexample> Use <userinput>mount -a</userinput> to mount all the file systems you have specified in your <filename>/etc/fstab</filename>, or to mount file systems individually use: <informalexample><screen>\n"
"# mount /path # e.g.: mount /usr\n"
"</screen></informalexample> You can mount the proc file system multiple times and to arbitrary locations, though <filename>/proc</filename> is customary. If you didn't use <userinput>mount -a</userinput>, be sure to mount proc before continuing:"
msgstr ""
#: random-bits.xml:522
#, no-c-format
#. Tag: screen
msgid "# mount -t proc proc /proc"
msgstr ""
#: random-bits.xml:524
#, no-c-format
#. Tag: para
msgid "The command <userinput>ls /proc</userinput> should now show a non-empty directory. Should this fail, you may be able to mount proc from outside the chroot:"
msgstr ""
#: random-bits.xml:530
#, no-c-format
#. Tag: screen
msgid "# mount -t proc proc /mnt/debinst/proc"
msgstr ""
#: random-bits.xml:536
#, no-c-format
#. Tag: title
msgid "Configure Keyboard"
msgstr ""
#: random-bits.xml:537
#, no-c-format
#. Tag: para
msgid "To configure your keyboard:"
msgstr ""
#: random-bits.xml:541
#, no-c-format
#. Tag: screen
msgid "# dpkg-reconfigure console-data"
msgstr ""
#: random-bits.xml:543
#, no-c-format
#. Tag: para
msgid "Note that the keyboard cannot be set while in the chroot, but will be configured for the next reboot."
msgstr ""
#: random-bits.xml:552
#, no-c-format
#. Tag: title
msgid "Configure Networking"
msgstr ""
#: random-bits.xml:553
#, no-c-format
#. Tag: para
msgid ""
"To configure networking, edit <filename>/etc/network/interfaces</filename>, <filename>/etc/resolv.conf</filename>, and <filename>/etc/hostname</filename>. <informalexample><screen>\n"
"# editor /etc/network/interfaces\n"
"</screen></informalexample> Here are some simple examples from <filename>/usr/share/doc/ifupdown/examples</filename>: <informalexample><screen>\n"
"######################################################################\n"
"# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)\n"
"# See the interfaces(5) manpage for information on what options are\n"
"# available.\n"
"######################################################################\n"
"\n"
"# We always want the loopback interface.\n"
"#\n"
"auto lo\n"
"iface lo inet loopback\n"
"\n"
"# To use dhcp:\n"
"#\n"
"# auto eth0\n"
"# iface eth0 inet dhcp\n"
"\n"
"# An example static IP setup: (broadcast and gateway are optional)\n"
"#\n"
"# auto eth0\n"
"# iface eth0 inet static\n"
"# address 192.168.0.42\n"
"# network 192.168.0.0\n"
"# netmask 255.255.255.0\n"
"# broadcast 192.168.0.255\n"
"# gateway 192.168.0.1\n"
"</screen></informalexample> Enter your nameserver(s) and search directives in <filename>/etc/resolv.conf</filename>: <informalexample><screen>\n"
"# editor /etc/resolv.conf\n"
"</screen></informalexample> A simple <filename>/etc/resolv.conf</filename>: <informalexample><screen>\n"
"search hqdom.local\\000\n"
"nameserver 10.1.1.36\n"
"nameserver 192.168.9.100\n"
"</screen></informalexample> Enter your system's host name (2 to 63 characters): <informalexample><screen>\n"
"# echo DebianHostName > /etc/hostname\n"
"</screen></informalexample> If you have multiple network cards, you should arrange the names of driver modules in the <filename>/etc/modules</filename> file into the desired order. Then during boot, each card will be associated with the interface name (eth0, eth1, etc.) that you expect."
msgstr ""
#: random-bits.xml:589
#, no-c-format
#. Tag: title
msgid "Configure Timezone, Users, and APT"
msgstr ""
#: random-bits.xml:590
#, no-c-format
#. Tag: para
msgid "Set your timezone, add a normal user, and choose your <command>apt</command> sources by running"
msgstr ""
#: random-bits.xml:595
#, no-c-format
#. Tag: screen
msgid "# /usr/sbin/base-config new"
msgstr ""
#: random-bits.xml:601
#, no-c-format
#. Tag: title
msgid "Configure Locales"
msgstr ""
#: random-bits.xml:602
#, no-c-format
#. Tag: para
msgid ""
"To configure your locale settings to use a language other than English, install the locales support package and configure it: <informalexample><screen>\n"
"# apt-get install locales\n"
"# dpkg-reconfigure locales\n"
"</screen></informalexample> NOTE: Apt must be configured before, ie. during the base-config phase. Before using locales with character sets other than ASCII or latin1, please consult the appropriate localization HOWTO."
msgstr ""
#: random-bits.xml:618
#, no-c-format
#. Tag: title
msgid "Install a Kernel"
msgstr ""
#: random-bits.xml:619
#, no-c-format
#. Tag: para
msgid ""
"If you intend to boot this system, you probably want a Linux kernel and a boot loader. Identify available pre-packaged kernels with <informalexample><screen>\n"
"# apt-cache search kernel-image\n"
"</screen></informalexample> Then install your choice using its package name."
msgstr ""
#: random-bits.xml:628
#, no-c-format
#. Tag: screen
msgid "# apt-get install kernel-image-<replaceable>2.X.X-arch-etc</replaceable>"
msgstr ""
#: random-bits.xml:634
#, no-c-format
#. Tag: title
msgid "Set up the Boot Loader"
msgstr ""
#: random-bits.xml:635
#, no-c-format
#. Tag: para
msgid "To make your &debian; system bootable, set up your boot loader to load the installed kernel with your new root partition. Note that debootstrap does not install a boot loader, though you can use apt-get inside your Debian chroot to do so."
msgstr ""
#: random-bits.xml:642
#, no-c-format
#. Tag: para
msgid "Check <userinput>info grub</userinput> or <userinput>man lilo.conf</userinput> for instructions on setting up the bootloader. If you are keeping the system you used to install Debian, just add an entry for the Debian install to your existing grub <filename>menu.lst</filename> or <filename>lilo.conf</filename>. For <filename>lilo.conf</filename>, you could also copy it to the new system and edit it there. After you are done editing, call lilo (remember it will use <filename>lilo.conf</filename> relative to the system you call it from)."
msgstr ""
#: random-bits.xml:653
#, no-c-format
#. Tag: para
msgid "Here is a basic <filename>/etc/lilo.conf</filename> as an example:"
msgstr ""
#: random-bits.xml:657
#, no-c-format
#. Tag: screen
msgid ""
"boot=/dev/hda6\n"
"root=/dev/hda6\n"
"install=menu\n"
"delay=20\n"
"lba32\n"
"image=/vmlinuz\n"
"label=Debian"
msgstr ""
#: random-bits.xml:659
#, no-c-format
#. Tag: para
msgid "Check <userinput>man yaboot.conf</userinput> for instructions on setting up the bootloader. If you are keeping the system you used to install Debian, just add an entry for the Debian install to your existing <filename>yaboot.conf</filename>. You could also copy it to the new system and edit it there. After you are done editing, call ybin (remember it will use <filename>yaboot.conf</filename> relative to the system you call it from)."
msgstr ""
#: random-bits.xml:669
#, no-c-format
#. Tag: para
msgid ""
"Here is a basic <filename>/etc/yaboot.conf</filename> as an example: <informalexample><screen>\n"
"boot=/dev/hda2\n"
"device=hd:\n"
"partition=6\n"
"root=/dev/hda6\n"
"magicboot=/usr/lib/yaboot/ofboot\n"
"timeout=50\n"
"image=/vmlinux\n"
"label=Debian\n"
"</screen></informalexample> On some machines, you may need to use <userinput>ide0:</userinput> instead of <userinput>hd:</userinput>."
msgstr ""
#: random-bits.xml:687
#, no-c-format
#. Tag: title
msgid "Installing &debian; over Parallel Line IP (PLIP)"
msgstr ""
#: random-bits.xml:689
#, no-c-format
#. Tag: para
msgid "This section explains how to install &debian; on a computer without Ethernet card, but with just a remote gateway computer attached via a Null-Modem cable (also called Null-Printer cable). The gateway computer should be connected to a network that has a Debian mirror on it (e.g. to the Internet)."
msgstr ""
#: random-bits.xml:697
#, no-c-format
#. Tag: para
msgid "In the example in this appendix we will set up a PLIP connection using a gateway connected to the Internet over a dial-up connection (ppp0). We will use IP addresses 192.168.0.1 and 192.168.0.2 for the PLIP interfaces on the target system and the source system respectively (these addresses should be unused within your network address space)."
msgstr ""
#: random-bits.xml:705
#, no-c-format
#. Tag: para
msgid "The PLIP connection set up during the installation will also be available after the reboot into the installed system (see <xref linkend=\"boot-new\"/>)."
msgstr ""
#: random-bits.xml:710
#, no-c-format
#. Tag: para
msgid "Before you start, you will need to check the BIOS configuration (IO base address and IRQ) for the parallel ports of both the source and target systems. The most common values are <literal>io=0x378</literal>, <literal>irq=7</literal>."
msgstr ""
#: random-bits.xml:720
#, no-c-format
#. Tag: title
msgid "Requirements"
msgstr ""
#: random-bits.xml:723
#, no-c-format
#. Tag: para
msgid "A target computer, called <emphasis>target</emphasis>, where Debian will be installed."
msgstr ""
#: random-bits.xml:729
#, no-c-format
#. Tag: para
msgid "System installation media; see <xref linkend=\"installation-media\"/>."
msgstr ""
#: random-bits.xml:734
#, no-c-format
#. Tag: para
msgid "Another computer connected to the Internet, called <emphasis>source</emphasis>, that will function as the gateway."
msgstr ""
#: random-bits.xml:740
#, no-c-format
#. Tag: para
msgid "A DB-25 Null-Modem cable. See the <ulink url=\"&url-plip-install-howto;\">PLIP-Install-HOWTO</ulink> for more information on this cable and instructions how to make your own."
msgstr ""
#: random-bits.xml:752
#, no-c-format
#. Tag: title
msgid "Setting up source"
msgstr ""
#: random-bits.xml:753
#, no-c-format
#. Tag: para
msgid "The following shell script is a simple example of how to configure the source computer as a gateway to the Internet using ppp0."
msgstr ""
#: random-bits.xml:758
#, no-c-format
#. Tag: screen
msgid ""
"#!/bin/sh\n"
"\n"
"# We remove running modules from kernel to avoid conflicts and to\n"
"# reconfigure them manually.\n"
"modprobe -r lp parport_pc\n"
"modprobe parport_pc io=<replaceable>0x378</replaceable> irq=<replaceable>7</replaceable>\n"
"modprobe plip\n"
"\n"
"# Configure the plip interface (plip0 for me, see dmesg | grep plip)\n"
"ifconfig <replaceable>plip0 192.168.0.2</replaceable> pointopoint <replaceable>192.168.0.1</replaceable> netmask 255.255.255.255 up\n"
"\n"
"# Configure gateway\n"
"modprobe iptable_nat\n"
"iptables -t nat -A POSTROUTING -o <replaceable>ppp0</replaceable> -j MASQUERADE\n"
"echo 1 > /proc/sys/net/ipv4/ip_forward"
msgstr ""
#: random-bits.xml:764
#, no-c-format
#. Tag: title
msgid "Installing target"
msgstr ""
#: random-bits.xml:765
#, no-c-format
#. Tag: para
msgid "Boot the installation media. The installation needs to be run in expert mode; enter <userinput>expert</userinput> at the boot prompt. Below are the answers that should be given during various stages of the installation."
msgstr ""
#: random-bits.xml:777
#, no-c-format
#. Tag: guimenuitem
msgid "Load installer components"
msgstr ""
#: random-bits.xml:779
#, no-c-format
#. Tag: para
msgid "Select the <userinput>plip-modules</userinput> option from the list; this will make the PLIP drivers available to the installation system."
msgstr ""
#: random-bits.xml:787
#, no-c-format
#. Tag: guimenuitem
msgid "Detect network hardware"
msgstr ""
#: random-bits.xml:792
#, no-c-format
#. Tag: para
msgid "If target <emphasis>does</emphasis> have a network card, a list of driver modules for detected cards will be shown. If you want to force &d-i; to use plip instead, you have to deselect all listed driver modules. Obviously, if target doesn't have a network card, the installer will not show this list."
msgstr ""
#: random-bits.xml:801
#, no-c-format
#. Tag: para
msgid "Prompt for module parameters: Yes"
msgstr ""
#: random-bits.xml:806
#, no-c-format
#. Tag: para
msgid "Because no network card was detected/selected earlier, the installer will ask you to select a network driver module from a list. Select the <userinput>plip</userinput> module."
msgstr ""
#: random-bits.xml:813
#, no-c-format
#. Tag: para
msgid "Additional parameters for module parport_pc: <userinput><replaceable>io=0x378 irq=7</replaceable></userinput>"
msgstr ""
#: random-bits.xml:819
#, no-c-format
#. Tag: para
msgid "Additional parameters for module plip: leave empty"
msgstr ""
#: random-bits.xml:829
#, no-c-format
#. Tag: guimenuitem
msgid "Configure the network"
msgstr ""
#: random-bits.xml:832
#, no-c-format
#. Tag: para
msgid "Auto-configure network with DHCP: No"
msgstr ""
#: random-bits.xml:837
#, no-c-format
#. Tag: para
msgid "IP address: <userinput><replaceable>192.168.0.1</replaceable></userinput>"
msgstr ""
#: random-bits.xml:842
#, no-c-format
#. Tag: para
msgid "Point-to-point address: <userinput><replaceable>192.168.0.2</replaceable></userinput>"
msgstr ""
#: random-bits.xml:848
#, no-c-format
#. Tag: para
msgid "Name server addresses: you can enter the same addresses used on source (see <filename>/etc/resolv.conf</filename>)"
msgstr ""
|