����������� �� ��������� Debian GNU/Linux

Copyright � 2004, 2005 ������� ������������� ��������� ��������� Debian

��� ����������� �������� ��������� ����������� ������������; �� ������ ���
�������������� �/��� �������������� �� �������� ����������� ������������
�������� GNU. � ������� ���������� ����� ������������ �����: ���������ŚE, GNU
General Public License.

���������

������ �������� �������� ���������� �� ��������� ������� Debian GNU/Linux 3.1
(?sarge?) ��� ����������� Intel x86 (?i386?). ����� ����, � � �������
��������� ����� ��������� ���������� � ������� ������ �������� ������������
���������� ������� Debian.

���������

�������� �� ��, ��� ������ ����������� �� ��������� �� i386 ���������
������������� ������� ��������� ���������, ����������� ������ ���������
��������� � �������� ������������� ��������� ����� ������������ ������� sarge.
������ ������ ����� ����������� ����� ����� � ��������� �� �������� ��������
debian-installer. ��� �� ��������� �������������� �������� �����������.

-------------------------------------------------------------------------------

����������

��������� Debian GNU/Linux 3.1 �� i386
1. ����� ���������� � Debian

    1.1. ��� ����� Debian?
    1.2. ��� ����� GNU/Linux?
    1.3. ��� ����� Debian GNU/Linux?
    1.4. ��������� Debian
    1.5. ��������� ��������� ������ ����� ���������
    1.6. ��������� ����� ���������
    1.7. �� ��������� ������ � ��������� �� ���������

2. ��������� ����������

    2.1. �������������� ������������

        2.1.1. �������������� �����������
        2.1.2. �������������� ����������, ����������� ����� � ����������
        2.1.3. ����������
        2.1.4. ��������
        2.1.5. ��������� �����������

    2.2. ������������ ��������

        2.2.1. �������
        2.2.2. CD-ROM/DVD-ROM
        2.2.3. ������� ����
        2.2.4. ����� ������ USB
        2.2.5. ����
        2.2.6. ������� Un*x ��� GNU
        2.2.7. �������������� ������� ��������

    2.3. ��������� � ������ ������������
    2.4. ������� ����������� ����������� ���������� ��� GNU/Linux

        2.4.1. ��������� ����������������� ��� ��������� �����������
            �����������
        2.4.2. ���������� �����������, ���������� ������ � Windows
        2.4.3. ��������� ��� ?�����������? ޣ������ ����������� ������

    2.5. ���������� � ������ � ��������� ������������
    2.6. ���������� ��� ����������� � ����

3. ����� ���������� Debian GNU/Linux

    3.1. ����� �������� ���������
    3.2. ��������� ���� ������ � �������� �����!
    3.3. ����������, ������� �����������

        3.3.1. ������������
        3.3.2. ����� ���������� ����������� ����������
        3.3.3. ������������� ����������� �����������
        3.3.4. ��������� ����

    3.4. ����������� ���������� � ����������� �����������
    3.5. ������������ ��� ������-����������� ������

        3.5.1. �������� ������ �� DOS ��� Windows

    3.6. ��������� ����������� ����������� � ������������ ������� �����
        ����������

        3.6.1. ����� ���� ��������� BIOS
        3.6.2. ����� ������������ ����������
        3.6.3. ������ ��������� BIOS
        3.6.4. ���������� ��������, ������� ����� ������������

4. ��������� �������� � �������������

    4.1. ����������� ����� �������-������ Debian GNU/Linux
    4.2. �������� ������ � ��������-������ Debian

        4.2.1. ��� ������ ������������ ������

    4.3. �������� ������ �� ������� ������

        4.3.1. ������ ������� ������ �� ������ Linux ��� Unix
        4.3.2. ������ ������� ������ �� DOS, Windows ��� OS/2

    4.4. ���������� ������ ��� �������� � ����� ������ USB

        4.4.1. ����������� ������ -- ̣���� ����
        4.4.2. ����������� ������ -- ������ ����

    4.5. ���������� ������ ��� �������� � ֣������ �����

        4.5.1. �������� ��������� ��������� � ֣������ ����� � ������� LILO ���
            GRUB

    4.6. ���������� ������ ��� �������� �� TFTP

        4.6.1. ��������� BOOTP �������
        4.6.2. ��������� DHCP �������
        4.6.3. ��������� TFTP �������
        4.6.4. ����������� TFTP ������� � ������� TFTP �������

    4.7. �������������� ���������

        4.7.1. �������������� ��������� � ������� ��������� ��������� Debian

5. �������� �������

    5.1. ������ ��������� ��������� �� Intel x86

        5.1.1. �������� � CD-ROM
        5.1.2. �������� �� Linux � ������� LILO ��� GRUB
        5.1.3. �������� � ����� ������ USB
        5.1.4. �������� � ������
        5.1.5. �������� �� TFTP
        5.1.6. ����������� � ��������

    5.2. ��������� ��������

        5.2.1. ��������� ��������� ��������� Debian

    5.3. ����������� ������� �������� ���������

        5.3.1. ��ģ������ ������
        5.3.2. ��������� ��������
        5.3.3. �������������� �������� ��������� �� Intel x86
        5.3.4. ������������� ����������� ��������� ����
        5.3.5. ��ޣ� �� �������
        5.3.6. �������� ��ޣ��� �� ������� ���������

6. ������������� ��������� ��������� Debian

    6.1. ��� �������� ��������� ���������
    6.2. �������� �����������
    6.3. ���������� ��������� �����������

        6.3.1. ��������� ��������� ��������� Debian � ������������
        6.3.2. �������� �������� � ����� ����� ������������
        6.3.3. ��������� ������� �������
        6.3.4. ��������� � ��������� ���������� ����������
        6.3.5. ���������� ������ ������
        6.3.6. ������

7. �������� ������ ��� ������������� ������� Debian

    7.1. ������ ������
    7.2. ��������� ������� ������� Debian

        7.2.1. ��������� �������� �����
        7.2.2. ���������� ������������� � �������
        7.2.3. ��������� PPP
        7.2.4. ��������� APT
        7.2.5. ��������� �������
        7.2.6. ������� �� ����� ��������� ��������
        7.2.7. ��������� ��������� ��������� ����� (MTA)

    7.3. ���� � �������

8. ��������� ���� � ��� ������ ������

    8.1. ���� �� ������� � Unix
    8.2. ��������������� �������������� � Debian

        8.2.1. ������� ���������� �������� Debian
        8.2.2. ���������� �������� ����������
        8.2.3. ���������� ��������� cron

    8.3. ����������� DOS � Windows
    8.4. ��� ��������
    8.5. ������ ������ ����

        8.5.1. ���������� �������� ����

A. ������� ���������� �� ���������

    A.1. ��������������� ��������
    A.2. �������� ��������� ���������

        A.2.1. �������� � CDROM
        A.2.2. �������� � ������
        A.2.3. �������� � ����� ������ USB
        A.2.4. �������� �� ����
        A.2.5. �������� � ֣������ �����

    A.3. ���������
    A.4. ��������� ��� ��ޣ� �� ���������
    A.5. � ����������...

B. �������� ������ � Debian

    B.1. �������� ������� Debian � �� �������
    B.2. ��������� ���������
    B.3. ������������� ����� ��������
    B.4. ����� ��������� � Linux
    B.5. ��������� �������� � Debian

        B.5.1. �������� ��� Intel x86

C. ������

    C.1. ������ ����� �������������� ���������
    C.2. ���������� Linux

        C.2.1. ��������� ����

    C.3. �������� ������������, ����������� ��� �����
    C.4. ��������� Debian GNU/Linux �� ������� Unix/Linux

        C.4.1. ��������
        C.4.2. ��������� debootstrap
        C.4.3. ������ debootstrap
        C.4.4. ��������� ������� �������
        C.4.5. ��������� ����
        C.4.6. ��������� ���������� ����������

    C.5. ��������� Debian GNU/Linux ����� Parallel Line IP (PLIP)

        C.5.1. ����������
        C.5.2. ��������� ���������
        C.5.3. ��������� ��ɣ�����

D. ����� ��������

    D.1. �� ���� ���������
    D.2. ��� ������ � ���������� ����� ���������
    D.3. ����, ������� ������������ ����� � ��������� ����� �����������
    D.4. �������� �����

E. GNU General Public License

    E.1. Preamble
    E.2. GNU GENERAL PUBLIC LICENSE
    E.3. How to Apply These Terms to Your New Programs

������ ������

3.1. ���������� �� ���������� �����������, ��������� ��� ���������
3.2. ������������� ����������� ���������� � �������

��������� Debian GNU/Linux 3.1 �� i386

�� ����, ��� �� ������ ����������� Debian. �� �������, ��� ����������� Debian
GNU/Linux ��������� ��� ����������. Debian GNU/Linux ��������
������������������ ��������� �� �� ����� �����, ��������� ��� � ������ �����.
�� �����, �� ���������, ��� ������������ ��������� -- ��� ������������� ������,
��� ����� ������.

�� ��������, ��� ������ �� ��� ����� ���������� Debian, �� ����� �����
�����������, � ������� ��������� ��������� Debian ���� �������������� � �ޣ���
�����. ���� ����� ������ � ��� ��� ������� �� ������ ����� �����������,
�������� "������� ����������� �� ���������", ������� ������� ��� ������
�������� ���������, � ����� ������ �� ���������� ����� ����������� ���
�����̣����� �������� ���������� ��� ��� �� ������ �������������� �������.
���������ŚA, ������� ���������� �� ��������� �������� ��� ������� �����������.

��� �� �����, �� ��������, ��� � ��� ���ģ��� ����� �� ������ ������� �����
����� �����������, ��� ��� �������� ���, �� ������� ����� ����� � �������
���������� �������.

����� 1. ����� ���������� � Debian

����������

1.1. ��� ����� Debian?
1.2. ��� ����� GNU/Linux?
1.3. ��� ����� Debian GNU/Linux?
1.4. ��������� Debian
1.5. ��������� ��������� ������ ����� ���������
1.6. ��������� ����� ���������
1.7. �� ��������� ������ � ��������� �� ���������

��� ����� ��������� ������ ������� Debian � Debian GNU/Linux. ���� �� ���
������ ������� ������� Debian � ������������ Debian GNU/Linux, ��������
���������� � ��������� �����.

1.1. ��� ����� Debian?

Debian -- ��� ��������� ������������ �����������, ����������� ���� ����������
���������� ������������ ����������� � ��������������� ������� ����� ����������
������������ ����������� (Free Software Foundation). ������ Debian ������� �
1993 ����, ����� ��� ������ (Ian Murdock) �������� �������� ����������� �
������������� �������� ������ ���� ����� � ����������� ����������� �����������,
���������� �� ������������ ����� ���� Linux. ��������� ������ �����������, ��
������� �������� ��������� GNU, ���������� �������������� ������ ����������
������������ �����������, � ������ ������� � �����������, �������������
�������������� 900 ������������� Debian.

������������ Debian ��������� ��������� ������, ������� ����������������� Web �
FTP ������, ����������� ������, ����������� ������ ����������� ��������,
��������� ������������ �, ������� ��, ������������� �������.

� ��������� ��������������� ����� ��������� � ����������� �������������,
������� ����� � �������� Debian, ������ Debian �������� ��������� ����������,
������� ���ޣ������� ���� �������� � ������������, ��� ������ ����
������������� Debian:

  * ������������ ������� Debian -- ��� ����������� ������������ Debian �����
    ����������� ���������� ������������ �����������. �����, ��� �����������
    ��������� ������������� �������� Debian ����� ����� ��������������. �����
    �������������� ����� �������� ����� ��������� � Debian -- ��� �������, ���
    ��������� ������������� ����� ��������� �������, � ������ ������� �����
    ���������� ��������.

  * �������� Debian �� ����������� ���������� ������������ ����������� (DFSG)
    -- ��� ������� � ����� ����������� ��������� Debian � ��������� ����������.
    DFSG �������� ����� ����������� ���������� � �������� ����������
    ������������ ����������� � ���� �� ������ ����������� �������� ��������
    �������.

  * ����������� �� �������� Debian -- ��� �������� ������������ ����������
    �������� ������� Debian.

������������ Debian ����� ��������� � � ������ �������, ��������� �� �������
������� ���������� ��� Debian, ������ ����������� ��� ����� ��� ��� �����
���������� Linux. ��� ��������� ��������:

  * ������ ���� ���������� Linux (LSB) ������� �� �������������� �������
    ������� GNU/Linux, ��� �������� ��������� ������������� ������������
    ����������� � ������������ ����� ������������� ��������� � ��������
    ��������� ��� Linux � �����, � �� ��� ����������� ������������ GNU/Linux.

  * �������� �������� �������� ������� (FHS) -- ��� ������� �����������������
    ����������� �������� ������� Linux. �������� FHS �������� �������������
    �������� ���������������� ���� ������ �� �������� ��������� � ��
    ������������ � ���, ��� ����� ����� ��������������� � ���������
    ������������ GNU/Linux.

  * ���������� ������ Debian ��� �����, ��� ���� -- ����������� � ���, ���
    Debian'� ���� ��� ���������� ����� ������� �������������.

��� ����� ����� ���������� � Debian, �������� Debian FAQ.

1.2. ��� ����� GNU/Linux?

Linux -- ��� ������������ �������: ����� ��������, ������� ��������� ���
�������� � ����� ����������� � ��������� ������ ���������.

������������ ������� (��) ������� �� ���������� �������� ��������, �������
����� ������ ����������, ����� �� ��� �������� � �������� ���������� ��
�������������; ������ � ���������� ������ �� ֣����� �����, ����� � ��������;
�������������� ������������� ������; ��������� ������ ���������. ����� ������
����� �� -- ����. � ������� GNU/Linux ����� �������� Linux. ���������� �����
������� ������� �� ������ ��������, ������ �� ������� �������� �������� GNU ���
��� ������� GNU. ��������� ���� ���� Linux -- ��� �ݣ �� ��� ���������� ��, ��
������������ ������������ ������ ?GNU/Linux? ��� ����������� ������, �������
������ ���� �������� �������� ?Linux?.

Linux ������� �� ������� ������������ ������� Unix. � ������ ������ Linux
��������������� ��� �������������, ��������������������� �������. ���� ��������
����������, ����� ������� Linux �������� �� ������ ������ ���������
������������ ������. ������, Linux ���������� ������� �������, ��� �� ������
���� �����������. � ������� �� ������ ������������ ������, Linux ������ ��
�����������. ������������ ����� ������� ����������� ������������� ���������.

���������� ����, ��� ����� ������ GNU/Linux, �������� � 1984 ����, ����� ����
���������� ������������ ����������� ����� ���������� ��������� Unix-��������
������������ �������, ��������� GNU.

������ GNU ���������� ������������� ����� ���������� ������������ �����������
��� ������������� � Unix (tm) � Unix-�������� ������������ ��������, ����� ���
Linux. ��� ��������� ��������� ������������� ��������� ������ �������� �������,
�� ������� (����������� ��� �������� ������ �� �������) �� ������� (��������� �
�������������� �������� ��� ���������� �������� �������������� � ���������
�������� ����������).

���� ������ ������ � ���� ������ ���� ����� � Linux, ����� ������� ��
���������� �ӣ �ݣ �������� ���� ���������� ������������ �����������, �������
������ �� ������ ����������� ������������, ������������ � Linux, �� � �����
��������� � ����������, ������� ������� �������� Linux ���������.

���� Linux ������� ��������� � 1991 ����, ����� ������� �������-������������ ��
����� ����� ��������� (Linus Torvalds) ����������� ������ ������ ������ ����
Minix � ������ �������� comp.os.minix. ��������� �������� �� ����� Linux
Internationals ��������� ������� Linux.

����� ��������� ���������� �������������� ������ ���������� ����� �������������
� ������� ���������� ���������� ���. �������� ������������ ����� ��������� ��
������ �������� linux-kernel ����� �������� �� ���-�������� Kernel Traffic.
�������������� ���������� � ������ �������� linux-kernel ����� ����� � FAQ
������ �������� linux-kernel.

������������ Linux ����� �������� ������� � ������ ������������ �����������.
��������, ������������ Linux ����� �������� �� ������ ��������� ��������
��������� ������ � ���������� ����������� ������� ������. ���� ����� �����
�������� ������������� ������ ������������ ������, ������� � �� ������, ���
��������� �������� ��� ������� ���� ����� ��������.

Linux ����� ����� ��������� �����, ����� ������������ ��� ��������������
���������� ����� ��� ����� ��������� � ����� ����ݣ�, ��� ������ ������
�������. ��������� ���� �������������, Linux ������ ���ϣ������ ����� ���������
������������ ������. � �������� ���, Linux ����� ����������� ���������� �����
�������� ������������� � � ������������� �����.

1.3. ��� ����� Debian GNU/Linux?

���������� ��������� � ����������� Debian, ������� GNU, ���� Linux � ������
������ ��������, ���������� ���������� ����������� ��� ��������� Debian GNU/
Linux. ���� ����������� ������ �� �������� ���������� ������� ��������. ������
����� � ������������ �������� ����������� �����, �������, ������������,
���������������� ���������� � ����� ���������������, ������� �������� ��
����������� ������ � ���������� ���������, ����������� ��������� �� �������
(bug reports) � �������� � ��������� �������� ���������. �������� ���� �����
������������� � ��������� � ����� �������� ������������ ��������� �� �������
�����������, ��� �������� ����� ������ ���������� � ���������.

�������� Debian � ������� ��������� ������� ������������������, ���������� �
����������� �����������. ������������� ������� ����� ���� ����� ��������� ��
���������� ����� ��������� �����: �� ����ݣ����� ����������� ������ (firewall),
������� ������� �ޣ����, �� ����������������������� �������� �������.

Debian �������� ��������� ����� ������� ������������� ��-�� ��� ������������
������������ � ��������� ��������� ���� � �������� ���������� Linux. Debian
����� ������� ����� ����� ������� � Linux, ������� ������ �����������
������������.

��������, Debian ��� ������ ������������� Linux, ������� ���� �������
���������� �������� ��� ����� ̣���� ��������� � �������� ��������. ����� ��
��� ������ ������������� Linux, ������� ����� �������� �� ��������� ������ ���
�������������.

Debian ���������� ���� ������� � ���������� Linux. ��� ������� ����������
�������� �������� ����, ��� ������ ����� �������� ������ �������� ����������
(Open Source) -- ���� ��� ����� ������� �����, ����� ��� ���������� �
������������� ����� ������������ �������.

�������� ������������� ������������ Debian �� ������ ������������� Linux
�������� ��� ������� ���������� ��������. ��� ���� �������������� �������
Debian ������ �������� ��� ��������, �������������� � �������, ���� ���
��������� ������ ������ ��� �������������� ���������� ���� ������������
�������. �����, ��������� ������ ����� ���� �������� �� ����������. �� ����
������ ������� ������� ���������� �������� ���������, ������� �� ������� ���� �
� ���, �� ����� �������� ��� �������.

��� ������ ����� ������� �� ?��������� �����? � ������ ����������� ��������, ��
�������� Debian ����������� ��������, ��� ����������� ������ �������� ������ ��
������������������ �������������� Debian. �����, ������������ Debian ���������
� ��������� ������������ �������� � ����� �������. ����� ��������� �������� �
������������� � ���������� ������, ������ ����� ������ ������� �����������. �
������� ������� ������� ���������� Debian ����������� ������������ �����
��������� � ������������� ������������� ����� ��������.

�������� � ����� ������ �������� ��������� ��������� ������� Debian GNU/Linux �
������� � �������������� Debian �������� ��������� ������� �������� �������
Debian (�� ������ ��������� ���� ����� �� ���� ����� 160). ����� ������� ������
����������� �� ���� �� ���� ������� -- �������� �������� �������� �� ������
�������� Debian � ��������� �����.

1.4. ��������� Debian

���������� � ���, ��� ��������� Debian GNU/Linux �� �������� ��� � ���� �����
������ ����������� �������-����� � Debian, �������� �� �������� ���������������
. ������ ��������-������ Debian �������� ������ �������� ����������� ������
Debian, ��� ��� �� ������ ����� ����� ��������� � ���.

����� ��������� Debian ����� ���� ����� �����̣�. ��������� ��������� �������
��������� ������� ���, ����� �� ������ ������� ��� ���������� ����� ����������
���������, ���� �����.

1.5. ��������� ��������� ������ ����� ���������

���� �������� ��������� �����������. �� �������� Debian 3.1 �� ���ģ�� �����
������ ���������� � ��������� ���������� � ������� 3.1 ������� Debian GNU/
Linux. �����̣���� ������ ����� ����������� �� ��������� ����� �������� ��
����������� ��������� ����������� �� ���������.

1.6. ��������� ����� ���������

���� �������� ����� ������� ������������ ��� ���������� ������������� Debian. �
� �������� ��������� ������������� � ����� ������ ������. ������, ��
��������, ��� �� � ����� ���������, ��� �������� ��������� ����� (hardware)
������ ����������.

������� ������������ � ���� ��������� ������ ����� ������ �� ����������
���������� ����������, �������� ����������� ������� ���������, ������ �
��������� ���������� ������� �������� ��������� Debian � ��� �����. ��
��������� ������� ������������� ���� �� ����������� ������� �� ���������.

��� ����������� ��������� ���������������, ��� �����ģ� ��� ����� �������
��������� �� ������ � �� �����. ��� ���� ��������� Debian GNU/Linux �
��������������� �� ������� ���������:

 1. ����������, ������������� �� ���� ���������� ����������� �����������
    ������� ��������� (������2, ��������� ����������).

 2. �������� ��������� ����� ����� �������, ��������� ����������� ������������
    � ��������� ����������� ����������� ����� ���������� Debian (������3, �����
    ���������� Debian GNU/Linux). ���� �� ��������������� ������-�����������
    �������, �� ���, ��������, ����������� �������� ����� �� ֣����� ����� ���
    ������ Debian.

 3. ������ ������ ���������, �������� ����������� ����� (������4, ���������
    �������� � �������������).

 4. ������5, �������� ������� ��������� �������� ������� ���������. � ����
    ������� ����� ����������� ��������� ������ �������������� ��� �������������
    �������.

 5. ��������� ���� ��������� (������6, ������������� ��������� ��������� Debian
    ). ���� ������ ����� ����� ���������, ��������� ��������� ������������
    ���������, ��������� ������� ���������� ��� �������� ����������
    ������������ ������ ����� � ������� Debian (���� ��������� ������������ ��
    � �������-�����), �������� �������� �� ֣����� ����� � ���������
    ����������� ���������� �������. (��������� ������ �� ��������� �������� ���
    ������� Debian ����� ����� � ���������ŚB, �������� ������ � Debian.)

 6. ����������� � ���� ������ ��� ������������� ������� ������� � ���������
    ��������� �������������� ����� �� ��������� (������7, �������� ������ ���
    ������������� ������� Debian).

 7. ���������� �������������� ��������� (�����̚7.2.5, ?��������� �������?).

����� ��������� ������� �� ������ �������� ������8, ��������� ���� � ��� ������
������. � ��� �������������� � ���, ��� ����� �������������� ���������� � Unix
� Debian, � ��� �������� ����.

� �������, ���������� �� ���� ��������� � ��� ������ ��� ��������, ����� �����
� ���������ŚD, ����� ��������.

1.7. �� ��������� ������ � ��������� �� ���������

�� �������, ��� �� ������ ��������� ��������, �� �������� �������
���������������� ����������� ������������ �������� -- ������ � ��� ���������,
��� �� ������ ������������ ������ ���� ����� ��������� �� ����� ����������.
�������� ���� ������� ������ �� �����. �� ���������� ��� ���������� ����� ��
������ ��������� � ����� ����� ��� �� ������. ����� ���� ������������ ��������
������� � �������� �� ��������� ������� �� �� ����������! �� ���� ������
������� ������ ����� � ��������� �� -- ���� � � ���������� �������������. ����
������� ������� � ������������ ������� ���������� ��������������� ��-�� ����,
��� Debian ������� �� ��������� ����������� �����������.

���� ��������� � ���������� ����������, ��� �� ��������, ��� ��������� ��
�������� ���������� �������, � ��� �� ��������, ��� �������-�����, ����������
��� ���������, ������ ���������������� ���������. ��������� �����������
�����������, � ���������, ��������, ��� �������� ��������� �������� �� �������
������ �� ���������� �������������� ��� ������������ ��� ���������. ���������
����������� ����������� ����� ��������, ��� ��� ������ ����� �� ������
���������, ������������ � �������� ���������, �� ����� � ��������������
���������� ����� ������.

���������

��������, ��� ������ Debian, ������� ����������� �������������, ������
��������� ������ ����������, ���� ��� � �� �������� ����� ��������� �������.
������, ��� ������ �� �������� ������ ������������ ������������, � ��������
������ �� �������� contrib ��� non-free ��������-������ Debian ��� ��
������������� �������-������; ����� ��������� ���������� � ������������ �
���������� ������� �������� � ������� ?FTP-������ Debian? � Debian FAQ.

����������� �������� � ������� �������� ��� ����������� ������������ ���������
GNU , ����� ���������� ������ ?GPL?. �������� GPL ������� �� ��� �������
�������� ��� �������� ���������, ���� �� ��������������� �������� �����
���������; ��� ������� �������� ���� ��������, ���� ��� ����� ������������
������ �������� ���������. �������� ����� ���������, � ������� Debian ��������
�������� ���^[1] ���� ����� �������� ��������.

��������� � Debian �������� �� ���������� ����������� �� ��������� ������ �
����������� ��������. ����� ����� ��������� � �������, �������� �� �����
����������� � ����� /usr/share/doc/���-������/copyright .

����� ������ ���������� � ��������� � � ���, ��� Debian ����������, �������� ��
��������� ���������� ���������, ����� ���� ����ޣ���� � �������� (main) �����
������������, �������� � ��������� Debian ��� ���������� ������������
�����������.

����� ������ ����������� ��������� -- ����������� ����������� ������������ ���
��������. ������������, ��������� ���������, ������� ��� �� ������ ��������. ��
������ ������� �������� � ����������� ������������� ������������ �����������
��� �����-�� ������̣���� �����. ������, ��������� ����������� �����������
��������, �� ������ �������������� ��������� ��� ���������� ����������� ���
����� -- � ������������ �������� ���������, ��������� ������� ������, �������
��������� ����������� ��������� ��� �� �����.


--------------

^[1] ���������� � ��� ��� �����, ����������� � ������� �������� ��������� ��
�������� ����� Debian, �������� � Debian FAQ, � ������� ?������ �������
���������� �������� Debian?.

����� 2. ��������� ����������

����������

2.1. �������������� ������������

    2.1.1. �������������� �����������
    2.1.2. �������������� ����������, ����������� ����� � ����������
    2.1.3. ����������
    2.1.4. ��������
    2.1.5. ��������� �����������

2.2. ������������ ��������

    2.2.1. �������
    2.2.2. CD-ROM/DVD-ROM
    2.2.3. ������� ����
    2.2.4. ����� ������ USB
    2.2.5. ����
    2.2.6. ������� Un*x ��� GNU
    2.2.7. �������������� ������� ��������

2.3. ��������� � ������ ������������
2.4. ������� ����������� ����������� ���������� ��� GNU/Linux

    2.4.1. ��������� ����������������� ��� ��������� ����������� �����������
    2.4.2. ���������� �����������, ���������� ������ � Windows
    2.4.3. ��������� ��� ?�����������? ޣ������ ����������� ������

2.5. ���������� � ������ � ��������� ������������
2.6. ���������� ��� ����������� � ����

���� ������ �������� ���������� � ���, ����� ������������ ��������� ��� �������
Debian. �����, �� ������� ������ �� ���������� �� ������������, ��������������
GNU � Linux.

2.1. �������������� ������������

Debian �� ������� �� ������������ ����� ����, ��� ������� ���� Linux � �������
GNU. ����� �������, ����� ����������� ��� ���������, �� ������� ���� ����������
���� Linux, libc, gcc � �.�. � �� ������� ������ӣ� Debian, ����� �������� ���
Debian. ��������� �� ���������� ��������� http://www.debian.org/ports/i386/,
����� ������� �� ����������� Intel x86 ���� �������������� � Debian.

������ ����, ����� �������� ������� �ӣ ������������ ���������� ������������,
������� ���������� �� Intel x86, ��� ����� �������� ����� ���������� �
��������, ��� ����� ����� �������������� ����������.

2.1.1. �������������� �����������

Debian 3.1 ������������ ����������� �������� ���������� � ��������� ��������
������ �����������, ��������� ��� ?�������� (flavors)?.

+-----------------------------------------------------------------------------+
|       �����������        | ����������� �  |   ��������������   |  �������   |
|                          |     Debian     |                    |            |
|--------------------------+----------------+--------------------+------------|
|                          |                |                    |vanilla     |
|                          |                |                    |------------|
|���������� �� Intel x86   |i386            |�                   |speakup     |
|                          |                |                    |------------|
|                          |                |                    |linux26     |
|--------------------------+----------------+--------------------+------------|
|                          |                |Atari               |atari       |
|                          |                |--------------------+------------|
|                          |                |Amiga               |amiga       |
|                          |                |--------------------+------------|
|                          |                |68k Macintosh       |mac         |
|Motorola 680x0            |m68k            |--------------------+------------|
|                          |                |                    |bvme6000    |
|                          |                |                    |------------|
|                          |                |VME                 |mvme147     |
|                          |                |                    |------------|
|                          |                |                    |mvme16x     |
|--------------------------+----------------+--------------------+------------|
|DEC Alpha                 |alpha           |�                   |�           |
|--------------------------+----------------+--------------------+------------|
|                          |                |                    |sun4cdm     |
|Sun SPARC                 |sparc           |�                   |------------|
|                          |                |                    |sun4u       |
|--------------------------+----------------+--------------------+------------|
|                          |                |                    |netwinder   |
|                          |                |                    |------------|
|                          |                |                    |riscpc      |
|ARM � StrongARM           |arm             |�                   |------------|
|                          |                |                    |shark       |
|                          |                |                    |------------|
|                          |                |                    |lart        |
|--------------------------+----------------+--------------------+------------|
|                          |                |CHRP                |chrp        |
|                          |                |--------------------+------------|
|                          |                |PowerMac            |pmac        |
|IBM/Motorola PowerPC      |powerpc         |--------------------+------------|
|                          |                |PReP                |prep        |
|                          |                |--------------------+------------|
|                          |                |APUS                |apus        |
|--------------------------+----------------+--------------------+------------|
|                          |                |PA-RISC 1.1         |32          |
|HP PA-RISC                |hppa            |--------------------+------------|
|                          |                |PA-RISC 2.0         |64          |
|--------------------------+----------------+--------------------+------------|
|���������� �� Intel ia64  |ia64            |�                   |�           |
|--------------------------+----------------+--------------------+------------|
|                          |                |                    |r4k-ip22    |
|                          |                |SGI Indy/Indigo 2   |------------|
|MIPS (� ������ ��������   |mips            |                    |r5k-ip22    |
|������)                   |                |--------------------+------------|
|                          |                |Broadcom BCM91250A  |sb1-swarm-bn|
|                          |                |(SWARM)             |            |
|--------------------------+----------------+--------------------+------------|
|                          |                |Cobalt              |cobalt      |
|                          |                |--------------------+------------|
|                          |                |                    |r4k-kn04    |
|MIPS (� �������� �������� |mipsel          |DECstation          |------------|
|������)                   |                |                    |r3k-kn02    |
|                          |                |--------------------+------------|
|                          |                |Broadcom BCM91250A  |sb1-swarm-bn|
|                          |                |(SWARM)             |            |
|--------------------------+----------------+--------------------+------------|
|                          |                |IPL � VM-reader �   |generic     |
|IBM S/390                 |s390            |DASD                |            |
|                          |                |--------------------+------------|
|                          |                |IPL � �����         |tape        |
+-----------------------------------------------------------------------------+

���� �������� �������� �������� ��������� �� ����������� Intel x86. ���� ��
����� ���������� �� ����� ������ �����������, �������������� Debian, ����������
�� �������� ��������� Debian.

2.1.2. �������������� ����������, ����������� ����� � ����������

������ ���������� � �������������� ������������ ������������ ����� ����� �
Linux Hardware Compatibility HOWTO. ���� ������ �������� ������ �������
��������.

2.1.2.1. ����������� ���������

�������������� ����� ��� x86-����������� ����������, ������� ���������� AMD �
VIA (����� Cyrix). ����� �������������� ����� ����������, ����� ��� Athlon XP �
Intel P4 Xeon. ������, Linux �� ����� �������� �� 286 � ����� ������
�����������.

2.1.2.2. ���� �����-������ (I/O)

��������� ���� -- ��� ����� ����������� �����, ������� ��������� ����������
����������������� � ����������, �������� � ������������ ��������. ��� ���������
������ ������������ ISA, EISA, PCI, Microchannel Architecture (MCA,
������������ � ������� PS/2 �� IBM) ��� VESA Local Bus (VLB, ������ ����������
VL ����).

2.1.3. ����������

��� ����������� VGA-����������� �����-��������� ��� ����������� ���������.
����������� ����� ����������� ���������� ���������� � VGA. ����������
���������, ����� ��� CGA, MDA ��� HGA ���� ������ ��������, ���� ��� �� �����
��������� X11. ���������, ��� X11 �� ������������ �� ����� ���������, ���������
� ���� ���������.

��������� ������������ ���������� � Debian ��������� ������������ ����������
����� ���������� �������� X11 XFree86. ����������� ��������� AGP, PCI � PCI� �P
�������� ��� XFree86. ������ �������������� ����������� ���, ����, ��������� �
��������� ����� ����� ����� �� http://www.xfree86.org/. Debian 3.1 ������������
� XFree86 ������ 4.3.0.

2.1.4. ��������

Debian ����� ������������� �� ��������. ����� ��� �������� ���������
������������. �� �������� Linux �� ��������� ����� ����������, ����� ��
�������� GNU/Linux �� ��� ��������.

2.1.5. ��������� �����������

�� ���� ����������� �������������� ���������� ����������� -- ��� ����������
?������������ ���������������� ��������� (symmetric multi-processing)? ��� SMP.
� ����������� �� ����� ������������ ���������, SMP-����������� ���� �����
���������� �� ���������. ��� �� ������ �������� ���������, ���������
�����������, ��-SMP ���� ������ ����������� �� SMP ��������; ���� ������ �����
������������ ������ ������ ���������.

����� ��������������� �������������� ���������� �����������, ������� ���������,
��� ���������� ����� ����, ������� ������������ SMP. ���� ��� �� ���, ��������
��������������� �����. �����, �� ������ ������� ����������� ���� � ����������
SMP. � ���, ��� ��� �������, ����� ����� � �����̚8.5, ?������ ������ ����?. �
��������� ������ (������ ���� 2.6.8), ��������� SMP ����� ��������� ������
?symmetric multi-processing? � ������ ?General? ������������ ����.

2.2. ������������ ��������

���� ������ ������� ����������, ����� ���� ��������� �� ������ ������������ ���
��������� Debian. ��������, ���� �� ����� ������ ���� �������� ������ ������,
��� ����� ������������ ��� ��������� Debian. ���������� ����� �����, �������
�����ݣ���� ������ ��������� (������4, ��������� �������� � �������������),�
������� ����������� ������������ � ���������� ������� ����. �� ������ ���������
� ���� ��������, ����� ���������� ��� �����.

2.2.1. �������

� ��������� ������� ��������� ���������� ������ �������� � ������. � �����
������, �ӣ ��� ��� ����� -- ��� �������� ��� 3.5-�������� ������ �������
��������� (1440 ��������).

2.2.2. CD-ROM/DVD-ROM

���������

����� �� ������ ����� ?CD-ROM? � ���� �����������, �� ��� ��������� � �
�������� CD-ROM � � �������� DVD-ROM, ������ ��� ��� ���������� � ����� ������
������������ ������� ���������, �������� ��������� ����� ������ �������������
(�� SCSI � �� IDE/ATAPI) ������� CD-ROM.

��������� � CD-ROM �������������� �� �� ���� ������������. �� �������, �������
������������ �������� � CD-ROM, �� ������� ��������� ��������� ������������
���������. ���� ���� ���� ������� �� ������������ �������� � CD-ROM, �� ������
������������ ������ CD-ROM ��� ��������� ������� ����� �������� ������ ������
��������; �������� ������5, �������� �������.

�������������� ������� CD-ROM � SCSI � IDE/ATAPI ������������. ����� ����, ���
������������� ���������� CD, �������������� Linux, �������������� ������������
������� (�����, ��� ������� Mitsumi � Matsushita). ������ ����� ��������� ��
��������, ����� ������������� ����������� ��������� �������� � ������ ��������,
��� ��� �������� � ���� ������������� ����������� ������������. � Linux CD-ROM
HOWTO ���������� ��������� ���������� �� ������������� �������� CD-ROM � Linux.

����� �������� ������� CD-ROM, ������������ �� USB, � ���������� FireWire,
������� �������������� ���������� ohci1394 � sbp2.

2.2.3. ������� ����

�������� ������� ��������� ��������������� � ֣������ ����� -- ��� �ݣ ����
�������, ���������� �� ������ ������������. �� ������� ������� �����-������
������ ������������ ������� ��� �������� ��������� ��������� �� ֣����� ����.

2.2.4. ����� ������ USB

������ ������� Debian ��������� ������ �/��� �������-������ ����� ������ ���
��������� ������� � ��� ��������������. ���� �� ���������� �����������
���������, �� �������� ��� ������ ����� ���������� ����� ���������� �
������������ ����� ������ USB ��� ��������� � (���� ����������) ���
�������������� �������. ����� ��� ������� ��� ��������� �����, � ������� ���
����� ��� �������� ����������.

2.2.5. ����

�� ������ ��������� ������� �� ����.

�ݣ ���� ������� -- ����������� ��������� � �������������� �������� ��
��������� ���� � ������������� ���� ��������� �������� ������ ����� NFS.

����� ��������� ���� ������������ �������, �� ������ ���������� ���������
������� ����� ����� ��� �������� ���������� (������� PPP ����� ���������
������� �������): FTP ��� HTTP.

2.2.6. ������� Un*x ��� GNU

���� �� ��������� � ������ Unix �������, �� ������ ������������ ţ ���
��������� Debian GNU/Linux ��� ������������� debian-installer, ���������� �
��������� ����� �����������. ���� ��� ��������� ����� ����������� �������������
� �����-�� ���������������� ������������� ��� �� �������, ������ ������� ������
���������. ���� �� ���������������� ������ ��������, ��������� � �����̚C.4,
?��������� Debian GNU/Linux �� ������� Unix/Linux?.

2.2.7. �������������� ������� ��������

����������� ����� Debian �������� ����, ������� ������� ������ �� ������
������������ ����� ������, �� ������� ��� ������ ��������. � ���������, ����
������ �������� � ���������� ������� ���� ��-�� ��������� �������� ����������
���������, �������, ��������, �� ����� �������������� �� ����� ������ (��������
�����̚8.5, ?������ ������ ����?, ����� ��������� ��������� ��ϣ �����������
����). ��������� ��� ����� �������� ���������� ����� ��������� � �����
����������, ��� ��� ��� ���� ����������� � ���, ��� Debian ������ ����
���������� �� ������� ������� ������������.

������� ��������� Debian �������� ��������� ������, IDE ������, IDE ������,
��������� IDE, ������������ � ������������� �����, ������������ SCSI � ������,
USB � FireWire. �������������� �������� ������� FAT, Win-32 ���������� FAT
(VFAT) � NTFS � ������.

����� �������������� �������� ����������, ����������� ��������� ֣������ �����
?AT?, ����� ���������� MFM, RLL, IDE ��� ATA. ����� ������ 8-������ �����������
֣����� ������, ���������������� � ����������� IBM XT �������������� ������ �
���� ������. �������������� ��������� �������� ������������ SCSI ���������
��������������. ��������� �������� Linux Hardware Compatibility HOWTO.

2.3. ��������� � ������ ������������

Linux ������������ ����� ������ ���������, ����� ��� ����, ��������, �������,
PCMCIA � USB ����������. ������, ����������� ���� ��������� �� ��������� ���
��������� �������.

USB ���������� � �������� �������� ���������, �� ����������� ���������
USB-���������, ������� ����� ����������� �������������� ��������� (��������
�����̚3.6.4.4, ?��������� USB � BIOS � ����������?).

��� ������� �����������, ����� �� ������ ������������ �������������� � Linux
�������� Linux Hardware Compatibility HOWTO.

2.4. ������� ����������� ����������� ���������� ��� GNU/Linux

��������� �������� ���������� ������� � ��� ������������� Debian ��� � �������
�������������� GNU/Linux. ����� �� ��� ��� ���ģ��� ��������� ���� ������, ��
��� ����� �� �������� �����, ��� ��� � ���� ������ ����� ���� ��������� � ���,
��� ������ ���������� ����������� ������ �������������� GNU/Linux.

���� �� ������ ������ � ������������� Windows, ����������� ���������� ��������,
������� ������������ � Windows; ����� �� ������� �� ����������� � ��������� �
�������� ������ �� ��������. ����� � �������� � �� ������ ������ ?windows
refund? ����� ���� �������� ���������� �� ����.

��������� �� �� ������ � ������������� Linux ��� ���, ��� ���� �����������
�������, �ӣ �����, ����� ���������, ��� ���������� ����������� ��������������
����� Linux. ���������, ��� ���� ���������� ����������� ��������� � ������� ��
������, �����ģ���� ����. ������� �������� (���� �� ����), ��� �� ���������
������� ��� Linux. ���������� ������������� � Linux ��������� �����������
�����������.

2.4.1. ��������� ����������������� ��� ��������� ����������� �����������

��������� ������������� ����������� ����������� ������ �� ������� ��� ���
������ �������� ��� ������ ����������� �����������. ������ �� ���� ��� ������ �
������������ ��� ���������� � �� �����������, ������� ��������� ��� ���������
�������� ��� ��� Linux.

��� ��� �� �� ����� ������� � ������������ �� ��� ���������� -- ��� ������ ��
�������� � Linux. �� ������ ������, �������� �������������� ����� ���������
��������� ������������. ���� �������� ����� �����, ��� ������, ��� ����������
���������� ������������ ����������� ���� ������ �����.

2.4.2. ���������� �����������, ���������� ������ � Windows

��������� ���������� ��������� ��������� Windows-��������� ������ � ��������. �
��������� ������� ��� ���������� ��������������� ��� ������ ��� ������������
�������� Microsoft Windows � �� ��� �������� ?WinModem? ��� ?������� ��������
��� ����������� � Windows?. �� ������ ������������ ������ ������� ����������
����������, � �� ������� ���������� � ������� Windows, �� ���� �� ��� ��������
���������. ����� ��������� ������ ���������� ����� �������, �� ��������,
��������, �������� �� ������������ � ��� ���������� ����������� ���� �����
��������� ������ �������������� ����������, � ������� ������� ����������
���������.

�� ������ �������� ��������� ��������� �� Windows �� ���� ��������. ������:
������, ������������� �� ������������� �������� ��� ��������� Linux ��������.
������, ��������� � ����������� ��������� � ���������� ������, � ������������
���������� ��� ���������� � �������������, ���� ��� ������ ��������. ��� ������
��� ������������� � ��������� ����������� �����������, ��� ��� ��������
���������� ������������ ����������� ��������� ���� ����� ��������. ������:
����� �� ���������� ��������� ���������� ���������, ������������ ������� ������
��������� ������ ����������� ����������, ����� � ����������� ��������� �������,
� ��� ������, ��� ����������� ��������� ���������� ��� ������ ������ ��������,
�� ����� ������������ ����� ���������. ��� ��� ������� ������������ Windows ��
��� ���������� ���������� ��������������� ��� ������������ Linux, �������������
��������, ��� ������������ Windows ������ �� �������, ��� ������� ������ ��
��������� ���������� �� ����������� ��������� ������������. ������ �����
������������� ������������ �������, ���� Windows 2000 ��� XP, �������� �������
������������������, ����� ������������� ������������� ������������ �������
������, ����������� ������ ������������.

�� ������ �������� �� ��������, ������� �������������� ��������� ������������ �
������ ������� ����������� ��� ��� ���������������� �� ���������, �� ������
��������� -- ������ �������� �������� ����������, ������� �� ������� ���
���������� � Linux Hardware Compatibility HOWTO.

2.4.3. ��������� ��� ?�����������? ޣ������ ����������� ������

���� �� ��������� ����������� ������ � ޣ������� � ������������ ��������, ��
���, ��������, ��������� ������ ������ � ����������� ޣ������� ������ ���������
ޣ������. SIMM � ����������� ޣ������� ����� (�� �� ������) ����� ���������� ��
����: ��� ����� �� ���� ��� ������, ��� ������� SIMM ��� ޣ������, � ���� ���
������ ������. SIMM � ����������� ޣ������� �������� ����� ��� � ������ ���
ޣ������. ��� �� ����� �������� �� ��������� ������ ������, ��� ��� ������ SIMM
� ��������� ޣ������� � ������������� ���������� � ����������� �����. �� �����
������� ������ �� SIMM � ����������� ޣ�������, ��� ��� �ţ ������. �����
��������� ������� ������ �� SIMM � ��������� ޣ�������, ��� ��� � ���� ������
�� ��������� ���� �������������� ��� ������ �� ������ 8.

���� ��� ��������� ������ ���������� � ��������� � ������� �� Intel x86 � �����
������ ����� ��������, �������� PC Hardware FAQ.

2.5. ���������� � ������ � ��������� ������������

� ��� ������ ���� ��� ������� 32MB ������ � 110MB ��������� ������������. ���
����������� ���������� ������� (��� ����������� ������) ��������� 250��. ����
������ ���������� ������������� ���������� ��������, ������� ������� X Window �
��������� ��������� � ���������� ������������, ��� ����������� ��� �������
400��. ��� ����� ����� ������ ���������� ������� ��� ����������� ���������
��������.

2.6. ���������� ��� ����������� � ����

�������������� ����������� ������� ���� PCI � ������ ������ ����� � ����� ISA.
��������� ������� ����� �� �������������� ������������ ������������ ������
Debian, �������� ����� � ��������� AX.25; ����� NI16510 EtherBlaster; �����
Schneider & Koch G16 � ���������� ������� ����� Zenith Z-Note. ������� ����� ��
���� MCA �� �������������� ����������� �������� ���������, �� ���� ���������
(����������) ����������: Linux �� MCA. ���� FDDI ����� �� ��������������
������������� �������: �� �����, �� ���������.

�� ISDN: � debian-installer �� �������������� �������� D-������ ��� (�������)
German 1TR6 � ����� Spellcaster BRI ISDN.

����� 3. ����� ���������� Debian GNU/Linux

����������

3.1. ����� �������� ���������
3.2. ��������� ���� ������ � �������� �����!
3.3. ����������, ������� �����������

    3.3.1. ������������
    3.3.2. ����� ���������� ����������� ����������
    3.3.3. ������������� ����������� �����������
    3.3.4. ��������� ����

3.4. ����������� ���������� � ����������� �����������
3.5. ������������ ��� ������-����������� ������

    3.5.1. �������� ������ �� DOS ��� Windows

3.6. ��������� ����������� ����������� � ������������ ������� ����� ����������

    3.6.1. ����� ���� ��������� BIOS
    3.6.2. ����� ������������ ����������
    3.6.3. ������ ��������� BIOS
    3.6.4. ���������� ��������, ������� ����� ������������

� ���� ����� �������������� � ���, ��� ����� ������� ����� �������� ���������
��������� Debian: ��������� ����������� ������, ���� ���������� �� ������������
� ����� ����������� ����������.

3.1. ����� �������� ���������

��-������, ������� � ��������������. ������, ����� ���������� ���������
����������������� Debian ����� �����; �������� ����� ��� �������� ���
������������ ������� ֣������ �����.

����������� ������������ ������ ����� ��������� ���������� ������ ��������� ���
����������� ����� ��� ��� ���������� ������ ������������ �������. ���� ����
����� ��������� �� ���������, ����� ���������� ����������������� ������
���������, ����� ��� ����� �������� � ����� ������ ��.

C Debian GNU/Linux � ��� ������� ������ ������ ��� �� ����� ������������� �
������������� �� �����������. ��� ���������� ������� �� ��������� �������������
"�����"; �� ������ ������ ��������� ���������� �� �������� ������. ���
��������� ����� ������ ���������� � ������ �������� ������������ �������. ����
����� ������ ��������� ������� ����� ������ ������������ �����������, �������
���������� �������� Debian ������������ �������������� ����������� � ���������
����� ������������ ������������ �����������. ����� ����� ���� ������� ������ �
��, ����� �������� �������������, ������� ������� �� ���� ��� � ���������
������� ������ ������. ��������� ��������� �� ��������������� ��� �������������
������ ������������ �������.

��� ����, ������� ��� ��������� ���������.

 1. ������� ��������� ����� ������������ ������ � ���������� ֣������ �����, ��
    ������� �� ���������� ��������� ���������.

 2. ����� ������� ��������� ������� ���������� � ���������� � ��� �����������
    ������������.

 3. �������� ����� ��� Debian �� ֣����� �����.

 4. ����� �/��� ��������� ��������� ��������� � ��� ������ ��� ����� ������
    ����������� �������� (������������� �������-������ Debian ����� ������ ��
    ����).

 5. ������� �����/�������/USB-����� ������ ��� ���������� ����������� �����
    (����������� ������������� �������-������ Debian ����� ����������� � ������
    �� �������-������).

 6. ��������� ������� ���������.

 7. ������� ���� ���������.

 8. ������������ ���� ���� ����������� � ���� ethernet.

 9. ������� � ������������ �������, �� ������� ����� ���������� Debian.

10. ������������� �� �������������� ���������/����������/���������� �������
    �������.

11. ���������� ��������� ���������, ������� ������ ��������� Debian GNU/Linux �
    /��� ������ ������������ �������.

12. ��������� ������ ��� ������������� ������� ������ ���, � ���������
    ��������� ��������� �������.

13. ���������� �������������� ����������� ����������� (������ ������ ������ �/
    ��� ������) �� ���� ����������.

���� � ��� �������� �������� �� ����� ���������, ������ ����� ������������� �
���, ������ �������� ��� ����� ���� ������� � �� ����� ����. ������������
�������� ��ԣ��� �� ������������ ����������� � ����� "���������":

��������� ���������, debian-installer -- ��� ��� ��� �������� � ������ �������
������ �����������. ��� ������������ ���������� ����������� � ���������
��������������� ��������, ���������� dhcp-client ��� ��������� ����������� �
���� � ��������� debootstrap ��� ��������� ������� ������� �������. �������
������ ��ԣ��� ������ ������� ���� ����� ��������, � debian-installer ���������
���� ������ ����� ������ �������� ������������ �������.

��� �������� ����� ������� �������, base-config �������� �����������
�������������, ���������� �������� ����� (����� tzsetup) � ������� ����������
�������� (� ������� apt-setup). ����� ����������� tasksel ��� ������ �������
����� ������������� ��������, � � ���� �������, ����� ��������� aptitude ���
������ ��������� ������� ������������ �����������.

����� debian-installer ����������� ������ ����� ������ ��������� �������, � ���
���� ���� ������ ������ ������� � ����������� �� ��������� ������. �����������
���������, ������� ���������� ���� �� �������� �� ����� ����������, ���� �� ��
�������� ��� �� ��������� ���� ��� �� tasksel ��� � ������� aptitude. ��
������������, ��� ��� ������ ������� Debian GNU/Linux ������������ ��� �������,
������� �� ����� ����������� ��������� ������������ ��� ������.

����������� ��������� (X Window System) -- ��� ��������� ��������� ���������
����� �� ��������� � debian-installer, � ����������, ������� ����� �������.
�������� ��������� � ���������� ������� � X Window System �� �������
������������ ������� �����������.

3.2. ��������� ���� ������ � �������� �����!

����� ��� ��� ������, ���������, ��� �� ��������� ������ ���� �� ����� �������.
���� �� ������� �������������� �� ��������� �� ������ ������������ �������,
������ ����� ��� ���ģ��� ������������� ����, ����� �������� ����� ��� Debian
GNU/Linux. ������ ��� �������� ����� �� ������ �������, ��� ������� �ӣ ��
�����, ��� ����������� �� ������������� ��� ����� �����������. ���������,
������������ � ���������, ���������� ��ģ���; � ������������ �� ��� ����
�������� �� ������ ���; �� ��� ���������� ����� ��� ����, ����� ����
������������ �������� ������ ��� ��������. ���� ����� ���������� ������ ������
��������� � ������� ��� ��������� �������� � ����������. ��� ������ ��������
����� ������ ��� �� ���������� ����� �������� ������.

���� �� �������� ������-����������� �������, ���������, ��� � ��� ��� �����
���� �������� � �������������� ���� ������������ ������, �������������� ��
�����. �������� ���� �� �������������� ����������� ����, �� ������ ����������,
��� ��ԣ��� ��������� ��������� ������������ ������� ���, � �����������
�������, ��� ������������ ������� � ��� ����� �� ��������.

3.3. ����������, ������� �����������

3.3.1. ������������

3.3.1.1. ����������� �� ���������

��������, ������� �� ������ �������, �������� � �������� ASCII, HTML ��� PDF.

  * install.ru.txt

  * install.ru.html

  * install.ru.pdf

3.3.1.2. ����������� ������������

����� �������� �������� ���������� �� ��������� � ������������� ������
����������� �����������.

  * ������������� Linux � ����������� ����������� HOWTO

3.3.2. ����� ���������� ����������� ����������

� ����������� ������� ��������� ��������� �������� ���������� ������������
�������������������������. �� �ӣ �� �� ����������� ��� ����� ����������
�������������� ������������ � ��������� �������������.

���������� �� ����������� ����������� ����� �����:

  * � ������������, ������� ���� ������ � �������ԣ���� ����������
    ������������.

  * � ���������� BIOS. �� ������ ������� ��� ���������, ���� ���ͣ�� ����������
    ������ �� ����� �������� ����������. ���������� � ����������� ������
    ����������. ����� ��� ������� Delete.

  * �� �������� � ������ �� ����������� �����������.

  * ������� �� ������ "�������" � ������ ���������� Windows.

  * � ������� ��������� ������ � ������������ ������ ������������ ������,
    ������� �������� ��������. ��� �������� �������� �������� ���������� ��
    ����������� ������ � ֣����� ������.

  * ������ � ������ ���������� �������������� ��� ���������� ����� ��������.
    ��� ����� ���������� ��� � ���������� ����� � ����������� � ����.

������� 3.1. ���������� �� ���������� �����������, ��������� ��� ���������

+-----------------------------------------------------------------------------+
|  ����������  |           ����������, ������� ����� �������������            |
| �����������  |                                                              |
|--------------+--------------------------------------------------------------|
|              |���������� ������.                                            |
|              |--------------------------------------------------------------|
|              |�� ������� � �������.                                         |
|              |--------------------------------------------------------------|
|              |IDE ��� SCSI (� ����������� ����������� IDE).                 |
|������� ����� |--------------------------------------------------------------|
|              |��������� �������� ������������.                              |
|              |--------------------------------------------------------------|
|              |�������.                                                      |
|              |--------------------------------------------------------------|
|              |�������, �� ������� ����������� ������������ �������.         |
|--------------+--------------------------------------------------------------|
|              |������ � �������������.                                       |
|              |--------------------------------------------------------------|
|              |�������������� ����������.                                    |
|              |--------------------------------------------------------------|
|              |������� �������������� ���ף����.                             |
|�������       |--------------------------------------------------------------|
|              |������� ������������ ���ף����.                               |
|              |--------------------------------------------------------------|
|              |�������������� ������� ����� (����� ������).                  |
|              |--------------------------------------------------------------|
|              |������ ������.                                                |
|--------------+--------------------------------------------------------------|
|              |��� ����������: ����������������, PS/2 ��� USB.               |
|              |--------------------------------------------------------------|
|              |����.                                                         |
|����          |--------------------------------------------------------------|
|              |�������������.                                                |
|              |--------------------------------------------------------------|
|              |����� ������.                                                 |
|--------------+--------------------------------------------------------------|
|              |������ � �������������.                                       |
|����          |--------------------------------------------------------------|
|              |��� ��������.                                                 |
|--------------+--------------------------------------------------------------|
|              |������ � �������������.                                       |
|�������       |--------------------------------------------------------------|
|              |�������������� ���������� ������.                             |
|--------------+--------------------------------------------------------------|
|              |������ � �������������.                                       |
|              |--------------------------------------------------------------|
|����������    |������ �����������.                                           |
|              |--------------------------------------------------------------|
|              |�������������� ���������� � ������� ����� (��� ������ ����    |
|              |��������� ������ � ������������� ��������).                   |
+-----------------------------------------------------------------------------+

3.3.3. ������������� ����������� �����������

������ �������� ��� ���������� ��������� ������� ��� ������� �������� � Linux.
����� ����, ������ � ���������� ������������ � Linux ��������� ����������.
������, Linux �ӣ ����� ���� �� ����� ���������� �� ���������� ��������������
���������� � ������� ������������� ���������.

� ���������, �� Linux �� �������� ���������� �����������, ��� ��������
��������� ���������� ������ Windows.

���� ��������� ���������� ����������� "������-���-Windows" ����� ���������
�������� ��� Linux, �� ����� �������� ����� ������ ����� ���������
�������������� ������. ����� ����, �������� ��� Linux ��� Windows-������������
������������ ������ �������� ������ � ������̣���� ������� ����. �������, ���
����� ������ ��������.

��� ���������� ���-������ -- �������� �������������� ��� ������ �����������
�����������. ������, �������� � ������ ������������ ����� ����� ���������
Windows-�����������.

�� ������ ��������� ������������� ����������� �����������:

  * ������� ����� �������� �� ��� ����� �������������.

  * ������� �� ��� ����� ��� � ������������ ���������� �� ��������. �����
    ��������� ������������� ������ ����� ������������ �������� ��� ���������
    ����� ���������.

  * �������� ������������� ����������� ����������� Linux �� ��� ������,
    �����ݣ���� ����������� ����� ������.

  * ������� � ��������� ������ � ������ ������ �������������.

3.3.4. ��������� ����

���� ��������� ������ޣ� � ���� 24 ���� � ����� (��������, �� Ethernet ���
����� ����������� �����������, �� �� PPP ����������), �� ������ ��������� �
������ �������� ���������� �������������� ��������� ����������:

  * ��� ����� ������ (�������� �� ������ ������� ��� ��������������).

  * ��� ������.

  * IP-����� ����������.

  * ����� ����.

  * IP-����� ����� �� ���������, ���� � ����� ���� ���� ����� ����.

  * ������� � ����, ������� ������������ ��� DNS (Domain Name Service) ������.

� ������ �������, ���� ������������� �������, ��� ���������� DHCP ������ �
������������� ������������ ��� ��� ���������, �� ��� �� ����� ��� ���
����������, ��� ��� DHCP ������ �������� ţ ������ ���������� ������������� ��
����� �������� ���������.

���� �� ����������� ������������ ����, �� ����� ����� ��������:

  * ESSID ������������ ����.

  * WEP ���� ������������ (���� �� �����������).

3.4. ����������� ���������� � ����������� �����������

����� ����� ���� ���������� � ����������� ����������, ���������, ��� ����
���������� ����������� ������������� ����������� ��������� ���� ���������.

� ����������� �� ������������, � ��� ����� ��������� ������ ������� ��������,
��� ������������� � ������� ����. ������, ����������� ������������� �������
��������� �������������, ���� ������������� ��� ������.

��� ���������� ������ ����������� ������ -- Pentium 100, � ��� ������� --
Pentium II-300.

������� 3.2. ������������� ����������� ���������� � �������

+----------------------------------------------------------+
|      ��� ���������       |����������� ������|������� ����|
|--------------------------+------------------+------------|
|��� ���������� ���������� |24 ���������      |450 ��������|
|--------------------------+------------------+------------|
|� ����������� ������������|64 ���������      |1 ��������  |
|--------------------------+------------------+------------|
|������                    |128 ��������      |4 ��������� |
+----------------------------------------------------------+

��� ������� ��������� �������������� ������������ Debian ������. �����, ��
����������� ������� ��������� ������������ �� ������ ��������������� �� ������
�������� � �����̚C.3, ?�������� ������������, ����������� ��� �����?.

����������� ������

    ��������� ������ ��� ������ �������, �������� ��� ������������� ����������
    � ��������� ������. �� �������� FTP ������, ��� ������, DNS, NIS � POP. ���
    ����� ����� ���������� 100�� ��������� ������������, � ��� ������ ���
    ����������� �������������� �����.

���������� ���������

    ����������� ���������� ���������, ���������� X window system, �����
    ���������� �������, ��������� �����, ��������� � ��� �����. ��� �����������
    ����� 2�� ��� ����������� ���������� �����, ���� ��� ��� �����
    ������������� � ����������� ������ �����.

������� �������

    ������ ��������� ���������������� ������, ��� X window system � X
    ����������. �������� �����ģ� ��� �������� ��� ���������� ����������.
    �������� ����� 140��.

��� ������������

    ���������� ������� �� ����� �������� ��� ����������, ������ ��� Perl, C,
    C++ � ��� �����. �������� ����� 475��. ���� �������� X11 � ��������� ������
    ������, �� ���������� �������� ����� 800�� ��� ������ ������ ����.

�� ��������, ��� ������ ������� �� �������� �����, ������� ������ ����� ��
������: ����� ������������, ����� � ������. ������ ����� ���� ����� ������,
����� ������������� ����� ��� ����� ������ � ������. � ���������, ������ /var
�������� ����� ����������� ��� Debian ����������, � ����� ������� ������ ����
���������� ������. ����� dpkg (� ����������� � ���� ������������� �������)
����� ����� ������ 20��. apt-get ����� �������� ���� ����������� ����� ����� ��
����������. ������, ��������� �������� �� ������� ���� 100�� ��� /var.

3.5. ������������ ��� ������-����������� ������

�������� ����� -- ��� ������ �������� ������� ����� �� ������. ������
���������� ������ �� ������� �� ������. ���, ����� ������, ��� ��������� �����
������ ����; ���� �� �������� � ���� ������� ������, �� ��� ����� �� ��������
�� ������ �������.

���� � ��� ��� ����������� ������������ ������� �� ������ (Windows 9x, Windows
NT/2000/XP, OS/2, MacOS, Solaris, FreeBSD, ...) � �� ������ �������� Linux ��
��� �� ����, �� ��� ����� ��� �������������. ��� Debian ����� ������� ���������
������� �� ֣����� �����. �� �� ����� ���� ���������� �� ������� Windows ���
MacOS. �� ����� ��������� ������������ ��������� ������� � ������� ���������
Linux, �� � ���� ����������� ��� �� �����������. ��� �������, ��� �����
�������� ����� ��� �������� ������ Debian.

�� ������ ����� ���������� �� ��������� �������� � ������� ������������
�������� �� ��������� ������������ �������, �������� fdisk ��� PartitionMagic.
����� ������� �������� ����� ���������� ������������ ������� ��� �� ���������.

��������� ������� � ��� ��������� �������� �������� ��������� ��� ���������� ��
�. �� ���� �� ������ ������ ������� ��������� ����� ���� ���������� �����
�������������. ��������� �������� � �����, �� �������� �������� ������� ���
������ ����� ��������� ���� ��� �� �� �������� ��������� ţ.

���� �� ����� ���������� ������� ����� ������ ֣������ �����, �� ������
�������� ���� ���� ��������� ��� Debian. ���� ��� ���, �� ��� �� �����
��������� ���� ����� ��������� ������� ���������; ��������� ��������� ��������
������� ��������, ������� ������ ����������� �� ����� �������.

���� ���� ������ �������� ������ ���� ֣����� ���� � �� ������ ��������
������������� ������������ ������� �� Debian GNU/Linux, �� ����� ������
���������� �������� � �������� ��������� (�����̚6.3.2.1, ?�������� ������?)
����� �������� ������� ���������. ������, ��� ��������� ������ ���� ��
���������� ��������� ��������� ��������� � ����, CD-ROM ��� � ���̣���� ������.
������: ���� �� ������������ � ������� ֣������ ����� � ����� ��������� ����
֣����� ���� �� ����� ��������� �������, �� ��� ������ ����������� �����, �
����� ���������, ��� ��������� ����ģ� � ������� ����. ��� ����� ������ ��
������ ����� �������������� �������� ������� ������, �������� � ������������
��������� ������������ ���� ��� CD.

���� �� ������ ��� ���� ��������� ��������, � ����������� ����� ����� ����
�������� ��������� ��� ���������� ������ ��� ���� �� ���, �� �� ����� ������
�������� �������� �� ��������� ��������� Debian. ��� �� �����, �� �ӣ �����
������ �������� ���� �������� �� �����, ��� ��� ����� ����������� ���������
����������, ���� ���������� ������� ������������ �������� � ������� ��������,
��� �ӣ ����� �������� ��� ������������� ���� �� ������� ���������.

���� ���� ������ �������� �������� ������� FAT ��� NTFS, ������������ DOS �
Windows, �� �� ������ ��������� � ������������ ������� �������� �� ���������
��������� Debian ��� ��������� ������� �������� �������.

���� �� ���� �� ��������� ��������� �� ����ۣ�, �� ��� ����� ��������� ����
����� �������� ���������, ����� �������� ����� ��� ������� Debian. ����
��������� ������� ������ ������������ ������ ������������ ��������, �� ��
������ ������� ��� ������� � ������� �������� �������� �� ���� ������������
������. �� ����������� �� �������� ������� ������� Debian GNU/Linux � �������
������ ������ ������������ ������. ������ �����, �� ������ ������ �������
������� ��� ������ ������������ �������, ������� ������ ���������.

���� �� ������ ���������� ����� ����� ������������ ������� �� ���� ������, ��
�� ������ ���������� ��� ������������ ������� ����� ���������� Linux. Windows �
������ �� ����� ���������� ����������� ������� Linux ��� ������������ ���
����������������� ��� ����������� ��� ��� �������.

�� ������ ��������� ����������� ����� �������� ��� �������� ��, �� ���������
������ ������� � ������ ������� ������� ��� �� �������� �������.

���� ������ � ��� ���� ���� � ����� �������� (������� ���� ��� ����������
�����������) � �� ������ ��������� ������ ������� � Debian, �� ��� �����:

 1. ������� ��������� ����� ���� ������ ����������.

 2. ��������� ��������� ��������� ������ ������������ ������� � CD-ROM ���
    ����.

 3. � ������� ������ ������ �������� ������� ������ ��������� ������(�).
    �������� ��� ������-�������� ��� ��������� ����� ��� Debian GNU/Linux.

 4. ���������� ������ ������������ ������� � ţ ����� ������.

 5. ����������� � ������ ������������ ������� � ���������, ��� �ӣ ������, �
    ��������� ����� ��������� ��������� Debian.

 6. ��������� ��������� ��������� Debian, ����� ���������� ��������� Debian.

3.5.1. �������� ������ �� DOS ��� Windows

���� �� ������������ ������������ ������� FAT ��� NTFS, �� ������������� ���
���������� �����, �����ģ���� ���� ��� ������������� ������ ������ Windows ���
DOS. �����, ��� ������� ������������� � �������� �� DOS ��� Windows; �������
�������� Linux ������ ����� �������� ��� ���� ������.

�� ���� �� ������ ������� IDE ���� � �� ����������� �� LBA ���������, ��
��������������� ������� (������ ������������ ��������������� ֣����� ������ ),
� ��� �� ����� (����� 1998 ����) BIOS, ������� ������������ ����������� ������
� ������� ������, �� �� ������ ��������� ���������� ����������� ������ Debian.
� ���� ������ ����� ���������� ����������� ������ �� ������ 1024 ���������
֣������ ����� (������ ��� ������ 524 ���������, ��� BIOS ����������). ���
����� ����� ������������� ����������� ������������� FAT ��� NTFS ������.

3.5.1.1. ������������ ��� ������ ��� ������� �� DOS, Win-32 ��� OS/2

���� �� �������� �������������� ���������: �� ������, ������� ��� ��������
DOS (������� Windows 3.1), Win32 (��� Windows 95, 98, Me, NT, 2000, XP) ��� OS/
2, � ���������� ���������� Debian �� ��� �� ����� ��� ����������� ����������
�������. �������, ��� ��������� ��������� ������������ ��������� �������
�������� ������ FAT � NTFS, ������������ DOS � Windows. ������ ���������
��������� ���������, �������� ������������� ������� ������� ��������,
���������� ������ � ������� ����� ������. ������� � ����������� ������� �� ��
������ ������������ �����, ����������� ����.

����� ��� ��� ���-�� ������� ������, �� ������ ������ ��� �� ��������� ����.
����� � ���� ������� ��������� ���������� ������ �� ��� �����. ���� �����
��������� ��������� ��, � ������ ����� �������������� ��� Debian. �� �����
��������� Debian ��� ����������� ����������� ������ ��� ������������ �����
����� Debian, �� ����, ��� ������ �������� ��� � �������� �������� �������.

���� � ���, ��� ����� ���������� ���������� � �������� ��� ���� ����� ������ ��
�������� ����������� ��� ������ � ������ �������. ����� ������� ��� �����
������� ���������� ����� ������������� ������� � ��������������� ��������,
����� �������������� ����������� ����, ��� ���� ����� � ����� �������, � ���
��������� ���������� �����, ������� ����� ��������� �� �������.

��-������, ����� ����������� fips �� �������� tools/ � ����������
�������-������� Debian. ���������� ����� � ���������� ����� RESTORRB.EXE,
FIPS.EXE � ERRORS.TXT �� ����������� �������. ����������� ������� ����� �������
� ������� ������� sys a: �� DOS. �� fips ���� ������� ������������, � �������
�� ����� ���� �� ������������. ��� ���������� ����� ��������� ţ, ���� ��
����������� ������� ������ ��� �������� ��������. �������� ���� � ����������
������������ ����� ��������������� �����.

�����, ����� ����������� ��� ������ � ������ �������. ����������� �������
defrag �� DOS ������ 6.0 � ����� ������� ����� ��������� ��� ������. �������� �
������������ � fips ������ ������ ��������, ������� ������ ���� �����. �������,
��� ���� � ��� Windows 9x, �� �� ������ ��������� defrag �� �ţ, ��� ��� DOS ��
�������� VFAT, ������� ������������ � Windows 95 � ���� ��� ��������� �������
�ͣ�.

����� ���������� �������������� (������� �������� ����� ������� �� �������
�����), ��������������� � ������� fips. ������ ������� a:\fips � ��������
�����������.

�������, ��� ���������� ����� ������ ���������� ��������, ���� fips ���-�� ��
����ۣ� ���.

3.5.1.2. �������� ��� DOS

���� �� ������� ������ ��� ����� DOS ��� ��������� ������ �������� DOS �
������� ������ Linux, ���� �������, ��� ����� ����� ���������� �������� ���
������ � ������������� ��������� FAT. ��������, ��������� ������������ � ������
������������������, ��������� ����������� � scandisk � ������ �������� �������
� DOS ��� Windows.

��������, ��� ��� �������� ��� ��������� ������� ������� ��� ������������� �
DOS, ������� ����� ����� ��������� ��������� ������ �������� ������. ��������
��� �� Linux ����� �������� DOS-��� ������� format:

# dd if=/dev/zero of=/dev/hdXX bs=512 count=4

3.6. ��������� ����������� ����������� � ������������ ������� ����� ����������

���� ������ ��������� ��� ���������� �����������, ��� �������� ���������
��������� ����� ���������� Debian. ������, ��� ����� ������������ �������� �
��������, ��������� �������� �������������� ����� �������. ?��������������
(firmware)? -- ��� ����������� ����������� ������������ ����������
������������; ��� ����� ������ ���������� �� ����� �������� ������ (�����
������ �������). ����� ����� ������� ��������� �������� �����������
�����������, ������� ������ �� ��ģ������ Debian GNU/Linux.

3.6.1. ����� ���� ��������� BIOS

BIOS ������������� �������� �������, ����������� ��� �������� ������, �����
��������� ������������ ������� �������� ������ � ������������. ������ �������
��� ���������������� BIOS ������������� ���� ���������. ����� ���������� ��
������ ���������, ��� ��� BIOS ��������� ��������; ������������ ����� �����
������� ��������� ���� ��� ������������� ��������� Debian.

������� ����� ���� �� http://www.faqs.org/faqs/pc-hardware-faq/part1/ �
�������� �� ������, ?��� ��� ����� � ���� ��������� CMOS??. ��� �������� ������
� ���� ��������� BIOS (��� ?CMOS?), ������� �� ������������� ��������� BIOS:

AMI BIOS

    ������� Delete �� ����� POST (power on self test, ���������������� ���
    ��������� �������)

Award BIOS

    ������� Ctrl-Alt-Esc ��� Delete �� ����� POST

DTK BIOS

    ������� Esc �� ����� POST

IBM PS/2 BIOS

    Ctrl-Alt-Insert ����� Ctrl-Alt-Delete

Phoenix BIOS

    Ctrl-Alt-Esc ��� Ctrl-Alt-S ��� F1

���������� � ��������� ������ ������ BIOS ����� ����� � http://www.tldp.org/
HOWTO/Hard-Disk-Upgrade/install.html.

��������� ������ Intel x86 �� �������� ���� ��������� CMOS � BIOS. ��
���������� ����������� ����������� ��� ��������� CMOS. ���� � ��� ���
������������ �/��� ��������������� ������� ��� ������, ������ �����������
������������ shareware/freeware ���������. ����������� �������� �� ftp://
ftp.simtel.net/pub/simtelnet/msdos/.

3.6.2. ����� ������������ ����������

������ ���� ��������� BIOS ��������� ������� ����������, � �������� �����
����������� �������. ��������� ���� �������� ���, ����� ������� ������������
������� �������� ����������� � A: (������ �������� ������ ������), �����,
�������������, � ������� CD-ROM (��������, ���������� D: ��� E:) � ����� � C:
(������ ֣����� ����). ����� ��������� �������� ��� ����������� ��� � �������
��� � CD-ROM, ������� �������� ����� �������� ��������������� ������������
������������, ������������� ��� ��������� Debian.

���� � ��� ����� SCSI ���������� � � ���� ������ޣ� ������ CD-ROM, �� ������,
�������� �������� � ����� CD-ROM. �ӣ, ��� ����� �������, ��� �����������������
� CD-ROM � SCSI-BIOS �����������.

������ ���������� �������� -- �������� � ���������� USB (����� ����������� ���
����� ������ USB ��� ���� USB). ��������� BIOS ����� ��������� �������
��������������� � ���������� USB, � ��������� ���. ��� ����� �������������
��������� BIOS �� �������� � ?Removable drive? ��� ���� � ?USB-ZIP?, �����
����������� � USB ����������.

��� ��������� ����������� � ��������� ������� ��������. �� �������� ��������
������� ����� ��������� Linux �� �������� � ֣������ �����.

3.6.2.1. ��������� ������� �������� �� ����������� � IDE

 1. ��� ������ ��������� ���� �����������, ������� ������� ��� ����� � BIOS.
    ����� ��� ������� Delete. ������, ���������� � ������������ �� ���������,
    ����� ������� ������������� ��� �����.

 2. ������� � ���� ������� ��������. ��� �������������� ������� �� BIOS, ��
    ������ ��� ����� ������ ���� �� ������� ����������.

    �������������� ���� �� ������� � IDE: C, A, cdrom ��� A, C, cdrom.

    C -- ��� ֣����� ����, � A -- �������� ������ ������.

 3. �������� ������� ��������, ��� ����� ������ ������ ���� �������� � CD-ROM
    ��� ������. ������, ��� ����� ������������ ������� Page Up ��� Page Down,
    ������� �� ����� ���������� ��������� ��������.

 4. ��������� ���������. ��� ��� ������� �������� � ��������� �� ������.

3.6.2.2. ��������� ������� �������� �� ����������� �� SCSI

 1. ��� ������ ��������� ���� �����������, ������� ������� ��� ����� � ����
    ��������� SCSI.

    �� ������ ����� � ���� ��������� SCSI ����� �������� ������, � � ��� ���
    ��� �������, ���������� ��������� �� ������.

    ������ ���������� ������ ������� �� �����������. �����, ��� Ctrl-F2.
    ������, ������ ���������� ���������� � ������������ �� ����������.

 2. ������� ����� ��������� ������� ��������.

 3. ��������� ���, ��� SCSI ID ������� CD ��� ������ � ������.

 4. ��������� ���������. ��� ��� ������� �������� � ��������� �� ������.
    ������, �� ������ ������ F10.

3.6.3. ������ ��������� BIOS

3.6.3.1. ��������� CD-ROM

�� ��������� �������� BIOS (��������, Award BIOS) ��������� �������������
�������� �������� CD. �� �� ������ ������ ����� � ������ ����� ��������
��������� ����� ��������� ��������. ���� �� ��������� ��������� �� ������ seek
failed, ��������, �������� � ����.

3.6.3.2. ����������� � �������������� ������

���� ���� ������� ������������� � ����������� (extended) � �������������� (
expanded) ������, �������, ���� ��������, ����� ���� ����� ����������� � ����
�������������� ������. Linux ����� ����������� ������ � �� �� ����������
�������������� ������.

3.6.3.3. ������ �� �������

��������� � BIOS ����� ������������ ��������������. ���� � ��� ����� �
������������ ������� ��� ������ ����������� ������������, ���������, ��� ���
��������� ��� ��������� ������� ��� ������ GNU/Linux. ��� �� ���������� � GNU/
Linux; ����� ����, ��-�� �������� ������� � �������������� ������� � �
����ݣ���� ������� ���� Linux, ��� ������ ����������� ������ �� ������^[2].

3.6.3.4. Shadow RAM

����������� ����� ����� ������������� shadow RAM ��� ����������� BIOS. ���
��������� ����� ��������� ��� ?Video BIOS Shadow?, ?C800-CBFF Shadow? � �.�..
��������� ţ. Shadow RAM �������������� ��� ��������� ������� � ��� �����������
����� � � ��������� ������������. Linux �� ���������� ��� ��� ����� ���� ���
����������, ��� ��� �� ������������� ���� ������� 32-������ ����������� ������
������ 16-������ �������� �� ���. ���������� shadow RAM ����� �������� �
��������� ������� ��������� ������ ��� ��������. ���������� ����ޣ���� shadow
RAM ����� ������ Linux ��� ������� � ����������.

3.6.3.5. Memory Hole

���� BIOS ���������� ���-�� ���� ?15-16 MB Memory Hole?, ��������� ���. Linux
���ģ� ��� ������, ���� ��� ����.

��� �������� � ����������� ������ Intel Endeavor, �� ������� ���� �����
���������� ?LFB? ��� ?Linear Frame Buffer?. ��� ����� ��������� ��������
?Disabled? � ?1 Megabyte?. ���������� � ?1 Megabyte?. ���� ��� ���������,
������������ ������� �������� �����������, � ������������� ������� �� ��������.
�� ������ ��������� �����������, �� �� ������ ��� ������ ���������� � ����
����������� -- ��� ������ �������� � ���� ���������, � ����� � ��� ����.

3.6.3.6. ������������������� ���������� �������� (Advanced Power Management)

���� ����������� ����� ������������� ������������������� ���������� ��������
(APM), ��������� ��� ���, ����� ������� ����������� APM. ��������� ������ doze,
standby, suspend, nap � sleep, � ��������� ���������� ������� ֣������ ����� ��
�������. Linux ����� ��� �������� ����� ��������, � ������ ��� ����� ��� BIOS.

3.6.4. ���������� ��������, ������� ����� ������������

������ ���� �������� ��������� �������� ���� 90 ��� ���������� �� 100 ��� � ���
�����. ������ ��� ���� ��������, �� ������� �� ����������� � ������ �������� �
����� ������� ��������� ���������. ���� �� ������� ����� ��������� ������� ��
����������� ���������� ����� ���, � ����� � ������� ����� ������ ��������� gcc
��� ������ ���� ������������ ������� �� ������������ ������� . �����������
�������� ���������� � ���������� �������� ������ ��������.

� ������ ������� ���������� gcc ����� ������� ��-�� ����������� ������� ������
(��� ��-�� ������ ������� � ���������� ������������, ������� �������� �
��������������� ���������� ������), ��� ��� �� ������ �������� ���������
������, ������� ��������� ���������������. ������ � ���� ���������� ������
�������� ���������� �������� ���������� ��� ��������� �� ���������������
������. ��������� ����� ����� ���������� gcc �� ������������ �������.

����� ������� ����������� ����� ������������ ����������� ������ � ޣ������� �
������ ���, ���� � ����������� ������ ����� ������� ��������� ������ � �����
����. � ���������, ��� �� ����� ��������� ������, �� ���� ��� ������ ������
������� ����� ���� ��� ������ � ������ ����������� ������. �ӣ ����� ��� �����,
��� ������ ����� �������� ������ � ���� ������. �� ����, ����� ��������
��������� ��������� ����������� ����� ������� ��������� ޣ������ � ������ �
��������� ޣ�������; �������� �����̚2.4.3, ?��������� ��� ?�����������?
ޣ������ ����������� ������?.

���� �� ������ ������ ������ � ��������� ޣ������� � ���� ����������� �����
����� �������� � ����, ���������, ��� �� �������� ��������� � BIOS, �������
�������� ���������� ��� ������ ޣ������ � ������.

3.6.4.1. ������������� �urbo

����� ������ ����� ������������� turbo, ������� ������������ ��������
����������. �������� ����� ������� ��������. ���� BIOS ��������� ���������
����������� ���������� ����� �������������� (��� ����������� ����������
��������� ���������� CPU), �������� ���� ����� � ������������ ������� �
���������������� ������. ��� �������� ��� ���� �������, �� ������� �� �����
������������ ������������ Linux (��� ������ ����������� �����������) ����
�������� �������� ����������� ���������� ����� ��������������.

3.6.4.2. ���������� Cyrix � ������ ��� ������ � ���������

������ ������������ ����������� Cyrix ������ ��������� ��� � ����� �������� ��
����� ���������, ��� ��� ��� ������ � ��������� ��������� ������, ���� ����� ��
�������. ���� � ��� ������� ���, �� �������� ������� �������� ��� �����
���������� ���������, ��� ��� ������� � ��������������� ����� �������� �������
���������.

�� �������, ��� ��� ������ ���������� Cyrix. ��� ��, ��� Linux ����� ������ ���
������. �� ���������� ����������� ��� ��������. ��� �������: �� �����������,
��� �������� � ���, ��� ������ � ���� ���������� ����� ������������ ��
16-������� � 32-������ ���.

3.6.4.3. ��������� ������������� ������������

��� ����� ������������� �������� ��������� ��������� ��� ��������� �� ������
������������� ������������. ���� ����� ����� ���� ��������, ������
������������� ����� �������������. ���� �������� �� ����� ������� ������
����������; ��������, ��� ������� ��� ��������� ��������.

���� ����� ���������� ?������������ ������(mapped memory)?, �� ������ ������
��������� �� �������� ����� 0xA0000 � 0xFFFFF (����� 640K, ���� ���� 1
���������) ��� �������������� � ������������ ��� ������� �� 1 �������� ������,
��� ��������� ����������� ������ � �������.

3.6.4.4. ��������� USB � BIOS � ����������

���� � ������ ���������� �� AT, � ������ USB ������, �� ��� ����� �������������
�������� �������� ������(legacy) AT ��������� � ���������� BIOS. �������� ���
������ ����� ���� ��� ������� ��������� �� ������ ������������ ���������� � USB
������. � ��������, ��� ��������� ������ (�������� ��������) ��� �����
������������� ��������� ��������, ���� ���������� �� ��������. ����������
����������� � ����������� ����� � �������� ��������� � BIOS ?Legacy keyboard
emulation? ��� ?USB keyboard support?.

3.6.4.5. ������ ��� 64 �� ����������� ������

���� Linux �� ������ ����� ���������� ��������� ���������� ���������
����������� ������. � ���� ������ �������� �����̚5.2, ?��������� ��������?.


--------------

^[2] ����� ��������� �� ������ �������� ������ ������������ �������, ����
������. ��� �� ������� ������������ � Linux, �� ���� �� ����� ����������
Windows, �� ����� ������������� ����������. �� ����� �������� � �������
����������� ������ (MBR) ����� ��������� ���������� ����������.

����� 4. ��������� �������� � �������������

����������

4.1. ����������� ����� �������-������ Debian GNU/Linux
4.2. �������� ������ � ��������-������ Debian

    4.2.1. ��� ������ ������������ ������

4.3. �������� ������ �� ������� ������

    4.3.1. ������ ������� ������ �� ������ Linux ��� Unix
    4.3.2. ������ ������� ������ �� DOS, Windows ��� OS/2

4.4. ���������� ������ ��� �������� � ����� ������ USB

    4.4.1. ����������� ������ -- ̣���� ����
    4.4.2. ����������� ������ -- ������ ����

4.5. ���������� ������ ��� �������� � ֣������ �����

    4.5.1. �������� ��������� ��������� � ֣������ ����� � ������� LILO ���
        GRUB

4.6. ���������� ������ ��� �������� �� TFTP

    4.6.1. ��������� BOOTP �������
    4.6.2. ��������� DHCP �������
    4.6.3. ��������� TFTP �������
    4.6.4. ����������� TFTP ������� � ������� TFTP �������

4.7. �������������� ���������

    4.7.1. �������������� ��������� � ������� ��������� ��������� Debian

4.1. ����������� ����� �������-������ Debian GNU/Linux

����� ̣���� ��ԣ� ��������� Debian GNU/Linux �������� ��������� � ������������
������ �������-������ Debian (�������� �������� ��������� �������-������ Debian
). �����, �� ������ ��������� ������ �������-������ � �������-������� Debian �
������� �� ��� ����� ��������������, ���� � ��� ���� ����������������
����������� � ���� � ���������� ������ �������-������ (��������� ����������
�������� �� �������� Debian GNU/Linux �� �������-������). ���� ��� ����
����������� ����� �������-������ Debian � ������ �������� ����������� � �������
CDROM, �� �� ������ ����� ������� � ������5, �������� �������; ����� ������
���� ���������, ����� �������� ����, ����� ����� �� ���� ������ ����� ���������
�������� ����� �����. ���� ������ ����� ������� ������� ��������� �� ����������
������, ���� �� ��� ����������� ������, ������������� �� ������� � �����������
������. ����� �� ������ �������� ��� �������������� DVD ������, ��� ��� ���
�������� ����� �� ����� ����� � �� �������� ������ ����� �������-������ �
�������.

���� ������ �� ������������ �������� � �������-�����, � �� ������ ����� CD, ��
��� �������� ��������� ��������� ����� ��������������� ������ �������, ��������
��������� ���� � �������, � ֣������ �����, � ���� ������ usb, �� ����, ���
������� � CD. ��� ����� �� �������-����� ���� ��� �����; ��������� ������
Debian � ���� � ��������� CD ���������. �������, ����� ���� ����������� ���� �
������ � ������, ������� ��������� ��� ������̣����� ���� ��������, ������� ���
����� � ��� �� ��������� � ������������ �� ����� CD.

����� �������� ��������� ���������, ����� ����� ��������� ��� ��������� ����� �
�������-������.

���� � ��� ��� ������ CD, �� ��� ����������� ��������� ��������� �����
��������� ��������� � ��������� �� �� ������� ��� ֣����� ���� ��� ����� ������
usb ��� ������ޣ���� ��������� � ������������ �� ��� �������� ���������
���������.

4.2. �������� ������ � ��������-������ Debian

��������� (� �������, ��������, ����� �������) � ��� ������-������� ����� �����
� ������ ��������-������ Debian.

��� �������� ������ � �������-������� Debian ���������, ��� ���������� ����� �
��������, � �� ��������� ��� �������������� ������.

4.2.1. ��� ������ ������������ ������

������������ ������ �� �������-������� Debian ��������� � �������� debian/dists
/sarge/main/installer-i386/current/images/ -- � ����� MANIFEST ������� ��� ����
������������ ������ �����.

4.3. �������� ������ �� ������� ������

����������� ������� ������ ������������ � ��������� �������, ���� ������ �����
������ ��������� ��������� ��������� �� ������, ������� �� ����� ����������� �
CD ��� �����-�� ������ ��������.

������ ������ -- ��� �����, ���������� ������ ������ ������� � ����� ����.
������ ������, ����� ��� boot.img, ������ ����������� �� ������� �������
�������. ��� ����� ����� ������������ ����������� ���������, ������� �����
������ ������ �� ������� � ����� ������. ��� ������������ �������, ��� ���
������ ������������ ����� ����� ������������� �������; ��������� ����������
������������ ����������� ������ �� ����� �� �������.

���� ��������� ������ (��������� �� ���������) �� �������� ������ �� �������
������. � ���� ������� �������, ��� ��������� ������� �� ������� ������ ��
��������� ����������.

������� ����� ������� �� ��������� �������, �� ������ ������ ������� �
������������ ������ �� ������ �� �������� ����� �� ��������, �����
��������������� �� ��������� ��.

4.3.1. ������ ������� ������ �� ������ Linux ��� Unix

��� ������ �������� ������� ������ �� �������, ��� �������� ����������� �����
�����������������. �������� �������, ������ ������� � ��������. ����� �������
�������

$ dd if=���� of=/dev/fd0 bs=1024 conv=sync ; sync

��� ���� -- ��� ���� �� �������� ������� ������ (�������� � �����̚4.2,
?�������� ������ � ��������-������ Debian? ����� ���� �����). /dev/fd0 -- ���
��� ���������� ���������, ��� ����� ���������� �� ������������� �� �����
������. ������� ����� ����������� ������, ��� Unix �������� ������ �� �������,
������� ������� �� ������ ��������� � ����� ������������� ������� ���������,
��� ����� ������� � ���� �������� ���������. �� ��������� �������� ����� ������
������� ������������ ������� �� ���������.

��������� ������� �������� ������������� ������������ ������� ����� ���������
ţ � ���������. ��� ����� ������������� ��������� ��� ��������, ����� �������
������� �� �������� ��� ������ �� ������� � ����� ������. � ���������, ���
����� ������� ������� �� ������������ �������.

4.3.2. ������ ������� ������ �� DOS, Windows ��� OS/2

���� � ��� ���� ������ � ������ � ������������ i386, �� ��� ����������� �������
�� ������� �� ������ ��������������� ����� �� ��������, ���������� ����.

� MS-DOS ����� ������������ ��������� rawrite1 � rawrite2. ������� ���������,
��� �� ����������� � DOS. ������� ������������ ��� ��������� � DOS-���� ���
Windows ��� � ������� �������� ������ ����� �� ���������� Windows, ������ �����
�� ���������.

��������� rwwrtwin �������� ��� Windows 95, NT, 98, 2000, ME, XP �, ��������, �
����� �������� ��������. ��� ţ ������������� ��� ���� ����������� diskio.dll �
��� �� ����� �������.

��� ������� ����� ����� �� ����������� �������-������ Debian CD-ROM � ��������
/tools.

4.4. ���������� ������ ��� �������� � ����� ������ USB

��� ���������� ����� ������ USB ��� ����� ������� � ���������� GNU/Linux �
���������� USB. ���������, ��� �������� ������ ���� usb-storage (modprobe
usb-storage) � ����������� �������� �� ����� ���������� SCSI ���������� �����
������ USB (� ������� ������������ /dev/sda). ����� ��������� ������ �� ������.

�������, ��� ����� ������ USB ������ ���� ��� ������� 128�� (��������� ��
������� ������ �������� ����� ��������� �����̚4.4.2, ?����������� ������ --
������ ����?).

4.4.1. ����������� ������ -- ̣���� ����

���������� ���� "�ӣ-�-�����" -- hd-media/boot.img.gz, ������� �������� ���
����� ��������� (������� ����), � ����� SYSLINUX � ��� ���� ������������. ���
����� ������ ����������� ��� ����� �� ����� ������ USB:

# zcat boot.img.gz > /dev/sda

��������

�����������, ��� ��������� ��� ������ �� ����������, ������� �� �������� �
�������� ���������� ����� ������ USB.

����� �����, ����������� ����� ������ USB (mount /dev/sda /mnt), ������� ������
����� �������� ������� FAT � ���������� �� �ţ ISO ����� Debian netinst ���
businesscard. ��� ����� ������ ������������� ����������� �� .iso. �������������
���������� (umount /mnt) � �ӣ ������.

4.4.2. ����������� ������ -- ������ ����

���� ��� ������� ������� �������� ��� �� ������ ������ �����, ��� �� ����� ����
����������, �� ������ ��������������� ��������� ������� ������ ������ �� �����
������.

4.4.2.1. �������� ����� ������ USB �� ����������� Intel x86

�� ������� ��� ������������ �� ����� ������ ������ ������ ������, � �� �ӣ
����������.

���������

��� ��� ����������� ���� ������ USB ��������� ������ � ������������ ��������
FAT16 ���, ��������, �� ������� ������������� ��� ������������� ����������.
���� ��� �ӣ ����� ��� ����� �������, �������������� cfdisk ��� ����� ������
�������� �������� ��� �������� ������� FAT16, � ����� �������� ��������
�������:

# mkdosfs /dev/sda1

����������� ������� ���������� ��� ����� ������ USB. ������� mkdosfs ����������
� ������ Debian dosfstools.

��� ������� ���� ����� �������� ����� ������ USB, �� �������� �� �ţ ���������
���������. ���� ������ �������� ����� ��������� ��������� (�������� LILO),
������� ������������ SYSLINUX, ��� ��� �� ���������� ������ FAT16 �
������������� ������� ��������������� ���������� �����. ��� ���������
������������ ���������� ���������� ����� ������������ ����� ������������
�������, ������� ������������ �������� ������� FAT.

����� ��������� SYSLINUX �� ������ FAT16 ����� ������ USB, ���������� � �������
������ syslinux � mtools � �������

# syslinux /dev/sda1

�ݣ ��� �������: �� ��������� � ����� ����������. ������ �� ������ ����
����������� ��� ������� SYSLINUX. ��� ��������� ������������ ����������� ������
������� � ������� ���� ldlinux.sys, ������� �������� ��� ���������� ����������.

����������� ������ (mount /dev/sda1 /mnt), ���������� ��������� ����� �� ������
Debian:

  * vmlinuz (���� ����)

  * initrd.gz (����� ramdisk)

  * syslinux.cfg (���� ��������� SYSLINUX)

  * �������������� ������ ����

���� �� ������ ������������� �����, ������, ��� SYSLINUX �������� ������ �
��������� ������� DOS (8.3).

���������������� ���� syslinux.cfg ������ ��������� ��� ������:

default vmlinuz
append initrd=initrd.gz ramdisk_size=12000 root=/dev/ram rw

������, ��� ����� ������������� ��������� �������� ��������� ramdisk_size �
����������� �� ������������ ������. ���� �������� ����������� ��������,
���������� �������� devfs=mount,dall � ������ ?append?.

4.4.2.2. ���������� ISO ������

������ �� ������ �������� �� ����� ������ �����-������ ISO ����� Debian
(businesscard, netinst ��� ���� ����� ������� CD) (���� �� ������). ��� �����
������ ����������� ������ ������������� �� .iso.

���� �� ������ ��������� ��������� ����� ����, ��� ������������� ISO ������,
��� ����������� ����� ���������� ���������� ���. ����� ����, ��� �����
������������ ramdisk �� �������� netboot, � �� �� hd-media, ��� ��� � hd-media/
initrd.gz ��� ��������� ����.

����� ���������� �����������, ������������� ����� ������ USB (umount /mnt) �
�������� ������ �� ������.

4.4.2.3. �������� � ����� ������ USB

��������

���� ������ �� ����� ����������� � ����� ������ USB, �� ����� �� ������ �����
���� ������������ ������� ����������� ������ (MBR). ����� ��������� ţ,
����������� ������� install-mbr �� ������ mbr:

# install-mbr /dev/sda

4.5. ���������� ������ ��� �������� � ֣������ �����

��������� ��������� ����� ���� ��������� �� ������, �����ݣ���� �� ������������
������� ֣������ �����, ��� �������� �� ������ ������������ ������� ��� �������
���������� ���������� ����� �� BIOS.

?��������� �������? ��������� ����� ������� � ������� ���� �������. ���
��������� �������� ���� ������������� �� �������� ����������, �������� ����� �
������ CD ������� ��� ������ � ����� ���������� ������.

��������� ��������� �� ����� ����������� �� ������, ������������� � ��������
������� NTFS.

4.5.1. �������� ��������� ��������� � ֣������ ����� � ������� LILO ��� GRUB

���� ������ ��������� ��� �������� ��� ���� �������� ������������ ���������
linux � ������� LILO ��� GRUB.

�� ����� �������� ��� ��������� ���������� �������� ��������� � ������ ��
������ ����, �� � ����� �����. ���� RAMdisk ����� �������������� ����� �
�������� �������� �������� �������.

���������� ��������� ����� �� ������ Debian � ������� ����� �� ֣����� �����,
�������� � /boot/newinstall/.

  * vmlinuz (���� ����)

  * initrd.gz (����� ramdisk)

��������� ��������� ��������� ������ ��������� �����̚5.1.2, ?�������� �� Linux
� ������� LILO ��� GRUB?.

4.6. ���������� ������ ��� �������� �� TFTP

���� ���� ������ ���������� � ��������� ����, �� �� ������ ��������� ţ �� ����
� ������ ������ ����� TFTP. ��� ����� �� ���̣���� ������ � ������̣���� �����
��� ����� ��������� ����������� ����� � ��������� ��������� �������� �����
������.

��� ����� ��������� TFTP ������, � ���� ����� �����, �� BOOTP ������ ��� DHCP
������.

BOOTP -- ��� IP ��������, ������� ����������� ��������� � ��� IP ������ � ��� �
���� �������� ����������� �����. DHCP (Dynamic Host Configuration Protocol)
����� ����� � ������� ��������� � BOOTP. ��������� ������� ����� ���� ���������
������ ����� DHCP.

Trivial File Transfer Protocol (TFTP) ������������ ��� �������� ������������
������ �� ���������� ������. ������������, ����� ������������ ����� ������ ��
����� ���������, ������� ��������� ��� ���������. � �������� ����� ������� ��
���������� ������� �� SunOS 4.x, SunOS 5.x (��� ���������� Solaris) � GNU/
Linux.

���������

��� ������������� �������� �� TFTP � ������ Pre-boot Execution Environment
(PXE) , ��� ����� TFTP ������ � ���������� tsize. �� ������� Debian GNU/Linux
����� ������� ������������� ������ atftpd � tftpd-hpa; �� �����������
tftpd-hpa.

4.6.1. ��������� BOOTP �������

� GNU/Linux ���� ��� BOOTP �������: CMU bootpd � ISC dhcpd (�� ����� ���� DHCP
������); ��� ��������� � ������� bootp � dhcp.

����� ������������ CMU bootpd, ��-������, �� ������ ����������������� (���
��������) ��������������� ������ � /etc/inetd.conf. ��� ����� � Debian GNU/
Linux �� ������ ��������� update-inetd --enable bootps, ����� /etc/init.d/inetd
reload. ��� �� ����� �������� ��������� ������ �������:

bootps  dgram  udp  wait  root  /usr/sbin/bootpd  bootpd -i -t 120

������ �� ������ ������� ���� /etc/bootptab. ������ �� ���������� ������
�������� � ���������� ������ ������ ������ BSD ������ printcap, termcap �
disktab. ����������� �������� �� �������� ����������� bootptab. ��� CMU bootpd
��� ����� ����� ���������� ����� (MAC) �������. ��� ������ /etc/bootptab:

client:\
  hd=/tftpboot:\
  bf=tftpboot.img:\
  ip=192.168.1.90:\
  sm=255.255.255.0:\
  sa=192.168.1.1:\
  ha=0123456789AB:

����� �������� �� ������� ���� �������� ?ha?, ������� �������� ���������� �����
�������. �������� ?bf? �������� ����, ������� ������ ������ �������� �� TFTP;
����������� �������� � �����̚4.6.4, ?����������� TFTP ������� � ������� TFTP
�������?.

��������� BOOTP � ISC dhcpd ����� ������, ��� ��� �� ������� ������� BOOTP, ���
���� �� ��������� ������� DHCP. ��������� ����������� ������� �������
������������ ��� �������� �������� �� BOOTP. ���� � ��� ���� �� ����� �������,
���������� ������ �����̚4.6.2, ?��������� DHCP �������?. ���� ���, ��
���������� ������ �������� ��������� allow bootp � ���������������� ����
�������, ���������� ������� � ������������� dhcpd �������� /etc/init.d/dhcpd
restart.

4.6.2. ��������� DHCP �������

���� ���� ��������� DHCP ������ -- ��� ISC dhcpd. � Debian GNU/Linux ��
�������� �� ������ dhcp. ��� ������ ��� ����������������� ����� (������ /etc/
dhcpd.conf):

option domain-name "example.com";
option domain-name-servers ns1.example.com;
option subnet-mask 255.255.255.0;
default-lease-time 600;
max-lease-time 7200;
server-name "servername";

subnet 192.168.1.0 netmask 255.255.255.0 {
  range 192.168.1.200 192.168.1.253;
  option routers 192.168.1.1;
}

host clientname {
  filename "/tftpboot/tftpboot.img";
  server-name "servername";
  next-server servername;
  hardware ethernet 01:23:45:67:89:AB;
  fixed-address 192.168.1.90;
}

���������: ����� (� ����������������) ����� dhcp3 ���������� /etc/dhcp3/
dhcpd.conf.

� ���� ������� ������̣� ������������ ������ servername, ������� �������� �
�������� DHCP, TFTP �������� � ����� ����. ��� ����� ��������� ����� ��������
����� domain-name, � ����� ��� ������� � ���������� ����� �������. �����
filename ������ ��������� ��� �����, ������� ����� �������� �� TFTP.

����� �������������� ����������������� ����� dhcpd, ������������� ������
�������� /etc/init.d/dhcpd restart.

4.6.2.1. ��������� �������� PXE � ������������ DHCP

��� ������ ������ dhcp.conf, ������� ����� ������������, ���� ����ޣ� �����
�������������� ���������� ����� (PXE) �� TFTP.

option domain-name "example.com";

default-lease-time 600;
max-lease-time 7200;

allow booting;
allow bootp;

# The next paragraph needs to be modified to fit your case
subnet 192.168.1.0 netmask 255.255.255.0 {
  range 192.168.1.200 192.168.1.253;
  option broadcast-address 192.168.1.255;
# the gateway address which can be different
# (access to the internet for instance)
  option routers 192.168.1.1;
# indicate the dns you want to use
  option domain-name-servers 192.168.1.3;
}

group {
 next-server 192.168.1.3;
 host tftpclient {
# tftp client hardware address
  hardware ethernet  00:10:DC:27:6C:15;
  filename "/tftpboot/pxelinux.0";
 }
}

�������, ��� ��� PXE �������� � filename ������� pxelinux.0 ������� ���������
���������, � �� ����� ���� (�������� ���� �����̚4.6.4, ?����������� TFTP
������� � ������� TFTP �������?).

4.6.3. ��������� TFTP �������

��� ������� TFTP ������� �� ������ ���������, ��� tftpd ����ޣ�. ������, ���
�������� ����������� � /etc/inetd.conf ������ ����:

tftp dgram udp wait nobody /usr/sbin/tcpd in.tftpd /tftpboot

������ Debian ���� ������� ����� ������ ��� ���������.

��������� � ���� ���� � ��������� �������, ������� ������������ � ��������
��������� in.tftpd-- �� ��� ����������� �����. �������� -l � ��������� �������
in.tftpd �������� ������ ��������� ���� ��������� � ��������� ������� -- ���
������� ��� ����������� ������. ���� �� �������� /etc/inetd.conf, ��� ����� ��
���� ������� ����������� �������� inetd. �� ������ Debian ��������� /etc/init.d
/inetd reload; �� ������ ������� ���������� ID �������� inetd � ��������� kill
-HUP inetd-pid.

4.6.4. ����������� TFTP ������� � ������� TFTP �������

�����, ��������� ������ ����������� ����� TFTP �� �����̚4.2.1, ?��� ������
������������ ������? � ������� ����������� ������� tftpd. ��� �������, ����
������� ���������� /tftpboot. �� ������ ������� ������ �� ���� ���� ��� �����,
������� tftpd ����� ���������� ��� �������� ������̣����� �������. � ���������,
��� ����� ������������ TFTP �������� � ����� �� ���������������.

��� �������� ����� PXE �ӣ ��� ����� ����� � ����� netboot/netboot.tar.gz.
������ ���������� ���� ���� � ������� ����������� ������� tftpd. ���������, ���
dhcp ������ �������� /pxelinux.0 tftpd � �������� ����� ������������ �����.

4.7. �������������� ���������

��� ��������� �� ��������� ����������� ����� ��������������� ��������������
����������. ����������� ������ Debian: fai (������������ �������� ���������),
replicator, systemimager, autoinstall � ���� ��������� ��������� Debian.

4.7.1. �������������� ��������� � ������� ��������� ��������� Debian

��������� ��������� Debian ������������ �������������� ��������� ����� �����
�������������� ���������. ���� �������������� ��������� ����� ���� �������� ��
���� ��� �� �������� ��������, � ������������ ��� ������� �� �������,
���������� �� ����� �������� ���������.

���� ����������� �������� debian-installer ����� ���� ��������� �������������,
���� ��������� ����������. �� ������ ������������� ���� ���� ��� ������������
������ ��� ��������� ������������, �� ���������� ������������ ������������
�������. � ��������� ������ ���������� ������������� ��������� RAID � LVM.
�����, �� ����������� ������� ������� ����, ���������� ���������������
��������� ���������� ������� ����.

���� �������������� ��������� �������� �������, ������� �������� ���������
debconf-set-selections. ������ ����������������� � ������� ������, ������� ��
������ ���������������, ��������� � �����̚C.1, ?������ ����� ��������������
���������?.

����� ����, ������������ ������ �������� ������ ������ ���� ��������, �������
����� ������������ � ����� �������������� ��������� -- ��� ��������� ���� ���
��������� �������, � ����� ��������������� debconf-get-selections �� ������
debconf-utils, ����� ���������� ���� ������ debconf � cdebconf �� /var/log/
debian-installer/cdebconf � ���� ����:

$ debconf-get-selections --installer > file
$ debconf-get-selections >> file

������, ��������� ����� ������� ���� ����� ��������� ��������� ��������,
������� �� ������ ��������������, � ���� � �����̚C.1, ?������ �����
�������������� ���������? -- ������ ����� ��� ������ ��� �����������
�������������.

��� ������ � ��� �������� ���� �������������� ���������, �� ������
��������������� ��� �� ������ ���������� � ��������� ��� �� ��� ������ ���
����������� ��� �� ����������� �������� � ���������� ���������. �����
���������� ����� ����� �������� ��� ��� �������� ��������� ��������� �� �����
��������.

����� ��������� ��������� ��������� ���� �������������� ��������� �� ����,
�������� preseed/url=http://url/to/preseed.cfg � ���������� �������� ����.
�����������, �������������� ��������� �� ������ ���� ��������� ��������� ��
�������� ����, ����� ��������� ���� ����, ������� ����� ����� ���������
��������� ��������� ���� �� DHCP �������������. �� ������ �������� ����������
��������� ��������� � �����������, ����� �������� ������ �������� ���� ���� ��
����� ���������. �������� �����̚5.2.1, ?��������� ��������� ��������� Debian?.

����� �������� ���� �������������� ��������� �� CD, ��� ����������� ��������
ISO �����. ����������� �������� �� �������� ����������� mkisofs. ��� ��
�������� ���� �������������� ��������� �� ������� � ����������� preseed/file=/
floppy/preseed.cfg

���� �� ������ ����������� � ����� ������ USB, �� ������ ���������� ����
�������������� ��������� � �������� ������� ����� ������, � �������������� ����
syslinux.cfg ������� preseed/file=/hd-media/preseed.cfg � ��������� ��������
����.

����� 5. �������� �������

����������

5.1. ������ ��������� ��������� �� Intel x86

    5.1.1. �������� � CD-ROM
    5.1.2. �������� �� Linux � ������� LILO ��� GRUB
    5.1.3. �������� � ����� ������ USB
    5.1.4. �������� � ������
    5.1.5. �������� �� TFTP
    5.1.6. ����������� � ��������

5.2. ��������� ��������

    5.2.1. ��������� ��������� ��������� Debian

5.3. ����������� ������� �������� ���������

    5.3.1. ��ģ������ ������
    5.3.2. ��������� ��������
    5.3.3. �������������� �������� ��������� �� Intel x86
    5.3.4. ������������� ����������� ��������� ����
    5.3.5. ��ޣ� �� �������
    5.3.6. �������� ��ޣ��� �� ������� ���������

5.1. ������ ��������� ��������� �� Intel x86

5.1.1. �������� � CD-ROM

��� ����������� ������������� ����� ����� ����� ������������ �����
�������-������ Debian. ���� � ��� ���� ����� �������-������ � ��� ���������
������������ �������� � �������-�����, ���������! ������ ��������� ���
��������� ��� �������� � �������-����� ��� ������� � �����̚3.6.2, ?�����
������������ ����������?, �������� �������-����, ������������� ��������� �
���������� � ��������� �����.

�������, ��� ��������� �������� �������-������ ����� ����������� �������� �
�������, ��� ���������� �� ������ ������� ���������. ���� ������������
����������� ����������������� �������� � CD �� ��������, ���������� � ����
����� ����� � ���������� �� �������������� ����� � ������� ���������, �������
�������� ��� ����� ������.

���� ���� �� ������� ����������� � CD-ROM, ��������, �� �ݣ ������� ����������
� CD-ROM ���������� ������� Debian � ������. ������ ����������� � �������
��������, �������� � ������. ����� ���ģ� ����� ��������� ������������ �������,
������� ������� ��� �������������� �������, ������� ��������� ��������� ��
������ CD-ROM.

��� ������������� ������� � ��������� �������� �����̚5.3, ?����������� �������
�������� ���������?.

5.1.2. �������� �� Linux � ������� LILO ��� GRUB

��� �������� ��������� ��������� � ֣������ ����� � ��� ��� ������ ����
��������� ���������� � �����ݣ���� �� ����� ����������� ����� (��������
�����̚4.5, ?���������� ������ ��� �������� � ֣������ �����?).

���� �� ������������� ������������ ֣����� ���� ������ ��� ��������, � �����
��������� ��������� �� ����, �� �� ������ �������� ���� netboot/
debian-installer/i386/initrd.gz � ��������������� ��� ����. ��� �������� ���
��������� ֣����� ���� � �������� �� �����������, ���� �� ������ ������ ���
���������.

��� ��, ���ɚ�ٚ������������ؚ��������� ������������ ������ ֣������ �����
����������,��� ������ �������ؚ���̚hd-media/initrd.gz�ɚ����, � �����
����������� CD iso �� ֣����� ���� (���������, ��� ��� ������������� �� .iso).
����� ��������� ��������� ����� ��������� � ����� � ���������� �� ������ CD ���
������������� ����.

� LILO ����� ��������� ��� ������ ���� � ����� /etc/lilo.conf:

  * ��������� ��������� ��������� �� initrd.gz;

  * ���� vmlinuz ���������� RAM ���� � �������� ��������� �������.

��� ������ /etc/lilo.conf:

image=/boot/newinstall/vmlinuz
       label=newinstall
       initrd=/boot/newinstall/initrd.gz
       root=/dev/ram0
       append="devfs=mount,dall ramdisk_size=12000"

��������� �������� �� ��������� ����������� initrd(4) � lilo.conf(5). ������
��������� lilo � ������������� ������.

��������� ��� GRUB ����� ������. ������� ���� menu.lst � �������� /boot/grub/
(������ � /boot/boot/grub/), �������� �������:

title  New Install
kernel (hd0,0)/boot/newinstall/vmlinuz root=/dev/ram0 ramdisk_size=12000
initrd (hd0,0)/boot/newinstall/initrd.gz

� ������������� ������. ���� �������� ����������� ��������, �� ����������
�������� devfs=mount,dall � ������ ?kernel?.

�������, ��� �������� ramdisksize ����� ������������� �������� � ������������ �
�������� ������ initrd. � ���������� ��� ������� ������� � ������������� GRUB
��� LILO.

5.1.3. �������� � ����� ������ USB

�����������, ��� �� ��� ����������� �ӣ ��� �������� � �����̚3.6.2, ?�����
������������ ����������? � �����̚4.4, ?���������� ������ ��� �������� � �����
������ USB?. ������ �������� ����� ������ USB � ��������� USB ������ �
������������� ���������. ������� ������ ����������� � �� ������ �������
����������� boot:. ����� �� ������ ������ �������������� ��������� ��������,
��� ������ ������ Enter.

���� ��������� �� ������������ �������� � ���� ������ USB, �� �� ������
��������������� ����� �������� ��� ��������� ��������, � ����� ������� �
������������� USB. ����������� ��� ������� � �����̚5.1.4, ?�������� � ������?;
���� �� ����������� ������� ������ ���������� ���������� USB �������������.
����� ��� �������� ������� � �������� �������� ��������, ������ ������� Enter.
�� ������ ������� ������ debian-installer.

5.1.4. �������� � ������

��������������, ��� �� ��� �������� ������ ������ � ������� �� ��� �����������
������� ��� ������� � �����̚4.3, ?�������� ������ �� ������� ������?.

��� �������� ��������� ��������� � ������, �������� ������ �� ��� � ��������,
��������� ������� ��� ������ � �������� �������.

��� ��������� � ������� LS-120 (ATAPI ������), ��� ����� ������ �����������
��������� ���������� ������ ������. ��� ����������� � ��������� �������� root=,
������������ ����������, �� ������� ������� ide-floppy �������� ������.
��������, ���� ������ LS-120 ������ޣ� ��� ������ IDE ���������� (������) ��
������ ������, ������� � ����������� � �������� linux root=/dev/hdc. ���������
� LS-120 �������������� ������ ��� ���� ������ 2.4 � ����.

�������, ��� �� ��������� �������, ���������� ������ Control-Alt-Delete ��
��-���������� ������������� ������, ������� ������������� ?����������?
������������. ���� �� ����������� ��������� �� ������������ ������������
������� (��������, �� DOS), �� � ��� ��� ������. �����, ��������� ����������
������������ ����� ���������.

�����, ����� �������ģ� ������ � �������, � ����� �� ������ ������� �����,
������� ���������� �������� � ������� � � ����� ���������� ����������� boot:.

����� ������� Enter, �� ������ ������� ��������� Loading..., �����
Uncompressing Linux..., � ����� ��������� ������� � ����������� � ��������
������������. ��������� ���������� �� ���� ����� �������� �������� ����� �����
� �����̚5.3.4, ?������������� ����������� ��������� ����?.

����� �������� � ����������� �������, ��� �������� ������� � �������� ��������
��������. �������� ������ �������, ������� Enter, � ţ ���������� ���������� �
������. � ����� ������������� ���������� ��������� ��������� debian-installer.

5.1.5. �������� �� TFTP

�������� �� ���� ������� ������� �������� ����������� � �������� ������������
������� TFTP (DHCP, RARP ��� BOOTP).

����� ��������� � ��������� �� ���� ������ � �����̚4.6, ?���������� ������ ���
�������� �� TFTP?.

���� ��������� ������������ ��������� �������� �� TFTP �� i386.

5.1.5.1. ������� ����� ��� ����������� ����� � ���������� PXE

��������, ���� ������� ����� (NIC) ��� ����������� ����� �������������
����������� �������� ����� PXE. ��� ������� ���������� TFTP �������� ��
�������� Intel (tm). � ���� ������ �� ������ ��������� BIOS �� �������� ��
����.

5.1.5.2. ������� ����� � ������� BootROM

��������, ��� ������� ����� (NIC) ������������� ����������� �������� �� TFTP.

5.1.5.3. Etherboot

������ etherboot ������������� ����������� ������� � ���� �������� (bootrom)
��� TFTPboot.

5.1.6. ����������� � ��������

� ����� ������ �������� ��������� ��������� �� ������ �������� ������� Debian �
����������� � ��������:

Press F1 for help, or ENTER to boot:

� ����������� � �������� �� ������ ��� ������ ������ Enter ��� ��������
��������� ��������� � ����������� �� ��������� ��� ������ �������� �����
�������� �, ���� �����, ����������� ���������.

���������� � ��������� ���������� �������� ����� ������� ������� ������� � F2
�� F7 . ��� ���������� ���������� �������� � ��������� ������, ���������, ���
����� ����� �������� (�� ��������� linux) � ������ ����� ������ ����������
(��������, linux debconf/priority=medium).

���������

���� �� ����������� ��������� ����� ���̣���� ����������� ����������, �������
������� ��������� ��������� �� VGA �������, �� ������ �����, �� �� �������
����������� ��������� �������� ����� ��������� ��������� ���������; �� ����
������ �� ������� ����������� � ��������. ��������, ��� ����� �� ����������� �
���������� ��������� Compaq ?integrated Lights Out? (iLO) � HP ?Integrated
Remote Assistant? (IRA). ����� ������� ������ F1,^[3] ����� ������� ����� �
����������. ����� ����������� ������� � ��������� ��������� � ������ ������ �
���������� �������� ������� ����� ������������ ��� ������. ��� �������
��������� ��������� �� ������������ framebuffer ��� ���������, ����� ��������
�������� �������� debian-installer/framebuffer=false, ��� ������� � ���������.

5.2. ��������� ��������

��������� �������� -- ��� ��������� ���� Linux, ������� ������ ������������ ���
����, ����� ������� �������������� ������������ ����������. � �����������
������� ���� ����� ���������� ������������ ���������� �������������. ������,
������ �� ������ ������� ������ ����.

���� �� � ������ ��� ���������� �������, ���������� ��������� �������� ��
��������� (�� ���� �� ��������� �� ��������) � ����������, ��������� �� �ӣ
��������. ������ �����, ��� ��� � �����. ���� ���, �� ������� �����
��������������� � �������� ����������� ���������, ������� ������� �������
���������� ���������� ������ ����������.

���������� � ������ ���������� �������� ����� ����� � Linux BootPrompt HOWTO,
��� ����� ����� ������ ������ � �� ��������������� ������������. � ���� �������
���������� ������ ������� �������� � �������� ������ ����������. ���������
����������Σ���� ������ �������� ���� � �����̚5.3, ?����������� �������
�������� ���������?.

� ����� ������ ��� �������� ���� ������ ��������� ���������:

Memory:availk/totalk available

�������� total ������ ��������� � ����� ����������� ��� � ����������. ���� ���
�� ������������� ������������� �������������� ��ߣ�� ���, ��� ���� ������������
�������� mem=ram, ��� ram ����� ��ߣ�� ������, ������������ ������ ?k?, ����
��ߣ� ����� � ���������� ��� ?m?, ���� � ����������. ��������, mem=65536k ���
mem=64m �������� 64�� ���.

���� �� ������������ ����� ������� �� ���������������� �����, ������ ����
������������ ��� �������������. ���� � ���������� ������ޣ�� ����������
(framebuffer) � ����������, � �� ������ ����������� ����� ������� ��
���������������� �����, ��� ���� �������� ���� �������� console=device, ���
device -- ��� ��� ����������������� �����, ������ ttyS0.

5.2.1. ��������� ��������� ��������� Debian

������� ��������� ����������� ��������� �������������� ��������� ��������^[4],
��� ����� ���� �������.

debconf/priority

    ���� �������� ������ ������ ��������� ������������ ���������.

    �������� �� ��������� ����� debconf/priority=high. ��� ��������, ��� �����
    �������� ��������� � ������� � � ����������� ������������, � ��������� ��
    ������� � ������ ������������ ����� ���������. � ������ �������������
    �������, ��������� ��������� ������������ �������� ����������.

    ���� �� �������� debconf/priority=medium � �������� ��������� ��������, ��
    ������� ���� ��������� ��������� � �������� ������� �������� ���
    ����������. ��� ������������� debconf/priority=low ������������ ���
    ��������� (������������ ������ �������� expert). ���� ������� debconf/
    priority=critical, �� ������� ��������� ����� ���������� ������ �����������
    ��������� � ��������� �ӣ ������� ��������� ��������������.

DEBIAN_FRONTEND

    ���� �������� �������� ������������ ��� ����������������� ����������,
    ������������� ���������� ���������. ��������� �� ������� ������ ��������
    ���������:

      * DEBIAN_FRONTEND=noninteractive

      * DEBIAN_FRONTEND=text

      * DEBIAN_FRONTEND=newt

      * DEBIAN_FRONTEND=slang

      * DEBIAN_FRONTEND=ncurses

      * DEBIAN_FRONTEND=bogl

      * DEBIAN_FRONTEND=gtk

      * DEBIAN_FRONTEND=corba

    �� ��������� ������ ��� DEBIAN_FRONTEND=newt. ��� ��������� �����
    ���������������� ������� �������� �������������� DEBIAN_FRONTEND=text .
    ������, � ��������� ��������� �� ��������� � ������ ������ �������� ������
    ��������� newt.

BOOT_DEBUG

    ���������� ����� ������������ ��������� �������� 2 �������� � �����
    ���������� ���������������� �������� �������� ��������� ���������. ��������
    3 �������� � ������� �������������� ��������� ������ � �������� ������
    ������ �������� ��������. (���������� ������ � ��������������� �������� �
    ����������� �������� ��������.)

    BOOT_DEBUG=0

        �������� �� ���������.

    BOOT_DEBUG=1

        ��������� ��� ������.

    BOOT_DEBUG=2

        ����� ���������� ����������.

    BOOT_DEBUG=3

        � ��������� ������ �������� �������� ����� ������ �������������
        ��������� ������, ����� ��������� ��������� �������. ��� ������ ��
        �������������� �������� �����������.

INSTALL_MEDIA_DEV

    ��������� ����� ��������� �������� ���� � ����������, � ��������
    ����������� ��������� ��������� Debian. ��������, INSTALL_MEDIA_DEV=/dev/
    floppy/0

    ������, ����������� ������� � ������� �������� ������� ��������� ���
    ������� � USB ���������� ��������. ���� ���������� ����� ��������� ţ
    ������ �������� ������� ������ �� ��������� ����������.

debian-installer/framebuffer

    ��������� ����������� ���������� framebuffer ����, ����� ����������
    ��������� �� ���������� ������. ���� ������������� framebuffer ��������
    �������� �� ����� �������, ����� ��������� ��� ���������� debian-installer/
    framebuffer=false. �������� �������� -- ��������� �� ������� bterm ���
    bogl, ������ ����� ��� ��������� �� ��������� ����� � ������ ���������.

    �������� video=vga16:off ����� ����� ���� ����������� ��� �������
    framebuffer. �������� �������� �������� �� Dell Inspiron � ������ Mobile
    Radeon.

debian-installer/probe/usb

    ���������� � false, ����� �������� �������� USB ��� ��������, ���� ���
    �������� ��������.

netcfg/disable_dhcp

    �� ���������, debian-installer ������������� �������� ��������� ���� �����
    DHCP. ���� ��������� ������ ������ �������, � ��� �� ����� �����
    ������������ � �������� ���������� ���������. �� ������� ��������� ����
    ������� ������ � ������ ������ ��� ������ � DHCP.

    ���� � ����� ��������� ���� ���� DHCP ������, �� �� �� ������ ���
    ������������, ������ ��� ��, ��������, ���� ������������ ������, ������
    ������� �������� netcfg/disable_dhcp=true, ����� ��������� ��������� ����
    �� DHCP � ������ ���������� �������.

hw-detect/start_pcmcia

    ���������� � false, ����� �������� ������� PCMCIA ��������, ���� ���
    �������� ��������. �������� ������� ��� ��������� ���������.

preseed/url

    ������� url ��� �������� ����� � ����������� � ������������� ��������������
    ���������. �������� �����̚4.7, ?�������������� ���������?.

preseed/file

    ������� ���� � ����������� ��� �������� �������������� ���������. ��������
    �����̚4.7, ?�������������� ���������?.

ramdisk_size

    ���� �� ����������� ���� 2.2.x, ����� ������������� ���������� ramdisk_size
    =13000 .

5.3. ����������� ������� �������� ���������

5.3.1. ��ģ������ ������

��ģ������ ������ -- ���, ������, ����� ������� �������� ��� �����,
��������������� Debian.

����������� ������� -- ��� ����� ���������� �������, ������ ��� ��� ��������
����������� ��������, �� �������� Linux. ����� ���������� �� ����� ������ �����
�������, ��� ������� ������ Linux, � ����� ������ ������������ ��� ������
��������� �� ������, ���� ��������� ������������ ������. �ݣ �������� ���������
� ����������, ����������� ������� �������� ��� ����� ��������� �� �������
�����-������ (disk I/O error).

���� ��������� �������� �� �����-�� �������, ������ ���������� ��������� ������
����� ������� � �������� ��� �� ������ �������. �������� ������������������
������ ������� ����� ���� ������������, �������� ���� ��� ��������� � ��������,
������� ��������������� � �������� ��� ������. ������ ������� �����������
�������� ������� �� ������ �������.

���� ������������ �������, ��� �� ��������� ����� �� ������� ��� ����, ������
��� ��� ����������, � ����� �ӣ ����� ���������.

������ ������������ ��������, ��� ������� ������������ ��������� ��� � ����� �
��� �� ������� � ��������� ��������� � �������� ��������. �ӣ ��� ���������
��-�� ����� ���������� ���������� � �� �������������.

5.3.2. ��������� ��������

���� � ��� �������� �������� � ���� ������ �� ����� ��������, �� ����������
��������� ��������� ��� ����������� ������������ �����, ������ ���������
��������� ��������, ��� ��� ����������� � �����̚5.2, ?��������� ��������?.

���� �� ���������� �������������� ��������� ���� ������ ������������� �
����������� ���������, ���������, ��� � ����� ���� ����ޣ� ��������
CONFIG_DEVFS. ��������� ��������� ��������� CONFIG_DEVFS.

����� �������� ����� ������, ����� ���������� � ���������, � ����� ����������
����������� �ݣ ���. ���������� ������, �������� ����� � ���������� Plug-n-Play
����� ���� �������� ���������������.

���� �� ����� ������ ���������� ������� ��ߣ� ������, ����� ��� 512�� �
��������� ��������� ������ ��� �������� ����, �� ��� ����� ������������ �������
�������� �������� ��� ����������� ��ߣ�� ������ �������� ���� -- mem=512m.

5.3.3. �������������� �������� ��������� �� Intel x86

���� ��������� ���������� �������������� ������� ���������, ������� �����
������ ��� �������� � ������� �������� ���������� �������� ��������� ���������.

��������� ������� ����� �������� ������ ������ � ?��������� DCL?. ���� ��
��������� ������ ������ � �������, ���� ����� ������, ��� ��� �������,
���������� ������ �������� floppy=thinkpad.

�� ��������� ��������, ����� ��� IBM PS/1 ��� ValuePoint (������� ��������
������� ST-506), ������ IDE ����� ���� ��������� �����������. �������
���������� ����������� ��� ���������� � ����������, ��������� �� ������������
������ IDE. ���� ���, �������� ��������� ����� (���������� ���������, ������� �
��������) � �������������� ���������� hd=���������� ���������, ����������
�������, ���������� ��������.

���� � ��� ����� ������ ������ � ���� �������� ����� ������� Checking 'hlt'
instruction..., �� �� ������ ����������� �������� �������� no-hlt, �������
��������� ���� ����.

���� �� ����� �������� ���� ����� �������� �������, �������� �� ���������
�����, ޣ���� ��� ��������� ������� �������, �� ���� ������� �������� �����
���������� ����������, ������� ����������� ������������� � ����� �����-������.
� ���� ������, �� ������ ����������� �������� �������� debian-installer/
framebuffer=false ��� video=vga16:off ����� ��������� �����-����� �� �������.
��-�� ����� ����������� ������� ��������� ����� �������� ������ �� ����������
�����. ��������� �������� � �����̚5.2, ?��������� ��������?.

5.3.3.1. ������� ��������� �� ����� ��������� PCMCIA

��� ��������� ������ ��������� Dell ��������, ��� ��� ������ ����� ���
����������� PCMCIA ���������� ������������ ������� ������� �� ���������
���������� �������. ������� �������� ����� ����� � ������ �������� . ���� � ���
�������� ����� �������� � ��� �� ����� ��������� PCMCIA �� ����� ���������, ��
�� ������ ��������� PCMCIA � ������� ��������� �������� hw-detect/start_pcmcia=
false. ����� ��������� �� ������� ��������� PCMCIA, �������� �������� ��������,
� ������� ��������� ��������.

������ �������: �� ������ ��������� ��������� ��������� � ���������� ������.
��� �������� ������� �������� ��������, ������� ������������ ����������
������������. ��������, ���� � ��� ���� �� ��������� Dell, ���������� ����, ��
�� ������ ������ exclude port 0x800-0x8ff. �����, ���� ������ ��������������
���������� �������� � System resource settings section of the PCMCIA HOWTO.
�������, ��� ��� ����� �������� � ��������� ��������� �� �� ������ ���������
�������, ���� ��� ����.

5.3.3.2. ������� ��������� �� ����� �������� USB �������

������, ���� �������� ���������� ������ USB � ������� USB ����������, �����
���������� ��������� ��������� ������������� ��������� USB. ������, ����
��������� ������������� USB ������, ��� ������� ��������� ��� ��������.
��������, �������� �������� ����� ���� ���������� ����������� USB � ���������
BIOS ����������� �����. ������ �������� ����� ������� �������� ���������
debian-installer/probe/usb=false � ����������� ��������, ������� ���������
�������� �������.

5.3.4. ������������� ����������� ��������� ����

�� ����� �������� �� ������ ������� ����� ��������� ���� can't find ... ��� ...
not present, can't initialize ... ��� ���� this driver release depends on ... .
����������� ���� ��������� ���������. �� ������ �� ������ ��� ���������������
���� ������� ���, ����� ����������� �� ����������� � ������ ����������
������������� ������������. ��������, �� ���� ��������� �� ����� ��������� ���
��������� ����������, ��� ��� ������������ ������� ����� ������� ������������
�� ����� ������ ���������, ������� � ��� ���. �����, �� ������ ��������, ���
������� ������ ��������. ��� ��������� ��-�� �������� ������ �� ����������,
�������� ��� � ����� �������. ���� �� ����������, ��� �������� ������� ��������
����������� ������ �����, �� ������ ����� ������� ����������� ���� (��������
�����̚8.5, ?������ ������ ����?).

5.3.5. ��ޣ� �� �������

���� �� ������ ���� ��������� ��������, �� �� ������ ��������� ���������,
������� ����� � ���� ��ޣ�� �� �������. ������ ����� ����������� ���������
������� ������ � ���������� � ������������ �� �������. ��� ���������� �������
������, ��� ���� �� ��� � ��� ��� ���������. ���� �� ����������� ��ޣ� ��
�������, �� ������ ��������� ��� ���������� � ��ޣ��.

������ ���������, ������� ��������� � ���������, ����� ����� � /var/log/ ��
����� ���������, � � /var/log/debian-installer/ ����� ����, ��� ���������
�������� ������������� �������.

5.3.6. �������� ��ޣ��� �� ������� ���������

���� � ��� �������� ��������, ��������� ��ޣ� �� ���������. �����, ��
������������ �������� ��ޣ��� ���� � ������ �������� ���������, ����� ��������
�������� ���������� � ������ ���������� �������������.

����������, ����������� ���� ������ ��� ���������� ��ޣ�� �� ��������� �
��������� ��ޣ� ��� ��������� �� ������ ������-������ installation-reports ��
����� <submit@bugs.debian.org>.

Package: installation-reports

Boot method: <��� ����������� ��������� ���������? � CD? � ������? �� ����?>
Image version: <���� � �����, ������ ��� ���� �����>
Date: <���� � ����� ���������>

Machine: <�������� ������ (��������, IBM Thinkpad R32)>
Processor:
Memory:
Partitions: < ����� ���������� ������� df; ����� ������� �������� � ����� �������>

����� ���������� ������ lspci � lspci -n:

Base System Installation Checklist:
[O] = OK, [E] = ������ (������� ����������� ����), [ ] = �� ��������

Initial boot worked:    [ ]
Configure network HW:   [ ]
Config network:         [ ]
Detect CD:              [ ]
Load installer modules: [ ]
Detect hard drives:     [ ]
Partition hard drives:  [ ]
Create file systems:    [ ]
Mount partitions:       [ ]
Install base system:    [ ]
Install boot loader:    [ ]
Reboot:                 [ ]

Comments/Problems:

<�������� ���������, �����������, ����������� ��������� � ��������.>

� ��ޣ�� �� ������� �������, � ޣ� ������� ��������, ������� ���������
��������� ��������� ���� � ������ ��������� ����. ������� ����, ������� ��
������, ����� �������� ������� � ���������� ���������.


--------------

^[3] � ��������� ������� �� ����� ����������� ����� ������ �����������
���������� �������, ������� ���������� ��� F1, ��������, ��� IRA ��� Ctrl-F,�1.

^[4] . �������, ��� ���� ��������� ������ ������ 8 ���������� � ���������
������ � 8 ���������� ����� (������� ���������, ����������� �� ���������
���������� ���������). ���� ������ �������� ���������, ���� ������ 2.4 ��������
��� ������ ����������, � ���� ������ 2.6 ����������� � �������.

����� 6. ������������� ��������� ��������� Debian

����������

6.1. ��� �������� ��������� ���������
6.2. �������� �����������
6.3. ���������� ��������� �����������

    6.3.1. ��������� ��������� ��������� Debian � ������������
    6.3.2. �������� �������� � ����� ����� ������������
    6.3.3. ��������� ������� �������
    6.3.4. ��������� � ��������� ���������� ����������
    6.3.5. ���������� ������ ������
    6.3.6. ������

6.1. ��� �������� ��������� ���������

��������� ��������� Debian ������� �� ���������� ������������������
�����������, ��������������� ��� ���������� ������̣���� ����� ���������.
������ ��������� ��������� ���� ������, ������� ������������ �������, ���� ���
���������� ��� ���������� ������. ������� ������� �������� ���������, � �����
������ ��������� ���������� �������� ��� ������ ��������� ���������.

����� ����������� ��������� �� ���������, �������� ������ ����� ������
(������������������) �������. ����������� ����� ��������� ������������������
������� ��������� � ��������� �������������� ������������. ����������
������������� ����������� � ������̣���� ����������������; ����� ���������
����� �������, ������� � �������� �� ���������� ������ ��������� � ��
���������� ������������. ��������� ��������� ����� ������������ �������� ��
��������� ��� ��������, ������� �� ����������.

��� ������������� ��������, ������������ ������ ����� � ������� �, ��������,
���� ��������� ��������� ��������� ������� �����-������ ��������������
��������. ���� �� ������� ���, ������������ ������� �� ������ ���� ���������
���������, � ������ ����� �������� �� ������� ������� ����������. ���������� �
��������� ������� ���������� ��������� ?�����������?, ��� ��� ������������
������ ����� �����ݣ�.

��������� ��������� �� ���������, ������������ ���������� ���������, �����
�������� ������� ��� �������� ���������� �������� ��� ������ debian-installer.
����, ��������, �� ������ ����������� ���� ������� (�� ��������� ������������
DHCP, ���� ���������), �� ������ �������� �������� �������� netcfg/disable_dhcp
=true. ��������� ��������� ����� ���������� � �����̚5.2.1, ?���������
��������� ��������� Debian?.

������� �������������, ��������, ����� ����� ������ ��������� ���������� �����
����, ��� ������ ��� �������������� �������������, ������ ���������������
���������� ������� ���� ������������������ ���������� ���������. ���
������������� ��������� ��������� � ������ ������ ����������� ����� ����,
�������� �������� �������� debconf/priority=medium.

���� ���� ������������ ������� �������� ���������� ������� ���� ��� ��
���������, ����� ��������� ��������� ��������� � ������ ?��������?. ��� �����
������� ���� ����� ������� expert ��� ������� ��������� ���������, ���� �������
�������� �������� debconf/priority=low. ����� �������� ���� ��� ������ ��������
��� debian-installer.

���������� ��� ��������� ��������� -- ��������� (� ������� �� �����
�������������� ������ ����������� �����������). ���� ����� �� ��������. ���
������, � ������� ������� �� ������ ������������ ������ ��������� ��������.
������� Tab ��� ������ ������� ���������� ��������� ?������?, � Shift-Tab ���
����� ������� -- ?�����? �� ������������ ������� ��� �����. ������� �������
����� � ���� �������� ��������� ������ � �������������� ������, � �����
������������ ��� ������. �����, � ������� ������� �� ������ ������ �� ������� �
������, ����� ������ ����������� ����� � ������ ������, ������������ �� ���
�����, � ����� ������������ ������� Pg-Up � Pg-Down ��� ������������� ������ �
�������. ������� ������ ������ ��� ������ ������� ���� ?������?. �����������
������� Enter ��� ��������� ������.

��������� �� ������� ��������� �� ������� �������. �� ������ �������� ������ �
���� �������, ����� ����� Alt-F3 (����������� ������� Alt ������� �� �����
������� �������������� ������� F3); ��������� � ��������� �������� ���������
����� ����� Alt-F1.

����� ��� ��������� ����� ����� � ����� /var/log/messages. ����� ��������� ����
���� ���������� � ���� /var/log/debian-installer/messages �� ����� �������.
��������� ��������� �� ��������� ����� ����� � �������� /var/log/ �� �����
��������� � � ����� /var/log/debian-installer/ ����� ����, ��� ���������
�������������� � ������������� �������.

6.2. �������� �����������

���� ����������� ������ ����������� ��������� ��������� � ������� ���������
���������� ������� ����������. ������ �� ������������� ������� ���������� �����
����� � �����̚6.3, ?���������� ��������� �����������?.

main-menu

    ���������� ������ ����������� ������������ �� ����� ������ ���������
    ��������� � ��������� ���������, ����� �� ������. �������� main-menu
    ���������� ������� (medium) ���������, ��� ��� ���� �� �������� ���������
    �� ������� ��� �����������(�� ��������� �������), �� �� ������� ����. �
    ������ �������, ���� ��������� ������, ������� ������� �������������
    ������������, ��������� �������� ����� ���� �������� �������, �����
    ��������� ������ ��������, � � ���� ������ ���� ����� ���������.

    �� ������ ��������� �� �������� ����, ����������� ����� ������ ?����� ?,
    ����� ������ ���� ���� ������� �� ������������ � ������ ������ ����������.

languagechooser

    ���������� ������ ������ � �������� �����. ��������� ��������� �����
    ���������� ��������� �� ��������� �����, ���� ���� ������� �� ���� ����.
    ���� �������� ��������� ���, �� ����� �������� ��������� �� ����������
    �����.

countrychooser

    ���������� ������ �����. ������������ ����� ������� ������ � ������� �����.

kbd-chooser

    ���������� ������ ���������, �� �������� ������������ ����� �������
    ���������� ������.

hw-detect

    ������������� ���������� ������� ����� ���������� �������, ������� �������
    �����, ������� ������ � PCMCIA.

cdrom-detect

    ���� � ��������� �������-���� � ���������� ��������� Debian.

netcfg

    ����������� ������� ����������� ����������, ����� �� ��� �������� ������ �
    ��������.

iso-scan

    ���� �������� ������� ISO � ������� CD-ROM ��� �� ֣����� �����.

choose-mirror

    ������������� ������ ��������-������ Debian. ������������ ����� �������
    ��������, �� �������� ����� ��������������� ������.

cdrom-checker

    ��������� ����������� ������ �� �������-�����. ����� ������� ������������
    ����� ���������, ��� ������������ �������-���� �� ������ģ�.

lowmem

    �������� ���������� ������� � ����� ��ߣ��� ������ � ����� ���������
    ��������� ��������, ����� ������� �������� ����� debian-installer �� ������
    (����� ������ ��������� ������������).

anna

    Anna �� ��������� APT. ������������� ������, ������� ���� �������� �
    ���������� �������-������� ��� �������-�����.

partman

    ��������� ������������ ��������� ������ޣ���� � ������� �����, �������
    �������� ������� �� ��������� �������� � ��������� �� ����� ������������.
    ����� �������� ����������� �������������, �������� ����� �������� �
    ��������� �������������� ������ � ������������ LVM. ��� ����������������
    ������� ��� ������ � ��������� � Debian.

autopartkit

    ������������� ������� ������� �� �ӣ� �����, �������� ��������
    ������������� ����������.

partitioner

    ��������� ������������ ��������� �����, ������ޣ���� � �������. ���������
    �������� ����� ��������������� ����������� ������ ����������.

partconf

    ���������� ������ �������� � ������� �������� ������� �� ���������
    ��������, �������� ���������������� ���������.

lvmcfg

    �������� ������������ � ���������� LVM (��������� ���������� �����).

mdcfg

    ��������� ������������ ���������� ����������� RAID (Redundant Array of
    Inexpensive Disks). ����������� RAID ������ �����, ��� ��ۣ��� IDE
    (������-����������) RAID-����������� � ����� ����������� ������.

base-installer

    ������������� ����� ����������� ����� �������, ������� �������� ����������
    �������� ��� Linux ����� ������������.

os-prober

    ���������� ��� ������������� �� ���������� ������������ ������� � ��������
    ��� ���������� � bootloader-installer, ������� ����� ���������� ���
    �������� ��������� ������������ ������� � ��������� ���� ����������
    ����������. ����� ������� ������������ ����� ����� ������� ������������
    ������� ��� ������� � ������ ��������.

bootloader-installer

    ������������� �� ֣����� ���� ��������� ��������� ���������, �������
    ���������� ��� ����, ����� ��������� ��������� ��� Linux ��� �������������
    ������� ��� �������-�����. ������ ��������� ���������� ���������
    ������������ ������� �������� �������������� ������������ ������� ���
    ������ ����������.

base-config

    �������� ������������ ��������� ������� ��������� ������. ������ ���
    ���������� ����� ������������ ����������; ��� ?������ ������? ����� �������
    Debian.

shell

    ��������� ������������ ������� ������������� ��������� ������ �� ���� ���
    �� ������ �������.

bugreporter

    ������������� ������������ ����������� �������� ���������� �� ������� �
    ������ ������������� �������, ����� ����� ��������� ������������� Debian
    ������ ��ޣ� � �������� ��������� ���������.

6.3. ���������� ��������� �����������

� ���� ������� �� �������� ������ ������ ���������� ��������� ���������.
���������� ������� � �������� ������������ ������ � ����������� � �������
������������� �� ����� ���������. �������� ��������, ��� � ����������� ��
������ ��������� � ����� ���������� ��������� ������ ����� �� ��������������.

6.3.1. ��������� ��������� ��������� Debian � ������������

������� ����������, ��� ��������� ��������� Debian ����������� � �� ������ ţ
������ �����. � ���� ������ ����������� debian-installer �ӣ �ݣ �������
����������. ��� ������� �� ����� � ����� ������������, �������������� ����� ���
���� � �������, ������� ��� ������ ���������. �� ������������. ���������
debian-installer �������� �����, ��� ����� ������������� ���������� ����
������������, ����� ���� ��������� ���������� � �������� ���� �� ����� ������
������� ���������. ������, �� ������ ������ debian-installer ���������
�����������, ������� ��� �� ������ ���������� ������������� (��������, �������
�������������� ���� ����, ��������� ���������� ��� ����������� �������
������-�������).

�������, ��� debian-installer ��������� ����������� ������������ ��������� ���
�� ����� ���������. �� ������ ����� ������������ ������������, ����������� ���
�������� ����������� ��������� ��������� (�.�. ��� CD-ROM ��� ������� �����).
��������� �� ��� �������� ����� ���� �������� �� ����� ����� ������� �������,
����������� ������������ ���� ����� ��������� ����� �� ���� ���������.

6.3.1.1. ����������� ��������� ������

���� �� ������ �����, ������� ������ debian-installer, ��� �������� �������
��������� ������. ���� ������ ���������, �� ��� ���������� ������ ���������
��������� �������� ���������, �������, ����� ���������, �������� ����������
Debian GNU/Linux �� ���� ������.

� ������ ��������� � ����� ����������� ������, �� ��� ���������� �����
��������. ����� �� ����������� �������� ������������� ������ ����� ���������.

6.3.1.2. ����� �����

�� ������ ����� ��������� �������� ����, �� ������� ����� ��������� ����
������� ���������. �������� ������ �������� �� ����������(�����) � �� �����
����� (������); �������� ������ ����� �������� � ���������� ��������� ��� �����
�����. ������ ������������ �� ���������� ���������.

��������� ���� ����� ����������� � ���������� �������� ���������, ���������
�������� ��������� �������� ���� ��������. ���� ������� ��� ���������� �����
����������, �� ��������� ������������ ���������� ����. ��������� ���� �����
����� ����������� ��� ������ ���������� ��������� ����������.

6.3.1.3. ����� ������

���� �� ������� ���� (�����̚6.3.1.2, ?����� �����?), �� ������� ������� �����
��� � ����� ������ (��������, ���������, ����������, ����������� � ������
������ �����), ����� �� ������ ������� ������. ���� �� �������� ������ � �����
������, �� ��� ����� ��������� ������ ���� �����, ��������������� ��
�����������.

���� �������� ����� ������������ ������� � �������� ��������� ��� ������
�������� ����� �� ��������� � ���������� � ��� �������������� �������-�������
Debian. ���� ������������ �� ��������� ��������� �� ��������, �� �� ������
�������� ��. ��������� ������ ������ � ��������� ������ ����� �������� ��
��������� ������ ����� ����� ������� Debian.

6.3.1.4. ����� ����������

���������� ����� ��������������� � �������� ������̣����� �����. ��������
���������, ������� �������� � ����� ����������, ��� �������� ��������
����������, ���� ������� �� �������. ����� ���������� ��������� �� �������
������� ��������� �� �������� ���������� ��������� (��������� kbdconfig �
������� ����������������� ����� ���������� ���������).

�������� ������ ���������� � ������� Enter. ��� ����������� ����������� �������
������� -- ��� ��������� � ����� � ��� �� ����� �� ���� ������������
������������ ����������, ������� �� ������� �� ������������ ����������.
'�����������' ���������� -- ��� ���������� � ��������� �� F1 �� F10 � �����
������� ���� ������.

6.3.1.5. ����� ISO ������ ��������� ��������� Debian

���� ��������� ������������ � ������� ������ hd-media, �������� ������, �����
��� ����� ����� ����� � ������������ ISO ����� ��������� ��������� Debian,
����� �������� ���������� ����� ���������. ��� ����� ���������� ����������
iso-scan.

������� iso-scan ������������� ���������� ��� ������� ���������� (�.�.
�������), �� ������� ���� ������������ �������� ������� � ��������������� �����
������ �� ��� ����� � �������, ��������������� �� .iso (��� .ISO, ��� �����).
�������� ��������, ������ ����� ������ � �������� �������� � ������������
������� ������ (�� ���� �������� ����� /���.iso, /data/���.iso, �� �� /data/tmp
/���.iso). ����� ���������� iso ������, iso-scan �������� ��� ���������� �����
��������, �������� �� ����� ���������� iso ������� Debian ��� ���. � ������
������ ����� �����������, � ��������� iso-scan ����� ������ ������ �����.

���� ����� ISO ����� � ���������� ��������� �� �������, iso-scan �������,
������ �� �� ����� ��� �������� ����� ���������� �����. � ���� ������ �����
�������ģ� ����� �� ���� �������� �������.

���� iso-scan �� ����� ISO ����� ��������� ���������, ��������������� �
�������������� ������������ ������� � ��������� ������������ ����� (������
������������ �� .iso), ���� ���� ��������� �� �������������� debian-installer
�������� �������, � ��� ����� �� ������ģ� (��������� ����������� �����).
������� ������������ Unix ����� ��� ������� �� ������ ������� ��� ������������.

6.3.1.6. ��������� ����

���� � ������ ����� ���� ������� ������������, ��� ������� ����� ������
�������� ����������, �� ��� �������� �������, ����� ���������� ����� ���������
������� �����������, �� ���� ����� ���������� ����� ������������ ��� ���������
�������. ������ ���������� ��������� ��������������. �� ������� ���������
�������������� ���������� ����� ���������� ���������; �������� ��������
����������� interfaces(5).

�� ���������, debian-installer �������� ��������� ������� ��������� ������
���������� ������������� ����� DHCP. ���� �� DHCP ������� ������� �����,
��������� ���������. ���� ������� �� ��������, ��� ����� ��������� �� ������
��������, ������� �� ��������ޣ����� �������� ������ � ������ ������������
���������� DHCP. ��� �� ������ �� ������ DHCP ������� � ��������� ����. ���
��������� ������� ���������� ��������� �� ������� �� ������� �������. � �����
������ ��� �������, �� ������ �� �� ����������� �ݣ ���, ��� ������ ���������
��������� �������. ������ DHCP ������� ����� �������� ��������, ������� ���� ��
�������, ��� �ӣ � �������, ���������� �ݣ ���.

��� ������ ��������� ���� ��� ������� ��������� �������� � ����� ����, � ������
��� IP �����, ����� ����, ����, ������ �������� �ͣ� � ����� ������. �����
����, ���� � ��� ��������� ������������ ����, �� ��� �������� ������ ������
Wireless ESSID � WEP ����. ������� ������ �� �����̚3.3, ?����������, �������
�����������?.

���������

��������� ��������� ����� ����� ���������� �������: ��������� ������������, ���
����� IP ���� ����������� � ������� �������� ���������� � ��� IP �������
������� � ������ ����. ����������������� ����� ����������� � ������� ��������
���������� ��� ��� IP ������� ������� � ��������� ������ ����. �����
����������� ����. ���� �� �� ������ ����� �����-������ �����, �����������
������������ �������� -- ���� �����, �� ������ �������� �� ����� �����
��������� �������, �������������� /etc/network/interfaces. ��� �� �� ������
���������� etherconf, ������� ������� ��� � ���������� ����.

6.3.2. �������� �������� � ����� ����� ������������

����� ���� ��� ����������� ������������ ���� ��������� � ��������� ���,
debian-installer ������ ���� �� ���� ����� �����, ������������ ��� �����
������������ � ������� � ���������� ���-����� ��������� ������. ��� �������� �
��������� �������, �������� ������� ���������� ��������� ����������� �����
�������� ������, �������� �������� ������, ���������� ����� ������������ �,
��������, ��������� LVM ��� ��������� RAID.

6.3.2.1. �������� ������

������ ������� ����� �������� ������. ���� �� ����� ������� � ����������
��������, ��� ������ ������ ����� ������ ��������, �������� ���������ŚB,
�������� ������ � Debian.

������� ��� ��������� �������������� �������� ��� ����� ����� ��� ������ ���
���������� �����. ��� ��� ���������� ?������������? ��������. ���� �� �� ������
������������ ������������, �������� � ���� �������������� ������� ��������
�������.

���� �� ������� ������������ ��������, �� ��� ��������� ������� ���� �� ����,
��������� � ������� ����. ����� ����� ����� ���� "��" � "������", ���������
����������� � ���������ŚB, �������� ������ � Debian. ���� �� �� ������ ���
�������, �������� ������. �������, ��� ��� ������ ������������ ��������
��������� ����������� ���������� ���������� ����� � ������� ����� ��������.
���� �� �� �������� �� ������� ���� ����� 1�� (������� �� ��������� �����),
������������ �������� ���������� ��������.

+-----------------------------------------------------------------------------+
|        ����� ��������        |    �����������    |   ����������� �������    |
|                              |   ������������    |                          |
|------------------------------+-------------------+--------------------------|
|��� ����� �� ����� �������    |600��              |/, swap                   |
|------------------------------+-------------------+--------------------------|
|���������� ���������          |500��              |/, /home, swap            |
|------------------------------+-------------------+--------------------------|
|��������������������� ������� |1��                |/, /home, /usr, /var, /   |
|�������                       |                   |tmp, swap                 |
+-----------------------------------------------------------------------------+

����� ������ �����, ��������� ����� ������� ������ ��� ��������� �������
��������, ������� ���������� ����� �� � ��� ��������������� ������� � ���� ���
����� ������������.

������ �������� ����� ��������� ���:

  IDE1 master (hda) - 6.4 GB WDC AC36400L
        #1 primary   16.4 MB     ext2       /boot
        #2 primary  551.0 MB     swap       swap
        #3 primary    5.8 GB     ntfs
           pri/log    8.2 MB     FREE SPACE

  IDE1 slave (hdb) - 80.0 GB ST380021A
        #1 primary   15.9 MB     ext3
        #2 primary  996.0 MB     fat16
        #3 primary    3.9 GB     xfs        /home
        #5 logical    6.0 GB     ext3       /
        #6 logical    1.0 GB     ext3       /var
        #7 logical  498.8 GB     ext3
        #8 logical  551.5 GB     swap       swap
        #9 logical   65.8 GB     ext2

����� �������� ��� ֣����� ����� IDE, �����̣���� �� ��������� ��������; ��
������ ����� �������� ������� ���������� �����. ������ ������ ������� ��������
����� �������, ���, ������, �������������� �����, �������� ������� � �����
������������ (���� ����).

�� ���� ������������ �������� ���������. ���� ��� �������� ���������������
������� ��������, �� �� ������ ������� ��������� �������� � �������� ���������
�� ���� �� ���� ��� �������� ����� ������� �������� (��� ������� � ����� �����
�������). ���� ��������� ��� �� ��������, �� ����� ������� �������� ���������
��������, ��������� ������������ �������� ����� ��� �������� ������������
��������� �������, ��� ������� ����.

��� ������ �������� ���������� ������� �����, �� ����������� ����, ���
������������ ������������ ������� �������� � ��� ����� ������������. �����
������� ��� ������� ������������� ������� �������� � ��� ������������ ���
������� � Debian.

���� �� ��������� � ������ ������, �� ������� ��� �� �������� �� ����������
�����, �� ��� ��������� ������� ����� ������� �������� (��� ���������� ���
�������� ����� ��������). ����� �����, �� ��������� ����� ������ ���������
����� ������ ?��������� ������������?.

���� �� �������� ��������� ������������, ��� ��������� ������� ����� ������. ��
������ �������� �� ��������� �������� �������� � �������, ���� (��������� ���
����������) � �������������� (� ������ ��� ����� ���������� ������������).
����� �����, ��� ������� ������������ ��������� ������ �������. ����� �����
�������: ����� ������������, ��������� ������������, ���� �������� ��� ��� ��
����� ��������������. ���� ��� �� �������� �������� �� ���������, �������� ��
��� ������. ��������, � ��������� ������������ ���:, �� ������ ������� ���
�������� ������� ��� ����� �������, ������� ����������� ������������� ������� �
�������� ������� ��������, ������������ RAID, LVM ��� ������ ��� ��
������������. ������ �������� ��������� �������� ����������� ����������� ������
�� ������������� ������� �� ����. ����� �� ��������� ����� ������, ��������
��������� � �������� � �� ������� ������� � ������� ���� partman.

���� �� ������, ��� ������ ���-�� �������� � �������, ������ �������� ������ �
����ģ�� ������� � ���� ��������� �������. ��� ��� ��� ���� ����� ���� ��� �
��� �������� �������, �� ������ �������� ��� �� ����� ����������. ���� ����,
������� ����� ���������� ����������� �� ������ ������: �� ������ ��������
������ �������, ������ �������, ������������ ������ �������. ��� ��������, ���
�������, �� �������� �������� fat16, fat32, ext2, ext3 � � �������� ��������.
�����, �� ����� ���� ����� ������� ������.

���������, ��� �������, �� ������� ����, ��� �������: ���� ��� ��������
�������� ������� (������� ������ ���� ����������� ��� /) � ���� ������ ��������
. ���� �� ������ ������� ����� ������������ �������� �������� �������, partman
�� �������� ��� ����������, ���� �� �� ��������� ������.

����������� partman ����� ���� ��������� �������� ��������� ���������, �� ���
������� �� ����������� ����������. �������, ���� �� �� ���ģ�� ���� ���������
�������, ���������, ��������� �� �� ��� ��������� ������ (��������,
partman-ext3, partman-xfs ��� partman-lvm).

��� ���������� ������ �� ��������, �������� ��������� �������� � ��������
��������� �� ���� �� ���� ��������. ��� ������� ��ޣ� �� ����������, �������
����� ����������� �� ����� � �������� �����������, ��� ��� ��������������
�������� ������� ������ ���� �������.

6.3.2.2. ��������� ��������� ���������� ����� (LVM)

���� �� ��������� � ����������� �� ������ ���������� �������������� ���
?������������? ������������, ��, ������̣���, �������� � ��������, ����� ��
�������� ������� (������ �� ����� ������) ������������� �����, � ��������
������ ��� ����� ���� � �� ���������� �� ���� �������� ��������� ������ �
������ ������� �� ������, ��������� ������������� ������ � �.�.

����� �������� ��������� �������� �� ������ ��������������� ����������
���������� ����� (LVM). ����� ������, � ������� LVM �� ������ ����������
������� (���������� ���� � �������� LVM) � ����������� ���� (��� ����������
������ �����), ������� ����� ����� �������� �� ����������� ������� (����������
����). ������ � ���, ��� ���������� ���� (�, �������, ���������� �� ������
�����) ����� ������������ �� ���������� ���������� ������.

������, ����� �� ������, ��� ��� ����� �ݣ ����� �� ��������� 160�� /home
�������, �� ������ ������ �������� ����� 300�� ���� � ���������, ���������� ���
� ������������ ������� ����� � ����� �������� ������ ����������� ����, �������
�������� �������� ������� � /home � �����, ���� ������������ �����
�������������� ����� �� ����� 460�� �������. ���� ������, �������, ������
����ݣ�. �������������� ���������� �� ���ģ�� � LVM HOWTO.

��������� LVM � debian-installer ����� ������. ��-������, �� ��������� �������,
������� ����� �������������� ��� ���������� ���� ��� LVM. (��� ����������� �
������� partman � ���� ��������� ��������, ��� �� ������ ������� ������������
���: ->���������� ��� ��� LVM.) �����, ��������� ������ lvmcfg (����� ��
partman ��� �� �������� ���� debian-installer) � ���������� ���������� ���� �
������ ����� � ���� ��������� ������ ����� (VG). ����� �����, �� ������ �������
���������� ���� � ������� ������ ����� �� ���� ��������� ���������� ����� (LV).

����� ����������� �� lvmcfg � partman, �� ������ ������� ��� ���������
���������� ����, ��� ������� ������� (� ������������� ��� ���������).

6.3.2.3. ��������� ���������� Multidisk (����������� RAID)

���� � ��� ����� ������ ֣������ �����^[5] � ����������, �� �����
��������������� ���������� mdcfg ��� ���������� ������������������ ������ �/���
��������� ��ģ������ ������. � ���������� ���������� ��� ���������� ����������
Multidisk (��� ������, ����� ��������� ��������, ����������� RAID).

������ MD ���������� ������ ��������, ������������� �� ��������� ������ �
���������� ������ � ���������� ����������. ����� ��� ���������� �����
������������ ��� ������� ������ (�� ���� � partman �� ������ ���������������
���, ��������� ��� ����� ������������ � �.�.).

���������� ������������ ������� �� ���� ������������ MD ����������. � ������
������ ��������������:

RAID0

    ����������� ��� ����� ������������������. RAID0 ��������� ��� ��������
    ������ �� ������ � ������������ �� ���������� �� ������ � �������. ���
    ����� ��������� �������� �������� ������/������, �� ���� ���� �� ������
    ���������, �� ��������� �ӣ (����� ���������� �ӣ �ݣ �� ��������� ������
    (�), ������ ����� ��������� �� ����������� �����).

    ������, ������� RAID0 ���������� ��� �������������� �����.

RAID1

    ������������ ���, ��� ��ģ������ ������� �����. �� ������� �� ����������
    (������ ����) ���������� �� ������� ��������, � �� ������ ������� ���������
    ���������� ������. � ��������, ��� �������� ��� ����. ������: ���� ���� ��
    ������ ���������, �� �� ������� ������, ��� ��� ��� �������������� ��
    ���������� ������. ������: ��� �������� ������ ����� ���������� ��ߣ��
    (����� �����, ������ ������ ���������� ������� � RAID). ������: ��������
    ��� ������ ����� ��������������� �������������� �� ���� ������, ��� �����
    �������� ������������������, �������� ��������� �������, �� �������
    �������� ������ ������ ��� �������� ������.

    �����, �� ������ ����� � ������� �������� ����, ������� ��������� � ������
    � ������ ������������� ������ �� ������.

RAID5

    ������� ��������� ����� ���������, ��ģ������� � �������������. RAID5
    ��������� ��� �������� ������ �� ������ � ������������ �� ���������������
    �� ��� ����� ����� ������ ( ��� � RAID0). � ������� �� RAID0, RAID5
    ��������� ����������� �����, ������� ���������� �� ���������� ����. ���� �
    ����������� ������ �� �������� (����� ��� ��� �� RAID4), � ������������
    ����������, ��� ��� ����������� ����� �������������� �� ���� ������. �����
    ���� �� ������ ��������, ���������� ����� ���������� ����� ��������� ��
    ���������� ������ � ţ ����������� �����. RAID5 ������ ��������, ���
    ������� �� �ң� �������� ��������. �����, �� ������ ����� � �������
    �������� ����, ������� ��������� � ������ � ������ ������������� ������ ��
    ������.

    ��� ������, RAID5 ����� ������� ��ģ������ �� RAID1, �� ��������� ����� �
    ������� �������������. � ������ �������, �� ������� ��������� �� ���������
    ������ ��� RAID0 ��-�� ���������� ����������� �����.

����:

+-----------------------------------------------------------------------------+
|     | ������� |  ��������   | ���������� �� |                               |
| ��� |���������| ����������  |  ������ ���   |    ��������� ������������     |
|     |         |             | ������ �����? |                               |
|-----+---------+-------------+---------------+-------------------------------|
|     |         |             |               |������ ������ ����������       |
|RAID0|2        |���          |���            |������� ���������� �� �����    |
|     |         |             |               |��������� � RAID               |
|-----+---------+-------------+---------------+-------------------------------|
|RAID1|2        |�������������|��             |������ ������ ����������       |
|     |         |             |               |������� � RAID                 |
|-----+---------+-------------+---------------+-------------------------------|
|     |         |             |               |������ ������ ����������       |
|RAID5|3        |�������������|��             |������� ���������� �� (�����   |
|     |         |             |               |��������� � RAID ����� ����)   |
+-----------------------------------------------------------------------------+

���� �� ������ ������ ������ � ����������� RAID, �������� Software RAID HOWTO.

��� �������� MD ���������� ����� �������� �������� ������� ��� ������������ �
RAID. (��� �������� � partman �� ���� ��������� �������, ��� �� ������ �������
������������ ���:->������������ ������ ��� ���������� RAID.)

��������

��������� MD ך��������� ��������� ��������� ������������ �������. � ��� �����
���������� �������� � ���������� �������� RAID � � ��������� � ����������
���������� ������������, ���� �� ��������� ������������ MD � �������� ��������
�������� ������� (/). ������� ������������, ��������, ����� ������ ��������� ��
���� �������, �������� ��������� ��������� ��� ���� ��������� ������� ��
��������� ������.

�����, �� ������ ������� ��������� ������������ RAID �� �������� ���� partman.
�� ������ ������ mdcfg ������ �������� ������� MD ����������. ��� �����
��������� ������ �������������� ����� MD ���������, �� �������� �� ������
������� ���� (��������, RAID1). ���������� �������� ������� �� ���� ����������
MD.

  * RAID0 ����� ����� -- ��� ��������� ������ ��������� �������� RAID, � �����
    ������� ����� ����� ��������, �� ������� �� ������ ������������ MD.

  * � RAID1 ������� �������. ��-������, ��� �������� ������ ����� ��������
    ��������� � ����� �������� ���������, �� ������� ����� ������������� MD.
    �����, ��� ����������� ������� �� ������ ��������� �������� RAID ��,
    ������� ����� ��������� � �����, �� ������� ����� ���������. �����
    ��������� �������� ������ ���� ����� �����, ���ģ����� �����������
    ��������� �����. �� ����������. ���� �� ���£���� � �������� �������� �����
    ��������, debian-installer �� �������� ��� ����������, ���� �� �� ���������
    ������.

  * �������� RAID5 ���������� ��������� RAID1 �� ����������� ����, ��� ���
    ����� ������������ ��� ������� ��� �������� �������.

����� ���� ������� ��������� ����� MD ������������. ��������, ���� �� ������
��� 200�� ֣����� ����� ���������� ��� MD, ������ �� ������� ������ �� ���
100�� �������, ����� ���������� ������ ������� �ң� ������ � RAID0 (�������
300�� ������ ��� �������������� �����) � ������������ ���������� ��� ������� (2
�������� � 1 ��������) ��� RAID1 (������ ��ģ���� 100�� ������ ��� /home).

����� ��������� MD ��������� � ������������ � ������ ���������, �� ������
������� ��������� mdcfg � ��������� � partman, ����� ������� �������� �������
�� ����� MD ����������� � ��������� �� ������� �������� ���� �����
������������.

6.3.3. ��������� ������� �������

���� ��� ������ �������� �������������, ��� �������� ���������� ����� �������
���������, ������ ��� �����������, ����������� � ��������������� ��� �������
�������. ���� � ��� ��������� ��������� ��� ������� ����������, ��� �����
������ �����-�� �����.

6.3.3.1. ��������� ������� �������

�� ����� ��������� ������� �������, ���������� ���������� �������, � ���������
� ��������� �������������� �� tty3. �� ������ ������� �� ���� ��������, �����
����� Alt-F3; ����� ��������� ������� � �������� ������� ��������� �������
����� Alt-F1.

���� ��������� ����������� ����� ������� �� ���������������� �����, ��
��������� ����������/���������, ����������� ������� ���������� ����������� �
����� /var/log/messages.

���� Linux ����� ����������� ��� ���� �� �������. � ����������� �� ���������
��������� ��������� ������� ���� �������� ���������� ��� ������ ������������. �
������� � ������ �����������, ��� ��������� ������� ��� �� ������ ���������
����.

6.3.4. ��������� � ��������� ���������� ����������

���� �� �������������� ����������� ������� �������, ��������, ��� �������� �
���������� ����� �� �����, � ���� ��� ����� ����������.

���� ��������, ��� �������� ��������� ������������ ������ �� ����� ������ �ӣ
�ݣ ���������� ޣ���� �����. � ���� ��������� ���� �� �������� ������� �������
�ӣ ������������ ���������� ��������, ������� �������� �� ������ ������������ �
���� ���������������. ����� ��������� ���������� ����� ����� � ������������ ��
��������� ��������.

6.3.4.1. ����������� ������������ ������

����� ���������� ���������� ���������� ��������� ��������� ����������
���������� ������ ������������ �������, ������������� �� ������. ���� ���
��������� �������������� ������������ �������, �� ��� ����� �������� �� �����
��������� ���������� ����������, � ��������� ������ ��������� ��� ������������
������� � ���������� � Debian.

���� ��������, ��� �������� ��������� ������������ ������ �� ����� ������ �ӣ
�ݣ ���������� ޣ���� �����. �������������� ��������� ����������� � ���������
��������� ����������� �� �������� ��������� ������������ ������ ����������� ��
������ ������������ � ���� ���������������. ����� ��������� ���������� �����
����� � ������������ �� ��������� ��������.

���������

��������� ��������� ����� �� ���������� ������������ �������, ���� ������� ��
������� ��� �����������, ������������ �� ��������� �����������. ����� �����
���������, ���� � partman �� ������� ����� ������������ (�������� /win) ���
������� � ������ ������������ ��������, ��� ���� �� ������������ �������
������� �� �������.

6.3.4.2. ��������� ���������� ���������� Grub �� ֣����� ����

�������� ��������� ��������� ��� i386 ���������� ?grub?. Grub -- ������ �
�������� ��������� ��������� � �������� ������� ������� �� ��������� ���
�������� � ������� �������������.

�� ���������, grub ����� ���������� � ������� ����������� ������ (MBR), ���
����� ��������� �������������� ������� ��������. ���� ������, ������ ����������
��� � ������ �����. ������ ���������� �������� � ����������� �� grub.

���� �� �� ������ ������������� grub, ������� ������ �����, ����� ������� �
������� ����, � ��� �������� ��������� ���������, ������� �� ������
������������.

6.3.4.3. ��������� ���������� ���������� LILO �� ֣����� ����

������ ��������� ��������� ��� i386 ���������� ?LILO?. ��� ������ �������
��������� � ���������� �������, ������� ���������� ��������� DOS, Windows � OS/
2. ����������� ���������� ���������� �� �������� /usr/share/doc/lilo/, ���� ���
����� ��� �������; ����� ���������� LILO mini-HOWTO.

���������

� ������ ������ ��������� LILO ������ ������� ������ ���� ��� ������
������������ ������, ���� ��� ����� ���� ��������� �� �������. ��� ������, ���
�� ������� ������� �������� ������ ���� ��� ������������ ������, �������� GNU/
Linux � GNU/Hurd ����� ���������.

debian-installer ���������� ��� ����� ���� ����� ���������� ��������� ���������
LILO:

������� ����������� ������ (MBR)

    ������ LILO ����� ��������� �������������� ������� ��������.

������, ��������� ��� Debian

    �������� ��� �����, ���� ������ ������������ ������ �������� ��������. LILO
    ����� ���������� � ������ �������, ���������� ��� Debian � ����� ������
    ���� ���������� ���������� ����������.

������

    ������� ��� ������� �������������, ������� ����� ���������� LILO ����-��
    �ݣ. ��� �������� ������� �������� ����������. �� ������ ������������ �����
    � ����� devfs, �� ���� ��, ������� ���������� � /dev/ide, /dev/scsi � /dev/
    discs, � ����� ������������ �����, /dev/hda ��� /dev/sda.

���� �� �� ������ ��������� Windows 9x (��� DOS) ����� ����� ����, �� ��� �����
��������������� ����������� �������� � Windows 9x (MS-DOS) � ��������� �������
fdisk /mbr ��� ������������� ���� ������� ����������� ������ MS-DOS -- ������,
��� ��������, ��� ��� ���ģ��� ������ �����-�� ������ ������ ����� �������
������� � Debian! ����� �������� ������� � �����̚8.3, ?����������� DOS �
Windows?.

6.3.4.4. ����������� ��� ���������� ����������

��� ����� ����� ���� ������������ ��� ���������� ��������� ��� ���������
���������� ����������, ���� ��� ���� �����������/�������������� ��� ��
���������� ��� ������ ���, �� ��� �� ����� (��������, ����� ������������
������������ ��������� ���������).

���� �� ���������� ��������� ���������� ���������� �������, �� ������ ������
��� ����� ���������������� ����, ������� ����� � �������� /target/boot. �����,
��������� ������������� �������� initrd; ���� �� ����, �� �������� �����
������� ��� � ��������� ����������, ����� �� ����������� ���. �ݣ ���
����������� ����� ���� � ������, ������� ������ � �������� / �������� �������
�, ���� �� ������� ��������� � ��������� �������� /boot, �� ����� � ������
�������� ������� � /boot.

6.3.5. ���������� ������ ������

����� ������ ��������� � ������ ��� ������������� Debian, ����� �ݣ ���������
���� ��������. � ��������, ��� ������ �� debian-installer.

6.3.5.1. ���������� ��������� � ������������

��� ��������� ��� ������ ������ �������� ��������� Debian. ��� ��������� ������
����������� �������� (CD, �������, ������), ������� ������������� ��� ��������
��������� ���������. ��������� ��������� �������� ����������� ��������, � �����
������������ ������ � ����� ������� Debian.

6.3.6. ������

������������� � ���� ������� ���������� ������ �� ������������ � ��������
���������, �� ��� ������ ������ �� ������ ������������ � ������, ���� ���-��
���ģ� �� ���.

6.3.6.1. ���������� ��������� ���������

���� ��������� ������ �������, ����� ��������� ���������, ��������� �� �����
�������� ���������, ����� ������������� �������� � /var/log/debian-installer/ �
����� ������� Debian.

����� ��������� ����� ������� � ���������� ����������� �� �������� ����
��������� �������� ����� ��������� �� �������. ��� ����� ���� �������, ���� ��
���������� ������������ �������� ��� ��������� � ������ ������� �������� ��
������ ������� ��� ������� ��� ������ � ��ޣ��� �� ������.

6.3.6.2. ������������� ��������� ������ � �������� ���������� ������

� ���� ���� ����� ����� � ����� ��������� ������. ���� ���� ����������, � ���
����� ��������� ������, ������� ����� Alt-F2 (�� ����������� Mac, Option-F2)
����� ������� �� ������ ����������� �������. ���� ������ ������� Alt ����� ��
������� ������� � �������������� ������� F2 ������������. � ����� ���������
���� ���������� ���� �������������� ��������� ������ Bourne, ���������� ash.

� ������ ������, �� ����������� � RAM ����� � ������ ������������ ����� Unix
������. �� ������ �������� ����� ������� �������� � ������� ������� ls /bin /
sbin /usr/bin /usr/sbin ��� ������ help. ��������� �������� ���������� nano.
������������� ��������� ������ ����� ��������� �������� ��������,����� ���
�������������� � ������� ������.

��� ���������� ����� ������ ����������� ���� -- ������� ��������� ������ �����
������������ ������ � ������� ������, ���� ���-�� �ģ� �� ���. � ���������, ��
������ ������ ������������ ����, � �� ������������� ��������� ������ ���
����������� ������� ��������, ��� ��� ��������� ���� �� ������ ����������, ���
�� ��� ������� �� ��������� ������. ������� ����� Alt-F1, ����� ��������� �
����, ��� �������� exit, ���� ������������ ���� ��� ����� � ����� ���������
������.

6.3.6.3. ��������� �� ����

����� �� �������� ���������� ��������� �������� network-console. ��� ���������
��������� �������� ����� �������� ��������� ����� ���� �� ��������� SSH. �����
������������ ����, ��� ����� ��������� ������ ���� ��������� �� �������, ��
������� ���� ��������� ����. (���� �� ������ ���������������� � ��� ����� �
������� �����̚4.7, ?�������������� ���������?.)

�� ��������� ������ ���������� �� ����������� � ������� ���� ���������, �������
��� ����������� ���� ������� ���. ���� ��� ��������� ������������ CD, ��� �����
����������� �� ������� ����������� ��� ���-�� ����� �������� ������� ����
��������� � ������� �������� ����������� ��������� ��������� � �������-����� �
� ������ �������������� ��������� ������� network-console: Continue
installation remotely using SSH. ��� �������� �������� � ���� �������� �����
����� ����������� ��������� ����� SSH.

����� ����� ������ ������� ������, �������� ������ ����� ������ ��� �����������
� ��������������� �������. ��� �������� ����� ����� ������ ��� �ݣ ���.��� �ӣ.
������ �� ������ ������� ���������� �� ���̣����� ����������� � ��������
������������ installer � ������ ��� ���ģ���� �������. ����� ����� �����
������� ������������� (fingerprint) �������. ��� ����� �������� ����
������������� ���������� ������� ?��������, ������� ����� ���������� ���������
���̣���?.

���� �� ������ ���������� ��������� ��������, �� ������ ������ ������ �������
Enter � ��������� ������� � ���� ����� ������� ������ ����������.

������ ������� �����ģ� �� ������ ������� ����������. ����� ��� �����������
��������� �������� ��� ������ � ���������� UTF-8, ��������� ţ ����������
��������������� �������. ���� �� �� ������ ����� �������, ���̣���� ���������
�ӣ �ݣ ��������, �� � ���� ������ �� ������ ��������� �� ������ ��������
��������� ������ ������ ���� � ��-ascii ��������. ����� ���������� ���������� �
���̣���� �������� ������ ��������:

$ ssh -l installer install_host

��� install_host ��� ��� ��� IP ����� ���������� � ���������� ����������
���������. ����� ������������ � ������� ����� ������� ������������� ������
(fingerprint), ����� �� ������ ���������, ��� ��� ������ ��� ���������.

���������

���� �� ����������� ��������� �� ��������� ����������� ��������������� � ���
����������, ��� ��� ����� ���������� IP ����� ��� ���, �� ssh �� �����
������������ � ����� �������. ������� � ���, ��� ��� ����� ������
��������������, ��� ������ ��������� �� ������� �����. ���� �� �������, ��� ���
�� ���, �� ��� ����� ������� ��������������� ������ �� ~/.ssh/known_hosts �
����������� ������������ �ݣ ���.

����� ����������� �� ���̣���� ������� ��� ��������� ��� ��������:Start menu �
Start shell. ������ ������, �� ����ģ�� � ������� ���� ��������� ���������,
������ ����� ���������� ��������� ��� ������. �� ������ �������� �����������
�������� ��������� ������, �� ������� ����� ��������� � ��������, ���-��
��������� �� ���̣���� �������. ����������� ��������� ������ ���� ������ SSH
��� ������������� ���� � ��������� ��� �������� ��������� ������.

��������

����� ������� ��������� ����� SSH, �� �� ������ ������������ � ��������� �
�������, ��� ��� ��� ����� �������� � ����� ���� ������, ������� ��������
��������� ����� �������. ���, � ���� �������, ����� �������� � ����������
���������� ��������� ��� ��������� � ������������� ��������.

�����, ���� SSH ������ ����������� �� X ���������, �� �� ������ ��������
������� ����, ��� ��� ��� �����ģ� � ������� ����������.

6.3.6.4. ������ base-config �� debian-installer

����� ��������� ������� ������� �� ������ ������ ��������� ��������� (�����
������������� � ֣������ �����), �������� base-config � chroot �����. �
��������, ��� ������� ��� ������� ��������� ��������� � ����������� ����� ��
����� ��� ������.


--------------

^[5] ���� ������, �� ������ ������� MD ���������� ���� �� ������� ��������,
������������� �� ����� ���������� ֣����� �����, �� ��� �� ���� ������� ������.

����� 7. �������� ������ ��� ������������� ������� Debian

����������

7.1. ������ ������
7.2. ��������� ������� ������� Debian

    7.2.1. ��������� �������� �����
    7.2.2. ���������� ������������� � �������
    7.2.3. ��������� PPP
    7.2.4. ��������� APT
    7.2.5. ��������� �������
    7.2.6. ������� �� ����� ��������� ��������
    7.2.7. ��������� ��������� ��������� ����� (MTA)

7.3. ���� � �������

7.1. ������ ������

������ ��������������� �������� ������� ��������-��������� �������� ?smoke
test?.

���� �� ���������� ��������������� Debian � ������� �� ��������, �� ��������
����������� �������� � ���������� ���������, ��� ���������� ��������� �������,
���� ��� � ��� ���� � ������������� �������. ��������, ��� ���ģ��� �������
��������� ��������� ��������, �������� root=root, ��� root -- �������� ������,
�������� /dev/sda1.

7.2. ��������� ������� ������� Debian

����� �������� ��� ��������� ��������� ��������� ������� ������� � �����
������� �������������� ������, ������� ����� ����������. ���������, �������
�����ģ� ��� ����� ���� ������� ���������� base-config. � ��������� �����
������ �� debian-installer �� ������ ������. � ���������, base-config �������
�� ������������������ �����������, ������ ��������� ��������� ���� ������
���������, �������� ?�� ������ ����� ��������� ����? � ���������� �� �� �����
������� ���������.

base-config ����� ��������� � ����� ������ ����� ���������� ���������; ��
������������ root ��������� ������� base-config.

7.2.1. ��������� �������� �����

����� ������ ����������� ��� ����� ���������� ��������� ������� ����. ������
��������, ��� ���������� ���������� ���� �� ����� �������: ��������� ����� ���
�� �������� (GMT ��� UTC). �����, ������֣���� � �������, ����� ������ ���
������� ���������� �������. �������, ������� (����� Debian) �������� ��� Dos
��� Windows ������ ��������� ������������ ��������� �����. ���� ������
������������ ��������������, �������� ��������� ����� ������ GMT.

� ����������� �� �����, ���������� � ������ �������� ���������, ��� �����
������� ���� ���� ������� ����, ���� ������ ������� ������ ��������� � �����
�������������� �����. ���� ������� ���� ������� ����, �������� �� ���
������������� ��� ��� ��� ������ �� ������� ������ ������� ������. ���� �������
������, �������� ��� ������� ���� �� ������ ��� �������� ������ ��� ���������
������� ������.

7.2.2. ���������� ������������� � �������

7.2.2.1. ��������� ������ ����������������� (root)

�ޣ���� ������ root ����� ���������� ��������������������� -- ��� �������
������, ��� ������� ��� ������� ������� � ����� �������. �ޣ���� ������ root
������ �������������� ������ ��� ����������������� ������� � ��� ����� �������
�����.

����� ����������� ���� ������ ������ �������� ��� ������� �� 6 �������� �
��������� ��������� � �������� �����, � ����� ����� ����������. �������
�������� �������� ��� ��������� ������ root, ��������� ��� ����� ������ �ޣ����
������. ��������� ���� �� ������� ��� ������������� ����� ������������
����������, ������� ����� �������.

���� ���-�� ������� ���, ��� ��� ����� ��� ������ root, ������ ����� ���������.
������ ��� ������������� ������ ���� ������ root ����-����, ���� ������ �� ��
��������������� ������ ������ � ������� ���������� ����������������.

7.2.2.2. �������� �ޣ���� ������ �������� ������������

������� ������� ���, ������� �� �� ������ ������� �ޣ���� ������ ��� ��������
������������. ��� �ޣ���� ������ ������ �������������� � �������� �����
�������� ������� �ޣ���� ������. �� �� ������ ������������ �ޣ���� ������ root
� ������������ ������ ��� � �������� ������������ ������� ������.

������ �� ������? ���� �� ������, �� ������� ������� �������� �������������
���������� root ��� ��, ��� � �������� root ����� ����� ����� �������
����������� �����������. ������ �������: ��� ����� ������� ��������� ���������
��������� ���������� ���� -- ��� ���������, ������� �������������
�������������� ����� ������������ �����������������, ����� �����������������
�������. � ����� ������� ����� �� ���������� ����������������� Unix ��� ����
��������������� �������� -- �������� ���� �� ���, ���� ��� ��� ��� � �������.

������� ��� �������� ������ ������ ��� ������������. ����� ������� ���
���������������� �ޣ���� ������; � ����� ������, ���� ��� ��� ���-�� �������
������ �����ģ�. �, �������, ��� �������� ������ ������ �ޣ���� ������.

���� � ����� ������ ����� ��������� �� �������� ������� �ݣ ���� �ޣ����
������, �������������� �������� adduser.

7.2.3. ��������� PPP

���� �� ������ ����� ��������� �� ���� ��������� ����������� � ����, �� �����
��� �������, ������ �� �� ���������� ���������� ����� ������� ����� PPP
����������. PPP -- ��� ��������, ������������ ��� ������������ ���̣�����
���������� ����� �����. ���� �� ��������� ����� ������, �� ��������� ���������
������ ��������� �������������� ������ � ���������� ������������ �� �������� ��
��������� ������ ���������. ���� � ��� ��� ������ ��� ���� �� ������ ���������
����� ����� ���������, �� ������ ���������� ���� ���.

����� ��������� PPP ����������, ��� ����������� ��������� ���������� ��
���������� ����� �������� (ISP): ����� ��������, ��� ������������, ������ � IP
������ DNS �������� (�������������). ��������� ISP ������������ ��� ���������
���������� � Linux ��� ������-�� ������������. �� ������ ������������ ���
���������� ���� ���� ��� �� ��������� ������ � Debian, ��� ��� �����������
���������� ��������� (� ������������ �����������) ��������� ��� ����
������������� Linux.

���� �� ������ �������� ��������� PPP, ���������� ��������� pppconfig. ���
������� ��� ��������� PPP ����������. ����� ��� ������� ��� ���̣�����
����������, ������� ��� provider.

��������, ��������� pppconfig �����ģ� ��� ����� ��������� PPP ���������� ���
�������. ������, ���� ���-�� �� ���������, ���������� � �������� ����.

����� ��������� PPP, ��� ����� ����� ������ ��������� � �������������� ������ �
GNU/Linux. ��� ��������� ������ �� ������ ������������ ��������� more ��� zmore
��� ������ ������ � ����������� .gz. ��������, ��� ��������� README.debian.gz,
�������� zmore README.debian.gz. � ������� ������� ���� ��������, �������
���������� nano; �� ����� ������ ������������ � �� �� �������� ��������
���������� �������. ������ ����� ����� �� �������� ���������� ����� �����������
��������� � ��������� ���������, ����� ��� jed, nvi, less � emacs.

�������������� /etc/ppp/peers/provider � �������� /dev/modem �� /dev/ttyS#, ���
# �������� ����� ������ ����������������� �����. � Linux ���������������� �����
������������� � 0; ������ ���� � Linux (�.�., COM1) ��� /dev/ttyS0. �����
�������������� /etc/chatscripts/provider � �������� ���������� ����� ������
����������, ���� ��� ������������ � ������. ����������, �� �������� ?\q? �����
�������. ��� �� ���� ������ ������������ � ���������� �����.

������ ���������� ��� ����� ���������� PAP ��� CHAP ������ ������ ���������
��������������. ������ ���������� ��� ������. ���� ��� ��������� ���������� PAP
��� CHAP, ����� ��������� ������ ���������. ��������������� �ӣ ����� ������
������� (��� ��, ������� ���������� � ?ATDT?) � /etc/chatscripts/provider,
�������� /etc/ppp/peers/provider ��� ������� ���� � �������� user name, ���
name -- ���� ��� ������������ � ����������, � �������� �� ���������
������������. ����� �������������� /etc/ppp/pap-secrets ��� /etc/ppp/
chap-secrets � ������� ����� ��� ������.

����� ��� ���� ��������������� /etc/resolv.conf � �������� IP-������ ��������
�ͣ� (DNS) ������ ����������. ������ � /etc/resolv.conf ����� ���: nameserver
xxx.xxx.xxx.xxx, ��� x ����� �������� �� ����� IP-������. �����, �� ������
�������� �������� usepeerdns � ���� /etc/ppp/peers/provider, ��� ��������
�������������� ����� ���������� DNS-�������� �� ��������, ������� ������
�������� ���̣���� ����.

���� ��� ��������� �� ���������� ��������� �����, ������������ �� �����������
������ ISP, �� �ӣ ������! ��� ������������ PPP ���������� �������� pon ��
������������ root, � ���������� �� ��������� � ������� ������� plog. ���
���������� ����������� poff ����� �� �� root.

���� /usr/share/doc/ppp/README.Debian.gz �������� ����� ��������� ���������� ��
������������� PPP � Debian.

��� ����������� ���������� SLIP ��� ���� �������� ������� slattach (�� ������
net-tools) � /etc/init.d/network. ��� ������������� SLIP ��������� �����
gnudip.

7.2.3.1. ��������� PPP ����� Ethernet (PPPOE)

PPPOE -- ��� ��������, � ������� PPP ������������ � ��������� ��������������
�����������. � ������ ������, ��������� ��������� �� ������������ ���
���������. ������, �ӣ ����������� ����������� ����������� ��� �����������, �
������, �� ������ ��������� PPPOE ������� �� ���� ����� ���������,
�������������� �� VT2 � �������� pppoeconf.

7.2.4. ��������� APT

� ��������, ��� ��������� ������� � ������� ���� ���������� ��������� ���
��������� apt-get �� ������ apt.^[6] ����� ������������ ������ ���������
���������� ��������, �������� aptitude, synaptic � ���������� dselect: ���
������� �� apt-get. ��� ��������� ������������� ��� ��������, ��� ��� ���
���������� � ���� ��������� �������������� ������� (����� ������� � �����������
���������) � �������� ���������� ������������.

��� APT ������ ���� �������� �������� �� �������� ����� ������� ������. � ����
������� ������� ���������� ��������� apt-setup.

��������� ����� � �������� ��������� �������� �������� APT, ��� ����� �����
�������������� ������ Debian. �������, ��� �� ������ ��������� ��� ������� �
����� ������ ����� ��������� �������� apt-setup ��� ������� ������������� /etc/
apt/sources.list.

���� � ���� ������ � ��������� ���� ����������� �������-����, �� ���� ����
������ ����������� ������������� � �������� ��������� apt ��� ������ ��������.
�� �������� ��� ������ ��� ������� ��������� � CD-ROM.

��� ������������� ��� ������������ �������-����� ����� ��������� ������ �
������� ������ ������� � ������� Debian: FTP, HTTP, CD-ROM ��� ���������
�������� �������.

�� ������ �����, ��� ����������� ������������� ���������� ������ ����������
APT, ���� ��� ������ � ���� �� ������ Debian. apt-get ������������� �������
����� � ���������� ������� ������ ����� ���� ��������� ������. ���, ��������,
���� � ��� ���� � HTTP � CD-ROM ��������� APT, �� apt-get ����� �������������
������������ ��������� CD-ROM ����� ��� ��������, � ��������� � HTTP ������
���� ��� ���� ����� ����� ������. ������, ��������� �������� ��������� APT ��
����� ������� ����, ��������� ��� �������� ������� ������ ����� ����� ������
��-�� �������� ������� �������.

7.2.4.1. ��������� ������� ���������� �������

���� �� ���������� ���������� ���������� ����� ������� �� ����, ��������
�������������� ��������� �������� ����� http ���������. ftp �������� ����
��������, �� �����ģ� � ���� ����� ��������� ��������� ����������.

��������� ����� ��� ��������� ������� ���������� ������� �������� ��������
apt-setup � ����� ������ �� ��ף��. ��� ���������� � ������ ������������
�������-������� Debian � �������� �� ������ ����������. � ����������� ��
��������� ������, ��� ����� ��������� ������ ��������� ��������. ������,
������� �������� ����� ������ �� ������� � ������, ���� ����� �� ��� ������
��������. �������� �������� �� ��, ��� ������ ��������-������, ������������
���������� ���������, ������������ �� ����� ������� ���� ������ Debian, �
��������� �� ��������-������ ����� ��� �� ��������.

����� ������ �������-�������, ��� ������� ������ �� �� ������������ ������
������. ������ ������ -- ��� ������, ������� ����� ���������� ��� ���� HTTP �/
��� FTP ������� � �������� � �������� ����� ������������ ��� �������������� �
����������������� ������� � �������� �� ������������� �����. � ��������� �����
������ ������ ������� �����ۣ� ������ � ��������. �����, ��� �����
������������� ��� � ������. ����������� �������� ������������� �� �����
��������� ������ ������, ���� ��������� ���������� �������� �������������
������ ������� ��� ����� �������������.

����� ������ �������-������� ����� ����������� �������� ������� ��������
��������� �������. ���� �ӣ ���������, ��� ����� ���������� �������� ������
������� ��������. ���� � ��� �������� �����-�� �������� � ���������� �������,
���������� ������������� ������ ������-������� (�� ������ ��� ����� ������ ���
�� ����������� ������) ��� ���������� ������� �� ������ ������� ��������
�������.

7.2.5. ��������� �������

����� ��� ����� ���������� ��������� ����������̣���� ���������� ������������
�����������, ������������� Debian. �� ������ ������ ������� ��������� ���
��������� �� ������ ������ �� �����������. ��� ����� ������������� ���������
aptitude, ��������� ����. �� ��� ����� ������ ����� �������, ��� ��� � Debian
������ �������� 15250 �������!

�������, ������� �� ������ ������� ������, � ����� ���������� �������������
�����-�� ������̣���� ������. � �����, ��� ������� ��������������� �����-��
������ ��� ����, ������� �� ������ ���������� ������ ��������� ���������,
�������� ������������� ?����� �������� �����?, ������� � �������� ?��� �������?
��� ?������� ������? ^[7]. � ������� �����̚C.3, ?�������� ������������,
����������� ��� �����? �������� ����������� ��� ��������� ����� ������������.

����� ��������� ����� �������� Ok. ������ aptitude ���� ��������� ���������
�������.

���������

���� ���� �� �� ������� �� ����� ������, ����� ����������� ��� ������ ��
�����������, ������ ��� ��������� �����������, ������� �ݣ ��� � �������. ���
�� �� �����, ��� ������ � ��������� ������ tasksel -ris, � � ��������� ������
�������� �������� �������������� 37�� �������. ��� ����� �������� �����
��������������� ������� � ������� �������� ������� ����� ���������.

���� �� ������ �������� ��������������� ������ �� ������ �������, � tasksel
�������� ?����� ������� �������?. ���� �� ������� ���� ��� ����� ����� ������
�����, �� aptitude ����� ������� � ���������� --visual-preview. �� ���� ��
������� �����������^[8] ������ �������, ������� ����� �����������. ���� �� ��
������� �� ����� ������, �� ����� ������� ������� ����� aptitude. ����� ������
���� ������� �� ������ ������ ?g?, ����� ��������� ������� �������� � ���������
�������.

���������

���� �� ��������� ?����� ������� �������? � �� ������� �� ����� ������, �� ��
��������� �� ����� ����������� �� ������ ������. ���� ������� �����
������������ ��� ��������� ����������� �������, �� � ���� ������
��������������� �� ����� �������, ������� �� ��������������� ��� ����� �������
������� (����� �������������) ����� ��������� �� ���.

�� 15250 �������, ��������� � Debian, ������ ����� ����� ���������� � �������
�����. ����� ���������� ���������� �� ��������� �������, ����������� apt-cache
search ������ ������ (�������� man-�������� apt-cache(8)), ���� ���������
aptitude ��� ��� ������� ����.

7.2.5.1. ������������������� ����� ������� � ������� aptitude

Aptitude -- ��� ����� ��������� ���������� ��������. aptitude ��������� ���
�������� �������������� ������, ������ �������, ��������������� ��������
��������� (��� ������� �������������) ��� �� ������.

����� ������������ ��������� ������:

+----------------------------------------------------------+
|  �������  |                   ��������                   |
|-----------+----------------------------------------------|
|�����, ����|����������� ��������� ����� ��� ����.         |
|-----------+----------------------------------------------|
|Enter      |�������/����������/������������ �����.        |
|-----------+----------------------------------------------|
|+          |�������� ����� ��� ���������.                 |
|-----------+----------------------------------------------|
|-          |�������� ����� ��� ��������.                  |
|-----------+----------------------------------------------|
|d          |�������� ����������� ������.                  |
|-----------+----------------------------------------------|
|g          |��������� ��������/���������/�������� �������.|
|-----------+----------------------------------------------|
|q          |����� �� �������� ����.                       |
|-----------+----------------------------------------------|
|F10        |��������� ����.                               |
+----------------------------------------------------------+

��������� ������� �������� � ������� � ��������� ���������� �� ������� ?.

7.2.6. ������� �� ����� ��������� ��������

������ �����, ������� �� ������� ���������� tasksel ��� aptitude �����������,
��������������� � ����� ��������������� ����������� apt-get � dpkg. ����
�����-�� ��������� ����� ������ ���������� �� ������������, ��� �������� ţ ��
����� ����� ��������. ����� �� ������ ��������� �� ��������� ���������, �����
������� ��������� ������ (����, ��� �ӣ ����� ������� ��� ������ � �������,
������� ������ ��������� ������).

7.2.7. ��������� ��������� ��������� ����� (MTA)

������� ����������� ����� (email) -- ��� ����� ������ ����� ����� ������ �����,
� �� �����������, ��� ��������� �������� ������� � Debian ������������ ��� ����
�� ������ �������� ���������. ����������� ���������� �������� ����� � Debian
�������� exim4. ��� ������������ ���������, ������ � ̣���� � ��������
���������.

�� ������ ��������, ���������� �� ���, �������� ���� ��������� �� ������ޣ� �
����. ������� �����: ��. ����� ������� ��������: ��������� ��������� �������
(����� ��� cron, quota, aide, ...) ������ ���������� ��� ������ ��������� ��
����������� �����.

�� ������ ������ ��� ����� ���������� ��������� ����� �������� ���������.
�������� ���, ������� �������� ��� ������ �����:

��������-����

    ���� ������� ���������� � ����, ����� ������������ � ���������� �������� ��
    ��������� SMTP. �� ��������� ������� ��� ������� ��������� ��������
    ��������, ����� ��� �������� ��� ����� ������ ��� ������ �������, ���
    ������� �� ���������� ��� ��������� �����.

�������� ����� ����� ���������-���� (smarthost)

    �� ����� �������� ���� ��������� ����� �������������� �� ������ ������,
    ���������� ?smarthost?, ������� � ��������� ��� ������ �� ���. Smarthost
    ������ �ݣ � ������ �������� �����, ������������ ������ ����������, ��� ���
    ��� �� ���� ��������� ���������� � ����. ��� ����� ��������, ��� ��� �����
    ��������� ����� �� smarthost � ������� �������� ���� fetchmail. ����
    ������� �������� �������������, ������� ���������� �������� ����������� ��
    ���������� �����.

�������� ������ ��������� �����

    ���� ������� �� � ����, ����� ������������ � ����������� ������ �����
    ��������� ��������������. ���� ���� �� �� ���������� �������� ���������,
    ���� ������� ������������ �������������, ������ ��� ��������� ���������
    ������� ������ ���������� ��� �������������� (��������, �������: ?���������
    �������� �����?). ���� ������� �������� ����� �������������, ������ ���
    ����� �� �������� ������ ������� ��������.

� ������ ������ ������������ �����������

    �������� ���� �������, ���� �� ��������� ������� � ���, ��� �������. ���
    ������� ��� � ������������� �������� ��������; �� ��� ��� ���� �� ��
    ��������� ţ, �� �� ������� ���������� ��� �������� ����� � �� ������
    ���������� ��������� ������ ��������� �� ����� ��������� ������.

���� �� ���� �� ���� ��������� �� �������� ��� ����� ����� ������ ���������, ��
����� ���������� ��������� ��� ����� ��������������� ����� ������������ �
�������� /etc/exim4. �������������� ���������� ��� exim4 ����� ����� � /usr/
share/doc/exim4.

7.3. ���� � �������

����� ��������� ������� ��� ��������� ����� � �������. ��� ����� �����������
�������� ����� ������������ ����� � ������. ������� ������ � ������.

���� �� �������, �� ������� � ��������� ������������, ������� ��� ����������� �
�������. ���� ��������� ������ ������������, ������������ ������ ��� ��
������������. ��� ��������� ����, ������ ����� ������.

������������ �� ������������� ��������� ��������� � /usr/share/doc/ �
����������� � ������ ���� ���������. ��������, ����������� ������������ APT,
����������� ������������� apt ��� ��������� ������ ��������, ��������� � /usr/
share/doc/apt/guide.html/index.html.

�����, /usr/share/doc/ �������� ��������� ����������� ���������. Linux HOWTO
����������� � ������� .gz � ������� /usr/share/doc/HOWTO/en-txt/. �����
��������� dhelp ���������� ���� /usr/share/doc/HTML/index.html �� �������� ��
������������.

������� ������ ��������� ���� ����������: ������� cd /usr/share/doc/ � ��������
lynx, ������ � ����� (����� �������� ������� �������).

����� �� ������ ������� info ������� ��� man �������, ����� ����������
������������ �� ����������� ��������� ������ � ��������� ������. ������ help,
�� ������� ������ �� �������� �������������� ��������� ������. � ��� �����
����� �������, ������, --help ������ �������� �������� ������� �� �������������
���������. ���� ������ ���������� ���������� ������� ������ �� ������� ������,
�������� | more ����� �������, � ��� ������� ����� ��� ���������� ����� ������.
����� ������� ������ ���� ��������� ������, ������������ � ������̣�����
�������, ������� ������ � ������� ������� ��������� ��� ����.

����� ������ �������� � Debian � GNU/Linux, �������� � /usr/share/doc/
debian-guide/html/noframes/index.html.


--------------

^[6] �������, ��� ���������, ������� � ���������������� ������������� ������,
���������� dpkg. ������, ��� ����� �������������� �������. apt-get -- �������
����� �������� ������, ��� ��� �������� dpkg ��� ������������� � �����, ���
����� ���������� ������ ������, ������� ����� ��� ������ ������, ������� ��
������ ����������, � ����� �����, ��� ����� ���� �����: � CD, �� ���� ���
���-�� �ݣ.

^[7] �� ������ �����, ��� ��� �������������� ����� ������ base-config ������
�������� ��������� tasksel. ��� ������� ������ ������� ����������� ���������
aptitude. �����, �� ����� ��������� � ����� ����� ����� ���������, �����
���������� (��� �������) ��������� ������. ���� ��� ����� �����-�� ������̣����
�����, �� ����� ���������� ��������� ������ ��������� apt-get install �����,
��� ����� -- ��� ��� ���������� ������.

^[8] ����� �� ������ �������� ����� �� ���������. ���� �� ������ �������
�����-�� �����, � ���� �������� View->New Package View.

����� 8. ��������� ���� � ��� ������ ������

����������

8.1. ���� �� ������� � Unix
8.2. ��������������� �������������� � Debian

    8.2.1. ������� ���������� �������� Debian
    8.2.2. ���������� �������� ����������
    8.2.3. ���������� ��������� cron

8.3. ����������� DOS � Windows
8.4. ��� ��������
8.5. ������ ������ ����

    8.5.1. ���������� �������� ����

8.1. ���� �� ������� � Unix

���� �� ������� � Unix, ��, ��������, ��� ����� ������ ��������� ���� �
���-������ ��������. ����� �������� ���������� ����� ����� � ����������� ��
Debian. � ������ Unix FAQs ���������� ������ �� ��������� ���������� ���������
UseNet.

Linux -- ��� ���� �� ���������� Unix. Linux Documentation Project (LDP)
�������� ��������� HOWTO � ����������� �����, �����ݣ���� Linux. ����������� ��
���� ���������� ����� �������� ������ ��������� ����� doc-linux-html (HTML
������) ��� ����� doc-linux-text (ASCII ������), � ����� ������� � ������� /usr
/share/doc/HOWTO. �������� LDP HOWTO ����� �������� � ���� ������� Debian.

8.2. ��������������� �������������� � Debian

Debian ������ ���������� �� ������ �������������. ���� ���� �� ������� �
������� �������������� Linux, ���� ����, ������� �� ������ ����� � Debian,
����� ������������ ������� � ������� ���������. ��� ����� �������� ���������,
������� ������� ��� ���������������; ��� �� �������� ������������ ��
������������� Debian, ��� ����� ���� ������ ��������� ������� ��� �������
�����.

8.2.1. ������� ���������� �������� Debian

�������� ����� ����������� � ������� ���������� �������� Debian. � ��������,
������� ����� ������� ��������� ��� ��������� ������� ���������� ��������. ����
������:

  * /usr (����� /usr/local)

  * /var (�� ������ �������� ������� /var/local)

  * /bin

  * /sbin

  * /lib

��������, ���� �� ��������� /usr/bin/perl, �� ����� ��������, �� �����, ���� ��
�������� ����� perl, ����, ������� �� �������� ����� �����. �������� �����
������ ��� ��������� �� ������ ���� ?hold? � aptitude.

���� �� ������ ������� ��������� ������� -- apt. �� ������ ������������ ������
��� ��������� ������ apt-get ��� ������������� ��������� ������ aptitude.
�������, ��� apt ����� ��������� ���������� main, contrib � non-free, ��� ���
�� ������ ������������� ������� ���������� ����������� ������ ������ �
��������.

8.2.2. ���������� �������� ����������

���������������� ������ ���������� ����������� � ������� ���������
update-alternatives. ���� �� ��������� � ����������� �������� ������
����������, ���������� �������� ����������� � update-alternatives.

8.2.3. ���������� ��������� cron

����� ������ ����������� � ����������������� ������� ������ ���������� �
�������� /etc, ��� ��� ��� ����������� ���������������� �����. ���� � ��� ����
����������, ������������ ��� ������ ������� cron ��� �����������������,
��������� �� � ������� /etc/cron.{daily,weekly,monthly}. ��� ���������� �� /etc
/crontab � ����������� � ���������� �������.

� ������ �������, ���� �������: (�) ����� ��������� �� ������̣�����
������������ ��� (b) ����� ��������� � ������̣���� ����� ��� � ������̣����
��������, �� ������ ������������ ��� /etc/crontab, ���, ��� �����, /etc/cron.d/
���_�������. ��� ������ �����, ��� �������� �������������� ����, ���������� ���
������� ������������ �� �������� ����� ����������� ������� cron.

� ����� ������, ������ �������������� �����, � cron ��������� ��� ���������
�������������. �� ����� ��������� ����������� �������. ��������� ����������
�������� � cron(8), crontab(5) � /usr/share/doc/cron/README.Debian.

8.3. ����������� DOS � Windows

����� ��������� ������� ������� � ��������� ������� ����������� ������ (MBR),
�� ������� ��������� Linux, �� �������� ������ �����. ��� ������� �� ������
������ �� ����� ���������. ��� ����� ������, ��� �� ������ �������������� ����
������ �������, ��������, ����� ����� ����� ��������� �������� DOS ��� Windows.

LILO -- ��� �������� ��������, � ������� �������� �� ������ ����� ���������
������ ������������ ������� ����� Linux, ������� ����������� PC �����������.
�������� �������� ������������� ����� ���� /etc/lilo.conf. ����� ��������������
����� �����, �� ������ ��������� ��������� lilo. ��� ����� ��� ����, ����� ����
��������� �������� � ����.

������� ������� ����� lilo.conf �������� ������, ���������� �������� �����
image � other, � ����� ������, ������� ����� ���. ��� ������������ ��� ��������
�������, ������� ����� ���� ��������� � ������� LILO. ����� ������� ����� �����
���� (image), �������� ������, �������������� ��������� ���� � ��� �����, �
����� ������������ ��� �������� ������, �� Linux, (other) ������������ �������.
��� �������� ����� ����� ���� ������������ ��������� ���. ������� ���� ������ �
����� ������������ �����, ��� ��� �� ������������, ����� ������� �����
��������� ������������� �����, ��������, �������� (delay), ���� LILO ��
���������� �������� ������� shift.

����� ��������� Debian, ������ ������� ������� ��������� � �������� � �������
LILO. ���� ����� ��������� ������ ���� Linux, �� ������ ��������������� ����
������������ /etc/lilo.conf, ������� ��������� ������:

image=/boot/vmlinuz.new
  label=new
  append="mcd=0x320,11"
  read-only

��� ������� ��������� ���������� ������ ��� ������ ������. ���� �� ������
������ ������ �� ���� ���� ����������, ���������� � ������������ �� LILO. �
����� ����� � �������� /usr/share/doc/lilo/. ���� ���������� Manual.txt. �����
������ ����� � ��� �������� ������� ����� ���������� �������� ����������� ��
LILO lilo.conf, ��� ������� �������� ����� ����� ������������, � �� ��������
lilo ������� ��������� ����� ������������ � ����������� ������.

�������� ��������, ��� � Debian GNU/Linux ���� � ������ ��������� ����������,
����� ��� GRUB (� ������ grub), CHOS (� ������ chos), Extended-IPL (� ������
extipl), loadlin (� ������ loadlin) � ������.

8.4. ��� ��������

���� ��� ��������� ���������� �� ������̣���� ���������, �������, ����������
��������� man �������� ��������� ��� info �������� ���������.

�����, ���� ����� �������� ������������ � �������� /usr/share/doc. � ���������,
� ��������� /usr/share/doc/HOWTO � /usr/share/doc/FAQ ���������� ����
���������� ������������. ���������� �� ������� �������� � /usr/share/doc/debian
/bug*. ���������� �� ������ ������̣���� ��������� � Debian �������� � ����� /
usr/share/doc/(��� ������ )/README.Debian.

��� ���� Debian �������� �������� ���������� ������������ �� Debian. �
���������, ���������� Debian GNU/Linux FAQ � ���������� �� Debian. �������
������������ Debian ��������� �� ������������ ������������ Debian. �����
���������� � �������� � ���������� Debian ������������ �� ���� ��� �����
������� �������� Debian �������� �� ������ ��������. �����, �� ��������� �����
�������� ������ ������� �������� Debian, ���������� ������ ���������� � Debian.

����� ���������� � GNU/Linux ���� � ������� ������������ Linux. ����� ��
���ģ�� ������ HOWTO � ������ �� ������ ������������ ��������� ���������� ��
���������� ������� GNU/Linux.

8.5. ������ ������ ����

����� ������������ ����? ������ ����� ������ �� �����, ��� ��� ����,
��������������� �� ��������� � Debian, �������� ��� ������ ������������. �����
�����, � ������������ Debian ���� �ݣ ��������� ������ ����. �������, �������
���������, ����� ������ ����� � ����� ����� �������� ��� ������ ����������.
������, ������� ����������� ���� � ��������� �������:

  * ���� ����������� ����������� ������������ ��� ��������� ��������
    ����������� ����������� �� ����������� �����

  * ����� ������������� ��������, ������� ��� � ������������ ������� ����
    (��������, ��������� high memory)

  * ��� ����������� ����, ������ �������� �������� ��� ���������� �������
    ��������

  * �������� ����������� ����, ��� �������

  * ��� ��������� �����̣����� ��� ���������������� ����

  * ����� ������ ������ � ����� linux

8.5.1. ���������� �������� ����

�� ������� ������������ ����. ��� ������� � �������.

����� ������� ���� �� ���������� Debian, ��� ����������� ��������� ������:
fakeroot, kernel-package, kernel-source-2.6.8 (��������� ������ �� �����
���������) � ��������� ������, �������, ��������, ��� ����������� (� /usr/share
/doc/kernel-package/README.gz ���� ������ ������).

� ������� ����� ������ ��������� .deb ���� �� �������� ������� ����, � �����,
���� � ��� ������� ������������� ������, �������� .deb ���� �
������������������� �������������. ��� ��������� ������ ���������� ��������
����; � /boot ����� ����, System.map � ���������� ���������������� ���� ��
������.

�������, ��� ��� �� ����������� �������� ���� ?�� ���������� Debian?; �� ��
������ � ������, ��� ��������� ������ � ������� ������� ���������� �������� ��
����� ���� ���������� � �����. ����������, �� ������ �������� �������� ������
���� ����� � ������, � �� � ���� kernel-source-2.6.8, , � ����� ������� ���� �
������� kernel-package.

�������, ��� ������ ������������ �� ������������� kernel-package ����� ����� �
/usr/share/doc/kernel-package. ���� ������ �������� ���� ������� �����������.

����� �� ������������, ��� �� ������ ������ �� ����� ������ ��� ������ � ������
����������� �������� ������ ���� � �������� �������^[9]. ����� �� ������������,
��� � ��� ���� ������ 2.6.8. ���������, ��� �� ���������� � �������� ����
������ ����������� �������� ������ ����, ���������� �� � ������� ������� tar
xjf /usr/src/kernel-source-2.6.8.tar.bz2 � ��������� � ������ ��� �����������
������� kernel-source-2.6.8 .

������ �� ������ ��������� ������������ ����. ���� �����������, ��������� �
�������� X11, �� ��������� make xconfig, ����� make menuconfig (��� �����������
���������� ����� libncurses5-dev). ����������� ���������� �������������
������������ � ����������� �������� ������ ���������. ���� ���-�� ���
���������, ������ ����� �������� ������� ���������� (����������� �����������,
������� ��������� ������������� �������������, �������� ������� Ethernet, SCSI
������������� � ��� �����). ������ ���������: ��� ������ ����������, ��
����������� � ������̣����� ����������� �����������, ����� �������� �������� ��
���������, ���� �� �� ���������, ��� ��� ������. �� �������� ������� ?Kernel
module loader? � ?Loadable module support? (�� ����ޣ� �� ���������). ���� ���
�� ��������, ��������� �������� � ���������� Debian.

�������� ������ �������� ������� � �������� ��������� kernel-package. ��� �����
��������� make-kpkg clean.

������ �������� ����: fakeroot make-kpkg --revision=custom.1.0 kernel_image.
����� ������ ?1.0? ����� ��������; ���� ����� ������ ����� ������ ���
������������ ����� ������. ����� ����, �� ������ �������� ����� ����� ������
?custom? (�������� ��� ������). ������ ���� ����� ������ ��������� ����� �
����������� �� �������� ������.

���� ��������� ��������� PCMCIA, ��� ����� ���������� ����� pcmcia-source.
���������� ������ tar ���� � ������� ����������������� � ������� /usr/src (���
�����, ��� ��� ������ ������ ���������� ��� ��� �� ����� ������, �� ���� � /usr
/src/modules). �����, � ������� �����������������, ��������� make-kpkg
modules_image.

����� ���������� ������ �� ������ ���������� ��������� ���� ��� ������� �����.
�� ����������������� ��������� dpkg -i ../
kernel-image-2.6.8-subarchitecture_custom.1.0_i386.deb. ����� subarchitecture
-- ��� �������������� ��������������, �������� ?i586?, ��������� ��
������������� ���������� ����. dpkg -i kernel-image... ��������� ���� ������ �
���������� ��������� ������� ���������. ��������, ����� ��������� ����������
System.map (������� ��� ������� ������� � �����), � ����� /boot/config-2.6.8,
���������� ��������� ������ ����. ��� ����� ����� kernel-image-2.6.8 ����������
�ͣ�, ����� ������������� ������������ ��������� ��������� ��������� ���
���������� ��������, ��� ��������� �� ������ ���������� ���������� ����������
���������� �������. ���� �� ������� ����� � ��������, ��������, ���� � ��� ����
PCMCIA, �� ��� ����� ���������� � ���� �����.

������� ����� ������������� �������: ����������� ���������� ��� ��������������,
������� ����� ���������, ����� �������� shutdown -r now.

������ ���������� � kernel-package ����� � �������� /usr/share/doc/
kernel-package.


--------------

^[9] ���� ��������� ���� ���� ����� ������������� �������� ������ � �������
��ϣ ����, �� ��� ����� ̣���� ������, ��� ������������� ������� �����������
����.

���������� A. ������� ���������� �� ���������

����������

A.1. ��������������� ��������
A.2. �������� ��������� ���������

    A.2.1. �������� � CDROM
    A.2.2. �������� � ������
    A.2.3. �������� � ����� ������ USB
    A.2.4. �������� �� ����
    A.2.5. �������� � ֣������ �����

A.3. ���������
A.4. ��������� ��� ��ޣ� �� ���������
A.5. � ����������...

������ �������� ��������� ��������� Debian GNU/Linux sarge �� Intel x86
(?i386?) � ������� ������ debian-installer. ��� ������� �������� ��������
���������, � � ���������� ��� ����������, ����������� ��� �����������
���������. � ��� ������, ��� ������� ��������� ����� �������� ��������, �����
��������� ������ �� ��������������� ����� ����������� �� ��������� Debian GNU/
Linux.

A.1. ��������������� ��������

���� �� ���������� ������ �� ����� ���������, ��������� � �����̚5.3.6,
?�������� ��ޣ��� �� ������� ���������?. ���� � ��� ���� �������, �� �������
��� ������ � ���� ���������, ����� ��������� �� � ������ �������� debian-boot
(debian-boot@lists.debian.org) ��� � IRC-������ (#debian-boot � ���� freenode).

A.2. �������� ��������� ���������

CD-������ � debian-installer, �������������� �������� debian-cd ����� ����� ��
�������� Debian CD. ����� �������� �� ���� �������� � �����̚4.1, ?�����������
����� �������-������ Debian GNU/Linux?.

��� ��������� ������� ��������� ��������� �������������� ������ ������
CD-������. � �����̚4.2.1, ?��� ������ ������������ ������? �������, ��� ��
����� �� ���������� �������� Debian.

� ��������� ����������� �������, ����� ������ ��������� ��� ������� �����������
���� ���������.

A.2.1. �������� � CDROM

���������� ��� ��������� CD-netinst-������ ��� ��������� sarge � �������
debian-installer. ��� ������ ������������� ��� �������� � CD � ���������
�������������� ������� �� ����, ������ � �������� 'netinst'. ������� ����� ����
� ���, ��� ������ netinst-����� �������� ������� ������, � � business card ��
���ģ��� ��������� ����� ����. ��� ������� ����� ��������������� ������
CD-�������, ������� �� ������� ������� ���� ��� ���������. ��� ����� ����������
������� ����� �� ������.

��������� ����� ������������� ��� ��� ������ � �������� ��� �� CD. �����
����������� � CD, ��� ����� ������������ �������� ������������ BIOS.
�����̚3.6.1, ?����� ���� ��������� BIOS? ���������, ��� ��� �������.

A.2.2. �������� � ������

���� �� �� ������ ����������� � CD, �� ����� ��������� ������ ������ ���
��������� Debian . ��� ����������� ����� floppy/boot.img � floppy/root.img, �
�����, ��������, ���� �� ������ � ����������.

����� ����������� ������� ��������� � ����� boot.img. ��� �������� � �ţ
�������� ������� �������� ������ ������� -- �������� ��, �� ������� �������
root.img.

��� ��������� �� ���� ������ ����� ���� floppy/net-drivers.img, �������
�������� �������������� �������� ������ Ethernet-���� � ��������� PCMCIA.

��� ������� CD, � �������� �� ���������� �����������, ����������� � ������ �
�������������� ������ � ���������� floppy/cd-drivers.img ��� ������������� CD
��� ���������.

������� -- ���� �� ����� ����ģ���� ���������, ������� �� ����������� ������
�������� (�������� �����̚5.3.1, ?��ģ������ ������?). ������ �����������
����.img ����� ������ ����� �������; ����� ��������������� �������� dd ���
������ ��� �� /dev/fd0 ��� �� �������� ���������� (��������� ��������
�����̚4.3, ?�������� ������ �� ������� ������?). ��� ��� ��� ����������� �����
����� �������, �� ���� �� ������� �� ��������.

A.2.3. �������� � ����� ������ USB

��������� �� �ߣ���� USB ��������� �������� ����� ��������. ��������, ��
USB-������ ����� ������� ������� �������� ��������� Debian, ������� ����� �����
� ����� ���� ������.

����� ̣���� ���� ���������� ����� ������ USB -- ��� ��������� hd-media/
boot.img.gz, � ������������ gunzip ��� ���������� ������ �������� � 128 �� ��
����� �����. �������� ���� ����� ����� �� ����� ������, ������� ������ ����, ��
������� ����, 128 ��. �����������, ��� �������� ��������� ��� ��������� �� ���
������. ����� ����������� ����� ������, ������� ������ �������� ��������
������� FAT . �����, ��������� ����� Debian netinst CD � ���������� ��� ��
����� ������; ���� ����� ���������� ��� ������, ������� ����� ��� �������������
�� .iso.

���������� ������, ����� ������ ���� ���������� ���� ������ ��� ������������� �
debian-installer, ����� �������� ������������ ����� ������ �������� ��ߣ��.
��������� �������� �����̚4.4, ?���������� ������ ��� �������� � ����� ������
USB?.

��������� BIOS ������������ �������� ��������������� � USB, � ��������� ���.
��� ����� ������������� ��������� BIOS �� �������� � removable drive ��� ���� �
USB-ZIP, ����� ������ ����������� � USB ����������. ���� ��������� ������ ��
����������, �� �� ������ ����������� � ����� �������, � ��� ����������
��������� ������������ ����� ������ USB. �������� ��������� � ���������
�������� �������� � �����̚5.1.3, ?�������� � ����� ������ USB?.

A.2.4. �������� �� ����

debian-installer ����� ��������� ��������� �� ����. ������ �������� �� ����
(netboot) ������� �� ����������� � ��������� ������� ��������. ����� ���
�������� debian-installer �� ���� ����� � �������� netboot/.

��������, ����� ����� ����� ��������� ������� �������� � ������� PXE.
���������� ���� netboot/pxeboot.tar.gz � /var/lib/tftpboot ��� �
��������������� ������� ������ tftp �������. ��������� DHCP ������ ��� ��������
����� ����� /pxelinux.0 �������� � �ӣ ������ ����������. ��������� ����������
�������� � �����̚4.6, ?���������� ������ ��� �������� �� TFTP?.

A.2.5. �������� � ֣������ �����

�������� �������� ��������� ��������� �� �� �������� ��������, � ������ �
���������� ֣������ �����, ������� ����� ��������� ��������� ������������
�������. ��������� ����� hd-media/initrd.gz, hd-media/vmlinuz � ����� Debian CD
� �������� ������� ֣������ �����. ���������, ��� ����� CD ����� ��� �����
�������������� �� .iso. ������ ������ ��������� linux � ������� initrd.
�����̚5.1.2, ?�������� �� Linux � ������� LILO ��� GRUB? ���������� ����
�������, ��� ��� �������.

A.3. ���������

����� ������� ��������� ��������� ������� �����������. ������� Enter ���
��������, ��� ���������� ���������� ��� ������ ������ �������� � ���������
(�������� �����̚5.2, ?��������� ��������?). ���� �� ������ ������������ ����
2.6, �������� linux26 � ������ ����������� boot:. ^[10]

����� ��������� ����� ��� �������� ������� ����. ����������� ������� ����������
�������� ��� ������ ����� � ������� Enter, ����� ����������. ����� ��� ��������
������� ������ �� ������ �����, ��� ������� �� ���� �����. ���� ţ ��� �
�������� ������, �� �������� ������ ����� ����� ����.

��� ����� ��������� ������� ��������� ����������. �������� ������������ ��
���������, ���� �� ������ ����� �����.

������ ����� ���������, ���� debian-installer ���������� ����������� ����������
����������� ����� ������, � ��������� ���������� ����� ������ ���� � CD,
�������, USB � �.�.

����� ��������� ��������� ���������� ���������� ������� ���������� �����������
� ��������� ���� � ������� DHCP. ���� � ��� ��� ���� ��� �� �� ������ DHCP, ��
��� ����� ���������� ��������� ���� �������.

������ ������ ����� �������� ������. ������� ��� ��������� ��������������
�������� ����� ����� ��� ������ ���������� ������������. ���� �����
������������� ��� �������� ��� ������� �����, �� ���� �� �� ������
������������, �������� ������ ����� �� ����.

���� � ��� ���� ������� DOS ��� Windows, ������� �� ������ ���������, �� ������
��������� � �������������� ���������. ���� �� �������� �������� �������, ��
������� ������������ ��������� ��������� ��� ��������� �������� ������������
�������� FAT ��� NTFS, ����� ������� ����� ��� ��������� Debian; ������
�������� ������ ������ � ������� ��� ����� ������.

�� ��������� ������ �� ������� ������� ������� ��������, ������ �������� � ����
��� ����� �������������. �������� ������ ��� ��������� ��� ��������. ���� ��
������� �������������� ��������, �� ��� �������� ������ ����� ���� ���������
��������, ����� �� ������� �� ����������� ���������. �� �������� ��������� ��
������� ���� ���� ������ ��� �������� � ������������ ���� ������ � ��������
��������� ������� /. � ���������ŚB, �������� ������ � Debian ���������� �����
�������� � ��������� ��������.

����� debian-installer ������������� ������� � ���� ��������� �������
�������, ��� ����� ������ ��������� �����. ����� ��������������� ����.

�� ��������� ���� ��������������� ��������� ���������. ���� ��������� ���������
��������� ������ ������������ ������� �� ����������, �� ������� ţ � ����
�������� � ������ ��� �� ����. �� ��������� GRUB ��������������� � �������
����������� ������ ������� ֣������ �����, ��� ������ � �����. ��� �����
������������� ����������� ��������� � ��������� ��� � ������ �����.

����� debian-installer ������, ��� ��������� ���������. �������� �������-����
��� ������ �������� � ���������� ��������� � ������� Enter ��� ������������
������. ����� ����� ������ �������� ��������� ���� �������� ���������, �������
������ � ������7, �������� ������ ��� ������������� ������� Debian.

���� ��� ��������� �������������� ���������� �� �������� ���������, ����������
������6, ������������� ��������� ��������� Debian.

A.4. ��������� ��� ��ޣ� �� ���������

���� �� ������� ���������� � ���������� � ������� debian-installer, ����������,
������� ����� � ��������� ��� ��ޣ�. � ������ ��� ������������� ������� �
�������� /root ����� ���� ������� install-report.template. ��������� ��� �
��������� ��� ��������� �� ������ � ������ installation-reports (��������
�����̚5.3.6, ?�������� ��ޣ��� �� ������� ���������?.

���� �� �� ��������� �� base-config ��� ���������� � ������ ���������, ��
�������� ���������� ������ � debian-installer. ��� ��������� ���������
��������� ����������, ����� �� ������ �� ����, �������, ���������� ���������
�����, ����� �������� �� ������. �� ������ ������������ ��ޣ� �� ���������,
����� �������� � ��������; ���� ��������� ��������� �����������, ��������
�����̚5.3.5, ?��ޣ� �� �������?.

A.5. � ����������...

�� ��������, ��� ��������� Debian ���� �������� � ��� �� ���ģ�� Debian
��������. ��������, ��� ���������� ���������� �� ������8, ��������� ���� � ���
������ ������.


--------------

^[10] ���� 2.6 �������� � ����������� ������� ��������, ����� �������� �
������.

���������� B. �������� ������ � Debian

����������

B.1. �������� ������� Debian � �� �������
B.2. ��������� ���������
B.3. ������������� ����� ��������
B.4. ����� ��������� � Linux
B.5. ��������� �������� � Debian

    B.5.1. �������� ��� Intel x86

B.1. �������� ������� Debian � �� �������

��� �������, ��� GNU/Linux ��������� ���� ������. �� ������ ����� ������������
������, ���������� ��� ������������ �������, ���������� � ���� ������ �����.
����������� ����� �������, ��� ����� ��������� ������ ��������, ���� ��� ��
������ �����. ?������ �������� (swap)? -- ��� ������� ������������ ���
������������ �������, ������� ��������� ������������ �������� ������������ �
�������� ?����������� ������?. Linux �������� � ����������� ������� �����
����������, ���� ��� ����������� � ��������� �������. Linux ����� ������������
��� �������� ������� ����, �� ��� �� �������������.

������ ����������� ����� �������� ��� GNU/Linux ������ ������ �������. ���� ���
�������, �� ������� �������� �� �������� ��������� �������� ������� ��
��������� ��������� ��������. ������ -- ��� ������������. ���� ���-��
���������� � �������� �������, ���������� ������ ���� ������. �� ����, ���
����� ����� ������������ (�� ��������� �����, ������� �� ��������� �������)
������ ����� �������. ��� �������, ��� ����� ������� ��� ���������� ?��������
������?. �� �������� �������� ������ ���������� �������. ���� ����� ������
������ ����� ������ģ�, �� �ӣ ����� ������� ����������� � GNU/Linux �����
�������� �������. ��� ����� ������ ��� �� ���������� ������ �������������
�������.

������ ������� ������ ����� ����� ��� �������, �� �� ����� ���� ��� ������� ��
����, � ����� �������� ������������ ������. ��������, �������� ������, �������
����, ����� ����� ����������� ������ ��������. ���� �� �������� ��� /var/mail
��������� ������ �� �������� �������, ����������� ������ ����� ����������
�������� ���� ���� ��� ��������.

������������ ��������� ������������ �� ������������� ���������� ��������
�������� ��, ��� ����� ������ ����������� ������, ������� ��� ��� �����
�������. ���� �� �������� ������ ������� ���������, �� ��� ���ģ��� ���
����������������� ��� ������� ��� ��������� ���������� ����� ��-�� ��������
����� �� �������. � ������ �������, ���� ������� ������ ������� �������, �� ���
����� ����� �������, � ��� ����� ����������� ���-������ �ݣ. � ���� ���
�������� ������������ ģ����, �� ����� ����������� ������ �� �����?

B.2. ��������� ���������

Debian GNU/Linux �������������� ��������� Filesystem Hierarchy Standard ���
��������� � �ͣ� ������. ���� �������� ��������� ������������� � ������������
����������� ���� ��������� � ������������ ������ � ���������. ������� ���������
�������� �������������� ������ ����� ������ /. �� �������� ������, ��� �������
Debian �������� ��������� ��������:

+-------------------------------------------------------------------------+
|�������|                            ��������                             |
|-------+-----------------------------------------------------------------|
|bin    |����������� ����������� �����                                    |
|-------+-----------------------------------------------------------------|
|boot   |��������� ����� ���������� ����������                            |
|-------+-----------------------------------------------------------------|
|dev    |����� ���������                                                  |
|-------+-----------------------------------------------------------------|
|etc    |��������� ������� ������ ������                                  |
|-------+-----------------------------------------------------------------|
|home   |�������� �������� �������������                                  |
|-------+-----------------------------------------------------------------|
|lib    |����������� ���������� ������ ����������� � ������ ����          |
|-------+-----------------------------------------------------------------|
|media  |�������� ����� ������������ ��� �ߣ���� ���������                |
|-------+-----------------------------------------------------------------|
|mnt    |����� ������������ ��� �������� ����������� �������� �������     |
|-------+-----------------------------------------------------------------|
|proc   |����������� ������� ��� ��������� ���������� (��� ���� 2.4 � 2.6)|
|-------+-----------------------------------------------------------------|
|root   |�������� ������� �����������������                               |
|-------+-----------------------------------------------------------------|
|sbin   |����������� ��������� ����������� �����                          |
|-------+-----------------------------------------------------------------|
|sys    |����������� ������� ��� ��������� ���������� (��� ���� 2.6)      |
|-------+-----------------------------------------------------------------|
|tmp    |��������� �����                                                  |
|-------+-----------------------------------------------------------------|
|usr    |��������� ��������                                               |
|-------+-----------------------------------------------------------------|
|var    |���������� ������                                                |
|-------+-----------------------------------------------------------------|
|opt    |�������������� ����������� �����������                           |
+-------------------------------------------------------------------------+

����� ������� ������ ������ ������������� ������������ ��������� � ��������.
��������, ��� �������� ������������ ����� �������������� ���������� ��-�������,
� ����������� �� �������� ������� � ��������� �������� �����. ���������� �����
������������ �������� ���� ��������� ������ � ������� ������ ��������.

  * �������� ������ / ������ ������ ��������� ��������� /etc, /bin, /sbin, /lib
    � /dev, ����� ���������� �������� �������. ������, ��� ��������� �������
    ��������� 150-250 ��, �� ���� ������ ����� ���� � ������.

  * � /usr ��������: ��� ���������������� ��������� (/usr/bin) , ���������� (/
    usr/lib), ������������ (/usr/share/doc) � ��� �����. ���� ����� ��������
    ������� ��������� ����� �����. �� ������ �������� ��� ������� 500 ��
    ��������� ������������. ���� ��ߣ� ������ ���� �������� � ����������� ��
    ����� � ���� �������, ����������� � ���������. ��� ������� ������� ������
    ���������� � �������� ����� ����� ������� �� 4-6 ��.

  * ������� /var �������� ��� ������������ ������ ���� ��������� ������,
    ����������� �����, ��� ������, ���� ������� ���������� �������� � �.�.
    ������ �������� ������� ������� �� ������� ������������� ����������, �� ���
    ����������� ����� �� ������������ ������� � �������� ���������� ��������.
    ���� �� ����������� ���������� �ӣ, ��� ���������� Debian, ��� ޣ� �����,
    �� 2 ��� 3 ��������� ��� /var ������ �������. ���� �� �����������
    ����������� ��������� �� ������ (�� ����, ���������� ������� � �������,
    ����� ��������� ��� ������ � �������, ����� X, ...), �� ����� ��������� �
    300-500 ��������. ���� ������������ ֣������ ����� ������ � �� ��
    ���������� ������ ���������� ���������� �������, �� ��� ����� ���������� 30
    ��� 40 ��������.

  * ������� /tmp �������� ��������� ������ ����������� ����������� �����������.
    ������ ���������� 40-100 ��. ��������� ���������� -- ���������� ���������
    ������������, ������� ������ � CD/DVD � ��������������� ������� -- �����
    ������������ /tmp ��� ���������� �������� ������. ���� �� ����������
    ������������ ������ ����������, �� ������ �������� ������������ ��� /tmp
    �������� ����� ������������.

  * � �������� /home ������ ������������ ����� ��������� ������ � ��ϣ�
    ����������� ����� ��������. ��� ������ ������� �� ���������� �������������
    � ������� � ����� ����� ��� ����� ������� � ����� ���������. � �����������
    �� ������������ ������������� �� ������ ��������������� ����� 100 �� ���
    ������� ������������, �� ������ �������� ��� �������� �������� �����
    �����������. �������� ������ �����, ���� ���������� ������� ��������������
    ����� (MP3, ������) � ��ϣ� �������� ��������.

B.3. ������������� ����� ��������

��� ��������, ��������������� Debian ������ ��� ���� �� �������� ������,
�������� ������������� ������� ��� / (���� ������ ��������) ��������, �����
̣���� � ������� ����. ������, ���� ��� ������ ����� 6 ��, � �������� ����
������� �������� ext3. ������� Ext2 ������� ������������� �������� �����������
�������� �������, � ��� �� ������� �������� ����� ������� ����� ��� ��������.

��� ��������������������� ������ ��� ������ � ������� �������� �������������
����� ����� ������� ��� /usr, /var, /tmp � /home ����������� �������, ���������
�� /.

��� ����� ������������� ��������� ������ /usr/local, ���� �� ����������
��������� ������ ��������, ������� �� �������� ������ ������������ Debian. ����
���� ������ ����� �������� ��������, ��� ����� ������������� ������� ���������
/var/mail ������. �����, ������� �������� /tmp � ��������� ������ �������� ��
20 �� 50 ��. ���� �� ������������ ������ ������������� ������� ����������
�������������, ������, ������ ����� ��������� ������� /home ������. � �����,
�������� � ��������� ������� �� ����, ������� ������ ��������.

��� ����� ������� ������ �� ������ ��������� Multi Disk HOWTO. � � ����������
��������� ����������, ������� ����� �������� ��������� ����������� �������� �
�����, ������������� �������.

�� ������ ������� ������� �������� ���������� ����� ����� ������. ��������
������������ ������ ������, ������ �������� ������ ��������� � ��������
����������� ������. �����, � ����������� ������� �� ������ ���� �� ����� 16 ��.
�����������, ���� ���������� �� ������. ���� �� ��������� ������������ ������
10000 ��������� �� ������ � 256 �� ������, �� ��� ����� �������������
����������� (��� �����) ������ ��������.

�� 32-������ ������������ (i386, m68k, 32-bit SPARC � PowerPC) ������������
����� ������� �������� ����� 2 ��. ����� ������ ������� ����� ��� ������
�������� ���������. ������, ���� ���� ���������� � ������� �������� ���������
������ �����, �� ��������, ����� ���������� ���������� ������������ �������� ��
���������� ������ (��� ���������� ?���������?) �, ���� ��������, �� ������ SCSI
��� IDE ������. ���� ����� ������������� �������� ����� ���������� ���������
��������, ����� ������� ������������������.

������: ������ �������� ������ ����� 32 �� ����������� ������ � 1.7 �� ֣�����
���� IDE /dev/hda. ����� ����� ������� 500 �� ������ ��� ������ ������������
������� /dev/hda1, 32 �� ������ ��������/dev/hda3 � ����� 1.2 �� ������ Linux /
dev/hda2.

��� ��, ��� ����� ������������ �������� ������������ ����� ���������� ��
�������, ������� �� �������� ���������� ����� ��������� �������; ��������
�����̚C.3, ?�������� ������������, ����������� ��� �����?.

B.4. ����� ��������� � Linux

����� ������ � �������� � Linux ����� ���������� �� �ͣ� � ������ ������������
��������. ��� ���� ����� ��������� � ����������� ������� ��� ����� ����� �����
����� ������������ � Linux. ��� ������ ����� ����������:

  * ������ �������� ������ ������ ���������� /dev/fd0.

  * ������ �������� ������ ������ ���������� /dev/fd1.

  * ������ SCSI ���� (���������� �� SCSI ID) ���������� /dev/sda.

  * ������ SCSI ���� (���������� �� SCSI ID) ���������� /dev/sdb � ��� �����.

  * ������ SCSI CD-ROM ���������� /dev/scd0, ����� ����� ������������ /dev/sr0.

  * ������ ���� ���������� IDE ����������� ���������� /dev/hda.

  * ��������� ���� ���������� IDE ����������� ���������� /dev/hdb.

  * ������ � ��������� ����� ���������� ����������� ���������� /dev/hdc � /
    dev/hdd ��������������. ����� IDE ����������� ����� �� ����� ���� ����� ���
    ������, ���������� �������� ��� ��� ����������� �����������.

  * ������ XT ���� ���������� /dev/xda.

  * ������ XT ���� ���������� /dev/xdb.

����� �������� ����� ���������� ����������� � ����� ����� ����������� �����:
sda1 � sda2 ������������ ������ � ������ ������� �� ������ ����� SCSI �
�������.

��� �������� ������. �����������, ��� �� ������ ������� � 2-�� SCSI �������,
���� ����� SCSI ����� 2, � ������ SCSI ����� 4. ������ ���� (� ������� 2)
���������� sda, � ������ sdb. ���� ���� sda �������� 3 �������, �� �� �����
����� sda1, sda2 � sda3. �� �� ��������� � ����� sdb � ��� ��������.

�������, ��� ���� �� ������ ��� �������� SCSI (�� ����, �����������), ��
������� ������ ����� ���������� ����������. ������ ������� � ���� ������
���������� ����������� ���������; ��������������, ��� �� ������ ������ ������ �
/��� �� ��ߣ�.

� Linux ��������� ������� �������������� ��� ��� ����� ���� ����� �� 1 �� 4.
��������, ������ ��������� ������ ������� IDE ����� ���������� /dev/hda1.
���������� ������� ���������� ������� � 5, ������� ������ ���������� ������ ��
��� �� ����� ����������/dev/hda5. �������, ��� ��� ����������� ������, �� ����
��������� ������ ���������� ���������� �������, ��� �� ���� �� ��������������.
��� ��������� � � ������ SCSI � � ������ IDE.

B.5. ��������� �������� � Debian

��������� �������������� �������� �������� ���� ������������ ��������������
Debian ��� ������ � ���������� ������ ֣����� ������ � ������������ ����������.
��������� �� ������ ���� ����� �������� �� ����� ������.

partman

    ������������� ������� �������� � Debian. ���� ����������� ��������� ���
    ����� ����� �������� ������� ��������, ��������� �������� ������� (���
    ?format? � Windows) � ��������� �� ����� ������������.

fdisk

    ����� ������ ��������� �������� ������ � Linux, ������ ��� ����.

    ������ ���������, ���� � ��� �� ������ ���� ������� FreeBSD. �
    ��������������� ���� �������� ��������� ���� ��������, �� �����, �������
    fdisk �� ���������� (��� ���) ����� ����������. �������� Linux+FreeBSD
    HOWTO

cfdisk

    ������� � �������������, ������������� ��������� �������� ������ ���
    ������������� �������������.

    �������, ��� cfdisk �� �������� �������� FreeBSD, � �ݣ ���, ������� �����
    ��������� ����� �����������.

���� �� ���� �������� ����� �������� �� ��������� ��� ������ ��������� ֣�����
����. ���� ����������� �� �� ��� �� ������, ������� �� ��������� ��������,
��������� � ������������� ��������� ������ (tty2), ����� ������� Alt �F2
������, � ������� ������� �������� ���������, ������� ������ ��������������� (�
���������, ���� ����). ����� ���������� ��� ��������� ֣����� ���� �
debian-installer � ��������� � ���������� ����.

���� �� ������ �������� � ����� ��� 20 ��������� �� ide �����, �� ��� �����
������� ���������� ��� �������� ������� � 21-�� � �����. ��������� ���
������������� ������� ���������� ��������, ���� ���������� �� �����. � ��������
������� ����� �������� �������, ������� �� ������ ��������� �� tty2 ��� �����
������ �������� ��� ���������� ���������� 21 �������:

# cd /dev
# mknod hda21 b 3 21
# chgrp disk hda21
# chmod 660 hda21

�������� � ����� ������� ���������� ��������, ���� � ������� �� ����� ������
���������. ����� ��������� ���� � �������, ���������:

# cd /target/dev
# mknod hda21 b 3 21
# chgrp disk hda21
# chmod 660 hda21

�� �������� �������� ������ �������� ��� ?�����������?.

B.5.1. �������� ��� Intel x86

���� � ��� ���� ������ ������������ �������, �������� DOS ��� Windows � ��
������ ��������� ��, �� ����� ������������� �������� ������� �� ��������, �����
���������� ������ ������������ ��� Debian. ��������� ��������� ����� ��������
������� �������� ������ FAT � NTFS; �� ���� �������� �������� �������� �������
� ����� ������ �������� ��������� ������ � �������� ��� ������.

PC BIOS ������ ����������� �������������� ����������� �� �������� ��������.
���� ����������� �� ���������� ?���������? � ?����������? ��������, �������
����� ��������� ����. �����, � BIOS 1994-98 �����, ���� �����������, ������
BIOS ����� ����������� ��������. ��������� ���������� ����� ����� � �������� �
Linux HOWTO � Phoenix BIOS FAQ, �� � ���� ������� ����� ���� ������� ��������,
������� ������� �� ������ ���������.

?���������? ������� �������������� � �������������� ����� �������� ������ ��
PC. ������, �� ����� ���� ������ ������. ����� ������ ��� �����������, ����
��������� ?�����������? � ?����������? �������. ������� ���� �� ���������
�������� ��� �����������, �� ������ �������� �ӣ ��� ������������ �� ����������
�������. �� ������ ������� �� 60 ���������� �������� �� ����������� �������;
������, �� ������ ����� ������ ���� ����������� ������ �� �����.

Linux ������������ ���������� �������� �� 15 �� SCSI ������ (3 ���������
�������, 12 ���������� ��������), � 63 ������� �� IDE ������ (3 ���������
�������, 60 ���������� ��������). ������, ������� ������� Debian GNU/Linux
������������� ������ 20 ��������� ��� �������, ������� �� �� ������� ����������
��������� �� ������ ���� ��� 20, ���� ������ ������� ������� �� ���������
���������� ��� ���� ��������.

���� �� ������ ������� IDE ���� � �� ����������� �� LBA ���������, �� ��������
��������� (������ ���������������� �������������� ֣������ �����), ��
����������� ������ (������, ���������� ����� ����) ������ ������������� �
�������� ������ 1024 ��������� ֣������ ����� (������, ��� 524 ��������� ���
BIOS ����������).

����� ����������� ��� � BIOS ����� 1995-98 ����� (������� �� �������������),
������� ������������ ?Enhanced Disk Drive Support Specification?. � Lilo, Linux
���������, � Debian ������������ mbr, ������ ������������ BIOS ��� ������ ����
� ����� � ����������� ������. ���� ����� ������� ���������� ���������� BIOS int
0x13 ������� � �����, �� ��� ����� ������������. �����, ����� �����������
������� ������ ��������� ������� � �����, � �� ����� ������������ ������,
������������� �� ����� �� 1023-�� ���������. ����� �������� Linux, �������
����� BIOS ������� � ����������, ��� ����������� ������ �� ���������, ��� ���
Linux �� ���������� BIOS ��� ������� � �����.

���� �� ������ ������� ����, �� ������ ������������ ���������� ����������
���������, ������� ����� �������� � BIOS; ��� ���������� LBA (����������
��������� ������) ��� ����� ���������� CHS (?Large?). ��������� ���������� �
��������� � �������� ֣������ ������� ����� ����� � HOWTO �� ������� ������.
���� �� ����������� ����� ���������� ���������, � BIOS �� ������������
���������� ������� � ������� ֣����� ������, �� ��� ����������� ������ ������
�������� � ��������������� ������������� ������ 1024-� ���������.

������������� ���� ���������� ����� ������� -- ������� ��������� (5-10 ��
������ �������) ������ � ������ �����, ��� ������������� � ��������
������������ �������, � ����� ��������� ����� ������ ������� � ����������
�������. ����������� ������ ������ ���� ����������� � /boot, ��� ��� ���
������� ��� �������� ���� Linux. ����� ������������ ����� �������� �� �����
�������, ���������� ������������ �� ���������� LBA ������� ������ ��� CHS, �
���������� �� ���� ������������ �� BIOS ���������� ��� ������� � �������
������.

���������� C. ������

����������

C.1. ������ ����� �������������� ���������
C.2. ���������� Linux

    C.2.1. ��������� ����

C.3. �������� ������������, ����������� ��� �����
C.4. ��������� Debian GNU/Linux �� ������� Unix/Linux

    C.4.1. ��������
    C.4.2. ��������� debootstrap
    C.4.3. ������ debootstrap
    C.4.4. ��������� ������� �������
    C.4.5. ��������� ����
    C.4.6. ��������� ���������� ����������

C.5. ��������� Debian GNU/Linux ����� Parallel Line IP (PLIP)

    C.5.1. ����������
    C.5.2. ��������� ���������
    C.5.3. ��������� ��ɣ�����

C.1. ������ ����� �������������� ���������

����� ����������� ��������� ���������� ������ ����� �������������� ���������. �
�����̚4.7, ?�������������� ���������? ������� ��� ��� ������������. �� ������
������ ����������� � ������ ��� ����� ����� �������������� ����� �����.

���������

��� ����������� ����������� ����� ������� � ����������� �� ��������� ���������
������� ������. ��� ����� ���������� �� ������� ����������� ������ ?\? �
��������������� ������� � ��������� ������. � ������� ���������������� �����
��� ������ ������ ���� ���������� � ���� ������. ���� �� ����� �� ��������,
�������������� ��������� ���������� �������� � ��������������� �����������.

?������? ���� � �������� �������� � ../example-preseed.txt.

#### Startup.

# To use a preseed file, you'll first need to boot the installer,
# and tell it what preseed file to use. This is done by passing the
# kernel a boot parameter, either manually at boot or by editing the
# syslinux.cfg (or similar) file and adding the parameter to the end
# of the append line(s) for the kernel.
#
# If you're netbooting, use this:
#   preseed/url=http://host/path/to/preseed
# If you're remastering a CD, you could use this:
#   preseed/file=/cdrom/preseed
# If you're installing from USB media, use this, and put the preseed file
# in the toplevel directory of the USB stick.
#   preseed/file=/hd-media/preseed
# Be sure to copy this file to the location you specify.
#
# Some parts of the installation process cannot be automated using
# some forms of preseeding, because the questions are asked before
# the preseed file is loaded. For example, if the preseed file is
# downloaded over the network, the network setup must be done first.
# One reason to use initrd preseeding is that it allows preseeding
# of even these early steps of the installation process.
#
# If a preseed file cannot be used to preseed some steps, the install can
# still be fully automated, since you can pass preseed values to the kernel
# on the command line. Just pass path/to/var=value for any of the preseed
# variables listed below.
#
# While you're at it, you may want to throw a debconf/priority=critical in
# there, to avoid most questions even if the preseeding below misses some.
# And you might set the timeout to 1 in syslinux.cfg to avoid needing to hit
# enter to boot the installer.
#
# Note that the kernel accepts a maximum of 8 command line options and
# 8 environment options (including any options added by default for the
# installer). If these numbers are exceeded, 2.4 kernels will drop any
# excess options and 2.6 kernels will panic. With kernel 2.6.9 or newer,
# you can use 32 command line options and 32 environment options.
#
# Some of the default options, like 'vga=normal' may be safely removed
# for most installations, which may allow you to add more options for
# preseeding.

# It is not possible to use preseeding to set language, country, and
# keyboard. Instead you should use kernel parameters. Example:
# languagechooser/language-name=English
# countrychooser/shortlist=US
# console-keymaps-at/keymap=us

#### Network configuration.

# Of course, this won't work if you're loading your preseed file from the
# network! But it's great if you're booting from CD or USB stick. You can
# also pass network config parameters in on the kernel params if you are
# loading preseed files from the network.

# netcfg will choose an interface that has link if possible. This makes it
# skip displaying a list if there is more than one interface.
d-i netcfg/choose_interface select auto

# If you have a slow dhcp server and the installer times out waiting for
# it, this might be useful.
#d-i netcfg/dhcp_timeout string 60

# If you prefer to configure the network manually, here's how:
#d-i netcfg/disable_dhcp boolean true
#d-i netcfg/get_nameservers string 192.168.1.1
#d-i netcfg/get_ipaddress string 192.168.1.42
#d-i netcfg/get_netmask string 255.255.255.0
#d-i netcfg/get_gateway string 192.168.1.1
#d-i netcfg/confirm_static boolean true

# Note that any hostname and domain names assigned from dhcp take
# precedence over values set here. However, setting the values still
# prevents the questions from being shown even if values come from dhcp.
d-i netcfg/get_hostname string unassigned-hostname
d-i netcfg/get_domain string unassigned-domain

# Disable that annoying WEP key dialog.
d-i netcfg/wireless_wep string
# The wacky dhcp hostname that some ISPs use as a password of sorts.
#d-i netcfg/dhcp_hostname string radish

#### Mirror settings.

d-i mirror/country string enter information manually
d-i mirror/http/hostname string http.us.debian.org
d-i mirror/http/directory string /debian
d-i mirror/suite string testing
d-i mirror/http/proxy string

#### Partitioning.

# If the system has free space you can choose to only partition that space.
#d-i partman-auto/init_automatically_partition \
#    select Use the largest continuous free space

# Alternatively, you can specify a disk to partition. The device name can
# be given in either devfs or traditional non-devfs format.
# For example, to use the first disk devfs knows of:
d-i partman-auto/disk string /dev/discs/disc0/disc

# You can choose from any of the predefined partitioning recipes:
d-i partman-auto/choose_recipe select \
     All files in one partition (recommended for new users)
#d-i partman-auto/choose_recipe select Desktop machine
#d-i partman-auto/choose_recipe select Multi-user workstation

# Or provide a recipe of your own...
# The recipe format is documented in the file devel/partman-auto-recipe.txt.
# If you have a way to get a recipe file into the d-i environment, you can
# just point at it.
#d-i partman-auto/expert_recipe_file string /hd-media/recipe

# If not, you can put an entire recipe in one line. This example creates
# a small /boot partition, suitable swap, and uses the rest of the space
# for the root partition:
#d-i partman-auto/expert_recipe string boot-root :: \
#    20 50 100 ext3 $primary{ } $bootable{ } method{ format } format{ } \
#    use_filesystem{ } filesystem{ ext3 } mountpoint{ /boot } . \
#    500 10000 1000000000 ext3 method{ format } format{ } \
#    use_filesystem{ } filesystem{ ext3 } mountpoint{ / } . \
#    64 512 300% linux-swap method{ swap } format{ } .
# For reference, here is that same recipe in a more readable form:
#    boot-root ::
#       40 50 100 ext3
#          $primary{ } $bootable{ }
#          method{ format } format{ }
#          use_filesystem{ } filesystem{ ext3 }
#          mountpoint{ /boot }
#       .
#       500 10000 1000000000 ext3
#          method{ format } format{ }
#          use_filesystem{ } filesystem{ ext3 }
#          mountpoint{ / }
#       .
#       64 512 300% linux-swap
#          method{ swap } format{ }
#       .

# This makes partman automatically partition without confirmation.
d-i partman/confirm_write_new_label boolean true
d-i partman/choose_partition select \
    Finish partitioning and write changes to disk
d-i partman/confirm boolean true

#### Boot loader installation.

# Grub is the default boot loader (for x86). If you want lilo installed
# instead, uncomment this:
#d-i grub-installer/skip boolean true

# This is fairly safe to set, it makes grub install automatically to the MBR
# if no other operating system is detected on the machine.
d-i grub-installer/only_debian boolean true

# This one makes grub-installer install to the MBR if if finds some other OS
# too, which is less safe as it might not be able to boot that other OS.
d-i grub-installer/with_other_os boolean true

# Alternatively, if you want to install to a location other than the mbr,
# uncomment and edit these lines:
#d-i grub-installer/bootdev  string (hd0,0)
#d-i grub-installer/only_debian boolean false
#d-i grub-installer/with_other_os boolean false

#### Finishing up the first stage install.

# Avoid that last message about the install being complete.
d-i prebaseconfig/reboot_in_progress note

#### Shell commands.

# d-i preseeding is inherently not secure. Nothing in the installer checks
# for attempts at buffer overflows or other exploits of the values of a
# preseed file like this one. Only use preseed files from trusted
# locations! To drive that home, and because it's generally useful, here's
# a way to run any shell command you'd like inside the installer,
# automatically.

# This first command is run as early as possible, just after
# preseeding is read.
#d-i preseed/early_command string anna-install some-udeb

# This command is run just before the install finishes, but when there is
# still a usable /target directory.
#d-i preseed/late_command string echo foo
> /target/etc/bar

# This command is run just as base-config is starting up.
#base-config base-config/early_command string echo hi mom

# This command is run after base-config is done, just before the login:
# prompt. This is a good way to install a set of packages you want, or to
# tweak the configuration of the system.
#base-config base-config/late_command string \
#    apt-get install zsh; chsh -s /bin/zsh

###### Preseeding the 2nd stage of the installation.

#### Preseeding base-config.

# Avoid the introductory message.
base-config base-config/intro note

# Avoid the final message.
base-config base-config/login note

# If you installed a display manager, but don't want to start it immediately
# after base-config finishes.
#base-config base-config/start-display-manager boolean false

# Some versions of the installer can report back on what you've installed.
# The default is not to report back, but sending reports helps the project
# determine what software is most popular and include it on CDs.
#popularity-contest popularity-contest/participate boolean false

#### Clock and time zone setup.

# Controls whether or not the hardware clock is set to UTC.
#base-config tzconfig/gmt boolean true
# If you told the installer that you're in the United States, then you
# can set the time zone using this variable.
# (Choices are: Eastern, Central, Mountain, Pacific, Alaska, Hawaii,
# Aleutian, Arizona East-Indiana, Indiana-Starke, Michigan, Samoa, other)
#base-config tzconfig/choose_country_zone/US select Eastern
# If you told it you're in Canada.
# (Choices are: Newfoundland, Atlantic, Eastern, Central,
# East-Saskatchewan, Saskatchewan, Mountain, Pacific, Yukon, other)
#base-config tzconfig/choose_country_zone/CA select Eastern
# If you told it you're in Brazil. (Choices are: East, West, Acre,
# DeNoronha, other)
#base-config tzconfig/choose_country_zone/BR select East
# Many countries have only one time zone. If you told the installer you're
# in one of those countries, you can choose its standard time zone via this
# question.
#base-config tzconfig/choose_country_zone_single boolean true
# This question is asked as a fallback for countries other than those
# listed above, which have more than one time zone. You can preseed one of
# the time zones, or "other".
#base-config tzconfig/choose_country_zone_multiple select

#### Account setup.

# To preseed the root password, you have to put it in the clear in this
# file. That is not a very good idea, use caution!
#passwd passwd/root-password password r00tme
#passwd passwd/root-password-again password r00tme

# If you want to skip creation of a normal user account.
#passwd passwd/make-user boolean false

# Alternatively, you can preseed the user's name and login.
#passwd passwd/user-fullname string Debian User
#passwd passwd/username string debian
# And their password, but use caution!
#passwd passwd/user-password password insecure
#passwd passwd/user-password-again password insecure

#### Apt setup.

# This question controls what source the second stage installation uses
# for packages. Choices are cdrom, http, ftp, filesystem, edit sources list
# by hand
base-config apt-setup/uri_type select http

# If you choose ftp or http, you'll be asked for a country and a mirror.
base-config apt-setup/country select enter information manually
base-config apt-setup/hostname string http.us.debian.org
base-config apt-setup/directory string /debian
# Stop after choosing one mirror.
base-config apt-setup/another boolean false

# You can choose to install non-free and contrib software.
#base-config apt-setup/non-free boolean true
#base-config apt-setup/contrib boolean true

# Do enable security updates.
base-config apt-setup/security-updates boolean true

#### Package selection.

# You can choose to install any combination of tasks that are available.
# Available tasks as of this writing include: Desktop environment,
# Web server, Print server, DNS server, File server, Mail server,
# SQL database, Laptop, Standard system, manual package selection. The
# last of those will run aptitude. You can also choose to install no
# tasks, and force the installation of a set of packages in some other
# way. We recommend always including the Standard system task.
tasksel tasksel/first multiselect Desktop environment, Standard system
#tasksel tasksel/first multiselect Web server, Standard system

#### Mailer configuration.

# During a normal install, exim asks only a few questions. Here's how to
# avoid even those. More complicated preseeding is possible.
exim4-config exim4/dc_eximconfig_configtype \
    select no configuration at this time
exim4-config exim4/no_config boolean true
exim4-config exim4/no_config boolean true

# It's a good idea to set this to whatever user account you choose to
# create. Leaving the value blank results in postmaster mail going to
# /var/mail/mail.
exim4-config exim4/dc_postmaster string

#### X Configuration.

# Preseeding Debian's X config is possible, but you probably need to know
# some details about the video hardware of the machine, since Debian's X
# configurator does not do fully automatic configuration of everything.

# X can detect the right driver for some cards, but if you're preseeding,
# you override whatever it chooses. Still, vesa will work most places.
#xserver-xfree86 xserver-xfree86/config/device/driver select vesa

# A caveat with mouse autodetection is that if it fails, X will retry it
# over and over. So if it's preseeded to be done, there is a possibility of
# an infinite loop if the mouse is not autodetected.
#xserver-xfree86 xserver-xfree86/autodetect_mouse boolean true

# Monitor autodetection is recommended.
xserver-xfree86 xserver-xfree86/autodetect_monitor boolean true
# Uncomment if you have an LCD display.
#xserver-xfree86 xserver-xfree86/config/monitor/lcd boolean true
# X has three configuration paths for the monitor. Here's how to preseed
# the "medium" path, which is always available. The "simple" path may not
# be available, and the "advanced" path asks too many questions.
xserver-xfree86 xserver-xfree86/config/monitor/selection-method \
    select medium
xserver-xfree86 xserver-xfree86/config/monitor/mode-list \
    select 1024x768 @ 60 Hz

#### Everything else.

# Depending on what software you choose to install, or if things go wrong
# during the installation process, it's possible that other questions may
# be asked. You can preseed those too, of course. To get a list of every
# possible question that could be asked during an install, do an
# installation, and then run these commands:
#   debconf-get-selections --installer
> file
#   debconf-get-selections
>
> file

# If you like, you can include other preseed files into this one.
# Any settings in those files will override pre-existing settings from this
# file. More that one file can be listed, separated by spaces; all will be
# loaded. The included files can have preseed/include directives of their
# own as well. Note that if the filenames are relative, they are taken from
# the same directory as the preseed file that includes them.
#d-i preseed/include string x.cfg

# More flexibly, this runs a shell command and if it outputs the names of
# preseed files, includes those files. For example, to switch configs based
# on a particular usb storage device (in this case, a built-in card reader):
#d-i preseed/include_command string \
#    if $(grep -q "GUID: 0aec3050aec305000001a003" /proc/scsi/usb-storage-*/*); \
#    then echo kraken.cfg; else echo otherusb.cfg; fi

# To check the format of your preseed file before performing an install,
# you can use debconf-set-selections:
#   debconf-set-selections -c preseed.cfg

C.2. ���������� Linux

� Linux � �������� /dev ���������� ��������� ����������� �����. ��� �����
���������� ������� ���������. ������ � ����������� � ���� Unix ���������� ��
����, ��� ��� ������� � ������ ������������ ��������. ����� ��� �������� �����
����������� ����, ������� � ���������������� ������������� ���������,
�������������� ������ � ����������. ���� ���������� -- ��� ��������� � ��������
��������� �����������. ����� � /dev ����� � ����� ���� ��-�������. ����
����������� ����� ������ ����� ���������.

+--------------------+
|fd0|������ �������� |
|---+----------------|
|fd1|������ �������� |
+--------------------+

+-----------------------------------------------------------------+
|hda  |������� ���� IDE / CD-ROM �� ������ ����� IDE (������)     |
|-----+-----------------------------------------------------------|
|hdb  |������� ���� IDE / CD-ROM �� ������ ����� IDE (���������)|
|-----+-----------------------------------------------------------|
|hdc  |������� ���� IDE / CD-ROM �� ������ ����� IDE (������)     |
|-----+-----------------------------------------------------------|
|hdd  |������� ���� IDE / CD-ROM �� ������ ����� IDE (���������)|
|-----+-----------------------------------------------------------|
|hda1 |������ ������ �� ������ ֣����� ����� IDE                  |
|-----+-----------------------------------------------------------|
|hdd15|����������� ������ �� ���ף���� ֣����� ����� IDE          |
+-----------------------------------------------------------------+

+----------------------------------------------------------------+
|sda  |������� ���� SCSI � ���������� SCSI ID (�.�. 0)           |
|-----+----------------------------------------------------------|
|sdb  |������� ���� SCSI �� ��������� ���������� SCSI ID (�.�. 1)|
|-----+----------------------------------------------------------|
|sdc  |������� ���� SCSI �� ��������� ���������� SCSI ID (�.�. 2)|
|-----+----------------------------------------------------------|
|sda1 |������ ������ �� ������ ֣����� ����� SCSI                |
|-----+----------------------------------------------------------|
|sdd10|������� ������ �� ���ף���� ֣����� ����� SCSI            |
+----------------------------------------------------------------+

+-----------------------------------------------+
|sr0|SCSI CD-ROM � ���������� SCSI ID           |
|---+-------------------------------------------|
|sr1|SCSI CD-ROM �� ��������� ���������� SCSI ID|
+-----------------------------------------------+

+------------------------------------------------------------------+
|ttyS0  |���������������� ���� 0, COM1 ��� MS-DOS                  |
|-------+----------------------------------------------------------|
|ttyS1  |���������������� ���� 1, COM2 ��� MS-DOS                  |
|-------+----------------------------------------------------------|
|psaux  |���������� ���� PS/2                                      |
|-------+----------------------------------------------------------|
|gpmdata|������-����������, ����������� ������ �� ������ GPM (����)|
+------------------------------------------------------------------+

+--------------------------------------------------+
|cdrom|������������� ������ �� ������ CD-ROM       |
|-----+--------------------------------------------|
|mouse|������������� ������ �� ���� ���������� ����|
+--------------------------------------------------+

+-----------------------------------------------------+
|null|�ӣ, ��� ���������� � ���� ���������, ��������  |
|----+------------------------------------------------|
|zero|����� ���������� ������ ���� �� ����� ����������|
+-----------------------------------------------------+

C.2.1. ��������� ����

���� ����� ������������ ������������ � � ������� Linux (� ������� gpm) � �
����� X window. ��� ��������, ���� ������������ ����������� gpm, �������
������� �������� ������� �ݣ � X �������:

mouse => /dev/psaux  => gpm => /dev/gpmdata -> /dev/mouse => X
         /dev/ttyS0             (repeater)        (symlink)
         /dev/ttyS1

���������� �������� ����������� � raw (� ����� /etc/gpm.conf), � � ���������� X
����������� �������� ������ ������� � ����� (� ����� /etc/X11/XF86Config ��� /
etc/X11/XF86Config-4).

����� ������ � �������������� gpm ���� � X ����� ������������, ���� ����
�������� �� ��������������. ������� ���������� gpm ��������

# /etc/init.d/gpm restart

��������� ���� � ��������� ������ ��� ����������� X.

���� gpm �������� ��� �� ���������� �� �����-�� ��������, ��������� ��� X
������ �������� �� ������ ����� �� ���������� ����, �������� /dev/psaux.
��������� �������� 3-Button Mouse mini-Howto � /usr/share/doc/HOWTO/en-txt/mini
/3-Button-Mouse.gz, man gpm, /usr/share/doc/gpm/FAQ.gz � README.mouse.

C.3. �������� ������������, ����������� ��� �����

��� ������� ��������� �� i386 � ����� ������ 2.4 �� ����� ������������ ��������
��������� 573 �� ��������� ������������.

� ������� ���� ��������� ���������� ������������� ����� ��� ��������� �����,
��������� � tasksel. ������ �������� �������� � ������� aptitude. �������, ���
��������� ������ ������ � ��������� ����� ������������, ������� ������ ������
��������� ��� ���� ����� ������ ����� ���� ������, ��� ������ ������,
���������� ��������� ��������.

��������, ��� ��� ����ޣ�� ������� �������� � ������� ������� ���������, �����
�������� ������� �� �������. ����������� �������� �� ������� ?������ �����
���������? ����� �������������� � /usr; � ������� �� ������� ?������ ��������?
(��������) �������� ����� � /var.

+-----------------------------------------------------------------------------+
|   ������   |    ������ �����     |������ ��������|   ��������� ����� ���    |
|            |   ��������� (��)    |     (��)      |      ��������� (��)      |
|------------+---------------------+---------------+--------------------------|
|������� ����|1392                 |460            |1852                      |
|------------+---------------------+---------------+--------------------------|
|��� ������  |36                   |12             |48                        |
|------------+---------------------+---------------+--------------------------|
|������      |168                  |58             |226                       |
|������      |                     |               |                          |
|------------+---------------------+---------------+--------------------------|
|DNS ������  |2                    |1              |3                         |
|------------+---------------------+---------------+--------------------------|
|��������    |47                   |24             |71                        |
|������      |                     |               |                          |
|------------+---------------------+---------------+--------------------------|
|��������    |10                   |3              |13                        |
|������      |                     |               |                          |
|------------+---------------------+---------------+--------------------------|
|���� ������ |66                   |21             |87                        |
|SQL         |                     |               |                          |
+-----------------------------------------------------------------------------+

���������

� ������ ������� ���� ������ ��������� ����� �������� ����� � Gnome � KDE
������������.

���� �� ������� ��������� �� �� ���������� �����, tasksel ����� �������������
���������� ������� �� �����������, ���� ��� ����� ��� ������ �����. �����������
������������ ������� �� �����; �������� ����� 200 �� �� �������� � ���������.

C.4. ��������� Debian GNU/Linux �� ������� Unix/Linux

� ���� ������� �����������, ��� ���������� Debian GNU/Linux �� ������������
������� Unix ��� Linux ��� ������������� ����������� �� ���� ���������
���������, ���������� �� ���������� ncurses, ��� ��� ����������� � ���������
�����������. ��� ?�����������������? HOWTO ��������� ������������, �����������
�� Debian GNU/Linux �� Redhat, Mandrake � SUSE. � ���� ������� ���������������
������� ���������� ����� ������ � ��������� *nix � ��������� �� ��������
�������. ����� ������ $ �������� �������, �������� � ������� ����������������
�������, � # ��������� � �������, �������� � Debian chroot.

��� ������ �� �������� ����� ������� Debian, ����������� �� �����
�������������, �� ������ ��������� ���� ������ (���� ��� ����) � �ţ �
���������� ������. ������� ����� ��������� Debian GNU/Linux ��������� ?�
������� �������� �������? (zero downtime). ����� ��� ������ ������ ������ �
�����������, ������� �� ����� ��������� �������� � ������� ������������ ���
������������� ����������.

C.4.1. ��������

� ������� ��������� ������� ������ � ��������� �����, ������������� ���� ���
�����, ������ ��� ������� ���� �������� ������� ���� ������ �������� (swap).
��� ����������� ������� 150 �� ��� ���������� ������ ��������� ��� ������� 300
��, ���� �� ���������� ���������� X.

�������� �������� ������� �� ��������. ��������, ����� ������� �������� �������
ext3 �� ������� /dev/hda6 (��� �������� ������ � ����� �������):

# mke2fs -j /dev/hda6

����� ������� �������� ������� ext2, �� ���������� �������� -j.

������������������ � ����������� ������ �������� (�������� ����� ������� ��
����):

# mkswap /dev/hda5
# sync; sync; sync
# swapon /dev/hda5

����������� ���� ������ ��� /mnt/debinst (����� ���������, ��� ����� ��������
(/) �������� �������� � ����� ����� �������). ��� ����� ������������ ���������
������������.

# mkdir /mnt/debinst
# mount /dev/hda6 /mnt/debinst

���������

���� �� ������ ����������� ��������� �������� ������� (�������� /usr) �
��������� ��������, �� ����� ������� � ������������ ��� �������� �������, �����
��� ��� ������� � ���������� �����.

C.4.2. ��������� debootstrap

����������, ������� ���������� ��������� ��������� Debian � ������� �������
����������� �������� ��������� ������� ������� Debian -- debootstrap. ��
���������� wget � ar, �� ������� ������ �� /bin/sh. ���������� wget � ar, ����
�� �ݣ ��� � �������, � ����� ��������� � ���������� debootstrap.

���� � ��� �������, ���������� �� rpm, �� ������ ������������ alien ���
����������� .deb � .rpm ��� ��������� rpm ������ � http://people.debian.org/
~blade/install/debootstrap

��� �� ������ ������������ ��������� ��������� ��������� �������. ��������
������� work ��� ���������� � ���� .deb:

# mkdir work
# cd work

�������� ���� debootstrap ���������� � ������ Debian (���������, ��� �� �������
���������� ����, ��������������� ����� �����������). ��������� debootstrap .deb
�� ����, ���������� ����� � ������� work � ��������� �� ���� �������� �����.
��� ����������� ���������� ����������������� (root) ��� ��������� ��������
������.

# ar -x debootstrap_0.X.X_arch.deb
# cd /
# zcat /full-path-to-work/work/data.tar.gz | tar xv

�������, ��� ��� ������� debootstrap ����� ������������� ��������� ������
���������� glibc (�� ������ ������ GLIBC_2.3). ��� debootstrap -- ��� ������
�������� ��������, �� �� ���� ����������� ��������� �������, ������� ���������
glibc.

C.4.3. ������ debootstrap

��� ������� debootstrap ��������� ����������� ����� ����� �� ������. � �������
���� �� ������ �������� http.us.debian.org/debian �� ����� ������-�������
������� Debian, ����� ����� ������������ �� �������� ������� � ��� ����. ������
�������� http://www.debian.org/misc/README.mirrors.

���� � ��� ���� �������-���� � sarge Debian GNU/Linux, �������������� � /cdrom,
�� ������ ���������� URL ���� file ������ http URL: file:/cdrom/debian/

�������� ARCH �� ���� �� ��������� ��������� � ������� ������� debootstrap:
alpha, arm, hppa, i386, ia64, m68k, mips, mipsel, powerpc, s390 ��� sparc.

# /usr/sbin/debootstrap --arch ARCH sarge \
     /mnt/debinst http://http.us.debian.org/debian

C.4.4. ��������� ������� �������

������ � ��� �� ����� ���� ���������, ����� � ����������, ������� Debian.
��������� Chroot � �ţ:

# LANG= chroot /mnt/debinst /bin/bash

C.4.4.1. ������������ ��������

��� ����� ������� ���� /etc/fstab.

# editor /etc/fstab

��� ������, ������� ����� �������� � ������������ � ������ ���������:

# /etc/fstab: ���������� � ����������� �������� ��������.
#
# ����. �������  ����� ������. ���     ���������                ���� ������
/dev/XXX         /             ext3    defaults                 0    1
/dev/XXX         /boot         ext3    ro,nosuid,nodev          0    2

/dev/XXX         none          swap    sw                       0    0
proc             /proc         proc    defaults                 0    0

/dev/fd0         /mnt/floppy   auto    noauto,rw,sync,user,exec 0    0
/dev/cdrom       /mnt/cdrom    iso9660 noauto,ro,user,exec      0    0

/dev/XXX         /tmp          ext3    rw,nosuid,nodev          0    2
/dev/XXX         /var          ext3    rw,nosuid,nodev          0    2
/dev/XXX         /usr          ext3    rw,nodev                 0    2
/dev/XXX         /home         ext3    rw,nosuid,nodev          0    2

��������� mount -a ��� ������������ ���� �������� ������, ��������� � ����� /
etc/fstab, � ��� ������������ ������̣���� �������� ������� ���������:

# mount /path   # ������: mount /usr

�� ������ ����������� �������� ������� proc ��������� ��� � � ������������
�����, ���� ������� � /proc. ���� �� �� ������������ mount -a, �� ����� ��� ���
����������, ���������, ��� proc ������������:

# mount -t proc proc /proc

������� ls /proc ������ ������ ����������, ��� ������� �� ������. ���� ��� ��
���, ����� ������������ proc �� ��������� chroot:

# mount -t proc proc /mnt/debinst/proc

C.4.4.2. ��������� ����������

��� ��������� ���������� �������:

# dpkg-reconfigure console-data

�������, ��� ���������� �� ����� ���� ���������, ���� ������ ������������ �
chroot, �� ��������� ����� ����������� ����� ��������� ������������.

C.4.4.3. ��������� ����

��� ��������� ����, �������������� /etc/network/interfaces, /etc/resolv.conf �
/etc/hostname.

# editor /etc/network/interfaces

����� ��������� ��������� ������� ������� �� /usr/share/doc/ifupdown/examples:

######################################################################
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# See the interfaces(5) manpage for information on what options are
# available.
######################################################################

# We always want the loopback interface.
#
auto lo
iface lo inet loopback

# To use dhcp:
#
# auto eth0
# iface eth0 inet dhcp

# An example static IP setup: (broadcast and gateway are optional)
#
# auto eth0
# iface eth0 inet static
#     address 192.168.0.42
#     network 192.168.0.0
#     netmask 255.255.255.0
#     broadcast 192.168.0.255
#     gateway 192.168.0.1

������� ������� �ͣ� � ��������� search � /etc/resolv.conf:

# editor /etc/resolv.conf

������� /etc/resolv.conf:

search hqdom.local\000
nameserver 10.1.1.36
nameserver 192.168.9.100

������� ��� ������� (�� 2 �� 63 ��������):

# echo DebianHostName > /etc/hostname

���� � ��� ��������� ������� ����, �� ��� ����� ���������� ����� ��������� �
����� /etc/modules � �������� �������. ����� ��� �������� ������ ����� �����
������� � ������ ���������� (eth0, eth1, � ��.) ��� �� � ������.

C.4.4.4. ��������� �������� �����, ������������� � APT

�������� ������� ����, �������� �������� ������������ � ������� ��������� apt,
��������

# /usr/sbin/base-config new

C.4.4.5. ��������� �������

����� ������������ ����, �������� �� �����������, ����� ��������� ������. ���
����� ���������� ����� ��������� ������� � ��������� ���:

# apt-get install locales
# dpkg-reconfigure locales

���������: Apt ������ ���� ��� ��������, ��������, �� ����� ���� base-config.
����� �������������� ������� � ������� ��������, �������� �� ASCII ��� latin1,
���������� ������������������� � ������ HOWTO �� �����������.

C.4.5. ��������� ����

���� �� �������� ��������� ��� �������, �� ��� ������ ����� ����������� ����
Linux � ��������� ���������. ���������� ��������� ������ � ������ ��� ������

# apt-cache search kernel-image

����� ���������� ������ ������ ��� ��� ������.

# apt-get install kernel-image-2.X.X-arch-etc

C.4.6. ��������� ���������� ����������

����� ������� ������� Debian GNU/Linux �����������, ��������� ��� ���������
��������� �� �������� �������������� ���� � ����� �������� ��������. �������,
��� debootstrap �� ������������� ��������� ���������, ���� �� ������
������������ apt-get ������ ������ Debian chroot, ����� ������� ���.

����������� � info grub ��� man lilo.conf �� ��������� ���������� ����������.
���� �� ���������� �������, ������� ������������ ��� ��������� Debian, ������
�������� ������ ��� ������������� ������� Debian � ������������ ���� grub
menu.lst��� lilo.conf. �����, �� ������ ����������� ��� � ����� ������� �
��������������� ��� ���. ����� ���� ��� ��������� ��������������, �������� lilo
(�������, ��� �� ����� ������������ lilo.conf, ����������� � �������, ��
������� ��� �������).

��� ������� /etc/lilo.conf � �������� �������:

boot=/dev/hda6
root=/dev/hda6
install=menu
delay=20
lba32
image=/vmlinuz
label=Debian

C.5. ��������� Debian GNU/Linux ����� Parallel Line IP (PLIP)

���� ������ ��������� ��������� Debian GNU/Linux �� ��������� ��� ������� �����
Ethernet, �� ������ޣ���� � ������� ����������-����� � ������� ����-���������
������ (����� ����������� ����-���������� �������). ���������-���� ������ ����
������ޣ� � ����, ��� ���� ������ ������� Debian (��������, � ��������).

� �������, ���������� � ����������, �� ����� ����������� PLIP ���������� ��
������ ������ޣ���� � �������� ����� ���������� �� ���������� ����� (ppp0). ��
����� ������������ IP ������ 192.168.0.1 � 192.168.0.2 ��� PLIP �����������
������� ��ɣ����� � ������� ��������� ��������������(��� ������ �� ������
�������������� � ����� ������� �������� ������������).

PLIP ����������, ����������� � ����� ��������� ����� ����� �������� � �����
������������ � ������������� ������� (�������� ������7, �������� ������ ���
������������� ������� Debian).

����� ��� ��� ������, ��������� ��������� BIOS (IO base address � IRQ)
����������� ������ �� ����� ��������. �������� �������������� ��������: io=
0x378, irq=7.

C.5.1. ����������

  * ��������� ��ɣ����, ���������� ��ɣ����, ��� �� ������� ����� ����������
    Debian.

  * ��������� ������������ ��������; �������� �����̚2.2, ?������������
    ��������?.

  * ������ ���������, ������ޣ���� � ��������, ���������� ��������, �����
    �������������� � �������� �����.

  * ����-�������� ������ DB-25. ��������� � ������ � ��� ��� ������� ��������
    PLIP-Install-HOWTO.

C.5.2. ��������� ���������

��������, ��������� ���� -- ��� ������� ������ ��������� ���������� ��������� �
�������� ����� � �������� ����� ppp0.

#!/bin/sh

# We remove running modules from kernel to avoid conflicts and to
# reconfigure them manually.
modprobe -r lp parport_pc
modprobe parport_pc io=0x378 irq=7
modprobe plip

# Configure the plip interface (plip0 for me, see dmesg | grep plip)
ifconfig plip0 192.168.0.2 pointopoint 192.168.0.1 netmask 255.255.255.255 up

# Configure gateway
modprobe iptable_nat
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
echo 1
> /proc/sys/net/ipv4/ip_forward

C.5.3. ��������� ��ɣ�����

����������� � ������������� ��������. ��������� ������ ���� �������� �
���������� ������; � ����������� � �������� ������� expert. ���� ��������
������, ������� ����� ������ �� ��������� ������ ���������.

 1. �������� ����������� ��������� ���������

    � ������ �������� �������� plip-modules; ��� ������� ��������� PLIP
    �������� ��� ��������� ���������.

 2. ����������� ������� �����

      * ���� ��ɣ���� ����� ������� �����, ����� ������� ������ �������
        ��������� ��� ������������ ����. ���� �� ������, ����� debian-installer
        ����������� �ӣ ����� plip, �� ������� ��������� �� ���� ����������
        ������� ���������. �����������, ���� ��ɣ���� �� ����� ������� �����,
        ��������� ��������� �� ������� ����� ������.

      * ����������� ��������� �������: ��

      * ��� ��� ����� ������� ����� ����������/������� �� ����, ���������
        ��������� �������� ������� ������ �������� ���������� �� ������.
        �������� ������ plip.

      * �������������� ��������� ��� ������ parport_pc: io=0x378 irq=7

      * �������������� ��������� ��� ������ plip: �������� ������

 3. ��������� ����

      * ��������� ���� ������������� � ������� DHCP: ���

      * IP �����: 192.168.0.1

      * ����� PPP: 192.168.0.2

      * ������ �������� �ͣ�: ����� ������� �� �� ������ ��� � ��� ���������
        (�������� /etc/resolv.conf)

���������� D. ����� ��������

����������

D.1. �� ���� ���������
D.2. ��� ������ � ���������� ����� ���������
D.3. ����, ������� ������������ ����� � ��������� ����� �����������
D.4. �������� �����

D.1. �� ���� ���������

��������� ����������� ��������� ��������� ��������� ������������ Sarge. ���
�������� �� ����������� �� ��������� c �������������� boot-floppies
������������ Woody, ������� � ���� ������� ���� �������� �� ����� ������
������������ �� ��������� Debian, � ����� �� ����������� ������������ Progeny,
���������� ��� ��������� GPL � 2003 ����.

��� ��������� ����� ��������� ������������� ������ DocBook XML. ��������
������� ������� ���������� ����������� ��� ������ ������ �� ������� docbook-xml
� docbook-xsl.

� ����� ��������� �������� ������������� ����� ���������, �� ���������
��������� ����������� XML, ����� ��� �������� (entities) � �������������
�������� (profiling attributes). ��� ������ ����, ������ � ����������� �
��������� � ������ ����������������. �������� XML-����� ����� ���������
�������� ���������� ��� ���� ������������, � ��� ��������
������������-��������� �������� ������ ������������ ������������� ��������.

D.2. ��� ������ � ���������� ����� ���������

��� ������� ������� ��� ����������� �� ����� ���������, ����� ����� ���������
�� � ���� ��������� �� ������ � ������ debian-installer-manual. ���������� �
������ reportbug ��� ���������� ������������ �� ����� ������� ������������
������ Debian. ����� ��������� � ������ �������� ������ ����������� ��
���������, ���� ���-�� ��� ������� � ����� ��������, �� �� ������ �������
�������������� ��� �������� ���������� �� ����� <XXXX@bugs.debian.org>, ���
XXXX -- ��� ����� ����ݣ���� ������.

�ݣ ����� ����� ����� �������� ������� ����� ��������� � ������� DocBook XML �
������� �������� � ���. �������� ������ ����� ����� � SVN-����������� ���������
���������. ���� �� �� ������ � DocBook, �� ������������: � �������� �
������������� ���� ������� ���������, ������� ������� ��� ���������� � ������.
DocBook ����� �� HTML, �� ������������ �� ���������� ������, � �� �� ���
������� ���. ��������� � ������ �������� debian-boot (�������� ����) ������
����. � ���, ��� �������� �������� ������ ����� SVN, ����� ��������� � �����
README, ������� ��������� � ����� �������� � ��������� ��������.

�� ������������ � �������� ����� ��������� �������� -- ��� ���������� � ���
����� � ����� ����������� ���������� ������ �������� debian-installer, �������
�������� �� ������ <debian-boot@lists.debian.org>. �� �������� �������� ��
������ �������� Debian �������, ��� �� ���� ����� �����������. ����� ��������
������ ����� � ������ �������.

D.3. ����, ������� ������������ ����� � ��������� ����� �����������

������ ������ ����� ��������� �������� ���� ������ (Bruce Perens), ���� �������
(Sven Rudolph), ����� ������� (Igor Grobman), ������ ����� (James Treacy) �
���� �� ����� (Adam Di Carlo). ��������� ��� (Sebastian Ley) ������� "�������
����������� �� ���������". ����� ������ ������������ � ������������ Debian
������ ���� ����� � ���� ��������. ����� ����� �������� ������� ������ (Michael
Schmitz) (��������� m68k), ������ �������� (Frank Neumann) (������ �����
����������� �� ��������� �� Amiga), ���� ������ (Arto Astala), ����� �������
(Eric Delaunay), ���� �������� (Ben Collins) (��� ���� -- ���������� �� SPARC),
����� ��������� (Tapio Lehtonen) � ������� ����������� (St?phane Bortzmeyer) ��
������ � �������������� ������. �� ���������� ������� ������ (Pascal Le Bail)
�� �������� ���������� � �������� � USB-���� ������.

��������� �������� ���������� ����� ����� � HOWTO �� ������� �������� ���
���������� Jim Mintha (URL �� ������ ������ ����������), Debian FAQ, Linux/m68k
FAQ, FAQ �� Linux ��� ����������� SPARC, Linux/Alpha FAQ � � ������ ����������.
�� ����� ������������� �������������� ���� �������� ��������� � ��������
���������� ����������.

��� �������� ������� � chroot ��������� (�����̚C.4, ?��������� Debian GNU/
Linux �� ������� Unix/Linux?) ���� ������������ ���������, ���������� Karsten
M. Self.

��� �������� ������� �� ��������� ����� plip ���������� (�����̚C.5, ?���������
Debian GNU/Linux ����� Parallel Line IP (PLIP)?) ���� ������������
PLIP-Install-HOWTO ���������� Gilles Lamiral.

D.4. �������� �����

��� �������� ����� �������� �������������� �� ����������.

���������� E. GNU General Public License

����������

E.1. Preamble
E.2. GNU GENERAL PUBLIC LICENSE
E.3. How to Apply These Terms to Your New Programs

Version 2, June 1991

Copyright (C) 1989, 1991 Free Software Foundation, Inc. -- 51 Franklin St,
Fifth Floor, Boston, MA 02110-1301, USA.

Everyone is permitted to copy and distribute verbatim copies of this license
document, but changing it is not allowed.

E.1. Preamble

The licenses for most software are designed to take away your freedom to share
and change it. By contrast, the gnu General Public License is intended to
guarantee your freedom to share and change free software -- to make sure the
software is free for all its users. This General Public License applies to most
of the Free Software Foundation's software and to any other program whose
authors commit to using it. (Some other Free Software Foundation software is
covered by the gnu Library General Public License instead.) You can apply it to
your programs, too.

When we speak of free software, we are referring to freedom, not price. Our
General Public Licenses are designed to make sure that you have the freedom to
distribute copies of free software (and charge for this service if you wish),
that you receive source code or can get it if you want it, that you can change
the software or use pieces of it in new free programs; and that you know you
can do these things.

To protect your rights, we need to make restrictions that forbid anyone to deny
you these rights or to ask you to surrender the rights. These restrictions
translate to certain responsibilities for you if you distribute copies of the
software, or if you modify it.

For example, if you distribute copies of such a program, whether gratis or for
a fee, you must give the recipients all the rights that you have. You must make
sure that they, too, receive or can get the source code. And you must show them
these terms so they know their rights.

We protect your rights with two steps: (1) copyright the software, and (2)
offer you this license which gives you legal permission to copy, distribute and
/or modify the software.

Also, for each author's protection and ours, we want to make certain that
everyone understands that there is no warranty for this free software. If the
software is modified by someone else and passed on, we want its recipients to
know that what they have is not the original, so that any problems introduced
by others will not reflect on the original authors' reputations.

Finally, any free program is threatened constantly by software patents. We wish
to avoid the danger that redistributors of a free program will individually
obtain patent licenses, in effect making the program proprietary. To prevent
this, we have made it clear that any patent must be licensed for everyone's
free use or not licensed at all.

The precise terms and conditions for copying, distribution and modification
follow.

E.2. GNU GENERAL PUBLIC LICENSE

TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

  * This License applies to any program or other work which contains a notice
    placed by the copyright holder saying it may be distributed under the terms
    of this General Public License. The "Program", below, refers to any such
    program or work, and a "work based on the Program" means either the Program
    or any derivative work under copyright law: that is to say, a work
    containing the Program or a portion of it, either verbatim or with
    modifications and/or translated into another language. (Hereinafter,
    translation is included without limitation in the term "modification".)
    Each licensee is addressed as "you".

    Activities other than copying, distribution and modification are not
    covered by this License; they are outside its scope. The act of running the
    Program is not restricted, and the output from the Program is covered only
    if its contents constitute a work based on the Program (independent of
    having been made by running the Program). Whether that is true depends on
    what the Program does.

  * You may copy and distribute verbatim copies of the Program's source code as
    you receive it, in any medium, provided that you conspicuously and
    appropriately publish on each copy an appropriate copyright notice and
    disclaimer of warranty; keep intact all the notices that refer to this
    License and to the absence of any warranty; and give any other recipients
    of the Program a copy of this License along with the Program.

    You may charge a fee for the physical act of transferring a copy, and you
    may at your option offer warranty protection in exchange for a fee.

  * You may modify your copy or copies of the Program or any portion of it,
    thus forming a work based on the Program, and copy and distribute such
    modifications or work under the terms of Section 1 above, provided that you
    also meet all of these conditions:

    a) You must cause the modified files to carry prominent notices stating
    that you changed the files and the date of any change.

    b) You must cause any work that you distribute or publish, that in whole or
    in part contains or is derived from the Program or any part thereof, to be
    licensed as a whole at no charge to all third parties under the terms of
    this License.

    c) If the modified program normally reads commands interactively when run,
    you must cause it, when started running for such interactive use in the
    most ordinary way, to print or display an announcement including an
    appropriate copyright notice and a notice that there is no warranty (or
    else, saying that you provide a warranty) and that users may redistribute
    the program under these conditions, and telling the user how to view a copy
    of this License. (Exception: if the Program itself is interactive but does
    not normally print such an announcement, your work based on the Program is
    not required to print an announcement.)

    These requirements apply to the modified work as a whole. If identifiable
    sections of that work are not derived from the Program, and can be
    reasonably considered independent and separate works in themselves, then
    this License, and its terms, do not apply to those sections when you
    distribute them as separate works. But when you distribute the same
    sections as part of a whole which is a work based on the Program, the
    distribution of the whole must be on the terms of this License, whose
    permissions for other licensees extend to the entire whole, and thus to
    each and every part regardless of who wrote it.

    Thus, it is not the intent of this section to claim rights or contest your
    rights to work written entirely by you; rather, the intent is to exercise
    the right to control the distribution of derivative or collective works
    based on the Program.

    In addition, mere aggregation of another work not based on the Program with
    the Program (or with a work based on the Program) on a volume of a storage
    or distribution medium does not bring the other work under the scope of
    this License.

  * You may copy and distribute the Program (or a work based on it, under
    Section 2) in object code or executable form under the terms of Sections 1
    and 2 above provided that you also do one of the following:

    a) Accompany it with the complete corresponding machine-readable source
    code, which must be distributed under the terms of Sections 1 and 2 above
    on a medium customarily used for software interchange; or,

    b) Accompany it with a written offer, valid for at least three years, to
    give any third party, for a charge no more than your cost of physically
    performing source distribution, a complete machine-readable copy of the
    corresponding source code, to be distributed under the terms of Sections 1
    and 2 above on a medium customarily used for software interchange; or,

    c) Accompany it with the information you received as to the offer to
    distribute corresponding source code. (This alternative is allowed only for
    noncommercial distribution and only if you received the program in object
    code or executable form with such an offer, in accord with Subsection b
    above.)

    The source code for a work means the preferred form of the work for making
    modifications to it. For an executable work, complete source code means all
    the source code for all modules it contains, plus any associated interface
    definition files, plus the scripts used to control compilation and
    installation of the executable. However, as a special exception, the source
    code distributed need not include anything that is normally distributed (in
    either source or binary form) with the major components (compiler, kernel,
    and so on) of the operating system on which the executable runs, unless
    that component itself accompanies the executable.

    If distribution of executable or object code is made by offering access to
    copy from a designated place, then offering equivalent access to copy the
    source code from the same place counts as distribution of the source code,
    even though third parties are not compelled to copy the source along with
    the object code.

  * You may not copy, modify, sublicense, or distribute the Program except as
    expressly provided under this License. Any attempt otherwise to copy,
    modify, sublicense or distribute the Program is void, and will
    automatically terminate your rights under this License. However, parties
    who have received copies, or rights, from you under this License will not
    have their licenses terminated so long as such parties remain in full
    compliance.

  * You are not required to accept this License, since you have not signed it.
    However, nothing else grants you permission to modify or distribute the
    Program or its derivative works. These actions are prohibited by law if you
    do not accept this License. Therefore, by modifying or distributing the
    Program (or any work based on the Program), you indicate your acceptance of
    this License to do so, and all its terms and conditions for copying,
    distributing or modifying the Program or works based on it.

  * Each time you redistribute the Program (or any work based on the Program),
    the recipient automatically receives a license from the original licensor
    to copy, distribute or modify the Program subject to these terms and
    conditions. You may not impose any further restrictions on the recipients'
    exercise of the rights granted herein. You are not responsible for
    enforcing compliance by third parties to this License.

  * If, as a consequence of a court judgment or allegation of patent
    infringement or for any other reason (not limited to patent issues),
    conditions are imposed on you (whether by court order, agreement or
    otherwise) that contradict the conditions of this License, they do not
    excuse you from the conditions of this License. If you cannot distribute so
    as to satisfy simultaneously your obligations under this License and any
    other pertinent obligations, then as a consequence you may not distribute
    the Program at all. For example, if a patent license would not permit
    royalty-free redistribution of the Program by all those who receive copies
    directly or indirectly through you, then the only way you could satisfy
    both it and this License would be to refrain entirely from distribution of
    the Program.

    If any portion of this section is held invalid or unenforceable under any
    particular circumstance, the balance of the section is intended to apply
    and the section as a whole is intended to apply in other circumstances.

    It is not the purpose of this section to induce you to infringe any patents
    or other property right claims or to contest validity of any such claims;
    this section has the sole purpose of protecting the integrity of the free
    software distribution system, which is implemented by public license
    practices. Many people have made generous contributions to the wide range
    of software distributed through that system in reliance on consistent
    application of that system; it is up to the author/donor to decide if he or
    she is willing to distribute software through any other system and a
    licensee cannot impose that choice.

    This section is intended to make thoroughly clear what is believed to be a
    consequence of the rest of this License.

  * If the distribution and/or use of the Program is restricted in certain
    countries either by patents or by copyrighted interfaces, the original
    copyright holder who places the Program under this License may add an
    explicit geographical distribution limitation excluding those countries, so
    that distribution is permitted only in or among countries not thus
    excluded. In such case, this License incorporates the limitation as if
    written in the body of this License.

  * The Free Software Foundation may publish revised and/or new versions of the
    General Public License from time to time. Such new versions will be similar
    in spirit to the present version, but may differ in detail to address new
    problems or concerns. Each version is given a distinguishing version
    number. If the Program specifies a version number of this License which
    applies to it and "any later version", you have the option of following the
    terms and conditions either of that version or of any later version
    published by the Free Software Foundation. If the Program does not specify
    a version number of this License, you may choose any version ever published
    by the Free Software Foundation.

  * If you wish to incorporate parts of the Program into other free programs
    whose distribution conditions are different, write to the author to ask for
    permission. For software which is copyrighted by the Free Software
    Foundation, write to the Free Software Foundation; we sometimes make
    exceptions for this. Our decision will be guided by the two goals of
    preserving the free status of all derivatives of our free software and of
    promoting the sharing and reuse of software generally.

    NO WARRANTY

  * because the program is licensed free of charge, there is no warranty for
    the program, to the extent permitted by applicable law. except when
    otherwise stated in writing the copyright holders and/or other parties
    provide the program "as is" without warranty of any kind, either expressed
    or implied, including, but not limited to, the implied warranties of
    merchantability and fitness for a particular purpose. the entire risk as to
    the quality and performance of the program is with you. should the program
    prove defective, you assume the cost of all necessary servicing, repair or
    correction.

  * in no event unless required by applicable law or agreed to in writing will
    any copyright holder, or any other party who may modify and/or redistribute
    the program as permitted above, be liable to you for damages, including any
    general, special, incidental or consequential damages arising out of the
    use or inability to use the program (including but not limited to loss of
    data or data being rendered inaccurate or losses sustained by you or third
    parties or a failure of the program to operate with any other programs),
    even if such holder or other party has been advised of the possibility of
    such damages.

END OF TERMS AND CONDITIONS

E.3. How to Apply These Terms to Your New Programs

If you develop a new program, and you want it to be of the greatest possible
use to the public, the best way to achieve this is to make it free software
which everyone can redistribute and change under these terms.

To do so, attach the following notices to the program. It is safest to attach
them to the start of each source file to most effectively convey the exclusion
of warranty; and each file should have at least the "copyright" line and a
pointer to where the full notice is found.

one line to give the program's name and a brief idea of what it does.

Copyright (C) year name of author

This program is free software; you can redistribute it and/or modify it under
the terms of the gnu General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.

This program is distributed in the hope that it will be useful, but without any
warranty; without even the implied warranty of merchantability or fitness for a
particular purpose. See the gnu General Public License for more details.

You should have received a copy of the gnu General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
Street, Fifth Floor, Boston, MA 02110-1301, USA.

Also add information on how to contact you by electronic and paper mail.

If the program is interactive, make it output a short notice like this when it
starts in an interactive mode:

Gnomovision version 69, Copyright (C) year name of author

Gnomovision comes with absolutely no warranty; for details type `show w'.

This is free software, and you are welcome to redistribute it under certain
conditions; type `show c' for details.

The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may be
called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items -- whatever suits your program.

You should also get your employer (if you work as a programmer) or your school,
if any, to sign a "copyright disclaimer" for the program, if necessary. Here is
a sample; alter the names:

Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.

signature of Ty Coon, 1 April 1989

Ty Coon, President of Vice

This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may consider
it more useful to permit linking proprietary applications with the library. If
this is what you want to do, use the gnu Library General Public License instead
of this License.