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
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML
><HEAD
><TITLE
>Kickstart</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"></HEAD
><BODY
CLASS="BOOK"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="BOOK"
><A
NAME="INDEX"
></A
><DIV
CLASS="TITLEPAGE"
><H1
CLASS="TITLE"
><A
NAME="AEN2"
></A
>Kickstart</H1
><P
CLASS="COPYRIGHT"
>Copyright © 2002 by Red Hat, Inc.</P
><DIV
CLASS="LEGALNOTICE"
><A
NAME="LEGALNOTICE"
></A
><P
></P
><P
> kickstart(EN)-anaconda-HTML-RHI (2002-08-06T17:28-0500)
</P
><P
> Copyright � 2002 by Red Hat, Inc. This material may be distributed only
subject to the terms and conditions set forth in the Open Publication
License, V1.0 or later (the latest version is presently available at <A
HREF="http://www.opencontent.org/openpub/"
TARGET="_top"
>http://www.opencontent.org/openpub/</A
>).
</P
><P
> Distribution of substantively modified versions of this document is
prohibited without the explicit permission of the copyright holder.
</P
><P
> Distribution of the work or derivative of the work in any standard (paper)
book form for commercial purposes is prohibited unless prior permission is
obtained from the copyright holder.
</P
><P
> Red Hat, Red Hat Network, the Red Hat "Shadow Man" logo, RPM, Maximum RPM, the RPM logo, Linux
Library, PowerTools, Linux Undercover, RHmember, RHmember More, Rough Cuts,
Rawhide and all Red Hat-based trademarks and logos are trademarks or registered
trademarks of Red Hat, Inc. in the United States and other countries.
</P
><P
> Linux is a registered trademark of Linus Torvalds.
</P
><P
></P
></DIV
><HR></DIV
><DIV
CLASS="CHAPTER"
><CHAPTER><H1
><A
NAME="CH-INTRO"
></A
>Chapter 1. Introduction</H1
><DIV
CLASS="SECT1"
><H2
CLASS="SECT1"
><A
NAME="S1-KICKSTART2-WHATIS"
></A
>What are Kickstart Installations?</H2
><P
> Many system administrators would prefer to use an automated installation
method to install Red Hat Linux on their machines. To answer this need, Red Hat
created the kickstart installation method. Using kickstart, a system
administrator can create a single file containing the answers to all the
questions that would normally be asked during a typical Red Hat Linux
installation.
</P
><P
> Kickstart files can be kept on single server system and read by
individual computers during the installation. This installation method
can support the use of a single kickstart file to install Red Hat Linux on
multiple machines, making it ideal for network and system
administrators.
</P
><P
> Kickstart lets you automate a Red Hat Linux installation.
</P
></DIV
><DIV
CLASS="SECT1"
><SECT1><H2
CLASS="SECT1"
><A
NAME="S1-KICKSTART2-HOWUSE"
></A
>How Do You Perform a Kickstart Installation?</H2
><P
> Kickstart installations can be performed using a local CD-ROM, a local
hard drive, or via NFS, FTP, or HTTP.
</P
><P
> To use kickstart, you must:
</P
><P
></P
><OL
TYPE="1"
><LI
><P
>Create a kickstart file.</P
></LI
><LI
><P
>Create a boot diskette with the kickstart file or make the kickstart
file available on the network.</P
></LI
><LI
><P
>Make the installation tree available.</P
></LI
><LI
><P
>Start the kickstart installation.</P
></LI
></OL
><P
>This chapter explains these steps in detail.</P
></DIV
><DIV
CLASS="SECT1"
><SECT1><H2
CLASS="SECT1"
><A
NAME="S1-KICKSTART2-FILE"
></A
>Creating the Kickstart File</H2
><P
> The kickstart file is a simple text file, containing a list of items, each
identified by a keyword. You can create it by editing a copy of the
<TT
CLASS="FILENAME"
>sample.ks</TT
> file found in the
<TT
CLASS="FILENAME"
>RH-DOCS</TT
> directory of the Red Hat Linux Documentation
CD, using the <B
CLASS="APPLICATION"
>Kickstart Configurator</B
>
application, or writing it from scratch. The Red Hat Linux installation program
also creates a sample kickstart file based on the options that you
selected during installation. It is written to the file
<TT
CLASS="FILENAME"
>/root/anaconda-ks.cfg</TT
>. You should be able to edit
it with any text editor or word processor that can save files as ASCII
text.
</P
><P
> First, be aware of the following issues when you are creating your
kickstart file:
</P
><P
></P
><UL
><LI
><P
>Sections must be specified <I
CLASS="EMPHASIS"
>in order</I
>. Items
within the sections do not have to be in a specific order unless
otherwise specified. The section order is:
</P
><P
></P
><UL
><LI
><P
>Command section — Refer to <A
HREF="#KICKSTART2-OPTIONS"
>Chapter 2</A
> for a list of kickstart
options. You must include the required options.
</P
></LI
><LI
><P
>The <TT
CLASS="COMMAND"
>%packages</TT
> section — Refer to <A
HREF="#S1-KICKSTART2-PACKAGESELECTION"
>Chapter 3</A
> for details.
</P
></LI
><LI
><P
>The <TT
CLASS="COMMAND"
>%pre</TT
> and <TT
CLASS="COMMAND"
>%post</TT
>
sections — These two sections can be in any
order and are not required. Refer to <A
HREF="#S1-KICKSTART2-PREINSTALLCONFIG"
>Chapter 4</A
>
and <A
HREF="#S1-KICKSTART2-POSTINSTALLCONFIG"
>Chapter 5</A
> for
details.
</P
></LI
></UL
></LI
><LI
><P
>Items that are not required can be omitted.
</P
></LI
><LI
><P
>Omitting any required item will result in the installation program
prompting the user for an answer to the related item, just as the
user would be prompted during a typical installation. Once the
answer is given, the installation will continue unattended (unless
it finds another missing item).
</P
></LI
><LI
><P
>Lines starting with a pound sign ("#") are treated as comments and
are ignored.
</P
></LI
><LI
><P
>For kickstart <I
CLASS="EMPHASIS"
>upgrades</I
>, the following items are
required:
</P
><P
></P
><UL
><LI
><P
>Language</P
></LI
><LI
><P
>Language support</P
></LI
><LI
><P
>Installation method</P
></LI
><LI
><P
>Device specification (if device is needed to perform
installation)</P
></LI
><LI
><P
>Keyboard setup</P
></LI
><LI
><P
>The <TT
CLASS="COMMAND"
>upgrade</TT
> keyword</P
></LI
><LI
><P
>Boot loader configuration</P
></LI
></UL
><P
> If any other items are specified for an upgrade, those items will be
ignored (note that this includes package selection).
</P
></LI
></UL
></DIV
></DIV
><DIV
CLASS="CHAPTER"
><CHAPTER><H1
><A
NAME="KICKSTART2-OPTIONS"
></A
>Chapter 2. Kickstart Options</H1
><P
> The following options can be placed in a kickstart file. If you prefer
to use a graphical interface for creating your kickstart file, you can
use the <B
CLASS="APPLICATION"
>Kickstart Configurator</B
>
application.
</P
><DIV
CLASS="NOTE"
><P
></P
><TABLE
CLASS="NOTE"
WIDTH="100%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="./stylesheet-images/note.png"
HSPACE="5"
ALT="Note"></TD
><TH
ALIGN="LEFT"
VALIGN="CENTER"
><B
>Note</B
></TH
></TR
><TR
><TD
> </TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>If the option is followed by an equals mark (=), a value must be
specified after it. In the example commands, options in brackets ([])
are optional arguments for the command.</P
></TD
></TR
></TABLE
></DIV
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
><TT
CLASS="COMMAND"
>autostep</TT
> (optional)</DT
><DD
><P
>Similar to <TT
CLASS="COMMAND"
>interactive</TT
> except it goes to the
next screen for you. It is used mostly for debugging.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>auth</TT
> or <TT
CLASS="COMMAND"
>authconfig</TT
> (required)</DT
><DD
><P
>Sets up the authentication options for the system. It's similar
to the <TT
CLASS="COMMAND"
>authconfig</TT
> command, which can be run
after the install. By default, passwords are normally encrypted
and are not shadowed.
</P
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
><TT
CLASS="COMMAND"
>--enablemd5</TT
></DT
><DD
><P
>Use md5 encryption for user passwords.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--enablenis</TT
></DT
><DD
><P
>Turns on NIS support. By default,
<TT
CLASS="COMMAND"
>--enablenis</TT
> uses whatever domain it
finds on the network. A domain should almost always be
set by hand with the <TT
CLASS="COMMAND"
>--nisdomain=</TT
> option.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--nisdomain=</TT
></DT
><DD
><P
>NIS domain name to use for NIS services.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--nisserver=</TT
></DT
><DD
><P
>Server to use for NIS services (broadcasts by default).
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--useshadow</TT
> or <TT
CLASS="COMMAND"
>--enableshadow</TT
></DT
><DD
><P
>Use shadow passwords.</P
></DD
><DT
><TT
CLASS="COMMAND"
>--enableldap</TT
></DT
><DD
><P
>Turns on LDAP support in
<TT
CLASS="FILENAME"
>/etc/nsswitch.conf</TT
>, allowing your
system to retrieve information about users (UIDs, home
directories, shells, etc.) from an LDAP directory. To use
this option, you must install the
<TT
CLASS="FILENAME"
>nss_ldap</TT
> package. You must also
specify a server and a base DN with
<TT
CLASS="COMMAND"
>--ldapserver=</TT
> and
<TT
CLASS="COMMAND"
>--ldapbasedn=</TT
>.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--enableldapauth</TT
></DT
><DD
><P
>Use LDAP as an authentication method. This enables the
<TT
CLASS="FILENAME"
>pam_ldap</TT
> module for authentication
and changing passwords, using an LDAP directory. To use
this option, you must have the
<TT
CLASS="FILENAME"
>nss_ldap</TT
> package installed. You
must also specify a server and a base DN with
<TT
CLASS="COMMAND"
>--ldapserver=</TT
> and
<TT
CLASS="COMMAND"
>--ldapbasedn=</TT
>.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--ldapserver=</TT
></DT
><DD
><P
>If you specified either <TT
CLASS="COMMAND"
>--enableldap</TT
>
or <TT
CLASS="COMMAND"
>--enableldapauth</TT
>, the name of the
LDAP server to use. This option is set in the
<TT
CLASS="FILENAME"
>/etc/ldap.conf</TT
> file.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--ldapbasedn=</TT
></DT
><DD
><P
>If you specified either <TT
CLASS="COMMAND"
>--enableldap</TT
>
or <TT
CLASS="COMMAND"
>--enableldapauth</TT
>, the DN (distinguished
name) in your LDAP directory tree
under which user information is stored. This option is
set in the <TT
CLASS="FILENAME"
>/etc/ldap.conf</TT
> file.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--enableldaptls</TT
></DT
><DD
><P
>Use TLS (Transport Layer Security) lookups. This option
allows LDAP to send encrypted usernames and passwords
to an LDAP server before authentication.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--enablekrb5</TT
></DT
><DD
><P
>Use Kerberos 5 for authenticating users. Kerberos
itself does not know about home directories, UIDs, or
shells. So if you enable Kerberos you will need to
make users' accounts known to this workstation by
enabling LDAP, NIS, or Hesiod or by using
the <TT
CLASS="COMMAND"
>/usr/sbin/useradd</TT
> command
to make their accounts known to this workstation. If
you use this option, you must have the
<TT
CLASS="FILENAME"
>pam_krb5</TT
> package installed.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--krb5realm=</TT
></DT
><DD
><P
>The Kerberos 5 realm to which your workstation belongs.</P
></DD
><DT
><TT
CLASS="COMMAND"
>--krb5kdc=</TT
></DT
><DD
><P
>The KDC (or KDCs) that serve requests for the realm. If
you have multiple KDCs in your realm, separate their
names with commas (,).</P
></DD
><DT
><TT
CLASS="COMMAND"
>--krb5adminserver=</TT
></DT
><DD
><P
>The KDC in your realm that is also running kadmind.
This server handles password changing and other
administrative requests. This server must be run on the
master KDC if you have more than one KDC.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--enablehesiod</TT
></DT
><DD
><P
>Enable Hesiod support for looking up user home
directories, UIDs, and shells. More information on
setting up and using Hesiod on your network is in
<TT
CLASS="FILENAME"
>/usr/share/doc/glibc-2.x.x/README.hesiod</TT
>,
which is included in the <TT
CLASS="FILENAME"
>glibc</TT
>
package. Hesiod is an extension of DNS that uses DNS
records to store information about users, groups, and
various other items.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--hesiodlhs</TT
></DT
><DD
><P
>The Hesiod LHS ("left-hand side") option, set in
<TT
CLASS="FILENAME"
>/etc/hesiod.conf</TT
>. This option is
used by the Hesiod library to determine the name to
search DNS for when looking up information, similar to
LDAP's use of a base DN.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--hesiodrhs</TT
></DT
><DD
><P
>The Hesiod RHS ("right-hand side") option, set in
<TT
CLASS="FILENAME"
>/etc/hesiod.conf</TT
>. This option is
used by the Hesiod library to determine the name to
search DNS for when looking up information, similar to
LDAP's use of a base DN.
</P
><DIV
CLASS="TIP"
><P
></P
><TABLE
CLASS="TIP"
WIDTH="90%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="./stylesheet-images/tip.png"
HSPACE="5"
ALT="Tip"></TD
><TH
ALIGN="LEFT"
VALIGN="CENTER"
><B
>Tip</B
></TH
></TR
><TR
><TD
> </TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>To look up user information for "jim", the Hesiod
library looks up
<I
CLASS="EMPHASIS"
>jim.passwd<LHS><RHS></I
>,
which should resolve to a TXT record that looks like
what his passwd entry would look like
(<TT
CLASS="COMPUTEROUTPUT"
>jim:*:501:501:Jungle
Jim:/home/jim:/bin/bash</TT
>). For
groups, the situation is identical, except
<I
CLASS="EMPHASIS"
>jim.group<LHS><RHS></I
>
would be used.
</P
><P
>Looking up users and groups by number is handled by
making "501.uid" a CNAME for "jim.passwd", and
"501.gid" a CNAME for "jim.group". Note that the LHS
and RHS do not have periods <SPAN
CLASS="KEYCAP"
><KEYCAP
>[.]</KEYCAP
></SPAN
> put in
front of them when the library determines the name for
which to search, so the LHS and RHS usually begin with
periods.
</P
></TD
></TR
></TABLE
></DIV
></DD
><DT
><TT
CLASS="COMMAND"
>--enablesmbauth</TT
></DT
><DD
><P
>Enables authentication of users against an SMB server
(typically a Samba or Windows server). SMB
authentication support does not know about home
directories, UIDs, or shells. So if you enable it you
will need to make users' accounts known to the
workstation by enabling LDAP, NIS, or Hesiod or by using
the <TT
CLASS="COMMAND"
>/usr/sbin/useradd</TT
> command to make
their accounts known to the workstation. To use this
option, you must have the <TT
CLASS="FILENAME"
>pam_smb</TT
>
package installed.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--smbservers=</TT
></DT
><DD
><P
>The name of the server(s) to use for SMB
authentication. To specify more than one server, separate
the names with commas (,).
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--smbworkgroup=</TT
></DT
><DD
><P
>The name of the workgroup for the SMB servers.</P
></DD
><DT
><TT
CLASS="COMMAND"
>--enablecache</TT
></DT
><DD
><P
>Enables the <TT
CLASS="COMMAND"
>nscd</TT
> service. The
<TT
CLASS="COMMAND"
>nscd</TT
> service caches information about
users, groups, and various other types of information.
Caching is especially helpful if you choose to
distribute information about users and groups over your
network using NIS, LDAP, or hesiod.
</P
></DD
></DL
></DIV
></DD
><DT
><TT
CLASS="COMMAND"
>bootloader</TT
> (required)</DT
><DD
><P
>Specifies how the boot loader should be installed and whether
the boot loader should be LILO or GRUB. This option is required
for both installations and upgrades. For upgrades, if
<TT
CLASS="COMMAND"
>--useLilo</TT
> is not specified and LILO is the
current bootloader, the bootloader will be changed to GRUB. To
preserve LILO on upgrades, use <TT
CLASS="COMMAND"
>bootloader
--upgrade</TT
>.
</P
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
><TT
CLASS="COMMAND"
>--append=</TT
></DT
><DD
><P
>Specifies kernel parameters.</P
></DD
><DT
><TT
CLASS="COMMAND"
>--location=</TT
></DT
><DD
><P
>Specifies where the boot record is written. Valid
values are the following: <TT
CLASS="COMMAND"
>mbr</TT
>
(the default), <TT
CLASS="COMMAND"
>partition</TT
>
(installs the boot loader on the first sector of the
partition containing the kernel), or
<TT
CLASS="COMMAND"
>none</TT
> (do not install the boot
loader).
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--password=</TT
></DT
><DD
><P
>If using GRUB, sets the GRUB boot loader password the
one specified with this option. This should be
used to restrict access to the GRUB shell, where
arbitrary kernel options can be passed.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--md5pass=</TT
></DT
><DD
><P
>If using GRUB, similar to <TT
CLASS="COMMAND"
>--password=</TT
>
except the password should already be encrypted.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--useLilo</TT
></DT
><DD
><P
>Use LILO instead of GRUB as the boot loader.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--linear</TT
></DT
><DD
><P
>If using LILO, use the <TT
CLASS="COMMAND"
>linear</TT
> LILO
option; this is only for backwards compatibility (and
linear is now used by default).
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--nolinear</TT
></DT
><DD
><P
>If using LILO, use the <TT
CLASS="COMMAND"
>nolinear</TT
> LILO
option; linear is the default.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--lba32</TT
></DT
><DD
><P
>If using LILO, force use of lba32 mode instead of
autodetecting.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--upgrade</TT
></DT
><DD
><P
>Upgrade the existing boot loader configuration,
preserving the old entries. This option is only available
for upgrades.
</P
></DD
></DL
></DIV
></DD
><DT
><TT
CLASS="COMMAND"
>clearpart</TT
> (optional)</DT
><DD
><P
>Removes partitions from the system, prior to creation of new
partitions. By default, no partitions are removed.
</P
><DIV
CLASS="NOTE"
><P
></P
><TABLE
CLASS="NOTE"
WIDTH="90%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="./stylesheet-images/note.png"
HSPACE="5"
ALT="Note"></TD
><TH
ALIGN="LEFT"
VALIGN="CENTER"
><B
>Note</B
></TH
></TR
><TR
><TD
> </TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
> If the <TT
CLASS="COMMAND"
>clearpart</TT
> command is used, then the
<TT
CLASS="COMMAND"
>--onpart</TT
> command cannot be used on a logical
partition.
</P
></TD
></TR
></TABLE
></DIV
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
><TT
CLASS="COMMAND"
> --linux</TT
></DT
><DD
><P
>Erases all Linux partitions.</P
></DD
><DT
><TT
CLASS="COMMAND"
>--all</TT
></DT
><DD
><P
>Erases all partitions from the system.</P
></DD
><DT
><TT
CLASS="COMMAND"
>--drives</TT
></DT
><DD
><P
>Specifies which drives to clear partitions from.</P
></DD
><DT
><TT
CLASS="COMMAND"
>--initlabel</TT
></DT
><DD
><P
>Initializes the disk label to the default for your
architecture (<TT
CLASS="COMMAND"
>msdos</TT
> for x86 and
<TT
CLASS="COMMAND"
>gpt</TT
> for Itanium). It is useful so
that the installation program does not ask if it should
initialize the disk label if installing to a brand new
hard drive.
</P
></DD
></DL
></DIV
></DD
><DT
><TT
CLASS="COMMAND"
>device</TT
> (optional)</DT
><DD
><P
>On most PCI systems, the installation program will autoprobe for
Ethernet and SCSI cards properly. On older systems and some PCI
systems, however, kickstart needs a hint to find the proper
devices. The <TT
CLASS="COMMAND"
>device</TT
> command, which tells
the installation program to install extra modules, is
in this format:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="SCREEN"
>device <TT
CLASS="REPLACEABLE"
><I
><type></I
></TT
> <TT
CLASS="REPLACEABLE"
><I
><moduleName></I
></TT
> --opts=<TT
CLASS="REPLACEABLE"
><I
><options></I
></TT
></PRE
></TD
></TR
></TABLE
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
><TT
CLASS="REPLACEABLE"
><I
><type></I
></TT
></DT
><DD
><P
>Replace with either <TT
CLASS="COMMAND"
>scsi</TT
> or
<TT
CLASS="COMMAND"
>eth</TT
></P
></DD
><DT
><TT
CLASS="REPLACEABLE"
><I
><moduleName></I
></TT
></DT
><DD
><P
>Replace with the name of the kernel module which should
be installed.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--opts=</TT
></DT
><DD
><P
>Options to pass to the kernel module. Note that multiple
options may be passed if they are put in quotes. For
example:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="COMPUTEROUTPUT"
>--opts="aic152x=0x340 io=11"</TT
></PRE
></TD
></TR
></TABLE
></DD
></DL
></DIV
></DD
><DT
><TT
CLASS="COMMAND"
>deviceprobe</TT
> (optional)</DT
><DD
><P
>Forces a probe of the PCI bus and loads modules for all the
devices found if a module is available.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>driverdisk</TT
> (optional)</DT
><DD
><P
>Driver disks can be used during kickstart installations. You
will need to copy the driver disk's contents to the root
directory of a partition on the system's hard drive. Then you
will need to use the <TT
CLASS="COMMAND"
>driverdisk</TT
> command to
tell the installation program where to look for the driver disk.
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="COMPUTEROUTPUT"
>driverdisk <TT
CLASS="REPLACEABLE"
><I
><partition></I
></TT
> [--type=<TT
CLASS="REPLACEABLE"
><I
><fstype></I
></TT
>]</TT
></PRE
></TD
></TR
></TABLE
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
><TT
CLASS="REPLACEABLE"
><I
><partition></I
></TT
></DT
><DD
><P
>Partition containing the driver disk.</P
></DD
><DT
><TT
CLASS="COMMAND"
>--type=</TT
></DT
><DD
><P
>Filesystem type (for example, vfat, ext2, or ext3).</P
></DD
></DL
></DIV
></DD
><DT
><TT
CLASS="COMMAND"
>firewall</TT
> (optional)</DT
><DD
><P
>This option corresponds to the <B
CLASS="GUILABEL"
>Firewall
Configuration</B
> screen in the installation program:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="COMPUTEROUTPUT"
>firewall <TT
CLASS="REPLACEABLE"
><I
><securitylevel></I
></TT
> [--trust=] <TT
CLASS="REPLACEABLE"
><I
><incoming></I
></TT
> [--port=]</TT
></PRE
></TD
></TR
></TABLE
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
><TT
CLASS="REPLACEABLE"
><I
><securitylevel></I
></TT
></DT
><DD
><P
>Replace with one of the following levels of security:</P
><P
></P
><UL
><LI
><P
><TT
CLASS="COMMAND"
>--high</TT
></P
></LI
><LI
><P
><TT
CLASS="COMMAND"
>--medium</TT
></P
></LI
><LI
><P
><TT
CLASS="COMMAND"
>--disabled</TT
></P
></LI
></UL
></DD
><DT
><TT
CLASS="COMMAND"
>--trust=</TT
></DT
><DD
><P
>Listing a device here, such as eth0, allows all traffic coming
from that device to go through the firewall. To list more than
one device, use <TT
CLASS="COMMAND"
>--trust eth0 --trust eth1</TT
>. Do
NOT use a comma-separated format such as <TT
CLASS="COMMAND"
>--trust eth0,
eth1</TT
>.
</P
></DD
><DT
><TT
CLASS="REPLACEABLE"
><I
><incoming></I
></TT
></DT
><DD
><P
>Replace with none or more of the following to allow the
specified services through the firewall.</P
><P
></P
><UL
><LI
><P
><TT
CLASS="COMMAND"
>--dhcp</TT
></P
></LI
><LI
><P
><TT
CLASS="COMMAND"
>--ssh</TT
></P
></LI
><LI
><P
><TT
CLASS="COMMAND"
>--telnet</TT
></P
></LI
><LI
><P
><TT
CLASS="COMMAND"
>--smtp</TT
></P
></LI
><LI
><P
><TT
CLASS="COMMAND"
>--http</TT
></P
></LI
><LI
><P
><TT
CLASS="COMMAND"
>--ftp</TT
></P
></LI
></UL
></DD
><DT
><TT
CLASS="COMMAND"
>--port=</TT
></DT
><DD
><P
>You can specify that ports be allowed through the firewall using
the port:protocol format. For example, if you wanted to allow
IMAP access through your firewall, you can specify
<TT
CLASS="COMMAND"
>imap:tcp</TT
>. You can also specify numeric ports
explicitly; for example, to allow UDP packets on port 1234
through, specify <TT
CLASS="COMMAND"
>1234:udp</TT
>. To specify
multiple ports, separate them by commas.
</P
></DD
></DL
></DIV
></DD
><DT
><TT
CLASS="COMMAND"
>install</TT
> (optional)</DT
><DD
><P
>Tells the system to install a fresh system rather than upgrade
an existing system. This is the default mode. For installation,
you must specify the type of installation from one of
<TT
CLASS="COMMAND"
>cdrom</TT
>, <TT
CLASS="COMMAND"
>harddrive</TT
>,
<TT
CLASS="COMMAND"
>nfs</TT
>, or <TT
CLASS="COMMAND"
>url</TT
> (for ftp or http
installations).
</P
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
><TT
CLASS="COMMAND"
>cdrom</TT
></DT
><DD
><P
>Install from the first CD-ROM drive on the system.</P
></DD
><DT
><TT
CLASS="COMMAND"
>harddrive</TT
></DT
><DD
><P
>Install from a Red Hat installation tree on a local drive, which
must be either vfat or ext2.
</P
><P
></P
><UL
><LI
><P
><TT
CLASS="COMMAND"
>--partition=</TT
></P
><P
>Partition to install from (such as, sdb2).</P
></LI
><LI
><P
> <TT
CLASS="COMMAND"
>--dir=</TT
>
</P
><P
> Directory containing the <TT
CLASS="FILENAME"
>RedHat</TT
>
directory of the installation tree.
</P
></LI
></UL
><P
>For example:</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="COMPUTEROUTPUT"
>harddrive --partition=hdb2 --dir=/tmp/install-tree</TT
></PRE
></TD
></TR
></TABLE
></DD
><DT
><TT
CLASS="COMMAND"
>nfs</TT
></DT
><DD
><P
>Install from the NFS server specified.</P
><P
></P
><UL
><LI
><P
><TT
CLASS="COMMAND"
>--server=</TT
></P
><P
>Server from which to install (hostname or IP).</P
></LI
><LI
><P
><TT
CLASS="COMMAND"
>--dir=</TT
></P
><P
>Directory containing the <TT
CLASS="FILENAME"
>RedHat</TT
>
directory of the installation tree.</P
></LI
></UL
><P
>For example:</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="COMPUTEROUTPUT"
>nfs --server=nfsserver.example.com --dir=/tmp/install-tree</TT
></PRE
></TD
></TR
></TABLE
></DD
><DT
><TT
CLASS="COMMAND"
>url</TT
></DT
><DD
><P
>Install from an installation tree on a remote server via FTP
or HTTP.</P
><P
>For example:</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="COMPUTEROUTPUT"
>url --url http://<TT
CLASS="REPLACEABLE"
><I
><server></I
></TT
>/<TT
CLASS="REPLACEABLE"
><I
><dir></I
></TT
></TT
></PRE
></TD
></TR
></TABLE
><P
>or:</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="COMPUTEROUTPUT"
>url --url ftp://<TT
CLASS="REPLACEABLE"
><I
><username></I
></TT
>:<TT
CLASS="REPLACEABLE"
><I
><password>@<server></I
></TT
>/<TT
CLASS="REPLACEABLE"
><I
><dir></I
></TT
></TT
></PRE
></TD
></TR
></TABLE
></DD
></DL
></DIV
></DD
><DT
><TT
CLASS="COMMAND"
>interactive</TT
> (optional)</DT
><DD
><P
>Uses the information provided in the kickstart file during the
installation, but allow for inspection and modification of the
values given. You will be presented with each screen of the
installation program with the values from the kickstart
file. Either accept the values by clicking
<B
CLASS="GUIBUTTON"
>Next</B
> or change the values and click
<B
CLASS="GUIBUTTON"
>Next</B
> to continue. See also
<TT
CLASS="COMMAND"
>autostep</TT
>.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>keyboard</TT
> (required)</DT
><DD
><P
>Sets system keyboard type. Here is the list of available
keyboards on i386, Itanium, and Alpha machines:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="SCREEN"
>be-latin1, be-latin2, bg, br-abnt2, cf, cz-lat2, cz-us-qwertz, de,
de-latin1, de-latin1-nodeadkeys, dk, dk-latin1, dvorak, es, et,
fi, i-latin1, fr, fr-latin0, fr-latin1, fr-pc, fr_CH, fr_CH-latin1,
gr, hu, hu101, is-latin1, it, it-ibm, it2, jp106, no, no-latin1,
pl, pt-latin1, ro, ru, ru-cp1251, ru-ms, ru1, ru2, ru_win,
se-latin1, sg, sg-latin1, sk-qwerty, slovene, speakup, speakup-lt,
trq, ua, uk, us</PRE
></TD
></TR
></TABLE
></DD
><DT
><TT
CLASS="COMMAND"
>lang</TT
> (required)
</DT
><DD
><P
>Sets the language to use during installation. For example, to
set the language to English, the kickstart file should contain
the following line:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="COMMAND"
>lang en_US</TT
></PRE
></TD
></TR
></TABLE
><P
> Valid language codes are the following (please note that these
are subject to change at any time):
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="SCREEN"
>cs_CZ, da_DK, en_US, fr_FR, de_DE, is_IS, it_IT, ja_JP.eucJP,
ko_KR.eucKR, no_NO, pt_PT, ru_RU.koi8r, sl_SI, es_ES, sv_SE, uk_UA,
zh_CN.GB18030, zh_TW.Big5</PRE
></TD
></TR
></TABLE
></DD
><DT
><TT
CLASS="COMMAND"
>langsupport</TT
> (required)</DT
><DD
><P
>Sets the language(s) to install on the system. The same
language codes used with <TT
CLASS="COMMAND"
>lang</TT
> can be used
with <TT
CLASS="COMMAND"
>langsupport</TT
>.
</P
><P
> If you just want to install one language, specify it. For
example, to install and use the French language
<TT
CLASS="COMMAND"
>fr_FR</TT
>:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="COMMAND"
>langsupport fr_FR</TT
></PRE
></TD
></TR
></TABLE
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
><TT
CLASS="COMMAND"
>--default=</TT
></DT
><DD
><P
>If you want to install language support for more than
one language, you must specify a default.
</P
></DD
></DL
></DIV
><P
>For example, to install English and French and use English as the
default language:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="COMMAND"
>langsupport --default=en_US fr_FR</TT
></PRE
></TD
></TR
></TABLE
><P
> If you use <TT
CLASS="COMMAND"
>--default</TT
> with only one language,
all languages will be installed with the specified language set
to the default.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>lilo</TT
> (replaced by <TT
CLASS="COMMAND"
>bootloader</TT
>)</DT
><DD
><DIV
CLASS="WARNING"
><P
></P
><TABLE
CLASS="WARNING"
WIDTH="90%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="./stylesheet-images/warning.png"
HSPACE="5"
ALT="Warning"></TD
><TH
ALIGN="LEFT"
VALIGN="CENTER"
><B
>Warning</B
></TH
></TR
><TR
><TD
> </TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
> This option has been replaced by <TT
CLASS="COMMAND"
>bootloader</TT
>
and is only available for backwards compatibility. Refer to
<TT
CLASS="COMMAND"
>bootloader</TT
>.
</P
></TD
></TR
></TABLE
></DIV
><P
>Specifies how the boot loader should be installed on the
system. By default, LILO installs on the MBR of the first disk,
and installs a dual-boot system if a DOS partition is found (the
DOS/Windows system will boot if the user types
<TT
CLASS="COMMAND"
>dos</TT
> at the
<TT
CLASS="COMPUTEROUTPUT"
>LILO:</TT
> prompt).
</P
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
><TT
CLASS="COMMAND"
>--append</TT
>
<TT
CLASS="REPLACEABLE"
><I
><params></I
></TT
></DT
><DD
><P
>Specifies kernel parameters.</P
></DD
><DT
><TT
CLASS="COMMAND"
>--linear</TT
></DT
><DD
><P
>Use the <TT
CLASS="COMMAND"
>linear</TT
> LILO option; this is
only for backwards compatibility (and linear is now used
by default).
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--nolinear</TT
></DT
><DD
><P
>Use the <TT
CLASS="COMMAND"
>nolinear</TT
> LILO option; linear
is now used by default.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--location=</TT
></DT
><DD
><P
>Specifies where the LILO boot record is written. Valid
values are the following: <TT
CLASS="COMMAND"
>mbr</TT
>
(the default) or <TT
CLASS="COMMAND"
>partition</TT
>
(installs the boot loader on the first sector of the
partition containing the kernel). If no location is
specified, LILO is not installed.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--lba32</TT
></DT
><DD
><P
>Forces the use of lba32 mode instead of autodetecting.</P
></DD
></DL
></DIV
></DD
><DT
><TT
CLASS="COMMAND"
>lilocheck</TT
> (optional)</DT
><DD
><P
>If <TT
CLASS="COMMAND"
>lilocheck</TT
> is present, the installation
program checks for LILO on the MBR of the first hard drive, and
reboots the system if it is found — in this case, no
installation is performed. This can prevent kickstart from
reinstalling an already installed system.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>logvol</TT
> (optional)
<A
NAME="NEW-OPTION"
HREF="#FTN.NEW-OPTION"
>[1]</A
></DT
><DD
><P
>Create a logical volume for Logical Volume Management
(LVM) with the syntax:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="COMMAND"
>logvol <TT
CLASS="REPLACEABLE"
><I
>mountpoint</I
></TT
> --vgname=<TT
CLASS="REPLACEABLE"
><I
>name</I
></TT
> --size=<TT
CLASS="REPLACEABLE"
><I
>size</I
></TT
> --name=<TT
CLASS="REPLACEABLE"
><I
>name</I
></TT
></TT
></PRE
></TD
></TR
></TABLE
><P
>Create the partition first, create the logical volume group,
and then create the logical volume. For example:</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="COMMAND"
>part pv.01 --size 3000
volgroup myvg pv.01
logvol / --vgname=myvg --size=2000 --name=rootvol</TT
></PRE
></TD
></TR
></TABLE
></DD
><DT
><TT
CLASS="COMMAND"
>mouse</TT
> (required)</DT
><DD
><P
>Configures the mouse for the system, both in GUI and text
modes. Options are:
</P
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
><TT
CLASS="COMMAND"
>--device=</TT
></DT
><DD
><P
>Device the mouse is on (such as <TT
CLASS="COMMAND"
>--device=ttyS0</TT
>).</P
></DD
><DT
><TT
CLASS="COMMAND"
>--emulthree</TT
></DT
><DD
><P
>If present, simultaneous clicks on the left and right
mouse buttons will be recognized as the middle mouse
button by the X Window System. This option should
be used if you have a two button mouse.
</P
></DD
></DL
></DIV
><P
>After options, the mouse type may be specified as one of
the following:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="SCREEN"
>alpsps/2, ascii, asciips/2, atibm, generic, generic3,
genericps/2, generic3ps/2, genericusb, generic3usb,
geniusnm, geniusnmps/2,geniusprops/2, geniusscrollps/2,
geniusscrollps/2+, thinking, thinkingps/2, logitech,
logitechcc, logibm, logimman, logimmanps/2, logimman+,
logimman+ps/2, logimmusb, microsoft, msnew, msintelli,
msintellips/2, msintelliusb, msbm, mousesystems, mmseries,
mmhittab, sun, none</PRE
></TD
></TR
></TABLE
><P
>If the mouse command is given without any arguments, or
it is omitted, the installation program will attempt to
autodetect the mouse. This procedure works for most
modern mice.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>network</TT
> (optional)</DT
><DD
><P
>Configures network information for the system. If the kickstart
installation does not require networking (in other words, it is
not installed over NFS, HTTP, or FTP), networking is not
configured for the system. If the installation does require
networking and network information is not provided in the
kickstart file, the Red Hat Linux installation program assumes that the
installation should be done over eth0 via a dynamic IP address
(BOOTP/DHCP), and configures the final, installed system to
determine its IP address dynamically. The
<TT
CLASS="COMMAND"
>network</TT
> option configures networking
information for kickstart installations via a network as well as
for the installed system.
</P
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
><TT
CLASS="COMMAND"
>--bootproto=</TT
></DT
><DD
><P
>One of <TT
CLASS="COMMAND"
>dhcp</TT
>,
<TT
CLASS="COMMAND"
>bootp</TT
>, or
<TT
CLASS="COMMAND"
>static</TT
>.
</P
><P
>It default to <TT
CLASS="COMMAND"
>dhcp</TT
>.
<TT
CLASS="COMMAND"
>bootp</TT
> and <TT
CLASS="COMMAND"
>dhcp</TT
>
are treated the same.
</P
><P
>The DHCP method uses a DHCP server system to obtain its
networking configuration. As you might guess, the BOOTP
method is similar, requiring a BOOTP server to supply the
networking configuration. To direct a system to use DHCP:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="COMPUTEROUTPUT"
>network --bootproto=dhcp</TT
></PRE
></TD
></TR
></TABLE
><P
>To direct a machine to use BOOTP to obtain its networking
configuration, use the following line in the kickstart file:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="COMPUTEROUTPUT"
>network --bootproto=bootp</TT
></PRE
></TD
></TR
></TABLE
><P
>The static method requires that you enter all the
required networking information in the kickstart file. As
the name implies, this information is static and will be
used during and after the installation. The line for static
networking is more complex, as you must include all network
configuration information on one line. You must specify the
IP address, netmask, gateway, and nameserver. For example:
(the \ indicates that it is all one line):</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="COMPUTEROUTPUT"
>network --bootproto=static --ip=10.0.2.15 --netmask=255.255.255.0 \
--gateway=10.0.2.254 --nameserver=10.0.2.1</TT
></PRE
></TD
></TR
></TABLE
><P
>If you use the static method, be aware of the following
two restrictions:</P
><P
></P
><UL
><LI
><P
>All static networking configuration information must be
specified on <I
CLASS="EMPHASIS"
>one</I
> line; you cannot wrap
lines using a backslash, for example.
</P
></LI
><LI
><P
>You can only specify one nameserver here. However, you can
use the kickstart file's <TT
CLASS="COMMAND"
>%post</TT
> section
(described in <A
HREF="#S1-KICKSTART2-POSTINSTALLCONFIG"
>Chapter 5</A
>) to add more name
servers, if needed.
</P
></LI
></UL
></DD
><DT
><TT
CLASS="COMMAND"
>--device=</TT
></DT
><DD
><P
>Used to select a specific Ethernet device for
installation. Note that using <TT
CLASS="COMMAND"
>--device=</TT
>
will not be effective unless the kickstart file is a local
file (such as <TT
CLASS="COMMAND"
>ks=floppy</TT
>), since the
installation program will configure the network to find the
kickstart file. For example:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="COMPUTEROUTPUT"
>network --bootproto=dhcp --device=eth0</TT
></PRE
></TD
></TR
></TABLE
></DD
><DT
><TT
CLASS="COMMAND"
>--ip=</TT
></DT
><DD
><P
>IP address for the machine to be installed.</P
></DD
><DT
><TT
CLASS="COMMAND"
>--gateway=</TT
></DT
><DD
><P
>Default gateway as an IP address.</P
></DD
><DT
><TT
CLASS="COMMAND"
>--nameserver=</TT
></DT
><DD
><P
>Primary nameserver, as an IP address.</P
></DD
><DT
><TT
CLASS="COMMAND"
>--nodns</TT
></DT
><DD
><P
>Do not configure any DNS server.</P
></DD
><DT
><TT
CLASS="COMMAND"
>--netmask=</TT
></DT
><DD
><P
>Netmask for the installed system.</P
></DD
><DT
><TT
CLASS="COMMAND"
>--hostname=</TT
></DT
><DD
><P
>Hostname for the installed system.</P
></DD
></DL
></DIV
></DD
><DT
><TT
CLASS="COMMAND"
>part</TT
> or <TT
CLASS="COMMAND"
>partition</TT
>
(required for installs, ignored for upgrades)</DT
><DD
><P
>Creates a partition on the system.</P
><P
>If more than one Red Hat Linux installation exists on the system on
different partitions, the installation program prompts the user
and asks which installation to upgrade.</P
><DIV
CLASS="WARNING"
><P
></P
><TABLE
CLASS="WARNING"
WIDTH="90%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="./stylesheet-images/warning.png"
HSPACE="5"
ALT="Warning"></TD
><TH
ALIGN="LEFT"
VALIGN="CENTER"
><B
>Warning</B
></TH
></TR
><TR
><TD
> </TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>All partitions created will be formatted as part of the
installation process unless <TT
CLASS="COMMAND"
>--noformat</TT
> and
<TT
CLASS="COMMAND"
>--onpart</TT
> are used.
</P
></TD
></TR
></TABLE
></DIV
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
><TT
CLASS="REPLACEABLE"
><I
><mntpoint></I
></TT
></DT
><DD
><P
>The <TT
CLASS="REPLACEABLE"
><I
><mntpoint></I
></TT
> is where the
partition will be mounted and must be of one of the following
forms:
</P
><P
></P
><UL
><LI
><P
><TT
CLASS="FILENAME"
>/<TT
CLASS="REPLACEABLE"
><I
><path></I
></TT
></TT
>
</P
><P
>For example, <TT
CLASS="COMMAND"
>/</TT
>,
<TT
CLASS="COMMAND"
>/usr</TT
>, <TT
CLASS="COMMAND"
>/home</TT
>
</P
></LI
><LI
><P
><TT
CLASS="COMMAND"
>swap</TT
></P
><P
>The partition will be used as swap space.</P
><P
>To determine the size of the swap partition
automatically, use the
<TT
CLASS="COMMAND"
>--recommended</TT
> option:</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="COMMAND"
>swap --recommended</TT
></PRE
></TD
></TR
></TABLE
><P
>The minimum size of the automatically-generated swap
partition will be no smaller than the amount of RAM in the
system and no bigger than twice the amount of RAM in the
system.</P
></LI
><LI
><P
><TT
CLASS="COMMAND"
>raid.<TT
CLASS="REPLACEABLE"
><I
><id></I
></TT
></TT
></P
><P
>The partition will be used for software RAID (refer to
<TT
CLASS="COMMAND"
>raid</TT
>).
</P
></LI
><LI
><P
><TT
CLASS="COMMAND"
>pv.<TT
CLASS="REPLACEABLE"
><I
><id></I
></TT
></TT
></P
><P
>The partition will be used for LVM (refer to
<TT
CLASS="COMMAND"
>logvol</TT
>).
</P
></LI
></UL
></DD
><DT
><TT
CLASS="COMMAND"
>--size=</TT
></DT
><DD
><P
>The minimum partition size in megabytes. Specify an
integer value here such as 500. Do not append the number
with MB.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--grow</TT
></DT
><DD
><P
>Tells the partition to grow to fill available space (if
any), or up to the maximum size setting.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--maxsize=</TT
></DT
><DD
><P
>The maximum partition size in megabytes when the
partition is set to grow. Specify an integer value here,
and do not append the number with MB.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--noformat</TT
></DT
><DD
><P
>Tells the installation program not to format the
partition, for use with the <TT
CLASS="COMMAND"
>--onpart</TT
>
command.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--onpart=</TT
> or
<TT
CLASS="COMMAND"
>--usepart=</TT
></DT
><DD
><P
>Put the partition on the <I
CLASS="EMPHASIS"
>already
existing</I
> device. For example:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="COMMAND"
>partition /home --onpart hda1</TT
></PRE
></TD
></TR
></TABLE
><P
> will put <TT
CLASS="FILENAME"
>/home</TT
> on
<TT
CLASS="FILENAME"
>/dev/hda1</TT
>, which must already exist.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--ondisk=</TT
> or
<TT
CLASS="COMMAND"
>--ondrive=</TT
></DT
><DD
><P
>Forces the partition to be created on a particular disk.
For example, <TT
CLASS="COMMAND"
>--ondisk=sdb</TT
> will put
the partition on the second SCSI disk on the system.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--asprimary</TT
></DT
><DD
><P
>Forces automatic allocation of the partition as a
primary partition or the partitioning will fail.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--bytes-per-inode=</TT
></DT
><DD
><P
>Number specified represents the
number of bytes per inode on the filesystem when it is
created. It must be given in decimal format. This
option is useful for applications where you want to
increase the number of inodes on the filesystem.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--type=</TT
>
(replaced by <TT
CLASS="COMMAND"
>fstype</TT
>)</DT
><DD
><P
>This option is no longer available. Use
<TT
CLASS="COMMAND"
>fstype</TT
>.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--fstype=</TT
></DT
><DD
><P
>Sets the filesystem type for the partition. Valid
values are <TT
CLASS="COMMAND"
>ext2</TT
>,
<TT
CLASS="COMMAND"
>ext3</TT
>,
<TT
CLASS="COMMAND"
>swap</TT
>, and
<TT
CLASS="COMMAND"
>vfat</TT
>.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--start=</TT
></DT
><DD
><P
>Specifies the starting cylinder for the partition. It
requires that a drive be specified with
<TT
CLASS="COMMAND"
>--ondisk=</TT
> or
<TT
CLASS="COMMAND"
>ondrive=</TT
>. It also requires that the
ending cylinder be specified with
<TT
CLASS="COMMAND"
>--end=</TT
> or the partition size be
specified with <TT
CLASS="COMMAND"
>--size=</TT
>.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--end=</TT
></DT
><DD
><P
>Specifies the ending cylinder for the partition. It
requires that the starting cylinder be specified with
<TT
CLASS="COMMAND"
>--start=</TT
>.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--badblocks</TT
></DT
><DD
><P
>Specifies that the partition should be checked for bad
sectors.
</P
></DD
></DL
></DIV
><DIV
CLASS="NOTE"
><P
></P
><TABLE
CLASS="NOTE"
WIDTH="90%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="./stylesheet-images/note.png"
HSPACE="5"
ALT="Note"></TD
><TH
ALIGN="LEFT"
VALIGN="CENTER"
><B
>Note</B
></TH
></TR
><TR
><TD
> </TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
> If partitioning fails for any reason, diagnostic messages will
appear on virtual console 3.
</P
></TD
></TR
></TABLE
></DIV
></DD
><DT
><TT
CLASS="COMMAND"
>raid</TT
> (optional)</DT
><DD
><P
>Assembles a software RAID device. This command is of the form:</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="SCREEN"
>raid <TT
CLASS="REPLACEABLE"
><I
><mntpoint></I
></TT
> --level=<TT
CLASS="REPLACEABLE"
><I
><level></I
></TT
> --device=<TT
CLASS="REPLACEABLE"
><I
><mddevice></I
></TT
> <TT
CLASS="REPLACEABLE"
><I
><partitions*></I
></TT
></PRE
></TD
></TR
></TABLE
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
><TT
CLASS="REPLACEABLE"
><I
><mntpoint></I
></TT
></DT
><DD
><P
>Location where the RAID filesystem is mounted. If it is
<TT
CLASS="FILENAME"
>/</TT
>, the RAID level must be 1 unless a
boot partition (<TT
CLASS="FILENAME"
>/boot</TT
>) is present. If a
boot partition is present, the <TT
CLASS="FILENAME"
>/boot</TT
>
partition must be level 1 and the root
(<TT
CLASS="FILENAME"
>/</TT
>) partition can be any of the
available types. The
<TT
CLASS="REPLACEABLE"
><I
><partitions*></I
></TT
> (which
denotes that multiple partitions can be listed) lists the
RAID identifiers to add to the RAID array.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--level=</TT
></DT
><DD
><P
>RAID level to use (0, 1, or 5).</P
></DD
><DT
><TT
CLASS="COMMAND"
>--device=</TT
></DT
><DD
><P
>Name of the RAID device to use (such as md0 or md1).
RAID devices range from md0 to md7, and each may only be
used once.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--spares=</TT
></DT
><DD
><P
>Specifies the number of spare drives allocated for the
RAID array. Spare drives are used to rebuild the array in
case of drive failure.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--fstype=</TT
></DT
><DD
><P
>Sets the filesystem type for the RAID array. Valid values
are ext2, ext3, swap, and vfat.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--noformat</TT
></DT
><DD
><P
>Do not format the RAID array.</P
></DD
></DL
></DIV
><P
>The following example shows how to create a RAID level 1
partition for <TT
CLASS="FILENAME"
>/</TT
>, and a RAID level 5 for
<TT
CLASS="FILENAME"
>/usr</TT
>, assuming there are three SCSI disks
on the system. It also creates three swap partitions, one on
each drive.
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="COMPUTEROUTPUT"
>part raid.01 --size=60 --ondisk=sda
part raid.02 --size=60 --ondisk=sdb
part raid.03 --size=60 --ondisk=sdc</TT
></PRE
></TD
></TR
></TABLE
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="COMPUTEROUTPUT"
>part swap --size=128 --ondisk=sda
part swap --size=128 --ondisk=sdb
part swap --size=128 --ondisk=sdc</TT
></PRE
></TD
></TR
></TABLE
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="COMPUTEROUTPUT"
>part raid.11 --size=1 --grow --ondisk=sda
part raid.12 --size=1 --grow --ondisk=sdb
part raid.13 --size=1 --grow --ondisk=sdc</TT
></PRE
></TD
></TR
></TABLE
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="COMPUTEROUTPUT"
>raid / --level=1 --device=md0 raid.01 raid.02 raid.03
raid /usr --level=5 --device=md1 raid.11 raid.12 raid.13</TT
></PRE
></TD
></TR
></TABLE
></DD
><DT
><TT
CLASS="COMMAND"
>reboot</TT
> (optional)</DT
><DD
><P
>Reboot after the installation is complete (no
arguments). Normally, kickstart displays a message and waits for
the user to press a key before rebooting.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>rootpw</TT
> (required)</DT
><DD
><P
>Sets the system's root password to the
<TT
CLASS="REPLACEABLE"
><I
><password></I
></TT
> argument.</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="COMMAND"
>rootpw [--iscrypted] <TT
CLASS="REPLACEABLE"
><I
><password></I
></TT
></TT
></PRE
></TD
></TR
></TABLE
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
><TT
CLASS="COMMAND"
>--iscrypted</TT
></DT
><DD
><P
>If this is present, the password argument is assumed to
already be encrypted.</P
></DD
></DL
></DIV
></DD
><DT
><TT
CLASS="COMMAND"
>skipx</TT
> (optional)</DT
><DD
><P
>If present, X is not configured on the installed system.</P
></DD
><DT
><TT
CLASS="COMMAND"
>text</TT
> (optional)</DT
><DD
><P
>Perform the kickstart installation in text mode. Kickstart
installations are performed in graphical mode by default.</P
></DD
><DT
><TT
CLASS="COMMAND"
>timezone</TT
> (required)</DT
><DD
><P
>Sets the system time zone to
<TT
CLASS="REPLACEABLE"
><I
><timezone></I
></TT
> which may be any of
the time zones listed by <TT
CLASS="COMMAND"
>timeconfig</TT
>.
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="COMMAND"
>timezone [--utc] <TT
CLASS="REPLACEABLE"
><I
><timezone></I
></TT
></TT
></PRE
></TD
></TR
></TABLE
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
><TT
CLASS="COMMAND"
>--utc</TT
></DT
><DD
><P
>If present, the system assumes the hardware clock is set
to UTC (Greenwich Mean) time.
</P
></DD
></DL
></DIV
></DD
><DT
><TT
CLASS="COMMAND"
>upgrade</TT
> (optional)</DT
><DD
><P
>Tells the system to upgrade an existing system rather than
install a fresh system. You must specify one of cdrom, harddrive,
nfs, or url (for ftp and http) as the location of the installation
tree. Refer to <TT
CLASS="COMMAND"
>install</TT
> for details.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>xconfig</TT
> (optional)</DT
><DD
><P
>Configures the X Window System. If this option is not given, the
user will need to configure X manually during the installation,
if X was installed; this option should not be used if X is not
installed on the final system.
</P
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
><TT
CLASS="COMMAND"
>--noprobe</TT
></DT
><DD
><P
>Do not probe the monitor.</P
></DD
><DT
><TT
CLASS="COMMAND"
>--card=</TT
></DT
><DD
><P
>Use specified card; this
card name should be from the list of cards in
<TT
CLASS="FILENAME"
>/usr/share/hwdata/Cards</TT
> from the
<TT
CLASS="FILENAME"
>hwdata</TT
> package. If this
argument is not provided,
the installation program will probe the
PCI bus for the card. Since AGP is part of the PCI bus,
AGP cards will be detected if supported. The probe order
is determined by the PCI scan order of the motherboard.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--videoram=</TT
></DT
><DD
><P
>Specify the amount of video RAM the video card has.</P
></DD
><DT
><TT
CLASS="COMMAND"
>--monitor=</TT
></DT
><DD
><P
>Use specified monitor;
monitor name should be from the list of monitors in
<TT
CLASS="FILENAME"
>/usr/share/hwdata/MonitorsDB</TT
> from the
<TT
CLASS="FILENAME"
>hwdata</TT
> package. This is
ignored if <TT
CLASS="COMMAND"
>--hsync</TT
> or
<TT
CLASS="COMMAND"
>--vsync</TT
> is provided. If no
monitor information is provided, the installation
program tries to probe for it automatically.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--hsync=</TT
></DT
><DD
><P
>Specifies the horizontal sync frequency of the monitor.</P
></DD
><DT
><TT
CLASS="COMMAND"
>--vsync=</TT
></DT
><DD
><P
>Specifies the vertical sync frequency of the monitor.</P
></DD
><DT
><TT
CLASS="COMMAND"
>--defaultdesktop=</TT
></DT
><DD
><P
>Specify either GNOME or KDE to set the default desktop
(assumes that GNOME Desktop Environment and/or KDE Desktop
Environment has been installed through
<TT
CLASS="COMMAND"
>%packages</TT
>).
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--startxonboot</TT
></DT
><DD
><P
>Use a graphical login on the installed system.</P
></DD
><DT
><TT
CLASS="COMMAND"
>--resolution=</TT
></DT
><DD
><P
>Specify the default resolution for the X Window System
on the installed system. Valid values are 640x480,
800x600, 1024x768, 1152x864, 1280x1024, 1400x1050,
1600x1200. Be sure to specify a resolution that is
compatible with the video card and monitor.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--depth=</TT
></DT
><DD
><P
>Specify the default color depth for the X Window System
on the installed system. Valid values are 8, 16, 24, and
32. Be sure to specify a color depth that is
compatible with the video card and monitor.
</P
></DD
></DL
></DIV
></DD
><DT
><TT
CLASS="COMMAND"
>volgroup</TT
> (optional)
<A
HREF="#FTN.NEW-OPTION"
>[1]</A
></DT
><DD
><P
>Use to create a Logical Volume Management (LVM) group with
the syntax:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="COMMAND"
>volgroup <TT
CLASS="REPLACEABLE"
><I
>name</I
></TT
> <TT
CLASS="REPLACEABLE"
><I
>partition</I
></TT
></TT
></PRE
></TD
></TR
></TABLE
><P
>Create the partition first, create the logical volume group,
and then create the logical volume. For example:</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="COMMAND"
>part pv.01 --size 3000
volgroup myvg pv.01
logvol / --vgname=myvg --size=2000 --name=rootvol</TT
></PRE
></TD
></TR
></TABLE
></DD
><DT
><TT
CLASS="COMMAND"
>zerombr</TT
> (optional)</DT
><DD
><P
>If <TT
CLASS="COMMAND"
>zerombr</TT
> is specified, and
<TT
CLASS="COMMAND"
>yes</TT
> is its sole argument, any
invalid partition tables found on disks are initialized. This
will destroy all of the contents of disks with invalid partition
tables. This command should be in the following format:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="COMMAND"
>zerombr yes</TT
></PRE
></TD
></TR
></TABLE
><P
>No other format is effective.</P
></DD
><DT
><TT
CLASS="COMMAND"
>%include</TT
></DT
><DD
><P
>Use the <TT
CLASS="COMMAND"
>%include
<TT
CLASS="REPLACEABLE"
><I
>/path/to/file</I
></TT
></TT
> command to include
the contents of another file in the kickstart file as though the
contents were at the location of the <TT
CLASS="COMMAND"
>%include</TT
>
command in the kickstart file.
</P
></DD
></DL
></DIV
></DIV
><DIV
CLASS="CHAPTER"
><CHAPTER><H1
><A
NAME="S1-KICKSTART2-PACKAGESELECTION"
></A
>Chapter 3. Package Selection</H1
><P
>Use the <TT
CLASS="COMMAND"
>%packages</TT
> command to begin a kickstart file
section that lists the packages you would like to install (this is for
installations only, as package selection during upgrades is not
supported).
</P
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
><TT
CLASS="COMMAND"
>--resolvedeps</TT
></DT
><DD
><P
>Install the listed packages and automatically resolve
package dependencies.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>--ignoredeps</TT
></DT
><DD
><P
>Ignore the unresolved dependencies and install the listed
packages without the dependencies.
</P
></DD
></DL
></DIV
><P
>Packages can be specified by group or by individual package name.
The installation program defines several groups that contain
related packages. See the
<TT
CLASS="FILENAME"
>RedHat/base/comps.xml</TT
> file on any Red Hat Linux CD-ROM
for a list of groups.
Each group as an id, uservisiblity value, name, description, and
package list. In the package list, the packages marked as mandatory
are always installed if the group is selected, the packages marked
default are selected by default if the group is selected, and the
packages marked optional must be specifically selected even if the
group is selected to be installed.
</P
><P
>In most cases, it is only necessary to list the desired groups and
not individual packages. Note that the <TT
CLASS="COMMAND"
>Core</TT
> and
<TT
CLASS="COMMAND"
>Base</TT
> groups are always selected by default, so it
is not necessary to specify it in the <TT
CLASS="COMMAND"
>%packages</TT
>
section.
</P
><P
>Here is an example <TT
CLASS="COMMAND"
>%packages</TT
> selection:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="COMMAND"
>%packages
@ X Window System
@ GNOME Desktop Environment
@ Graphical Internet
@ Sound and Video
galeon</TT
></PRE
></TD
></TR
></TABLE
><P
>As you can see, groups are specified, one to a line, starting with
an <TT
CLASS="COMMAND"
>@</TT
> symbol, a space, and then the full group
name as given in the <TT
CLASS="FILENAME"
>comps</TT
> file. Specify
individual packages with no additional characters (the
<TT
CLASS="FILENAME"
>galeon</TT
> line in the example above is an
individual package).
</P
><P
>To specify an everything installation to install all packages), add the
<I
CLASS="EMPHASIS"
>one</I
> to the <TT
CLASS="COMMAND"
>%packages</TT
> section:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="COMPUTEROUTPUT"
>@ Everything</TT
></PRE
></TD
></TR
></TABLE
><P
>You can also specify which packages not to install from the default
package list:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="COMPUTEROUTPUT"
>@ Games and Entertainment
-kdegames</TT
></PRE
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="CHAPTER"
><CHAPTER><H1
><A
NAME="S1-KICKSTART2-PREINSTALLCONFIG"
></A
>Chapter 4. Pre-installation Script</H1
><P
>You can add commands to run on the system immediately after the
<TT
CLASS="FILENAME"
>ks.cfg</TT
> has been parsed. This section must be at
the end of the kickstart file (after the commands) and must start with
the <TT
CLASS="COMMAND"
>%pre</TT
> command. You can access the network in
the <TT
CLASS="COMMAND"
>%pre</TT
> section; however, <I
CLASS="FIRSTTERM"
>name
service</I
> has not been configured at this point, so only IP
addresses will work. Here is an example <TT
CLASS="COMMAND"
>%pre</TT
>
section:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="COMPUTEROUTPUT"
>%pre
#!/bin/sh
hds=""
mymedia=""
for file in /proc/ide/h*
do
mymedia=`cat $file/media`
if [ $mymedia == "disk" ] ; then
hds="$hds `basename $file`"
fi
done
set $hds
numhd=`echo $#`
drive1=`echo $hds | cut -d' ' -f1`
drive2=`echo $hds | cut -d' ' -f2`
#Write out partition scheme based on whether there are 1 or 2 hard drives
if [ $numhd == "2" ] ; then
#2 drives
echo "#partitioning scheme generated in %pre for 2 drives" > /tmp/part-include
echo "clearpart --all" >> /tmp/part-include
echo "part /boot --fstype ext3 --size 75 --ondisk hda" >> /tmp/part-include
echo "part / --fstype ext3 --size 1 --grow --ondisk hda" >> /tmp/part-include
echo "part swap --recommended --ondisk $drive1" >> /tmp/part-include
echo "part /home --fstype ext3 --size 1 --grow --ondisk hdb" >> /tmp/part-include
else
#1 drive
echo "#partitioning scheme generated in %pre for 1 drive" > /tmp/part-include
echo "clearpart --all" >> /tmp/part-include
echo "part /boot --fstype ext3 --size 75" >> /tmp/part-includ
echo "part swap --recommended" >> /tmp/part-include
echo "part / --fstype ext3 --size 2048" >> /tmp/part-include
echo "part /home --fstype ext3 --size 2048 --grow" >> /tmp/part-include
fi</TT
></PRE
></TD
></TR
></TABLE
><P
>This script determines the number of hard drives in the system
and writes a text file with a different partitioning scheme
depending on whether it has one or two drives. Instead of having a
set of partitioning commands in the kickstart file, include the
line:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="COMMAND"
>%include /tmp/part-include</TT
> </PRE
></TD
></TR
></TABLE
><P
>The partitioning commands selected in the script will be used.
</P
><DIV
CLASS="NOTE"
><P
></P
><TABLE
CLASS="NOTE"
WIDTH="100%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="./stylesheet-images/note.png"
HSPACE="5"
ALT="Note"></TD
><TH
ALIGN="LEFT"
VALIGN="CENTER"
><B
>Note</B
></TH
></TR
><TR
><TD
> </TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
> Note that the pre-install script is not run in the change root
environment.
</P
></TD
></TR
></TABLE
></DIV
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
><TT
CLASS="COMMAND"
>--interpreter <TT
CLASS="REPLACEABLE"
><I
>/usr/bin/python</I
></TT
></TT
></DT
><DD
><P
>Allows you to specify a different scripting language, such as
Python. Replace <TT
CLASS="REPLACEABLE"
><I
>/usr/bin/python</I
></TT
> with the
scripting language of your choice.
</P
></DD
></DL
></DIV
></DIV
><DIV
CLASS="CHAPTER"
><CHAPTER><H1
><A
NAME="S1-KICKSTART2-POSTINSTALLCONFIG"
></A
>Chapter 5. Post-installation Script</H1
><P
> You have the option of adding commands to run on the system once the
installation is complete. This section must be at the end of the
kickstart file and must start with the <TT
CLASS="COMMAND"
>%post</TT
>
command. This section is useful for functions such as installing
additional software and configuring an additional nameserver.
</P
><DIV
CLASS="NOTE"
><P
></P
><TABLE
CLASS="NOTE"
WIDTH="100%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="./stylesheet-images/note.png"
HSPACE="5"
ALT="Note"></TD
><TH
ALIGN="LEFT"
VALIGN="CENTER"
><B
>Note</B
></TH
></TR
><TR
><TD
> </TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
> If you configured the network with static IP information, including
a nameserver, you can access the network and resolve IP addresses in
the <TT
CLASS="COMMAND"
>%post</TT
> section. If you configured the network
for DHCP, the <TT
CLASS="FILENAME"
>/etc/resolv.conf</TT
> file has not
been completed when the installation executes the
<TT
CLASS="COMMAND"
>%post</TT
> section. You can access the network,
but you can not resolve IP addresses. Thus, if you are using DHCP,
you must specify IP addresses in the <TT
CLASS="COMMAND"
>%post</TT
>
section.
</P
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="NOTE"
><P
></P
><TABLE
CLASS="NOTE"
WIDTH="100%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="./stylesheet-images/note.png"
HSPACE="5"
ALT="Note"></TD
><TH
ALIGN="LEFT"
VALIGN="CENTER"
><B
>Note</B
></TH
></TR
><TR
><TD
> </TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
> The post-install script is run in a chroot environment; therefore,
performing tasks such as copying scripts or RPMs from the
installation media will not work.
</P
></TD
></TR
></TABLE
></DIV
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
><TT
CLASS="COMMAND"
>--nochroot</TT
></DT
><DD
><P
>Allows you to specify commands that you would like to run
outside of the chroot environment.
</P
><P
>The following example copies the file
<TT
CLASS="FILENAME"
>/etc/resolv.conf</TT
> to the filesystem that was
just installed.
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="COMPUTEROUTPUT"
>%post --nochroot
cp /etc/resolv.conf /mnt/sysimage/etc/resolv.conf</TT
></PRE
></TD
></TR
></TABLE
></DD
><DT
><TT
CLASS="COMMAND"
>--interpreter <TT
CLASS="REPLACEABLE"
><I
>/usr/bin/python</I
></TT
></TT
></DT
><DD
><P
>Allows you to specify a different scripting language, such as
Python. Replace <TT
CLASS="REPLACEABLE"
><I
>/usr/bin/python</I
></TT
> with the
scripting language of your choice.
</P
></DD
></DL
></DIV
><DIV
CLASS="SECT1"
><SECT1><H2
CLASS="SECT1"
><A
NAME="S2-KICKSTART2-POST-EXAMPLES"
></A
>Examples</H2
><P
> Turn services on and off:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="COMMAND"
>/sbin/chkconfig --level 345 telnet off
/sbin/chkconfig --level 345 finger off
/sbin/chkconfig --level 345 lpd off
/sbin/chkconfig --level 345 httpd on</TT
></PRE
></TD
></TR
></TABLE
><P
> Run a script named <TT
CLASS="FILENAME"
>runme</TT
> from an NFS share:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="COMMAND"
>mkdir /mnt/temp
mount 10.10.0.2:/usr/new-machines /mnt/temp
open -s -w -- /mnt/temp/runme
umount /mnt/temp</TT
></PRE
></TD
></TR
></TABLE
><P
> Add a user to the system:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="COMMAND"
>/usr/sbin/useradd bob
/usr/bin/chfn -f "Bob Smith" bob
/usr/sbin/usermod -p 'kjdf$04930FTH/ ' bob</TT
></PRE
></TD
></TR
></TABLE
></DIV
></DIV
><DIV
CLASS="CHAPTER"
><CHAPTER><H1
><A
NAME="S1-KICKSTART2-PUTKICKSTARTHERE"
></A
>Chapter 6. Making the Kickstart File Available</H1
><P
> A kickstart file must be placed in one of two locations:
</P
><P
></P
><UL
><LI
><P
>On a boot diskette</P
></LI
><LI
><P
>On a network</P
></LI
></UL
><P
> Normally a kickstart file is copied to the boot diskette, or made
available on the network. The network-based approach is most commonly
used, as most kickstart installations tend to be performed on
networked computers.
</P
><P
> Let us take a more in-depth look at where the kickstart
file may be placed.
</P
><DIV
CLASS="SECT1"
><SECT1><H2
CLASS="SECT1"
><A
NAME="S2-KICKSTART2-DISKBASED"
></A
>Creating a Kickstart Boot Diskette</H2
><P
> To perform a diskette-based kickstart installation, the kickstart file
must be named <TT
CLASS="FILENAME"
>ks.cfg</TT
> and must be located in the
boot diskette's top-level directory. Note that the Red Hat Linux boot diskettes are in
MS-DOS format, so it is easy to copy the kickstart file under Linux
using the <TT
CLASS="COMMAND"
>mcopy</TT
> command:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="COMMAND"
>mcopy ks.cfg a:</TT
></PRE
></TD
></TR
></TABLE
><P
> Alternatively, you can use Windows to copy the file. You can also
mount the MS-DOS boot diskette and <TT
CLASS="COMMAND"
>cp</TT
> the file
over.
</P
></DIV
><DIV
CLASS="SECT1"
><SECT1><H2
CLASS="SECT1"
><A
NAME="S2-KICKSTART2-NETWORKBASED"
></A
>Making the Kickstart File Available on the Network</H2
><P
> Network installations using kickstart are quite common,
because system administrators can easily
automate the installation on many networked computers quickly and
painlessly. In general, the approach most commonly used is for the
administrator to have both a BOOTP/DHCP server and an NFS server on
the local network. The BOOTP/DHCP server is used to give the client
system its networking information, while the actual files used during
the installation are served by the NFS server. Often, these two
servers run on the same physical machine, but they are not required
to.
</P
><P
> To perform a network-based kickstart installation, you must have a
BOOTP/DHCP server on your network, and it must include configuration
information for the machine on which you are attempting to install
Red Hat Linux. The BOOTP/DHCP server will provide the client with its
networking information as well as the location of the kickstart file.
</P
><P
> If a kickstart file is specified by the BOOTP/DHCP server, the client
system will attempt an NFS mount of the file's path, and will copy the
specified file to the client, using it as the kickstart file. The
exact settings required vary depending on the BOOTP/DHCP server you
use.
</P
><P
> Here is an example of a line from the <TT
CLASS="FILENAME"
>dhcpd.conf</TT
>
file for the DHCP server shipped with Red Hat Linux:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="COMPUTEROUTPUT"
><TT
CLASS="FILENAME"
>filename</TT
> <TT
CLASS="REPLACEABLE"
><I
>"/usr/new-machine/kickstart/"</I
></TT
>;
next-server <TT
CLASS="REPLACEABLE"
><I
>blarg.redhat.com;</I
></TT
></TT
></PRE
></TD
></TR
></TABLE
><P
> Note that you should replace the value after
<TT
CLASS="COMPUTEROUTPUT"
>filename</TT
> with the name of the
kickstart file (or the directory in which the kickstart file
resides) and the value after
<TT
CLASS="COMPUTEROUTPUT"
>next-server</TT
>
with the NFS server name.
</P
><P
> If the filename returned by the BOOTP/DHCP server ends with a slash
("/"), then it is interpreted as a path only. In this case, the
client system mounts that path using NFS, and searches for a
particular file. The filename the client searches for is:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="FILENAME"
><TT
CLASS="REPLACEABLE"
><I
><ip-addr></I
></TT
>-kickstart</TT
></PRE
></TD
></TR
></TABLE
><P
> The <TT
CLASS="FILENAME"
><TT
CLASS="REPLACEABLE"
><I
><ip-addr></I
></TT
></TT
>
section of the filename should be replaced with the client's IP
address in dotted decimal notation. For example, the filename for a
computer with an IP address of 10.10.0.1 would be
<TT
CLASS="FILENAME"
>10.10.0.1-kickstart</TT
>.
</P
><P
> Note that if you do not specify a server name, then the client system
will attempt to use the server that answered the BOOTP/DHCP request as
its NFS server. If you do not specify a path or filename, the client
system will try to mount <TT
CLASS="FILENAME"
>/kickstart</TT
> from the
BOOTP/DHCP server and will try to find the kickstart file using the
same
<TT
CLASS="FILENAME"
><TT
CLASS="REPLACEABLE"
><I
><ip-addr></I
></TT
>-kickstart</TT
>
filename as described above.
</P
></DIV
></DIV
><DIV
CLASS="CHAPTER"
><CHAPTER><H1
><A
NAME="S1-KICKSTART2-INSTALL-TREE"
></A
>Chapter 7. Making the Installation Tree Available</H1
><P
> The kickstart installation needs to access an <I
CLASS="FIRSTTERM"
>installation
tree</I
>. An installation tree is a copy of the binary Red Hat Linux
CD-ROMs with the same directory structure.
</P
><P
> If you are performing a CD-based installation, insert the Red Hat Linux CD-ROM
#1 into the computer before starting the kickstart installation.
</P
><P
> If you are performing a hard-drive installation, make sure the ISO
images of the binary Red Hat Linux CD-ROMs are on a hard drive in the computer.
</P
><P
> If you are performing a network-based (NFS, FTP, or HTTP) installation,
you must make the installation tree available over the network. Refer
to the <I
CLASS="CITETITLE"
>Preparing for a Network Installation</I
>
section of the <I
CLASS="CITETITLE"
>Official Red Hat Linux Installation Guide</I
> for details.
</P
></DIV
><DIV
CLASS="CHAPTER"
><CHAPTER><H1
><A
NAME="AEN1425"
></A
>Chapter 8. Starting a Kickstart Installation</H1
><P
> To begin a kickstart installation, you must boot the system from a Red Hat Linux
boot diskette or the CD-ROM and enter a special boot command at the boot prompt. If the
kickstart file is located on a boot diskette that was created from the
<TT
CLASS="FILENAME"
>boot.img</TT
> or <TT
CLASS="FILENAME"
>bootnet.img</TT
> image
file, the correct boot command would be:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="PROMPT"
>boot:</TT
> <TT
CLASS="USERINPUT"
><B
>linux ks=floppy</B
></TT
></PRE
></TD
></TR
></TABLE
><P
> The <TT
CLASS="USERINPUT"
><B
>linux ks=floppy</B
></TT
> command also works if the
<TT
CLASS="FILENAME"
>ks.cfg</TT
> file is located on a vfat or ext2 filesystem on a
floppy diskette and you boot from the Red Hat Linux CD-ROM.
</P
><P
> An alternate boot command for booting off the Red Hat Linux CD-ROM and having the
kickstart file on a vfat or ext2 filesystem on a floppy diskette is:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="PROMPT"
>boot:</TT
> <TT
CLASS="USERINPUT"
><B
>linux ks=hd:fd0/ks.cfg</B
></TT
></PRE
></TD
></TR
></TABLE
><P
> If you need to use a driver disk with kickstart, you can still have the
kickstart file on a floppy disk:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="SCREEN"
><TT
CLASS="PROMPT"
>boot:</TT
> <TT
CLASS="USERINPUT"
><B
>linux ks=floppy dd</B
></TT
></PRE
></TD
></TR
></TABLE
><P
> The Red Hat Linux installation program looks for a kickstart file if the
<TT
CLASS="COMMAND"
>ks</TT
> command line argument is passed to the kernel.
The command line argument can take a number of forms:
</P
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
><TT
CLASS="COMMAND"
>ks=nfs:<TT
CLASS="REPLACEABLE"
><I
><server></I
></TT
>:/<TT
CLASS="REPLACEABLE"
><I
><path></I
></TT
></TT
></DT
><DD
><P
>The installation program will look for the kickstart file on the NFS
server <TT
CLASS="REPLACEABLE"
><I
><server></I
></TT
>, as file
<TT
CLASS="REPLACEABLE"
><I
><path></I
></TT
>. The installation program
will use DHCP to configure the Ethernet card. For example, if your
NFS server is server.example.com and the kickstart file is in the
NFS share <TT
CLASS="FILENAME"
>/mydir/ks.cfg</TT
>, the correct boot command would be
<TT
CLASS="COMMAND"
>ks=nfs:server.example.com:/mydir/ks.cfg</TT
>.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>ks=http://<TT
CLASS="REPLACEABLE"
><I
><server></I
></TT
>/<TT
CLASS="REPLACEABLE"
><I
><path></I
></TT
></TT
></DT
><DD
><P
>The installation program will look for the kickstart file on the HTTP
server <TT
CLASS="REPLACEABLE"
><I
><server></I
></TT
>, as file
<TT
CLASS="REPLACEABLE"
><I
><path></I
></TT
>. The installation program
will use DHCP to configure the Ethernet card. For example, if your
HTTP server is server.example.com and the kickstart file is in the
HTTP directory <TT
CLASS="FILENAME"
>/mydir/ks.cfg</TT
>, the correct boot command would be
<TT
CLASS="COMMAND"
>ks=http://server.example.com/mydir/ks.cfg</TT
>.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>ks=floppy</TT
></DT
><DD
><P
>The installation program looks for the file
<TT
CLASS="FILENAME"
>ks.cfg</TT
> on a vfat or ext2 filesystem on the floppy in
drive <TT
CLASS="FILENAME"
>/dev/fd0</TT
>.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>ks=hd:<TT
CLASS="REPLACEABLE"
><I
><device></I
></TT
>/<TT
CLASS="REPLACEABLE"
><I
><file></I
></TT
></TT
></DT
><DD
><P
>The installation program will mount the filesystem on
<TT
CLASS="REPLACEABLE"
><I
><device></I
></TT
> (which must be vfat or
ext2), and look for the kickstart configuration file as
<TT
CLASS="REPLACEABLE"
><I
><file></I
></TT
> in that filesystem (for
example, <TT
CLASS="COMMAND"
>ks=hd:sda3/mydir/ks.cfg</TT
>).
</P
></DD
><DT
><TT
CLASS="COMMAND"
>ks=file:/<TT
CLASS="REPLACEABLE"
><I
><file></I
></TT
></TT
></DT
><DD
><P
>The installation program will try to read the file
<TT
CLASS="REPLACEABLE"
><I
><file></I
></TT
> from the filesystem; no
mounts will be done. This is normally used if the kickstart file
is already on the <TT
CLASS="FILENAME"
>initrd</TT
> image.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>ks=cdrom:/<TT
CLASS="REPLACEABLE"
><I
><path></I
></TT
></TT
></DT
><DD
><P
>The installation program will look for the kickstart file on
CD-ROM, as file <TT
CLASS="REPLACEABLE"
><I
><path></I
></TT
>.
</P
></DD
><DT
><TT
CLASS="COMMAND"
>ks</TT
></DT
><DD
><P
>If <TT
CLASS="COMMAND"
>ks</TT
> is used alone, the installation program
will configure the Ethernet card in the system using DHCP. The
system will use the "bootServer" from the DHCP response as an NFS
server to read the kickstart file from (by default, this is the
same as the DHCP server). The name of the kickstart file is one
of the following:
</P
><P
></P
><UL
><LI
><P
>If DHCP is specified and the bootfile begins with a
<TT
CLASS="FILENAME"
>/</TT
>, the bootfile provided by DHCP is looked for
on the NFS server.
</P
></LI
><LI
><P
>If DHCP is specified and the bootfile begins with
something other then a <TT
CLASS="COMPUTEROUTPUT"
>/</TT
>,
the bootfile provided by DHCP is looked for in the
<TT
CLASS="FILENAME"
>/kickstart</TT
> directory on the NFS server.
</P
></LI
><LI
><P
>If DHCP did not specify a bootfile, then the installation
program tries to read the file
<TT
CLASS="FILENAME"
>/kickstart/1.2.3.4-kickstart</TT
>, where
<TT
CLASS="REPLACEABLE"
><I
>1.2.3.4</I
></TT
> is the numeric IP address
of the machine being installed.
</P
></LI
></UL
></DD
><DT
><TT
CLASS="COMMAND"
>ksdevice=<TT
CLASS="REPLACEABLE"
><I
><device></I
></TT
></TT
></DT
><DD
><P
>The installation program will use this network device to connect
to the network. For example, to start a kickstart installation
with the kickstart file on an NFS server that is connected to the
system through the eth1 device, use the command
<TT
CLASS="COMMAND"
>ks=nfs:<TT
CLASS="REPLACEABLE"
><I
><server></I
></TT
>:/<TT
CLASS="REPLACEABLE"
><I
><path></I
></TT
>
ksdevice=eth1</TT
> at the <TT
CLASS="PROMPT"
>boot:</TT
> prompt.
</P
></DD
></DL
></DIV
></DIV
></DIV
><H3
CLASS="FOOTNOTES"
>Notes</H3
><TABLE
BORDER="0"
CLASS="FOOTNOTES"
WIDTH="100%"
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
WIDTH="5%"
><A
NAME="FTN.NEW-OPTION"
HREF="#NEW-OPTION"
>[1]</A
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
WIDTH="95%"
><P
>New option</P
></TD
></TR
></TABLE
></BODY
></HTML
>
|