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

��������� ����� � 2004 - 2023 ������� ������������� ��������� ��������� Debian

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

Build version of this manual: 20230803.

���������

������ �������� �������� ���������� �� ��������� ������� Debian GNU/Linux 13 (?
trixie?) ��� ����������� 64-bit RISC-V (?riscv64?). ����� ����, � � �������
��������� ����� ��������� ���������� � ������� ������ �������� ������������
���������� ������� Debian.

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

This installation guide has not been fully updated and fact checked for
riscv64. There may be parts of the manual that are incomplete or outdated. A
newer version of this manual, possibly better documenting this architecture,
may be found on the Internet at the debian-installer home page. You may also be
able to find additional translations there.

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

This translation of the installation guide is not up-to-date and currently
there is noone actively working on updating it. Keep this in mind when reading
it; it may contain outdated or wrong information. Read or double-check the
English variant, if in doubt. If you can help us with updating the translation,
please contact <debian-boot@lists.debian.org> or the debian-l10n-xxx
mailinglist for this language. Many thanks

���������, ����������� ����� ���������� � ������ ��������
debian-l10n-russian@lists.debian.org.

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

����������

��������� Debian GNU/Linux 13 �� riscv64
1. ����� ���������� � Debian
    1.1. ��� ����� Debian?
    1.2. ��� ����� GNU/Linux?
    1.3. ��� ����� Debian GNU/Linux?
    1.4. ��� ����� ��������� ��������� Debian?
    1.5. ��������� Debian
    1.6. ��������� ��������� ������ ����� ���������
    1.7. ��������� ����� ���������
    1.8. �� ��������� ������ � ��������� �� ���������
2. ��������� ����������
    2.1. �������������� ������������
        2.1.1. �������������� �����������
        2.1.2. ���������� ��� ����������� � ����
        2.1.3. ��������� � ������ ������������
    2.2. ������������ ��������
        2.2.1. ����
        2.2.2. ������� ����
        2.2.3. ������� Un*x ��� GNU
        2.2.4. �������������� ������� ��������
    2.3. ���������� � ������ � ��������� ������������
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.6. ��������� ����������� ����������� � ������������ ������� �����
    ����������
4. ��������� �������� � �������������
    4.1. Official Debian GNU/Linux installation images
    4.2. ���������� ������ � ��������-������ Debian
        4.2.1. Where to Find Installation Files
    4.3. �������������� ���������
        4.3.1. �������������� ��������� � ������� ��������� ��������� Debian
    4.4. Verifying the integrity of installation files
5. �������� ������� ���������
    5.1. ��������� ��������
        5.1.1. ��������� ��������� ��������� Debian
        5.1.2. ������������� ���������� �������� ��� ������� �� �������
        5.1.3. �������� ���������� ������� ����
        5.1.4. �������� ������� ���� � ޣ���� ������
    5.2. ����������� ������� �������� ���������
        5.2.1. ��������� ��������
        5.2.2. ������������� ����������� ��������� ����
        5.2.3. ��������� � ��������� ��� ���������
        5.2.4. �������� ��ޣ��� �� ������� ���������
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.3.7. ��������� � ��������� ���������� ����������
        6.3.8. ���������� ���������
        6.3.9. ���������� �������
        6.3.10. Installation over network-console
    6.4. Customization
        6.4.1. Installing an alternative init system
7. �������� ������ ��� ������������� ������� Debian
    7.1. ������ ������
    7.2. ������������ ����������� �����
        7.2.1. ���������� ���������
    7.3. ���� � �������
8. ��������� ���� � ��� ������ ������
    8.1. ���������� �������
    8.2. ��������������� �������������� � Debian
        8.2.1. ������� ���������� �������� Debian
        8.2.2. �������������� ����������� ����������� ��� Debian
        8.2.3. ���������� �������� ����������
        8.2.4. ���������� ��������� cron
    8.3. ��� ��������
    8.4. ��������� �����
        8.4.1. �������� ������������ �� ���������
        8.4.2. �������� ����� �� �������
        8.4.3. ��������� ������ ��������� ����� Exim4
    8.5. ������ ������ ����
    8.6. �������������� ������������ �������
A. ������� ���������� �� ���������
    A.1. ��������������� ��������
    A.2. �������� ��������� ���������
        A.2.1. Optical disc
        A.2.2. �������� �� ����
        A.2.3. �������� � ֣������ �����
    A.3. ���������
    A.4. ��������� ��� ��ޣ� �� ���������
    A.5. � ����������...
B. �������������� ��������� � ������� ������ �������
    B.1. ��������
        B.1.1. ������ ������������� ����� �������
        B.1.2. �����������
    B.2. ������������� �������������� ���������
        B.2.1. �������� ����� �������
        B.2.2. ������������� ���������� �������� ��� �������������
        B.2.3. �������������� �����
        B.2.4. �������� � ������������� ����������
        B.2.5. Examples of boot prompt preseeding
        B.2.6. ������������� ������� DHCP ��� �������� ������ ��������������
        ������������
    B.3. �������� ����� �������
    B.4. ���������� ����� ������� (��� trixie)
        B.4.1. �����������
        B.4.2. Speech synthesis
        B.4.3. ��������� ����
        B.4.4. ������� �������
        B.4.5. ��������� �������-�������
        B.4.6. ��������� �ޣ���� ������
        B.4.7. ��������� ������� � �������� �����
        B.4.8. �������� ������
        B.4.9. ��������� ������� �������
        B.4.10. ��������� Apt
        B.4.11. ����� �������
        B.4.12. ���������� ���������
        B.4.13. ������������� ������ �������
    B.5. �������������� ���������
        B.5.1. ������ ���������������� ������ �� ����� ���������
        B.5.2. ������������� �������������� ��������� ��� ��������� �������� ��
        ���������
        B.5.3. ���������������� �������� ���������� ������ �������
C. �������� ������ � Debian
    C.1. �������� ������� Debian � �� �������
    C.2. ��������� ���������
    C.3. ������������� ����� ��������
    C.4. ����� ��������� � Linux
    C.5. ��������� �������� � Debian
D. ������
    D.1. ���������� Linux
    D.2. �������� ������������, ����������� ��� �����
    D.3. ��������� Debian GNU/Linux �� ������� Unix/Linux
        D.3.1. ��������
        D.3.2. ��������� debootstrap
        D.3.3. ������ debootstrap
        D.3.4. ��������� ������� �������
        D.3.5. ��������� ����
        D.3.6. ��������� ���������� ����������
        D.3.7. ���̣���� ������: ��������� SSH � ��������� �������
        D.3.8. �������������� ����
E. ����� ��������
    E.1. �� ���� ���������
    E.2. ��� ������ � ���������� ����� ���������
    E.3. ����, ����� ������������ ����� � ��������� ����� �����������
    E.4. �������� �����
F. GNU General Public License

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

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

��������� Debian GNU/Linux 13 �� riscv64

�� ����, ��� �� ������ ����������� 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. ��������� Debian
1.6. ��������� ��������� ������ ����� ���������
1.7. ��������� ����� ���������
1.8. �� ��������� ������ � ��������� �� ���������

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

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

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

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

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

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

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

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

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

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

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

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

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

GNU/Linux -- ��� ������������ �������: ����� ��������, ������� ��������� ���
�������� � ����� ����������� � ��������� ������ ���������.

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

GNU/Linux ������� �� ������� ������������ ������� Unix. � ������ ������ GNU/
Linux ��������������� ��� �������������, ��������������������� �������. ����
�������� ����������, ����� ������� GNU/Linux �������� �� ������ ������
��������� ������������ ������. ������, GNU/Linux ���������� ������� �������,
��� �� ������ ���� �����������. � ������� �� ������ ������������ ������, GNU/
Linux ������ �� �����������. ������������ ����� ������� �����������
������������� ���������.

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

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

���� ������ ������� ������ � ��������� ���� ������� ���� ���� � �������� GNU/
Linux, ���������� ���� �ݣ �������� ����� ����� ���������� ������������
�����������. ������ ���������� ����������� ������������ ������������, ����
����� ������ ��������� � ����������� ���������� (����������� ������������� �
�����������-�������������). ��������� �����, � ���� �������, ����� ���������
��������� ���������� GNU/Linux ������.

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

����� ��������� ���������� �������������� ������ ���������� ����� �������������
� ������� ���������� �������������� ���������. ���� ����������� ���� ��� ����
Linux. ���������� � ������ �������� linux-kernel ����� ����� � FAQ ������
�������� linux-kernel.

GNU/Linux users have immense freedom of choice in their software. For example,
they can choose from a dozen different command line shells and several
graphical desktops. This selection is often bewildering to users of other
operating systems, who are not used to thinking of the command line or desktop
as something that they can change.

GNU/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 (�� ������ ��������� ���� ����� �� ���� ����� 327). ����� ������� ������
����������� �� ���� �� ���� ������� -- �������� �������� �������� �� ������
�������� Debian � ��������� �����.

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

��������� ��������� Debian, ����� ���������� ?d-i?, -- ��� ����������� �������,
��������������� ���������� ������ ������� Debian. ��� ������������ ������� ����
����������� �����������, ������ ��� ������������ ����������, ��������, �� �
�������, � ����� ���������� ������� ����� ���������� �� ��� ������ ����.

��������� ���������� ������ �� ������� �� ������� �������. ����� ��������
���������� �����, ����������� �������� ������ �������� ���������, � �������
�������������� ����������� ���������� ������������������ ���������.
������������� ������� ����� �������������� ����� ��� ����� ���������������.
��������� ����� ������������� �� ������ ����������: USB, CD/DVD/Blu-Ray ��� ��
����. ��������� ��������� ��������� ������ģ� �� 80 ������.

��������� ��������� ������� �� ������� boot-floppies � ������� ��������� �����
������ � 2000 ����. � ���� ��� ������� ��������� ���������� ���������������
�������������, ������� ������ ţ ����� � ��������� ����� �����������.

�������������� ���������� ����� ����� �� �������� ��������� ��������� Debian,
���� � ������ �������� debian-boot.

1.5. ��������� Debian

For information on how to download Debian GNU/Linux from the Internet or from
whom official Debian installation media can be purchased, see the distribution
web page. The list of Debian mirrors contains a full set of official Debian
mirrors, so you can easily find the nearest one.

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

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

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

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

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

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

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

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

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

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

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

 5. Perform the actual installation according to ������6, �������������
    ��������� ��������� Debian. This involves choosing your language,
    configuring peripheral driver modules, configuring your network connection,
    so that remaining installation files can be obtained directly from a Debian
    server (if you are not installing from a set of DVD installation images),
    partitioning your hard drives and installation of a base system, then
    selection and installation of tasks. (Some background about setting up the
    partitions for your Debian system is explained in ���������ŚC, ��������
    ������ � Debian.)

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

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

� �������, ��� ���������� �� ���� ��������� � � ��� ��� ������ ��� ��������,
�������� ���������ŚE, ����� ��������.

1.8. �� ��������� ������ � ��������� �� ���������

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

Calling software free doesn't mean that the software isn't copyrighted, and it
doesn't mean that installation media containing that software must be
distributed at no charge. Free software, in part, means that the licenses of
individual programs do not require you to pay for the privilege of distributing
or using those programs. Free software also means that not only may anyone
extend, adapt, and modify the software, but that they may distribute the
results of their work as well.

����������

��������, ��� ������ Debian, ������� ����������� �������������, �������
��������� ������, ���� ��� � �� �������� ����� ��������� �������. ������, ���
������ �� �������� ������ ������������ ������������, � �������� ������ ��
�������� contrib ��� non-free ��������-������ Debian ��� �� ������������� CD/
DVD-ROM; ����� ��������� ���������� � ������������ � ���������� �������
�������� � ������� ?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.2. ������������ ��������
    2.2.1. ����
    2.2.2. ������� ����
    2.2.3. ������� Un*x ��� GNU
    2.2.4. �������������� ������� ��������
2.3. ���������� � ������ � ��������� ������������

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

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

Debian does not impose hardware requirements beyond the requirements of the
Linux kernel and the GNU tool-sets. Therefore, any architecture or platform to
which the Linux kernel, libc, gcc, etc. have been ported, and for which a
Debian port exists, can run Debian. Please refer to the Ports pages at https://
www.debian.org/ports/riscv64/ for more details on 64-bit RISC-V architecture
systems which have been tested with Debian GNU/Linux.

������ ����, ����� �������� ������� �ӣ ������������ ���������� ������������,
������� ���������� �� 64-bit RISC-V, ��� ����� �������� ����� ���������� �
��������, ��� ����� ����� �������������� ����������.

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

Debian GNU/Linux 13 supports 7 major architectures and several variations of
each architecture known as ?flavors?.

+-----------------------------------------------------------------------------+
|          �����������          |����������� � |  ��������������   | �������  |
|                               |    Debian    |                   |          |
|-------------------------------+--------------+-------------------+----------|
|AMD64 & Intel 64               |amd64         |�                  |�         |
|-------------------------------+--------------+-------------------+----------|
|ARM � ���������� FPU           |armhf         |multiplatform      |armmp     |
|-------------------------------+--------------+-------------------+----------|
|64-������ ARM                  |arm64         |�                  |�         |
|-------------------------------+--------------+-------------------+----------|
|                               |              |MIPS Malta         |5kc-malta |
|64-������ MIPS (� ��������     |              |-------------------+----------|
|�������� ������)               |mips64el      |Cavium Octeon      |octeon    |
|                               |              |-------------------+----------|
|                               |              |Loongson 3         |loongson-3|
|-------------------------------+--------------+-------------------+----------|
|Power Systems                  |ppc64el       |������ IBM POWER8  |�         |
|                               |              |��� �����          |          |
|-------------------------------+--------------+-------------------+----------|
|64bit RISC-V (little-endian)   |riscv64       |�                  |�         |
|-------------------------------+--------------+-------------------+----------|
|64-������ IBM S/390            |s390x         |IPL � VM-reader �  |generic   |
|                               |              |DASD               |          |
+-----------------------------------------------------------------------------+

���� �������� �������� �������� ��������� �� ����������� 64-bit RISC-V. ���� ��
����� ���������� �� ����� ������ �����������, �������������� Debian, ����������
�� �������� ��������� Debian.

��� ������ ����������� ������ Debian GNU/Linux ��� ����������� 64-bit RISC-V.
�� ��� ������� � �������. ������, ��������� ��� ����������� �� ��� ������
������������ (�, �������������, �� �������������� ��������������), ���
������, �� ������ ��������� ��������� ������. ����������� ���� �������
������������ ������, ����� �������� � ����� ��������; ���������, ��� ��
��������� ��� ����, ��� ������ �������� �� ����������� 64-bit RISC-V,
������������ ���� Linux. ��������, ����� ���ģ��� ��������������� �������
�������� debian-riscv64.

2.1.2. ���������� ��� ����������� � ����

����� ����� ������� ����� (NIC), �������������� ����� Linux, ������
�������������� �������� ���������; �������� ������� ������ �����������
�������������.

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

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

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

2.2.1. ����

��� ��������� ��������� ��� ��������� ������ ����� ���� ������������ ����.
����� ��� ��� ������������� ���� ������� �� ���������� ������ � ����� �������
�� ��������� �������, ������� ����� ������ �� ����� ���������. �������
��������� ������������ ����������� ����� ����������� � ���� (������� PPPoE, ��
�� ISDN ��� PPP), � �������� �� HTTP ��� FTP. ��������� ISDN � PPP �� �������
��������� ����� ���������� ���������.

2.2.2. ������� ����

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

2.2.3. ������� Un*x ��� GNU

���� �� ��������� � ������ Unix �������, �� ������ ������������ ţ ���
��������� Debian GNU/Linux ��� ������������� debian-installer, ���������� �
��������� ����� �����������. ���� ��� ��������� ����� ����������� �������������
� �����-�� ���������������� ������������� ��� �� �������, ������ ������� ������
���������. ���� �� ���������������� ������ ��������, ��������� � �����̚D.3,
?��������� Debian GNU/Linux �� ������� Unix/Linux?. ������ ����� ���������
������������� ��������� ������ ������� �������������, ���� ���������� ���������
������.

2.2.4. �������������� ������� ��������

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

IDE systems are also supported.

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

We recommend at least 512MB of memory and 4GB of hard disk space to perform an
installation. For more detailed values, see �����̚3.4, ?����������� ����������
� ����������� �����������?.

����� 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.6. ��������� ����������� ����������� � ������������ ������� ����� ����������

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

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

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

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

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

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

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

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

 3. ����� �/��� ������� ��������� ��������� � ��� ������ ��� ����� ������
    ����������� �������� ��� ����� �������������.

 4. ������� ����������� �������������, ����� ��� CDs/DVDs/USB, ��� ������������
    �������������� �������� �� ����, � ������� ������� ����� ����� ���������
    ��������� ���������.

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

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

 7. ������������� �� �������������� ���������/����������/���������� �������
    �������.

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

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

10. ��������� ������ ��� ������������� ������� � ������ ���.

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

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

��� ��������� ������� ��� ���� ����� ������ ��������� tasksel, �������
��������� ������� ��� ��������� ��������� ������� ������ ���������������
�������� ��� ������, ��������, ��� ��� ������� ��� ����������� ����������.

����� �� ������ ������� ��������� �������� ����� ����� ��� ��� �����������
����������� ��������� �������� �����, ��������� �� X Window System � ������ ��
��������� ����������� ��������� �������� �����. ���� �� �� �������� ������ ?
��������� �������� �����?, �� � ��� ��������� ������������ ������� �������,
����������� �� ��������� ������. ��������� ��������� �������� ����� ��������
�������������� �������, ��� ���, �� ��������� � �������� ��� �������, ��� �ţ
��������� ������������ ������� ���������� ��������� ������������, � ��-�� ����,
��� ������ ������� Debian GNU/Linux �������� ���������, ������� �� �����
����������� ��������� ������������ ��� ���������� ��������� �����.

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

����� ��� ��� ������, ���������, ��� �� ��������� ������ ���� �� ����� �������.
���� �� ������� �������������� �� ��������� �� ������ ������������ �������,
������ ����� ��� ���ģ��� ������������� ����, ����� �������� ����� ��� Debian
GNU/Linux. ������ ��� �������� ����� �� ������ �������, ��� ������� �ӣ ��
�����, ��� ����������� �� ������������� ��� ����� �����������. ���������,
������������ � ��������� 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. ����������� ������������

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

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

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

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

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

  * The BIOS/UEFI setup screens of your computer. You can view these screens
    when you start your computer by pressing a combination of keys. Check your
    manual for the combination. Often, it is the Delete or the F2 key, but some
    manufacturers use other keys or key combinations. Usually upon starting the
    computer there will be a message stating which key to press to enter the
    setup screen.

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

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

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

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

+----------------------------------------------------+
|������������|����������, ������� ����� �������������|
+----------------------------------------------------+


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

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

�������� � Linux, � ����������� �������, ������� �� ��� ������̣����� ?��������
? ��� ?�����? ������-�� �������������, � ��� ������̣���� ������������/�����
���������. ����� ��������� ���������� ���������/����� �������� �� �����
���������� �������; ����� ������, ��� ������������� ���������� �������������
��� ���������� ?������� ������� �������? ��� ���������, ���������� �� �����
�����������, ������� ����� ������������ ���������� ��������������� ���������
��� ������� ��������� ��������� ��� �����.

��� ����� ���� ������������ � ����������. ������������ ������� � ���, ���
������� ��� ����� ���������� �������� ��� �������� ���������� ���������
��������� �� ��������� ��������������, ���� �� ������� ������������ �� ����
����������. ����������� �������� ��, ��� �� ������ ������ ����������, �����
���������� ���������� ������������ � ������̣���� ��������/�����. � ���������,
������ ������������� ���������� �������� ���������� ������ ��������, �� �������
�������� ���, �� ������� ����, ����� ������, ������� ������ ��� ������ �����
�����/��������, ��������� � ������ �����, ����� ������������ �� ���������
�����������, � ������� ����� ������������ ��� ��������� ��������, ��� ���
������ �� ��� ������� ������ ����� �������������.

����� �������� �� ����� ���������� �������� ���������� USB � PCI/PCI-Express/
ExpressCard ���������� ����� ������������� ����������. ��� ���������� USB/PCI/
PCI-Express/ExpressCard ����� ��� ���������� ������������� ?�������������? � ?
��������?, � �� ����������, ������, ��������� ��� ��������, ����������� ��
����� ������ ����������.

On Linux systems, these IDs can be read with the lsusb command for USB devices
and with the lspci -nn command for PCI/PCI-Express/ExpressCard devices. The
vendor and product IDs are usually given in the form of two hexadecimal
numbers, separated by a colon, such as ?1d6b:0001?.

������ ������ ������� lsusb: ?Bus 001 Device 001: ID 1d6b:0002 Linux Foundation
2.0 root hub?, ��� 1d6b -- ������������� ������������� � 0002 -- �������������
��������.

������ ������ ������� lspci -nn ��� ����� Ethernet: ?03:00.0 Ethernet
controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express
Gigabit Ethernet controller [10ec:8168] (rev 06)?. �������������� �������
������ ��������� ���������� ������, �. �. ����� 10ec -- �������������
������������� � 8168 -- ��������.

������ ������, ����������� �����: ?04:00.0 VGA compatible controller [0300]:
Advanced Micro Devices [AMD] nee ATI RV710 [Radeon HD 4350] [1002:954f]?.

On Windows systems, the IDs for a device can be found in the Windows device
manager on the tab ?details?, where the vendor ID is prefixed with VEN_ and the
product ID is prefixed with DEV_. On newer Windows systems, you have to select
the property ?Hardware IDs? in the device manager's details tab to actually see
the IDs, as they are not displayed by default.

����� � �������� �� �������������� �������������/��������, ?Linux? � ?driver?
����� ���� ���������� � ��������� ��������� ��������� ������̣���� ����������.
���� ����� �������������� �������������/�������� �� ��� �������� �����������,
�� ����� ������ ����� �� �������� ����������, ������� ����� �������� lsusb �
lspci (?RTL8111?/?RTL8168B? -- � ������� � ������� ������ � ?RV710? -- �
������� � ����������� ������).

3.3.3.1. ������������ ������������ �� ������������� � ������� Live-�������

��� ��������� ���������� Debian GNU/Linux �������� � ���� ��� ���������� ?�����
�������?. ����� ������� (live system) -- ��� �����������, ������� � ������
�������, ��������������� � ������ ����, ������� ����� ���� ��������� �
������������ � ��������, ������������ ��� ������, ������ ��� CD ��� DVD. ��
��������� ��� ţ ������ �� ��������� �� �������� ������� ���������� ���������.
�� ������ ������ ��������� ������������ � ������������� ��������������
��������� ������ ����� �������, �� �ӣ ��� ����������� ������ � �����������
������, �. �. ��� ���������� ���������� � �������� ����� ������� ����� ���
��������� ��������. ���� �� ������ ���������, �������������� �� ����
������������ Debian GNU/Linux, �� ����� ������� �������� ������� ��� �����
����������� ��������� ����� ������� Debian.

���� ��������� ����������� ��� ������������� ����� �������. ������ �����, ���
��� ��� ��������� ����� ������� ������ ���� ��������� � RAM ����������, ���
�������� ������ � �������� � ����������� ����������� RAM, � ��-�� �����������
������ ������ ���������� �������������� ������� ������ ��. ������ �����������
������������ ���������� ������������� -- ����� ������� ������� ������ ��
��������� �����������, �. �. � ��� ����������� ����������� ����� �������������.
�������, ��� ����������� ������ ����� ���������� ������� ����� ������� �������,
�� ����� ������ -- ��� ���ģ��� �������� ������������, ��� ��� � ����� �������
����������� �������������� ����������� ��������� ������������� (� ������� ��
debian-installer).

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

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

���� ��������� ������ޣ� � ���������� ���� (�. �. � Ethernet ��� �����
����������� �����������, �� �� �������������/PPP ����������), �������
������������ �� ��, �� �� ������ ��������� � ������ �������� ����������
�������������� ��������� ����������:

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

  * ��� ������.

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

  * ����� ����.

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

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

���� � ������������ ���� ��� ��������� ������� �������� ������������ DHCP
(Dynamic Host Configuration Protocol), �� ��� �� ����� ��� ��� ����������, ���
��� DHCP-������ �������� ţ ������ ���������� ������������� �� ����� ��������
���������.

���� �� ���������� � ��������� �� DSL ��� ���������� ������ (�. �. �����
������������� ��������� ����) � ����������� ������������� (����� ���
������������� ��� ����������� ���������� ��� ������������� ��������), �������
������������ ���������� � �����, ��, ������, DHCP ����ޣ� �� ���������.

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

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

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

+-----------------------------------------------------------------------------+
|     ��� ���������      |������ (�������)|������ (�������������)|������� ����|
|------------------------+----------------+----------------------+------------|
|��� ����������          |512MB           |1GB                   |4GB         |
|����������              |                |                      |            |
+-----------------------------------------------------------------------------+


The minimum values assumes that swap will be enabled and a non-live image is
used. The ?No desktop? value assumes that the text-based installer (not the
graphical one) is used.

The actual minimum memory requirements are a lot less than the numbers listed
in this table. With swap enabled, it is possible to install Debian with as
little as MB. The same goes for the disk space requirements, especially if you
pick and choose which applications to install; see �����̚D.2, ?��������
������������, ����������� ��� �����? for additional information on disk space
requirements.

The installer normally automatically enables memory-saving tricks to be able to
run on such low-memory system, but on architectures that are less tested it may
miss doing so. It can however be enabled manually by appending the lowmem=1 or
even lowmem=2 boot parameter (see also �����̚6.3.1.1, ?����������� ���������
������ / ����� � ����� ������������ ������? and �����̚5.1.1, ?���������
��������� ��������� Debian?).

Installation on systems with less memory or disk space available may be
possible but is only advised for experienced users.

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

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

�������� ������������, ����������� ��� ������� ������ � Debian GNU/Linux ���
�������� � ������������� ���������� � �������. � ���������, ������ /var
�������� ����� ����������� ��� Debian ����������, � ����� ������� ������ ����
���������� ������. ����� dpkg (� ����������� � ���� ������������� �������)
����� ����� ������ 40��. apt ����� �������� ���� ��������� ����� ����� ��
����������. ������, ��������� �������� �� ������� ���� 200�� ��� /var � �������
������, ���� �� ���������� ��������� ������������ ��������� �������� �����.

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

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

If you already have an operating system on your system which uses the whole
disk and you want to stick Debian on the same disk, you will need to
repartition it. Debian requires its own hard disk partitions. It cannot be
installed on Windows or Mac OS X partitions. It may be able to share some
partitions with other Unix systems, but that's not covered here. At the very
least you will need a dedicated partition for the Debian root filesystem.

You can find information about your current partition setup by using a
partitioning tool for your current operating system. Partitioning tools always
provide a way to show existing partitions without making changes.

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

Several modern operating systems offer the ability to move and resize certain
existing partitions without destroying their contents. This allows making space
for additional partitions without losing existing data. Even though this works
quite well in most cases, making changes to the partitioning of a disk is an
inherently dangerous action and should only be done after having made a full
backup of all data.

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

This section will walk you through pre-installation hardware setup, if any,
that you will need to do prior to installing Debian. Generally, this involves
checking and possibly changing BIOS/UEFI/system firmware settings for your
system. The ?BIOS/UEFI? or ?system firmware? is the core software used by the
hardware; it is most critically invoked during the bootstrap process (after
power-up).

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

����������

4.1. Official Debian GNU/Linux installation images
4.2. ���������� ������ � ��������-������ Debian
    4.2.1. Where to Find Installation Files
4.3. �������������� ���������
    4.3.1. �������������� ��������� � ������� ��������� ��������� Debian
4.4. Verifying the integrity of installation files

4.1. Official Debian GNU/Linux installation images

By far the easiest way to install Debian GNU/Linux is from a set of official
Debian installation images. You can buy a set of CDs/DVDs or an USB stick from
a vendor (see the CD vendors page). You may also download the installation
images from a Debian mirror and make your own set, if you have a fast network
connection and a CD/DVD burner. Or the modern way: write such image to an USB
stick (see the Debian CD/DVD page and Debian CD FAQ for detailed instructions).
If you have such installation media, and they are bootable on your machine, you
can skip right to ������5, �������� ������� ���������. Much effort has been
expended to ensure the most-used files are on the first DVD image, so that a
basic desktop installation can be done with only the first DVD.

Also, keep in mind: if the installation media you are using don't contain some
packages you need, you can always install those packages afterwards from your
running new Debian system (after the installation has finished). If you need to
know on which installation image to find a specific package, visit https://
cdimage-search.debian.org/.

If your machine doesn't support booting from optical media, but you do have a
set of DVD, you can use an alternative strategy such as or manually loading the
kernel from the disc to initially boot the system installer. The files you need
for booting by another means are also on the disc; the Debian network archive
and folder organization on the disc are identical. So when archive file paths
are given below for particular files you need for booting, look for those files
in the same directories and subdirectories on your installation media.

Once the installer is booted, it will be able to obtain all the other files it
needs from the disc.

If you don't have an installation media set, then you will need to download the
installer system files and place them on the so they can be used to boot the
installer.

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

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

4.2.1. Where to Find Installation Files

Various installation files can be found on each Debian mirror in the directory
debian/dists/trixie/main/installer-riscv64/current/images/ -- the MANIFEST
lists each image and its purpose.

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

For installing on multiple computers it's possible to do fully automatic
installations. Debian packages intended for this include fai-quickstart, which
can use an install server (have a look at the FAI home page for detailed
information) and the Debian Installer itself.

4.3.1. �������������� ��������� � ������� ��������� ��������� Debian

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

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

4.4. Verifying the integrity of installation files

You can verify the integrity of downloaded files against checksums provided in
SHA256SUMS or SHA512SUMS files on Debian mirrors. You can find them in the same
places as the installation images itself. Visit the following locations:

  * checksum files for CD images,

  * checksum files for DVD images,

  * checksum files for other installation files.

To compute the checksum of a downloaded installation file, use

sha256sum filename.iso

respective

sha512sum filename.iso

and then compare the shown checksum against the corresponding one in the
SHA256SUMS respective SHA512SUMS file.

The Debian CD FAQ has more useful information on this topic (such as the script
check_debian_iso, to semi-automate above procedure), as well as instructions,
how to verify the integrity of the above checksum files themselves.

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

����������

5.1. ��������� ��������
    5.1.1. ��������� ��������� ��������� Debian
    5.1.2. ������������� ���������� �������� ��� ������� �� �������
    5.1.3. �������� ���������� ������� ����
    5.1.4. �������� ������� ���� � ޣ���� ������
5.2. ����������� ������� �������� ���������
    5.2.1. ��������� ��������
    5.2.2. ������������� ����������� ��������� ����
    5.2.3. ��������� � ��������� ��� ���������
    5.2.4. �������� ��ޣ��� �� ������� ���������

5.1. ��������� ��������

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

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

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

5.1.1. ��������� ��������� ��������� Debian

������� ��������� ����������� ��������� �������������� ��������� ��������^[2],
��� ����� ���� �������.

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

debconf/priority (priority)

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

    �������� �� ��������� ����� priority=high. ��� ��������, ��� ����� ��������
    ��������� � ������� � � ����������� ������������, � ��������� �� ������� �
    ������ ������������ ����� ���������. � ������ ������������� �������,
    ��������� ��������� ������������ �������� ����������.

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

DEBIAN_FRONTEND

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

      o DEBIAN_FRONTEND=noninteractive

      o DEBIAN_FRONTEND=text

      o DEBIAN_FRONTEND=newt

      o DEBIAN_FRONTEND=gtk

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

BOOT_DEBUG

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

    BOOT_DEBUG=0

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

    BOOT_DEBUG=1

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

    BOOT_DEBUG=2

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

    BOOT_DEBUG=3

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

log_host, log_port

    ������������ ��� �������� ��������� ��������� ���������� ���������
    ��������� ����� ���������� ����� �ݣ � ���̣���� ������ syslog �� ���������
    ���� � ����. ���� �� ������, �� ������ �� ��������� �������� �����������
    514-� ���� syslog.

lowmem

    ������������ ��� �������� ��������� ��������� ��������� ��� lowmem �������
    �������, ��� ��� �������������� �� ��������� ������ �� ���������� ���������
    ������. ��������� �������� 1 � 2. �������� ����� �����̚6.3.1.1,
    ?����������� ��������� ������ / ����� � ����� ������������ ������?.

noshell

    ��������� ��������� ��������� �� ��������� ������������� �������� �� tty2 �
    tty3. ������� ��� ������������������ ���������, ��� ���������� ����������
    ������������.

debian-installer/framebuffer (fb)

    ����� ���������� ��������� �� ���������� ������ �� ��������� ������������
    ������������ �����-����� ����. ���� ������ ����� �����-����� ��������
    �������� �� ����� �������, ����� ��������� ��� ���������� fb=false.
    �������� �������� -- ��������� �� ������� bterm ��� bogl, ������ ����� ���
    ��������� �� ��������� ����� � ������ ���������.

netcfg/disable_autoconfig

    �� ���������, debian-installer ������������� �������� ��������� ���� �����
    IPv6 autoconfiguration � DHCP. ���� ��������� ������ ������ �������, � ���
    �� ����� ����� ������������ � �������� ���������� ���������. �� �������
    ��������� ���� ������� ������ � ������ ������ ��� ��������� ����������
    �������������.

    ���� � ����� ��������� ���� ���� ������������� IPv6 ��� DHCP ������, �� ��
    �� ������ �� ������������, ������ ��� ���, ��������, ���� ������������
    ������, �� ������ ������� �������� netcfg/disable_autoconfig=true, �����
    ��������� ��������� ���� (v4 � v6) � ������ ���������� �������.

hw-detect/start_pcmcia

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

preseed/url (url)

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

preseed/file (file)

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

preseed/interactive

    ��������� � true �������� ����������� ���� ��������, ���� ��� ������� ����
    ������������������ �����. ����� ��������� �������� ��� ������� ���
    ������������ ����� �������. �������, ��� ��� �� ��������� �� ���������,
    ��������� � ����������� � ��������, ��� ������ � ���� ������������
    ����������� ���������. �������� �����̚B.5.2, ?������������� ��������������
    ��������� ��� ��������� �������� �� ���������?.

auto-install/enable (auto)

    �������� �������, ������� ������ �������� ����� �������������� ����������,
    ������� ����� ������ ����� ��������� ����. ��������� �� �������������
    ��������� �������� � �����̚B.2.3, ?�������������� �����?.

finish-install/keep-consoles

    ��� ��������� � ������� �� ���������������� ����� ������� �����������
    ������� (VT1-VT6) ����������� � /etc/inittab. ���� ���������� � ��������
    true, �� ����� �� ��������.

cdrom-detect/eject

    By default, before rebooting, debian-installer automatically ejects the
    optical media used during the installation. This can be unnecessary if the
    system does not automatically boot off such media. In some cases it may
    even be undesirable, for example if the optical drive cannot reinsert the
    media itself and the user is not there to do it manually. Many slot
    loading, slim-line, and caddy style drives cannot reload media
    automatically.

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

base-installer/install-recommends (recommends)

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

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

debian-installer/allow_unauthenticated

    �� ��������� ��������� ��������� �������, ����� �����������
    ������������������� � ������� ���������� ����� gpg. ��������� � true
    ��������� ������ ��������������. ��������������: ��� �����������,
    ������������� �� ������ �����.

rescue/enable

    ��������� � true ���������� ����� ��������������, ������ �������� ������
    ���������. �������� �����̚8.6, ?�������������� ������������ �������?.

5.1.2. ������������� ���������� �������� ��� ������� �� �������

�� ��������� �����������, � ����������� � �������� ����� ������ ����� ��������
������� �� ������� ���������, ���� ��� ������� ������ � ������������� �������.
�������� ��� ��� ������ ����� ����� � �����̚B.2.2, ?������������� ����������
�������� ��� �������������?. ��������� ����������� ������� ���� ����.

debian-installer/language (language), debian-installer/country (country), 
debian-installer/locale (locale)

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

    ������ � ����� ������� -- �������� ������ �������� locale. ��� ����� �
    ������ ����� ������������ ����������� ��������. ��������, �� ������
    ������������ locale=de_CH.UTF-8 ��� ������ ��������� ����� � ��������� �
    �������� ������ (� ������������� ������� �� ��������� ����� ������������
    ������ de_CH.UTF-8 ). ���� ������ ����� ����������� �� ����������� �����,
    ������ � ������.

    ������, ����� ������ ������ -- �������� ������� ���� � ������. � ����
    ������ locale ����� ������ ������������� ��� ������ ����������� ������ ��
    ��������� ��� ������������� �������. ������: language=en country=DE locale=
    en_GB.UTF-8.

anna/choose_modules (modules)

    ����� �������������� ��� �������������� �������� ��������� ���������
    ���������, ������� �� ����������� �� ���������. � �������� ��������
    �������������� �������� ���������, ����� �������� openssh-client-udeb (���
    ����, ����� �� ����� ��������� ����� ���� ������������ ������� scp).

netcfg/disable_autoconfig

    ���������� � true, ���� ������ ��������� IPv6 autoconfiguration � DHCP �
    ������ ��������� ���� ����������.

mirror/protocol (protocol)

    �� ���������, ��������� ��������� ���������� �������� http ��� ��������
    ������ � ��������-������ Debian, � �������� ��� �� ftp ���������� ���
    ��������� � ������� �����������. ��������� ���� �������� ������ ftp, ��
    ������ ��������� ��������� ��������� ������������ ���� ��������. �������,
    ��� �� �� ������� ������� ������-������� ftp �� ������, ��� ���ģ���
    ������� ��� �������.

tasksel:tasksel/first (tasks)

    ����� ���� ������������ ��� ������ �����, ������� ��� � ������ ������ �
    ��������� ���������, �������� ������ kde-desktop. ��������� �������� �
    �����̚6.3.6.2, ?����� � ��������� ������������ �����������?.

5.1.3. �������� ���������� ������� ����

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

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

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

���_������.���_���������=��������

���� ��������� �������� ��������� ���������� ������ ��� ������ �������, ��
��������� ���������. ��������, ����� ������� ������ ������� ������ 3Com
������������ BNC (������������) ���ߣ� � IRQ 10, �� ������ ��������:

3c509.xcvr=3 3c509.irq=10

5.1.4. �������� ������� ���� � ޣ���� ������

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

����� ������ ������ � ޣ���� ������ ����������� ��������� ���������:
module_name.blacklist=yes. ��� �������� ������ � ޣ���� ������ � ����� /etc/
modprobe.d/blacklist.local �� ����� ��������� � � ������������� �������.

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

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

5.2.1. ��������� ��������

���� � ��� �������� �������� � ���� ������ �� ����� ��������, �� ����������
��������� ��������� ��� ����������� ������������ �����, ������ ���������
��������� ��������, ��� ��� ����������� � �����̚5.1, ?��������� ��������?.

5.2.2. ������������� ����������� ��������� ����

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

5.2.3. ��������� � ��������� ��� ���������

If you get through the initial boot phase but cannot complete the install, the
menu option Save debug logs may be helpful. It lets you store system error logs
and configuration information from the installer on a storage medium, or
download them using a web browser. This information may provide clues as to
what went wrong and how to fix it. If you are submitting a bug report, you may
want to attach this information to the bug report.

������ ���������, ������� ��������� � ���������, ����� ����� � /var/log/ ��
����� ���������, � � /var/log/installer/ ����� ����, ��� ��������� ��������
������������� �������.

5.2.4. �������� ��ޣ��� �� ������� ���������

If you still have problems, please submit an installation report (in English
please, whenever possible). We also encourage installation reports to be sent
even if the installation is successful, so that we can get as much information
as possible on the largest number of hardware configurations.

�������, ��� ��ޣ� �� ��������� ����� ����������� � ������� ������������ ������
Debian (BTS) � �������� � �������� ������ ��������. ���������, ��� ��
����������� ����� ����������� �����, ������� �� ����� ��������������.

���� ������� Debian ����������, ����� ������� ���� �������� ��ޣ�� �� ���������
-- ���������� ������ installation-report � reportbug (apt install
installation-report reportbug), ��������� reportbug, ��� ��� ����������� �
�����̚8.4.2, ?�������� ����� �� �������? � ��������� ������� reportbug
installation-reports.

Alternatively you can use this template when filling out installation reports,
and file the report as a bug report against the installation-reports pseudo
package, by sending it to <submit@bugs.debian.org>.

Package: installation-reports

Boot method: <How did you boot the installer? CD/DVD? USB stick? Network?>
Image version: <Full URL to image you downloaded is best>
Date: <Date and time of the install>

Machine: <Description of machine (eg, IBM Thinkpad R32)>
Processor:
Memory:
Partitions: <df -Tl will do; the raw partition table is preferred>

Output of lspci -knn (or lspci -nn):

Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:           [ ]
Detect network card:    [ ]
Configure network:      [ ]
Detect media:           [ ]
Load installer modules: [ ]
Detect hard drives:     [ ]
Partition hard drives:  [ ]
Install base system:    [ ]
Clock/timezone setup:   [ ]
User/password setup:    [ ]
Install tasks:          [ ]
Install boot loader:    [ ]
Overall install:        [ ]

Comments/Problems:

<Description of the install, in prose, and any thoughts, comments
      and ideas you had during the initial install.>

Please make sure that any installation logs that you think would
be useful are attached to this report. (You can find them in the installer
system in /var/log/ and later on the installed system under
/var/log/installer.) Please compress large files using gzip.


In the bug report, describe what the problem is, including the last visible
kernel messages in the event of a kernel hang. Describe the steps that you did
which brought the system into the problem state.


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

^[2] ������� ���� (2.6.9 � �����) ��������� ������������ 32 ��������� �
��������� ������ � 32 ���������� �����. ���� ��� ���������� ���������, �� ����
�������� � ����� ������. ����� ���� ����������� �� 255 �������� �� ��� �����
��������� ������, �ӣ ��� ����� ������ ����������.

����� 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.3.7. ��������� � ��������� ���������� ����������
    6.3.8. ���������� ���������
    6.3.9. ���������� �������
    6.3.10. Installation over network-console
6.4. Customization
    6.4.1. Installing an alternative init system

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

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

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

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

��������� ��������� �� ���������, ������������ ���������� ���������, �����
�������� ������� ��� �������� ���������� �������� ��� ������ debian-installer.
����, ��������, �� ������ ����������� ���� ������� (�� ��������� ������������
IPv6 autoconfiguration � DHCP, ���� ���������), �� ������ �������� ��������
�������� netcfg/disable_autoconfig=true. ��������� ��������� ����� ���������� �
�����̚5.1.1, ?��������� ��������� ��������� Debian?.

������� �������������, ��������, ����� ����� ������ ��������� ���������� �����
����, ��� ������ ��� �������������� �������������, � �� �����������
������������� ���������� ���������. ��� ������������� ��������� ��������� �
������ ������ ����������� ����� ����, �������� �������� �������� priority=
medium.

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

In the text-based environment the use of a mouse is not supported. Here are the
keys you can use to navigate within the various dialogs. The Tab or right arrow
keys move ?forward?, and the Shift+Tab or left arrow keys move ?backward?
between displayed buttons and selections. The up and down arrow select
different items within a scrollable list, and also scroll the list itself. In
addition, in long lists, you can type a letter to cause the list to scroll
directly to the section with items starting with the letter you typed and use 
Pg-Up and Pg-Down to scroll the list in sections. The space bar selects an item
such as a checkbox. Use Enter to activate choices.

�� ��������� ����� ���� �������������� ���������� ����������.���� ��� ��������,
�� �� ���� ����� �������� � ������ ������ ������ ��������, ��� ����������
���������� �������� �� ������� ������� F1.

��������� �� ������� � �������� ���������� ��������� �� ���ף���� �������. ��
������ �������� ������ � ���� �������, ����� ����� Alt+F4 (����������� ������� 
Alt ������� �� ����� ������� �������������� ������� F4); ����� ��������� �
��������� �������� ��������� ������� ����� Alt+F1.

����� ��� ��������� ����� ����� � ����� /var/log/syslog. ����� ��������� ����
���� ���������� � ���� /var/log/installer/syslog �� ����� �������. ���������
��������� �� ��������� ����� ����� � �������� /var/log/ �� ����� ��������� � �
/var/log/installer/ ����� ����, ��� ��������� �������������� � �������������
�������.

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

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

main-menu

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

    �� ������ ��������� �� �������� ����, ����������� ����� ������ Go Back,
    ����� ������ ���� ���� ������� �� ����������� � ������ ������ ����������.

localechooser

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

console-setup

    Shows a list of keyboard (layouts), from which the user chooses the one
    which matches his own model.

hw-detect

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

cdrom-detect

    Looks for and mounts a Debian installation media.

netcfg

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

iso-scan

    ���� ISO-������ (����� .iso files) �� ֣����� ������.

choose-mirror

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

cdrom-checker

    Checks integrity of installation media. This way, the user may assure him/
    herself that the installation image was not corrupted.

lowmem

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

anna

    Anna's Not Nearly APT. Installs packages which have been retrieved from the
    chosen mirror or installation media.

user-setup

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

clock-setup

    ��������� ��������� ���� � ���������� ����������� ���� �� �������� (UTC)
    ��� ���.

tzsetup

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

partman

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

partman-lvm

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

partman-md

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

base-installer

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

apt-setup

    ����������� apt, �� ������� ����� �������������, ����������� �� ���, �
    ������ �������� ���� �������� ��������� ���������.

pkgsel

    ���������� tasksel ��� ������ � ��������� ��������������� ��.

os-prober

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

bootloader-installer

    The various bootloader installers each install a boot loader program on the
    hard disk, which is necessary for the computer to start up using Linux
    without using a USB stick or CD-ROM. Many boot loaders allow the user to
    choose an alternate operating system each time the computer boots.

shell

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

save-logs

    Provides a way for the user to record information on a USB stick, network,
    hard disk, or other media when trouble is encountered, in order to
    accurately report installer software problems to Debian developers later.

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 �� ���� ������.

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

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

If the installer runs in low memory mode, it is recommended to create a
relatively large swap partition (1-2GB). The swap partition will be used as
virtual memory and thus increases the amount of memory available to the system.
The installer will activate the swap partition as early as possible in the
installation process. Note that heavy use of swap will reduce performance of
your system and may lead to high disk activity.

�������� �� ��� ��������, ������� �ӣ ����� ����� ���������, ����� ���������
����������� ������ ��� �������� ����� ���� ��������� ����� ��-�� ��������
������ � ������� (�� ������� ��������� ?Out of memory? �� VT4 � � syslog).

��������, ���� ��ޣ�� �� ���������, ��� �� ��������� ������� ������� ��������
������� � ������ � ����� ������������ ������, ���� ���� ������������
������������ ��������. ���� ���������� ������� �������� �� ��������, ����������
������ �ţ ������� �������� ������� ext2 (������� �������� ������������
����������� ��������� ���������). ����� ��������� �������� �������� ������ ext2
�� ext3.

�������� ��������� ��������� ��������� ������������ ����� ������� ������� ���
lowmem ��� ��������, �������������� �� ���������� ��������� ����������� ������,
� ������� ������������ ��������� ?lowmem? ��� ��� ������� � �����̚5.1.1,
?��������� ��������� ��������� Debian?.

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

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

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

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

������� ��� �������� ������� �������������� ����. �������� ������ �������� ��
����������(�����) � �� ����� ����� (������); �������� ������ ����� �������� �
���������� ��������� ��� ����� �����. ������ ������������ �� ����������
���������. ������ ������ ���� �������������� �����, ������� ������ �����
��������� ������� ?C? ������. ��� ������ ?C? ������ ��������� �����
������������� �� ����������; ������������� ������� �� ����� ����� ���������
�����������, ��� ��� ����� locales � ������ ������ ���������� �� �����.

����� ��� �������� ������� �������������� ������������. ���� �� ������� ����,
�� ������� ������� ����� ��� � ����� ������^[3], ��� ����� ������� ������
������ ���� �����. ����� ������� ������ �� �� ������, �������� ������
(��������� �����). ����� ��� ����� ��������� ������ �����������; ��� ������
������̣����� ���������� ����� ������� ������ �����, ������� �� Σ�
�����������.

If the language has only one country associated with it, a list of countries
will be displayed for the continent or region the country belongs to, with that
country selected as the default. Use the Go Back option to select countries on
a different continent.

����������

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

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

� ����� ��������� ������ �� ���������, ��� ������� � ���������� ���������,
����� ������������ ��������� �������� UTF-8.

���� �� ����������� ��������� � ������ �����������, �� ��� �������� �������
�������������� ������, ������� ��� ���������� ?������? ������^[5] ��� ��
��������� � ������������� �������; ���� �� ���-�� ��������, �� ��� ��������
������� ������ �� ��������� ��� ��������������� �������.

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

���������� ����� ��������������� � �������� ������̣����� �����. ��������
���������, ������� �������� � ����� ����������, ��� �������� ��������
����������, ���� ������� �� �������. ����� ���������� ��������� �� �������
������� ��������� �� �������� ���������� ��������� (��������� kbd-config �
������� ����������������� ����� ���������� ���������).

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

6.3.1.4. ����� ������ 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 ����� ��� ������� �� ������ ������� ��� ������������.

�������, ��� ������ (��� ����), �������� ��� ����� ISO, �� ����� ����
����������� �� ����� �������� ���������, ��� ��� ����� ���������� ���������.
����� ��� ������, � ���� � ��� ���� ���������� ��������� ������, �� ���������
��������� ����� ����������� ����� ISO � RAM ����� �������������. ���� ���������
������ debconf ������� ������ iso-scan/copy_iso_to_ram (�� ��������, ������
���� ������� ��������� ���������� ������).

6.3.1.5. ��������� ����

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

6.3.1.5.1. �������������� ��������� ����

�� ���������, debian-installer �������� ��������� ������� ��������� ������
���������� �������������. ���� ��� ������� �� �������, �� ��� ����� ���������
�� ������ ��������, ������� �� �� ������ޣ����� �������� ������ � ������
������������ ���������� �������������� �������������� ���������. ��� ���������
������� ���������� ��������� �� ������� �� ���ף���� �������. � ����� ������
��� �������, �� ������ �� �� ����������� �ݣ ���, ��� ������ ���������
��������� �������. ������ ������� ������ �������������� ��������� �����
�������� ��������, ������� ���� �� �������, ��� �ӣ � �������, ���������� �ݣ
���. ���� �������������� ��������� ����������� � ������� ���������, �� ������
�ţ �������� ��������� ���� �������.

6.3.1.5.2. ��������� ���� �������

��� ������ ��������� ���� ��� ������� ��������� �������� � ����� ����, � ������
��� IP-�����, ����� ����, ����, ������ �������� ����������� �ͣ� � �����
������. ����� ����, ���� ������������ ��������� ������������ ����, �� ���
�������� ������ ������ Wireless ESSID � ���� WEP ��� �������� ����� WPA/WPA2.
������� ������ �� �����̚3.3, ?����������, ������� �����������?.

����������

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

6.3.1.5.3. IPv4 � IPv6

������� � Debian GNU/Linux 7.0 (?Wheezy?), debian-installer ����� ������������
IPv6 (������ ?�������������? IPv4). �������������� ��� ���������� IPv4 � IPv6
(������ IPv4, ������ IPv6 � ��� ��������� ������������).

�������������� ��������� IPv4 ����������� � ������� DHCP (���������
������������ ��������� ����). �������������� ��������� IPv6 ������������
��������� ��� ���������� ��������� (stateless) � ������� NDP (��������
����������� �������, ���������� ���������� ������������ ������� DNS (RDNSS)),
��������� � ����������� ��������� � ������� DHCPv6 � ��������� ��������������
��������� ��� ����������/� ����������� ��������� (��������� ������ � �������
NDP, �������������� ��������� � ������� DHCPv6).

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

����� ���������� �����, ��������� ��������� ��������� ��� ��������� �ޣ����
������ ?root? �/��� �ޣ���� ������ ��� ������� ������������. ��������������
�ޣ���� ������ ����� ����� ������� ����� ���������� ���������.

6.3.2.1. ��������� ������ ����������������� (root)

�ޣ���� ������ root ����� ���������� ��������������������� -- ��� �ޣ����
������, ��� ������� ��� ������� ������� � ����� �������. �ޣ���� ������ root
������ �������������� ������ ��� ����������������� ������� � ��� ����� �������
�����.

����� ����������� ���� ������ ������ �������� ��� ������� �� 6 �������� �
��������� ��������� � �������� �����, � ����� ����� ����������. �������
�������� �������� ��� ��������� ������ root, ��������� ��� ����� ������ �ޣ����
������. ��������� ���� �� ������� ��� ������������� ����� ������������
����������, ������� ����� �������.

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

���� ����� �� �� �������� ������ ������������ ?root?, �� ��� �ޣ���� ������
�����������, �� ��� ���� ������� ����� ���������� ����� sudo, �����������
��������� ������ ����������������� � ����� �������. �� ���������, �������
���������� ������������ � ������� ����� ��������� ������������ ������� sudo ���
��������� ���� root.

6.3.2.2. �������� �ޣ���� ������ �������� ������������

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

������ �� ������? ���� �� ������, �� ������� ������� �������� �������������
���������� root ��� ��, ��� � �������� root ����� ����� ����� �������
����������� �����������. ������ �������: ��� ����� ������� ��������� ���������
��������� ���������� ���� -- ��� ���������, ������� �������������
�������������� ����� ������������ �����������������, ����� �����������������
�������. � ����� ������� ����� �� ���������� ����������������� Unix ��� ����
��������������� �������� -- �������� ���� �� ���, ���� ��� ��� ��� � �������.

������� ��� �������� ������ ������ ��� ������������. ����� ������� ���
���������������� �ޣ���� ������; � ����� ������, ���� ��� ��� ���-�� �������
������ �����ģ�. �, �������, ��� �������� ������ ������ �ޣ���� ������.

���� � ����� ������ ����� ��������� �� �������� ������� �ݣ ���� �ޣ����
������, �������������� �������� adduser.

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

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

� ���������� ������ ��� ��� ��������� �� ������� ����������� ��� �����
���������� ������� ?������������� ���������������� ����� ? (UTC) � ��������
�������� �����.

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

 1. ������� ������: �������� ������ ������� ���� ����� ���������� ��������� �
    �������� � ����� �������. ��� ����� ������� � ������� ��������� �������:

    # dpkg-reconfigure tzdata

 2. ������ ������: ������� ���� ����� ���� ����� ��� �������� ���������
    ��������� � ������� ��������� time/zone=��������. �������� ������ ����
    ���������� ������� ������, �������� Europe/London ��� UTC.

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

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

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

���� �� ����� ������� � ���������� ��������, ��� ������ ������ ����� ������
��������, �������� ���������ŚC, �������� ������ � Debian.

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

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

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

������ ��������� ���������� �������, � ��������, �� �����������, �� ���� �
������ �������. ��������, �� �������� � ������������ ���������� �������
�������� �� ��� ���������. ��������� �� ��������� ����� ����� �����������. ���
������� ��������, ������������ �� ���������, �����, ��������, ���������� ��
������ �������� ��ߣ�� �� ��������� � ������� ������ ��ߣ��. ���������
��������� ����� �������� ������ ��� ��������� �� ������� ��� ������ �����������
debconf; ��� ���� ���������, ��� ����� �������������� ��������� �� ���������
����� ��������������.

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

  * ���������� ����������� ������ (LVM)

  * ����������

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

    �������� �������� � ����. ��������� ������������ ��������� �������� ������
    ���� ţ �������� ��� ������� ��������� ���������.

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

  * ext2, ext3, ext4

    � ����������� ������� �������� �������� �� ��������� ���������� ext4; ���
    ������������� ������������ �������� ��� �������� /boot ����� ������� ext2.

  * jfs (���������� �� ���� ������������)

  * xfs (���������� �� ���� ������������)

  * reiserfs (�� ������; ���������� �� ���� ������������)

    ��������� �������� ������� Reiser �� ��������� ����� ����������. ���
    ������� ��������� ��������� �� ������� ��� ������ ����������� debconf, ţ
    ����� �������� ������ ��������� partman-reiserfs. �������������� ��������
    ������� ������ ������� ������.

  * FAT16, FAT32

The partitioner accepts units as power-of-ten (1 MB = 1000 kB = 1000000 B), as
well as power-of-two (1 MiB = 1024 kiB = 1048576 B). Unit prefixes are
supported until EB/EiB (exabyte/exbibyte).

6.3.4.2. ������������ ��������

���� �� ������� ������������ ��������, �� ���� ��� ����: ��������� �������
��������������� �� ֣����� ����� (������������ �����), ��������� �� � �������
���������� ����������� ������ (LVM) ��� ���������, ��������� LVM � �����������^
[6].

����������

LVM ��� LVM � ����������� ����� ���� ���������� �� ��������� ������������.

��� ������������� LVM ��� LVM c �����������, ��������� ��������� �������
����������� �������� ������ ������ �������� �������; ������������ ����� ������
� ���, ��� � �������� ������ ����� �������� ������� ����� ����� ��������
������� �����. ��� ������������� LVM � ����������� ������� ������ �����
���������� ��� ����������� �������� �����, ������������ ��� �����
�������������� ������������ ����� (������) ������.

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

����������

��� ������������� ������������ �������� � LVM ��� LVM c �����������, ����� ���
��� ���������� � ��������� LVM, ����� ���������� ������ �� ��������� ����. ���
��������� ������ ��� ��������� ������ �� ��������� ֣����� ����� � �� ������
������ ����� ������������. ������ ��������� ��������� ����� ������� �� ����
�������� ��� ����������� ���������� ���� ���������.

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

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

Next, you will be able to choose from the schemes listed in the table below.
All schemes have their pros and cons, some of which are discussed in
���������ŚC, �������� ������ � Debian. If you are unsure, choose the first
one. Bear in mind that guided partitioning needs a certain minimal amount of
free space to operate with. If you don't give it at least about 3GB of space
(depends on chosen scheme), guided partitioning will fail. Also, on small disks
you will probably not see all of the schemes mentioned below.

+-----------------------------------------------------------------------------+
|              ����� ��������               |  �����������  |   �����������   |
|                                           | ������������  |     �������     |
|-------------------------------------------+---------------+-----------------|
|��� ����� �� ����� �������                 |8GB            |/, swap          |
|-------------------------------------------+---------------+-----------------|
|��������� ������ /home                     |9GB            |/, /home, swap   |
|-------------------------------------------+---------------+-----------------|
|��������� ������� /home, /var � /tmp       |12GB           |/, /home, /var, /|
|                                           |               |tmp, swap        |
|-------------------------------------------+---------------+-----------------|
|Separate /srv and /var partitions; swap    |8GB            |/, /srv, /var,   |
|limited to 1GB (for server)                |               |swap             |
|-------------------------------------------+---------------+-----------------|
|Scheme especially for small disks          |3GB            |/, swap          |
+-----------------------------------------------------------------------------+

���� �� ������� ������������ �������� � �������������� LVM (� �����������), ��
��������� ��������� ����� ������� ��������� ������ /boot. ��������� �������,
������� ������ ��������, ����� ������� ������ ������� LVM.

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

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

  SCSI1 (0,0,0) (sda) - 6.4 GB WDC AC36400L
        #1 primary   16.4 MB  B f ext2       /boot
        #2 primary  551.0 MB      swap       swap
        #3 primary    5.8 GB      ntfs
           pri/log    8.2 MB      FREE SPACE

  SCSI2 (1,0,0) (sdb) - 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    f ext4       /
        #6 logical    1.0 GB    f ext3       /var
        #7 logical  498.8 MB      ext3

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

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

6.3.4.3. �������� �������

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

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

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

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

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

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

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

6.3.4.4. ��������� ��������� Multidisk (����������� RAID)

���� � ��� ����� ������ ֣������ �����^[7] � ����������, �� �����
��������������� ���������� partman-md ��� ���������� ������������������ ������
�/��� ��������� ��ģ������ �������� ������. � ���������� ���������� ���
���������� ���������� Multidisk (��� ������, ����� ��������� ��������,
����������� RAID).

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

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

RAID0

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

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

RAID1

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

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

RAID5

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

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

RAID6

    ������� RAID5, �� ����������� ����� �������� �� ���� ������, � �� �� �����.

    ������ RAID6 ��������� ������� ���� ����� ������ �� ����� ����� ����
    ������.

RAID10

    � RAID10 ������������ ����������� (��� � RAID0) � �������������� (��� �
    RAID1). � � ��������� n ����� �������� ������, ������� ��������������
    ����� ��������� ���, ��� ��� ����� ���������� ������ �������� �� ������
    �����������. �� ��������� n ����� 2, �� � ������ �������� ��� �����
    ��������. ����� ��������������� �������� ������ ���� ��� ������� n. �
    RAID10 ���� ��������� ����� ������������� �����. �� ��������� ������������
    ����� �������� (near) �������������. ��� ���� ��� ���������� �����
    ������������� �� ������ �� ����������� ��������. ��̣��� (far) ����� �����
    ������ �������� �� ������. �������� ����� ��������� �� ���� ������, � �� �
    ��������� �����.

    RAID10 ����� �������������� ��� ���������� ��ģ������ � ������������ ���
    ���� �� ����ޣ�� ����������� ����.

����:

+-----------------------------------------------------------------------------+
|      | ������� |  ��������   |���������� �� |                               |
| ���  |���������| ����������  |  ������ ���  |    ��������� ������������     |
|      |         |             |������ �����? |                               |
|------+---------+-------------+--------------+-------------------------------|
|      |         |             |              |������ ������ ����������       |
|RAID0 |2        |���          |���           |������� ���������� �� �����    |
|      |         |             |              |��������� � RAID               |
|------+---------+-------------+--------------+-------------------------------|
|RAID1 |2        |�������������|��            |������ ������ ����������       |
|      |         |             |              |������� � RAID                 |
|------+---------+-------------+--------------+-------------------------------|
|      |         |             |              |������ ������ ����������       |
|RAID5 |3        |�������������|��            |������� ���������� �� (�����   |
|      |         |             |              |��������� � RAID ����� ����)   |
|------+---------+-------------+--------------+-------------------------------|
|      |         |             |              |������ ������ ����������       |
|RAID6 |4        |�������������|��            |������� ���������� �� (�����   |
|      |         |             |              |��������� � RAID ����� ���)    |
|------+---------+-------------+--------------+-------------------------------|
|      |         |             |              |����� ���������� ���� ��������,|
|RAID10|2        |�������������|��            |����̣���� �� ����� ����� �����|
|      |         |             |              |(�� ��������� ���)             |
+-----------------------------------------------------------------------------+

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

��� �������� MD ���������� ����� �������� �������� ������� ��� ������������ �
RAID. (��� �������� � partman �� ���� ��������� �������, ��� �� ������ ������� 
������������ ���: ? ������������ ������ ��� ���������� RAID.)

����������

Make sure that the system can be booted with the partitioning scheme you are
planning. In general it will be necessary to create a separate file system for
/boot when using RAID for the root (/) file system. Most boot loaders do
support mirrored (not striped!) RAID1, so using for example RAID5 for / and
RAID1 for /boot can be an option.

�����, �� ������ ������� ��������� ������������ RAID �� �������� ���� partman.
(���� �������� ������ ����� ���� ��� �� �������� ���� �� ���� ������
������������ ��� ���������� ��� ��� RAID.)�� ������ ������ partman-md ������
�������� ������� MD ����������. ��� ����� ��������� ������ �������������� �����
MD ���������, �� �������� �� ������ ������� ���� (��������, RAID1). ����������
�������� ������� �� ���� ���������� MD.

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

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

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

  * �������� RAID6 ���������� ��������� RAID1 �� ����������� ����, ��� ���
    ����� ������������ ��� ������� ������ �������� �������.

  * �������� RAID10 ����� ������ �� ��������� �������� RAID1, ���� ���
    ���������� �� � ������ ��������. � ���������� ������ debian-installer
    �������� ������� ����� �������������. � ����� �������� ��� ���������.
    ������ -- ��� ��� �����. ��� �������� ����� ���� n (��� ������� �����), f
    (��� ��̣��� �����), ��� o (�������� �����). ������ ���������� ��������
    ����� ����� � �������. ��� ������ ���� �����, ��� �������, ����� ��������
    ������, ����� ���� �������� ������������ ��� ����� �� ������ ������.

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

����� ��������� MD ��������� � ������������ � ������ ���������, �� ������
������� ��������� partman-md � ��������� � partman, ����� ������� ��������
������� �� ����� MD ����������� � ��������� �� ������� �������� ���� �����
������������.

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

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

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

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

��������� LVM � debian-installer ����� ������ � ��������� �������������� 
partman ��-������, �������� ������(�), ������� ����� �������������� � ��������
���������� ����� LVM. ��� �������� � � ���� ��������� �������, ��� �� ������
������� ������������ ���: ? ���������� ��� ��� LVM.

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

��������: ��������� ������ LVM ��������� ��� ������ �� ���� ��������,
���������� ����� � ����� LVM. �������, ���� � ��� ��� ���� LVM �� �����-��
������, � �� ������ ������������� ���������� Debian �� ��� ������, �� ������
(������������) LVM ����� �ԣ��! ��� �� ��������� � � ��������, ������� (��
�����-�� �������) ��������� �������� ����� � ����� LVM, �� �������� ���-��
������ (��������, ������������� ���). ��� ���������� ������� ����� �����
��-������� �� ���������� ����� ��������� ������ LVM!

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

  * �������� ��������� ���������: ���������� ��������� LVM ����������, ����� �
    ������� ���������� ����� � �.�.

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

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

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

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

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

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

  * ���������: ��������� � ������� ���� partman

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

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

6.3.4.6. ��������� ����������� �����

debian-installer ��������� ����������� ����������� �������. ������ ����,
������������ �� ����� ������, ���������� ����������� �� ���������� �
����������� ����. ������ � ����������� ������ ����������� ������ ����� �����
�������� �����, ������� �������� ��� �������� ������������ �������. ���
����������� ������� ��� ������ ���������������� ������ �� �������� ��� ֣�����
����� ��� �����. ��� ����� �������� ���������� ������ � ֣������ �����, �� ��
���� ���������� �������� �����, ������ �� ����� �������� ��� ��������� �����
��������.

The two most important partitions to encrypt are: the home partition, where
your private data resides, and the swap partition, where sensitive data might
be stored temporarily during operation. Of course, nothing prevents you from
encrypting any other partitions that might be of interest. For example /var
where database servers, mail servers or print servers store their data, or /tmp
which is used by various programs to store potentially interesting temporary
files. Some people may even want to encrypt their whole system. Generally the
only exception here is the /boot partition which must remain unencrypted,
because historically there was no way to load the kernel from an encrypted
partition. (GRUB is now able to do that, but debian-installer currently lacks
native support for encrypted /boot. The setup is therefore covered in a
separate document.)

����������

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

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

�������������� debian-installer ����� ����������: dm-crypt (����ޣ� � �����
����� Linux, �������� ��� ���������� ����� LVM ����).

������� ���������� ��������� ���������, ���� � �������� ������ ����������
������ Device-mapper (dm-crypt). ��� � ������: ���� �� ������, �����������
�������� �� ���������, ��� ��� ��� �������� ���������� ������ �� �����������
������������.

����������: aes

    ���� �������� ��������� ������� �������� ���������� (����), ������� �����
    �������������� ��� ���������� ������ �������. debian-installer ������������
    ��������� ������� �����: aes, blowfish, serpent � twofish. ����� �� �����
    ����������� ��������� ���� ����������, ������, ��� ������ ��� ������� �����
    �������������� ������, ��� � 2000 ���� AES ��� ������ ������������
    ���������� �������������� ��� � �������� ������������ ��������� ����������
    ��� ������ ���������������� ���������� � 21-�� ����.

������ �����: 256

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

IV ��������: xts-plain64

    ������ ������������� ��� IV �������� ������������ � ������������ ��� ����,
    ����� ��� ���������� ������ � ���� �� �������� ������ ���������� ������
    ������ ��������� ���������� ����������� �����. ��� ���� ������� ��� ����,
    ����� ��� ������ ����� ������������� ���������� ������������� �������� �
    ����������� ������.

    �� ������������ ������������, �������� �� ��������� xts-plain64 �������� ��
    ����������� ������ �������� �������� � ��������� ������. �����������
    ������������ ������ ����� ��� ����� ��� ������������� � ������
    ������������� ��������, � ������� ���������� ������������� ����� ���������.

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

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

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

        ���� ���������� ����� ������^[8] �� ������ �������� �����, ������� ��
        ������� ������ �����.

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

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

        ������������ ����� ������� ��� �������� ��������, ��� ��� ��� �� �����
        ���������� �������� ����� �� �������� ���������������� ���������� ��
        ������� �������� ����� ����������� ����������. ������, ��� �����
        ��������, ��� �� �� ������� ������������ ������� ?suspend-to-disk? ��
        ����� ���� Linux, ��� ��� ���������� (�� ����� ����������� ��������)
        ������������ ���������������� ������ ���������� � ������ ��������.

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

    ������, ����� �� ������������ ���������� ������� ������������� �������
    ����� ���������� ����������. ��� ������������� ������, ��� ��� ����� ���
    ����� ��������� �������������� ��������� ����� ����� ������� ������������,
    � ����� ���. �����, ��� �������� ������� �������������� ����� ���������� ��
    ���������� ��������� ������^[9].

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

����� ��� �������� ������ �������� ����� ��� ��������, ����������� �� ţ
�������������. ������� �������� ����� ������ ���� ������ 8 ������, ������
��������� ���������� �����, ����� � ������ ������� � �� ������ ���������
������������������� ��������� ���� ��� ����������, ������� ���-�� ��������� �
��� ����� (��������, ��� ��������, �����, ����� �������� ��������, �����
������������� � ���� ��������).

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

����� ������ �������� ���� �� ������ ���������, ��� ���������� ���������
��������� � ���������� ��������� �������. ���� �� �� �������, �����
������������� �� ������ ����������� ������� � ����������� ������ �����. ���
���������� ��� �� �������������� � �����������, ��������, ���� �� �������
�������� ����� �� ���������� � ���������� qwerty, � �� ����� ��������� ��
������������ ��������� azerty. ����� �������� ����� ��������� �� ����������
��������. �� ����� ������������� �� ������ ��������� ���������� �� �����
���������, ��� ��������� ��������� �ݣ �� ������������ �� ������� �����
�������� ����� ��� �������� �������� �������.

���� ��� �������� ������ ���������� �� ������� ������������� ������� ���
�������� �����, �� ��� ����� �������������. ��� ��� ���� ����� �� �������
����������� ���������� �������� �� ������ ������ ������ ���������, �������
����� ������ ��������������� �����. �� ������ �������� ������� ���������
��������: ��������, ������� ������������ �������, ��� ������������� � ��������
��������� ������ �� ������ ����������� ������� � ������� ��������� �����
������� �� ���� ��� � ������ (�������� �����-�� �����, ����������� �������
����� � /dev/null � �.�.). ��� ����� ������� ��� ������� ���������� �������.

����� ����������� � ������� ���� ��������, �� ������� ��� ����������� ���� ���
�������������� �������, ������� ����� ����������� ��� ������� �������. �
��������� ������� ������� ���, ������������� � ������� dm-crypt

Encrypted volume (sda2_crypt) - 115.1 GB Linux device-mapper
     #1 115.1 GB  F ext3

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

�������� ���-������ ���������� � ������������ ��������������� � ������� (
sda2_crypt � ������ ������) � ������ ������������, ������� �� ���������
����������� �����. ��� ������ ��� ����������� ����� ��� �������� ����� �������.
�������� ����� ������� ��������� �������� � �������� � ����������� �������
����� � �����̚7.2, ?������������ ����������� �����?.

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

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

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

�� ����� ��������� ������� ������� ��������� � ���������� � ��������� �������
�������������� �� tty4. �� ������ ������� �� ���� ��������, ����� ����� Alt+F4;
����� ��������� ������� � �������� ������� ��������� ������� ����� Alt+F1.

��������� ����������/��������� �� ����� ����� ����� ����������� � ����� /var/
log/syslog. �� ������ ���������� ��, ���� ��������� ����������� ����� �������
�� ���������������� �����.

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

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

����������

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

6.3.6. ��������� ��������������� ������������ �����������

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

6.3.6.1. ��������� apt

One of the tools used to install packages on a Debian GNU/Linux system is the
program apt, from the apt package^[10]. Other front-ends for package
management, like aptitude and synaptic, are also in use. These front-ends are
recommended for new users, since they integrate some additional features
(package searching and status checks) in a nice user interface.

������ apt ����� ������� ������ �������� ������. ��������� ���������
����������� � ����� /etc/apt/sources.list. �� ������ ��������� � �������� ���
�� ����� ����� ���������� ���������.

���� �� ���������� ��������� � ����������� �� ���������, �� ��������� ���������
�������� ������� ����� ��������� �������������, ����������� �� ������������
������ ��������� �, ��������, �� �������, ��������� ���� �����. � �����������
������� ��������� ��������� ������������� ������� ������� ������������ �, ����
�� ����������� ���������� �����������, ������� ������� ?stable-updates?.

If you are installing at a lower priority (e.g. in expert mode), you will be
able to make more decisions yourself. You can choose whether or not to use the
security and/or stable-updates services, and you can choose to add packages
from the ?contrib?, ?non-free?, and ?non-free-firmware? sections of the
archive.

6.3.6.1.1. Installing from more than one DVD image

If you are installing from a DVD image that is part of a larger set, the
installer will ask if you want to scan additional installation media. If you
have such additional media available, you probably want to do this so the
installer can use the packages included on them.

If you do not have any additional media, that is no problem: using them is not
required. If you also do not use a network mirror (as explained in the next
section), it can mean that not all packages belonging to the tasks you select
in the next step of the installation can be installed.

����������

Packages are included on DVD images in the order of their popularity. This
means that for most uses only the first image of a set is needed and that only
very few people actually use any of the packages included on the last images of
a set.

It also means that buying or downloading and burning a full DVD set is just a
waste of money as you'll never use most of them. In most cases you are better
off getting only the first 1 to 2 DVDs and installing any additional packages
you may need from the Internet by using a mirror.

If you do scan multiple installation media, the installer will prompt you to
exchange them when it needs packages from one that isn't currently in the
drive. Note that only discs that belong to the same set should be scanned. The
order in which they are scanned does not really matter, but scanning them in
ascending order will reduce the chance of mistakes.

6.3.6.1.2. ������������� �������� �������-������� �������

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

If you are not installing from a DVD image, you really should use a network
mirror as otherwise you will end up with only a very minimal system. However,
if you have a limited Internet connection it is best not to select the desktop
task in the next step of the installation.

If you are installing from DVD, any packages needed during the installation
should be present on the first DVD image. Use of a network mirror is optional.

One advantage of adding a network mirror is that updates, that have occurred
since the DVD images were created and have been included in a point release,
will become available for installation, thus extending the life of your DVD set
without compromising the security or stability of the installed system.

In summary: selecting a network mirror is generally a good idea, except if you
do not have a good Internet connection. If the current version of a package is
available from installation media, the installer will always use that. The
amount of data that will be downloaded if you do select a mirror thus depends
on

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

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

 3. which of those packages are present on the installation media you have
    scanned, and

 4. whether any updated versions of packages included on the installation media
    are available from a mirror (either a regular package mirror, or a mirror
    for security or stable-updates).

�������, ��� ���� ���� �� �������� �� ������������ ������� �������, ���������
������ ����� �ӣ ����� ���� ������� �� ��������, ���� ��� ��� ����, ��������
������� ������������ ��� stable-updates, ����� ������, � ���� ��� ���� �������
���������.

6.3.6.1.3. ����� �������� �������-������� �������

Unless you chose not to use a network mirror, you will be presented with a list
of network mirrors based upon your country selection earlier in the
installation process. Choosing the offered default is usually fine.

The offered default is deb.debian.org, which is not a mirror itself but will
redirect to a mirror that should be up-to-date and fast. These mirrors support
TLS (https protocol) and IPv6. This service is maintained by the Debian System
Administration (DSA) team.

A mirror can also be specified by hand by choosing ?enter information manually?
. You can then specify a mirror host name and an optional port number. This
actually has to be a URL base, i.e. when specifying an IPv6 address, one has to
add square brackets around it, for instance ?[2001:db8::1]?.

���� ��� ��������� ����� ������ ����� IPv6 (���, ��������, �� ���, ���
������������ ����������� �������������), ��������� �� ��������� ������� ���
����� ������ ����� �� ��������. ��� ������� �� ������ �������� �� ������� IPv4,
� ������ ��������� �� ��� ����� ������ IPv6. ����������� ��������� ������ �����
� �������� ������� ��������, ��� ���������� ���������� ��������� ���������.
���� ��� ����� ������ ������� �� ��������� ���������� ����� IPv6, �� �� ������
����������� ������ ������� ��� ?������ ���������� �������?. ��� ���� � ��������
����� ������� �� ������ ������� ?ftp.ipv6.debian.org?, ������� ��������
����������� �������, ���������� �� IPv6, ���� ��� �� ����� ����� �������.

6.3.6.2. ����� � ��������� ������������ �����������

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

These tasks loosely represent a number of different jobs or things you want to
do with your computer, such as ?Desktop environment?, ?Web server?, or ?SSH
server?^[11]. �����̚D.2, ?�������� ������������, ����������� ��� �����? lists
the space requirements for the available tasks.

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

���������

� ����������� ���������������� ���������� ��������� ��������� ��� ������/������
����� ������������ ������� ������.

����������

�� ������ ?��������� �������� �����? ����� ����������� ����������� ���������
�������� �����.

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

Note that this will only work if the packages needed for the desired desktop
environment are actually available. Installing any of the available desktop
environments this way should work fine if you are using a DVD image or any
other installation method with a network mirror.

The various server tasks will install software roughly as follows. Web server:
apache2; SSH server: openssh.

The ?Standard system utilities? task will install any package that has a
priority ?standard?. This includes a lot of common utilities that are normally
available on any Linux or Unix system. You should leave this task selected
unless you know what you are doing and want a really minimal system.

���� � ��������� ������ ����� ������ �� ��������� ����� ���������� �� ������ ?C
?, �� tasksel ��������, ���������� �� �����-���� ������ ����������� ��� ����
������, � ������������� ���������� ���������� ���������� ������ �����������.
��������, � ����� ������� ��������� ������ �� ��������� ��� ������������
�������� ��� ������ �����. ���� ������� ��������� ��������� �������� �����, ��
����� ����� ����������� ��������������� ������ ����������� (���� ����).

����������

Starting with Debian Trixie, debian-installer allows to install Debian Pure
Blends directly. There is an entry ?Choose a Debian Blend for installation? at
the bottom of the tasks list, which enables an additional choices dialog to
appear, after tasksel has finished.

In that dialog (blendsel), you can choose which blend to install, similar to
this tasks selection.

See the Debian website for more information about Debian Pure Blends.

����� ������ ����� ������� Continue. ������ apt ���� ��������� �������,
������� �������� ������ ��������� �����. ���� �����-�� ��������� �����
�������������� ���������� �� ������������, �� ��� ������ ţ �� ����� �������
��������.

You should be aware that especially the Desktop task is very large. Especially
when installing from a netinst CD image in combination with a mirror for
packages not on the netinst, the installer may want to retrieve a lot of
packages over the network. If you have a relatively slow Internet connection,
this can take a long time. There is no option to cancel the installation of
packages once it has started.

Even when packages are included on the installation image, the installer may
still retrieve them from the mirror if the version available on the mirror is
more recent than the one included on the image. If you are installing the
stable distribution, this can happen after a point release (an update of the
original stable release); if you are installing the testing distribution this
will happen if you are using an older image.

6.3.7. ��������� � ��������� ���������� ����������

6.3.7.1. ����������� ������������ ������

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

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

6.3.7.2. ����������� ��� ���������� ����������

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

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

6.3.8. ���������� ���������

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

6.3.8.1. ������������ �������

6.3.9. ���������� �������

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

6.3.9.1. ���������� ��������� ���������

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

Choosing Save debug logs from the main menu allows you to save the log files to
a USB stick, network, hard disk, or other media. This can be useful if you
encounter fatal problems during the installation and wish to study the logs on
another system or attach them to an installation report.

6.3.9.2. ������������� ��������� ������ � �������� ���������� ������

���� ��������� �������� ������� � �������� ��������� ������ �� ����� ����������
���������. �� ����������� ������, � ���� �� �� ����������� ��������� � �������
�� ���������������� �����, ����� ������� ����� -- ��� ������������� �� ������ 
����������� ������� ����� ����� Alt+F2^[12] (�� ���������� Mac: Option+F2).
����� ��������� ������� � ��������� ��������� ����������� ����� Alt+F1.

���� �� �� ������ ������������� ����� ���������, ����� ���� ����� � ���� ������
��������, ������� ��������� ��������. ����� �� ����������� �������� �������
������� � ������� ���� ������� ������ Go Back ���� ��� ��������� ���. �����
��������� ������� � ��������� ���������, ������� exit ��� ���������� ��������.

� ������ ������ �� ����������� � RAM ����� � ������ ������������ ����� Unix
������. �� ������ �������� ����� ������� �������� � ������� ������� ls /bin /
sbin /usr/bin /usr/sbin ��� ������ help. ���� Bourne �������� ��������� ������
���������� ash � ����� ��������� �������� ��������,����� ��� �������������� �
������� ������.

��� �������������� � ��������� ������ ������� ��������� �������� nano.
���������� ����� ������� ��������� ����� ����� � �������� /var/log.

����������

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

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

6.3.10. Installation over network-console

����� �������� ������ ����� ������ � ��� ������������� ��� ����������� �
��������������� �������. ��� �ӣ. ������ �� ������ ������� ���������� ��
���̣����� ����������� � �������� ������������ installer � ������ ��� ���ģ����
�������. ����� ����� ����� ������� ��������� (fingerprint) �������. ��� �����
�������� ���� ��������� ���������� ������� ��������, ������� ����� ����������
��������� ���̣���.

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

������ ������� �����ģ� �� ������ ������� ����������. ����� ��� �����������
��������� �������� ��� ������ � ���������� UTF-8, ������ ��� ţ ����������
��������������� �������. ���� �� �� ������ ����� �������, ���̣���� ���������
�ӣ �ݣ ��������, �� � ���� ������ �� ������ ��������� �� ������ ��������
��������� ������ ������ ���� � ��-ascii ��������. ����� ���������� ���������� �
���̣���� �������� ������ ��������:

$ ssh -l installer install_host

��� install_host ��� ��� ��� IP-����� ���������� � ���������� ����������
���������. ����� ������������ � ������� ����� ������� ������������� ������
(fingerprint), ����� �� ������ ���������, ��� ��� ������ ��� ���������.

����������

������ ssh �� ��������� ��������� ���������� ��������� �� ���������, �� ���� ��
���������� ������ keep-alive. � ��������, ���������� � ��������, ������
�������������, ������ ����������� �������� ����������. ������, � ���������
��������� -- � ����������� �������� ����� ��������� ���� -- ���������� �����
���� �������� ����� ���������� ������� ������������. ����� �� ������� ����� ���
��������� -- ������������� ����� �� ���� ���������� ������� ������� (NAT)
���-�� ����� �������� � ��������������� ��������. � ����������� �� �����
���������, ��� ������� ���� ��������� ����������, �� �� ������ �������
���������� ��������� ����� ���������������.

����� �������� ������ �����������, �������� �������� -o�ServerAliveInterval=
�������� ��� ������� ���������� ssh, ��� �������� ���� �������� � ���� ����
��������� ssh. ������� ������, ��� � ��������� ������� ���������� �����
��������� ������ ����� ��������� � ������ ���������� (��������, ���� ������
keep-alive ���������� �� ����� ������������� ������� � ����, ���� ��� ���������
ssh ��� �� �������������), ������� ����������� ��� ������ ����� ����� �����.

����������

���� �� ����������� ��������� �� ��������� ����������� ��������������� � ���
����������, ��� ��� ����� ���������� IP-����� ��� ���, �� ssh �� �����
������������ � ����� �������. ������� � ���, ��� ��� ����� ������ ���������,
��� ������ ��������� �� ����� �������. ���� �� �������, ��� ��� �� ���, �� ���
����� ������� ��������������� ������ �� ~/.ssh/known_hosts^[13] � �����������
������������ �ݣ ���.

����� ����������� �� ���̣���� ������� ��� ��������� ��� ��������:Start menu � 
Start shell. ������ ������, �� ����ģ�� � ������� ���� ��������� ���������,
������ ����� ���������� ��������� ��� ������. �� ������ �������� �����������
�������� ��������� ������, �� ������� ����� ��������� � ��������, ���-��
��������� �� ���̣���� �������. ����������� ��������� ������ ���� ������ SSH
��� ������������� ���� � ��������� ��� �������� ��������� ������.

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

����� ������� ��������� ����� SSH, �� �� ������ ������������ � ��������� �
�������, ��� ��� ��� ����� �������� � ����� ���� ������, ������� ��������
��������� ����� �������. ���, � ���� �������, ����� �������� � ����������
���������� ��������� ��� ��������� � ������������� ��������.

6.4. Customization

Using the shell (see �����̚6.3.9.2, ?������������� ��������� ������ � ��������
���������� ������?), the installation process can be carefully customized, to
fit exceptional use cases:

6.4.1. Installing an alternative init system

Debian uses systemd as its default init system. However, other init systems
(such as sysvinit and OpenRC) are supported, and the easiest time to select an
alternative init system is during the installation process. For detailed
instructions on how to do so, please see the Init page on the Debian wiki.


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

^[3] ���������� ������: ����� ��� ����� ���������� ��������� ������� �
���������� ������ �����.

^[4] ��������� ������� ��� ������ ���������, �� ������ ������ �������
�������������� ������ �� ���, ��� �������� ��� ���������� ����� (���� ����
������ �����).

^[5] ������ ������ -- ��� ������, �� ������������ UTF-8, � ����������
����������� ���������� ����������, �������� ISO�8859-1 (������������ ���
�������-����������� ������) ��� EUC-JP (������������ ��� ��������� �����).

^[6] ��������� ��������� ������� ��������� ���� LVM 256-������ ������ AES �
���������� ��������� ?dm-crypt? � ����.

^[7] ���� ������, �� ������ ������� MD ���������� ���� �� ������� ��������,
������������� �� ����� ���������� ֣����� �����, �� ��� �� ���� ������� ������.

^[8] ������������� �������� ����� � �������� ����� ��������, ��� ������ �����
�������� � ������� LUKS.

^[9] ������, ���� ������, ��� ������ �� ����� �� ��� ����� �����
��������������� ������ ���� ����� �� ������������� ���������� ��
����������������� ���������.

^[10] Note that the program which actually installs the packages is called dpkg
. However, this program is more of a low-level tool. apt is a higher-level
tool, which will invoke dpkg as appropriate. It knows how to retrieve packages
from your installation media, the network, or wherever. It is also able to
automatically install other packages which are required to make the package
you're trying to install work correctly.

^[11] You should know that to present this list, the installer is merely
invoking the tasksel program. It can be run at any time after installation to
install more packages (or remove them), or you can use a more fine-grained tool
such as aptitude. If you are looking for a specific single package, after
installation is complete, simply run aptitude install package, where package is
the name of the package you are looking for.

^[12] �� ����: ������� ������� Alt � ����� ������� �� ������� ������ �
�������������� ������� F2 ������������.

^[13] ��� �������� ������������ ������ �� ���� ����� ��������������� ��������: 
ssh-keygen -R <���_����|IP-�����>.

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

����������

7.1. ������ ������
7.2. ������������ ����������� �����
    7.2.1. ���������� ���������
7.3. ���� � �������

7.1. ������ ������

������ ��������������� �������� ������� ��������-��������� �������� ?smoke test
?.

���� ������� �� �����������, �� ����������. ���� ��������� ����������� �������,
�� ��� ����� ���� ��������� �����-�� �������������� ��������, ������� ��
��������� ������� ��������� Debian. � ����������� ������� ����� ��������
�������� ��� ��������� ���������. ����� �� ������� ������� ������� � ���������
�������� ���������� � ��������� ��������� ����� �������������� (�����̚8.6,
?�������������� ������������ �������?).

���� �� ������� � Debian � Linux, ��� ����� ������������� ������ ����� �������
�������������. ����� �� ������ ��������� ��ޣ� �� ��������� ��� ��� ������� �
�����̚5.2.4, ?�������� ��ޣ��� �� ������� ���������?. ���������� �������� ���
����� ��������, �������� ��� ��������� ������� ������������, ��� ����� ������
���������� ������� ��������.

7.2. ������������ ����������� �����

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

��� ��������, ������������� dm-crypt, �� ����� �������� �� ������� ���������
���������:

Starting early crypto disks... part_crypt(starting)
Enter LUKS passphrase:

� ������ ������ �����������, ������ part ����� ������� �������� �������������
�������, �������� sda2 ��� md0. ��, ��������, �����������: ��� ������ ����
����� ������� �������� �����? ��� /home? ��� ��� /var? �����������, ���� � ���
������ ���� ����������� ���, ��� ����� � �� ������ ������ ������ ��������
�����, ������� ������ ��� ��������� ����. ���� �� � ��� ��������� �����������
�����, �� ���������� �������, ������� �� ������� �� ��������� �����
�����̚6.3.4.6, ?��������� ����������� �����?. ���� �� ����� �� ��������
������������ ����� part_crypt � ������ ������������, �� ������ �������� ��� �
������ /etc/crypttab � /etc/fstab �� ����� �������.

��� ������������ �������������� ��������� ������� ����������� ����� ���������
��������� �����. ��� ������� �� ���������� initramfs, ������� ������������� ���
�������� initrd ��� �������� �������. ������ ��� initrd, ���������� � �������
initramfs-tools:

Begin: Mounting root file system... ...
Begin: Running /scripts/local-top ...
Enter LUKS passphrase:

�� ����� ����� �������� ����� ������� �� ������������ (���� �ף��������). ����
�� ���ģ�� �������� �������� �����, �� � ��� �ݣ ���� ��� �������. �����
������� ������� ������� �������� ��������� ���� ��� � ������ ������������
��������� �������� �������. ��������� �������� � �����̚7.2.1, ?����������
���������?.

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

7.2.1. ���������� ���������

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

  * ������ ������ �������� ��������� �������. ���� �� �� �����������, ��
    ������� �������� �����������, � ��� ���ģ��� ������������� ���������, �����
    ����������� �ݣ ���.

  * ����� ������� ������ -- ����������� ���� � ������� /home ��� /srv. ��
    ������ ������ ������������ �� ������� ����� �������� ������.

    ��� dm-crypt ������� �������. ��-������, ��� ����� ���������������� ���� �
    ������� device mapper��������:

    # /etc/init.d/cryptdisks start

    ��� �������� ������������ ��� ����, ��������� � /etc/crypttab, � �������
    ��������������� ���������� � �������� /dev ����� ����� ���������� ��������
    ���� (����, ������������������ �����, ����� ���������, ������� �� ������
    �������� ��������� ��� ������� ��������� ���). ����� �������� �����������
    �� ������ ������������ ���� ��� ������:

    # mount /�����_������������

  * ���� �� ����� ���������������� ����� ���������� ����������� ��������� �����
    (/usr ��� /var), ������� ������ ����������� � �� ������� ������������ ����
    ������� ��� � ���������� ������. ������, ����� ������������� (����)������
    ������ ������, ������� ������ ����������� �� ������ ���������� ��
    ���������, ��� ���, ������ �����, ��� �� ������ �����������. ����� �������
    ������ ������� ��� -- ������ ������������� ���������.

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

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

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

������������ �� ������������� ��������� ��������� � /usr/share/doc/ �
����������� � ������ ���� ��������� (������, � ������ ������ Debian, � �������
���������� ��� ���������). ������ ����� ������ ������������ ����� ���������
�������� � ����������� ������ � �������������, ������� �� ��������� ��
���������������. ��������, ������������ �� ��������� ���������� �������� apt
����� ����� � ������� apt-doc ��� apt-howto.

�����, /usr/share/doc/ �������� ��������� ����������� ���������. Linux HOWTO
����������� � ������� .gz � ������� /usr/share/doc/HOWTO/en-txt/. �����
��������� dhelp ���������� ���� /usr/share/doc/HTML/index.html �� �������� ��
������������.

������� ������ ����������� ��� ������������ -- ��������� ��������� ������� �
������� ������:

$ cd /usr/share/doc/
$ w3m .

����� ����� ������� w3m ������ ��� ������ ����������� �������� ��������.

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

����� �� ������ ������� info ������� ��� man �������, ����� ��������
������������ �� ����������� ������ ��������� � ��������� ������. ������ help,
�� ������� ������ �� �������� �������������� ��������� ������. � ��� �����
����� ������� � ���������� --help ������ �������� �������� ������� ��
������������� ���������. ���� ������ ���������� ���������� ������� ������ ��
������� ������, �������� |�more ����� �������, � ��� ������� ����� ���
���������� ����� ������. ����� ������� ������ ���� ��������� ������,
������������ � ������̣����� �������, ������� ������ � ������� �������
��������� ��� ����.

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

����������

8.1. ���������� �������
8.2. ��������������� �������������� � Debian
    8.2.1. ������� ���������� �������� Debian
    8.2.2. �������������� ����������� ����������� ��� Debian
    8.2.3. ���������� �������� ����������
    8.2.4. ���������� ��������� cron
8.3. ��� ��������
8.4. ��������� �����
    8.4.1. �������� ������������ �� ���������
    8.4.2. �������� ����� �� �������
    8.4.3. ��������� ������ ��������� ����� Exim4
8.5. ������ ������ ����
8.6. �������������� ������������ �������

8.1. ���������� �������

����� ��������� ���������� Debian GNU/Linux �������, �� �� ������ ������������
������ ������ �� �������� ������ ������� ���������� ��� ������ ���������
��������������. Debian GNU/Linux ����� ��������� ���������, ����� �����
�������� ����� �/��� ��������� ֣����� ����. ���� �� ��������� � ���������
�������� �����, �� ������ ���� ����������� ?��������� �����? �� ����
����������, ������� ��������� ��������� (��� �������������) �������.

����� ����� ������ ���������� ������ Ctrl+Alt+Del . ���� ���������� ������ ��
�������� ��� �� ������������� ������� �������, �� ��� ��������� ������� �����
����� � ������� ��� ����������������� � ��������� ����������� �������. ���
������������ ����������� reboot. ��� �������� ������� ��� ������������
��������� ����������� halt ^[14]. ��� ���������� ������� ������ ����������� 
poweroff ��� shutdown -h now. ������� ������������� systemd �������������
�������������� �������, ������� ��������� ��� �� �������; ��������, systemctl
reboot ��� systemctl poweroff.

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.

One of the best installation methods is apt. You can use the command line
version of apt as well as tools like aptitude or synaptic (which are just
graphical frontends for apt). Note that apt will also let you merge main,
contrib, non-free, and non-free-firmware so you can have restricted packages
(strictly speaking not belonging to Debian) as well as packages from Debian GNU
/Linux at the same time.

8.2.2. �������������� ����������� ����������� ��� Debian

���� ����������� � ������������� ����������� ��, ������� �� �� �������� �
��������� Debian �� ���������. � ��� ���������� ��, ������� ������ �������
�������� � ������ �� ��� �����. ���������� � �������������� ������������ �����
����� �� ����-�������� Debian The Software Available for Debian's Stable
Release.

8.2.3. ���������� �������� ����������

���������������� ������ ���������� ����������� � ������� ���������
update-alternatives. ���� �� ��������� � ����������� �������� ������
����������, ���������� �������� ����������� � update-alternatives.

8.2.4. ���������� ��������� 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. ��� ��������

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

���� ��� ��������� ���������� �� ������̣���� ���������, �������, ����������
��������� man �������� ��������� ��� info �������� ���������.

�����, ���� ����� �������� ������������ � �������� /usr/share/doc. � ���������,
� ��������� /usr/share/doc/HOWTO � /usr/share/doc/FAQ ���������� ����
���������� ��������. ���������� �� ������� �������� � /usr/share/doc/debian/
bug*. ������� � ������ ������̣���� ���������, ���������� Debian, �������� �
����� /usr/share/doc/(��� ������ )/README.Debian.

����� ���������� � GNU/Linux ���� � ������� ������������ Linux. ����� ��
���ģ�� ������ HOWTO � ������ �� ������ ������������ ��������� ���������� ��
���������� ������� GNU/Linux.

Linux �������� ����������� Unix. � Linux Documentation Project (LDP) ������
����� HOWTO � ���� � Linux.

���� �� ������� � Unix, ��, ��������, ��� ����� ������ ��������� ���� �
���-������ ��������. � ������ Unix FAQs ���������� ������ �� ���������
���������� ������������ ��������� UseNet.

8.4. ��������� �����

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

�������� ������� ������� �� �ң� ������. ������: ���������������� ��������
����� [Mail User Agent] (MUA) -- ��� ���������, � ������� �������� ������������
��� ��������� � ������ �����. ������: ����� ��������� ����� [Mail Transfer
Agent] (MTA) -- �������� �� ��������� ��������� ����� ������������. ������:
����� �������� ����� [Mail Delivery Agent] (MDA) -- �������� �� ��������
�������� ����� � �������� ���� ������������.

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

�����������, � �������� Linux � Unix ����� ���������� MUA �������� mutt. ��� �
����������� ������������ �������� Linux �� ����� ��������� ���������. ����� ��
������������ � ������ � exim ��� sendmail, ���������� � �������� MTA � procmail
� �������� MDA.

� ������ ������������ ������ � ����������� ������� ������, ���������� �����
��������������� �������� ��������� � ����������� ����������� ���� GNOME 
evolution, KDE kmail ��� Mozilla thunderbird. � ���� ���������� ����������
������� MUA, MTA � MDA, �� ��� ����� (��� ����� � ����������) ��������������
��������� � ������������� ��������� Linux.

8.4.1. �������� ������������ �� ���������

Even if you are planning to use a graphical mail program, it would be useful,
to have a traditional MTA/MDA installed and correctly set up on your Debian GNU
/Linux system. Reason is that various utilities running on the system^[15] can
send important notices by e-mail to inform the system administrator of
(potential) problems or changes.

For this you can install exim4 and mutt with apt install exim4 mutt. exim4 is a
combination MTA/MDA that is relatively small but very flexible. By default it
will be configured to only handle e-mail local to the system itself and e-mails
addressed to the system administrator (root account) will be delivered to the
regular user account created during the installation^[16].

��� �������� ����� ��� ����������� � ���� /var/mail/�ޣ����_������. ����� �����
������ � ������� mutt.

8.4.2. �������� ����� �� �������

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

���� �� ������, ����� exim4 ����������� ������� �����, ��������� � ���������
���������, � ������� ������� �������� ��������� ���������. �����������
������������� ��ɣ� � �������� �������� ���������.

���� �� ������ ������������ �������� ��������� � ����������� ����������� �
�������� �������� ������ ���������� �������� (ISP) ��� ����� ��������, ��
������������� ����������� exim4 ��� ��������� ������� �����. ������ ������� �
������� �������� ��������� � ����������� ����������� ������ ������� ���
�������� � ��ɣ�� ��������� (�� ������� � ������ �����������).

������, � ���� ������ ��� ����������� ��������� ��������� ��������� �������,
����� ��� ����� ���������� �����. ����� �� ����� ������ �������� reportbug,
��������� ��� �������� ��������� �� ������� � ������� Debian. �� ���������, ���
��������� �� ������������� exim4.

����� ��������� ��������� reportbug �� ������������� �������� ���������
�������, ��������� ������� reportbug --configure � �������� ?���? �� ������ �
����������� MTA. ����� ��� �������� ������� ������ SMTP, ������� �����
������������ ��� �������� ��������� �� �������.

8.4.3. ��������� ������ ��������� ����� Exim4

���� �� ������, ����� ������� ����� �������� � ������� ������, �� ��� �����
������������� ����� exim4^[17]:

# dpkg-reconfigure exim4-config

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

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

��������-����

    ���� ������� ���������� � ����, ����� ������������ � ���������� �������� ��
    ��������� SMTP. �� ��������� ������� ��� ������� ��������� ��������
    ��������, ����� ��� �������� ��� ����� ������ ��� ������ �������, ���
    ������� �� ���������� ��� ��������� �����.

�������� ����� ����� ���������-���� (smarthost)

    �� ����� �������� ���� ��������� ����� �������������� �� ������ ������,
    ���������� ?smarthost?, ������� � �������� ������ �� ����������. Smarthost
    ������ �ݣ � ������ �������� �����, ������������ ������ ����������, ��� ���
    ��� �� ���� ��������� ���������� � ����. ��� ����� ��������, ��� ��� �����
    ��������� ����� �� smarthost � ������� �������� ���� fetchmail.

    � ����������� �������, � �������� smarthost ������������ �������� ������
    ������ ISP, ��� ����� �������� �������������, ������� ���������� ��������
    ����������� �� ���������� �����. ����� ��� ����� ���� �������� ������
    �������� ��� ������ ������� � ����� ����.

�������� ����� ����� smarthost; ��������� ����� �����������

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

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

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

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

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

���� �� ���� �� ���� ��������� �� ��������, ��� ����� ����� ������ ���������,
�� ����� ���������� ��������� ��� ����� ��������������� ����� ������������ �
�������� /etc/exim4. �������������� ���������� ��� exim4 ����� ����� � ��������
/usr/share/doc/exim4; � ����� README.Debian.gz ���������� ��������������
����������� � ��������� exim4 � ������� ��� ����� �������������� ������������.

�������, ��� ���� � ��� ��� ������������ ��������� ����� � �� ����������� �����
� �������� ��������, ��� ����� �������� � ����, ��� ���� ����� �� �����
����������� ���������, ��� ��� �� ��� ����������� �������� ������ �� ������.
���������������� ������������ �������� ������ ISP. ���� �� �ӣ ����� ������
���������� ����� ��������, �� ��� ����� ������������ ������ �������� �����, �
�� ��������������� �� ���������. ���� � �������� MTA ������������ exim4, ���
��� �������� ����������� ������ � ���� /etc/email-addresses.

8.5. ������ ������ ����

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

��� �� �����, ���� �� ������ ������� ���� ��������������, ��� �������� � ��
����������� ������������ ���� ?make deb-pkg?. ��������� �� ���� ������� �
Debian Linux Kernel Handbook.

8.6. �������������� ������������ �������

������ ���-�� �ģ� �����������, � �������, ������� �� ��������� ����������
������ �� �����������. ��������, ����������� ��������� ���������� ���������� ��
����� ���������, ��� �� ����� ����������� ����� ����, ��� ����������� ����
������ � ֣����� ���� � ��������� �������� �� ����� � ����� /sbin/init. � �����
������, ��� ����� ������� � ������� ����� �ӣ ���������, � ����� ��������������
����� ������ � ����.

����� ����� � ����� ��������������, �������� rescue � ����������� ����, �������
rescue ����� ����������� boot: ��� ����������� � ���������� �������� rescue/
enable=true . � ������ �� ����ģ�� �� ���������� �������� ��������� ���������,
�� ������� ���� ������� � ���� ������, ��� ��� ����� ��������������, � ��
������ ���������. �� ����������, ���� ������ �� ��������! ����� ��������������
���������� ��������� ��������� ������ ��� ����������� ��������� ���������,
����� ��� ����� � ������� ����������, � ��� ����� �������� �� �����
�������������� �������.

������ ��������� ��������, ��� ������� ������ ��������, ��������� � �������,
�������� ������� ���� �� ���. ������, ����� ������� ������, ���������� ��������
�������, ������� ����� ������������. ����� ��������� ��������������� �� ������,
�� ������ �������� ������� �� ����������� RAID � LVM.

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

������ ��������� ��������� �� ������� ��������� �������� ��������� ������ �
��������� �������� �������� �������. ��������� �������� ����� ���� �����������
�������� �������, � � ���� ������ �������� �������������� � ������������
��������� �������� ��������� ������ � ����� ��������� ���������. ����� �� ���
����� �������� ��������, �� � �� ����� ���������� ��� �������������� �������.
��������� �������� �������� ������� ����� ������������ � ������� /target.

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

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


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

^[14] � ������� ������������� SysV halt ��������� ���� ��������, ��� � poweroff
, �� ��� ������� ������������� systemd (�� ��������� ������� � jessie) ��� ��
���.

^[15] Examples are: cron, quota, logcheck, aide, ...

^[16] The forwarding of mail for root to the regular user account is configured
in /etc/aliases. If no regular user account was created, the mail will of
course be delivered to the root account itself.

^[17] �������, ����� �� ������ ������� exim4 � �������� ��� ������ MTA/MDA.

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

����������

A.1. ��������������� ��������
A.2. �������� ��������� ���������
    A.2.1. Optical disc
    A.2.2. �������� �� ����
    A.2.3. �������� � ֣������ �����
A.3. ���������
A.4. ��������� ��� ��ޣ� �� ���������
A.5. � ����������...

������ �������� ��������� ��������� Debian GNU/Linux trixie �� 64-bit RISC-V (?
riscv64?) � ������� ������ debian-installer. ��� ������� �������� ��������
���������, � � ���������� ��� ����������, ����������� ��� �����������
���������. � ��� ������, ��� ������� ��������� ����� �������� ��������, �����
��������� ������ �� ��������������� ����� ����� ���������.

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

If you encounter bugs during your install, please refer to �����̚5.2.4,
?�������� ��ޣ��� �� ������� ���������? for instructions on how to report them.
If you have questions which cannot be answered by this document, please direct
them to the debian-boot mailing list (debian-boot@lists.debian.org) or ask on
IRC (#debian-boot on the OFTC network).

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

The debian-cd team provides builds of installation images using
debian-installer on the Debian CD/DVD page. For more information on where to
get installation images, see �����̚4.1, ?Official Debian GNU/Linux
installation images?.

Some installation methods require other images than those for optical media.
�����̚4.2.1, ?Where to Find Installation Files? explains how to find images on
Debian mirrors.

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

A.2.1. Optical disc

The netinst CD image is a popular image which can be used to install trixie
with the debian-installer. This installation method is intended to boot from
the image and install additional packages over a network; hence the name ?
netinst?. The image has the software components needed to run the installer and
the base packages to provide a minimal trixie system. If you'd rather, you can
get a DVD image which will not need the network to install. You only need the
first image of such set.

Download whichever type you prefer and burn it to an optical disc.

A.2.2. �������� �� ����

debian-installer ����� ��������� ��������� �� ����. ������ �������� �� ����
(netboot) ������� �� ����������� � ��������� ������� ��������. ����� ���
�������� debian-installer �� ���� ����� � �������� netboot/.

A.2.3. �������� � ֣������ �����

It's possible to boot the installer using no removable media, but just an
existing hard disk, which can have a different OS on it. Download hd-media/
initrd.gz, hd-media/vmlinuz, and a Debian DVD image to the top-level directory
of the hard disk. Make sure that the image has a filename ending in .iso. Now
it's just a matter of booting linux with the initrd.

A.3. ���������

����� ������� ��������� ��������� ������� �����������. ������� Enter ���
��������, ��� ���������� ���������� ��� ������ ������ �������� � ���������
(�������� �����̚5.1, ?��������� ��������?).

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

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

Now sit back while debian-installer detects some of your hardware, and loads
the rest of the installation image.

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

Setting up the network is followed by the creation of user accounts. By default
you are asked to provide a password for the ?root? (administrator) account and
information necessary to create one regular user account. If you do not specify
a password for the ?root? user, this account will be disabled but the sudo
package will be installed later to enable administrative tasks to be carried
out on the new system. By default, the first user created on the system will be
allowed to use the sudo command to become root.

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

������ ������ ����� �������� ������. ������� ��� ��������� ��������������
�������� ����� ����� ��� ������ ���������� ������������ (��. �����̚6.3.4.2,
?������������ ��������?). ���� ����� ������������� ��� �������� ��� ��������
�����. ���� �� �� ������ ������������, �������� � ���� ����� �������.

�� ��������� ������ �� ������� ������� ������� ��������, ������ �������� � ����
��� ����� �������������. �������� ������ ��� ��������� ��� ��������. ���� ��
������� �������������� ��������, �� ��� �������� ������ ����� ���� ���������
�������� � �������� ��������� �� ����, ����� �� ������� �� �����������
���������. �� �������� ��������� �� ������� ���� ���� ������ ��� �������� �
������������ ���� ������ � �������� ��������� ������� /. � �����̚6.3.4,
?�������� �������� � ����� ����� ������������? �������� ������� ���
������������ ��������� ��������; � ���������ŚC, �������� ������ � Debian
���������� ����� �������� � ��������� ��������.

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

The base system that was installed earlier is a working, but very minimal
installation. To make the system more functional the next step allows you to
install additional packages by selecting tasks. Before packages can be
installed apt needs to be configured as that defines from where the packages
will be retrieved. The ?Standard system utilities? task will be selected by
default and should normally be installed. Select the ?Desktop environment? task
if you would like to have a graphical desktop after the installation. See
�����̚6.3.6.2, ?����� � ��������� ������������ �����������? for additional
information about this step.

The last step is to install a boot loader. If the installer detects other
operating systems on your computer, it will add them to the boot menu and let
you know.

����� debian-installer ������, ��� ��������� ���������. �������� �������-����
��� ������ �������� � ���������� ��������� � ������� Enter ��� ������������
������. ����� ����� ������ ��������� �������� � ������������� ������� �
��������� ����������� � ����� � �������. ��� ������� � ������7, �������� ������
��� ������������� ������� Debian.

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

A.4. ��������� ��� ��ޣ� �� ���������

���� �� ������� ���������� � ���������� � ������� debian-installer, ����������,
������� ����� � ��������� ��� ��ޣ�. ����� ������� ���� �������� ��ޣ�� --
���������� ����� reportbug (apt install reportbug), ��������� reportbug ��
�������� �� �����̚8.4.2, ?�������� ����� �� �������? � ��������� ������� 
reportbug installation-reports.

���� ��������� ��������� �� ����������, �� �������� �� ���������� ������ �
debian-installer. ��� ��������� ��������� ��������� ����������, ����� �� ������
�� ����, �������, ����������, �������� �� ������. �� ������ ������������ ��ޣ�
�� ���������, ����� �������� � ��������; ���� ���������� ������ ������ ��
�������, �������� �����̚5.2.3, ?��������� � ��������� ��� ���������?.

A.5. � ����������...

�� ��������, ��� ��������� Debian ���� ��������� � ��� �� ���ģ�� Debian
��������. ��������, ��� ���������� ���������� �� ������8, ��������� ���� � ���
������ ������.

���������� B. �������������� ��������� � ������� ������ �������

����������

B.1. ��������
    B.1.1. ������ ������������� ����� �������
    B.1.2. �����������
B.2. ������������� �������������� ���������
    B.2.1. �������� ����� �������
    B.2.2. ������������� ���������� �������� ��� �������������
    B.2.3. �������������� �����
    B.2.4. �������� � ������������� ����������
    B.2.5. Examples of boot prompt preseeding
    B.2.6. ������������� ������� DHCP ��� �������� ������ ��������������
    ������������
B.3. �������� ����� �������
B.4. ���������� ����� ������� (��� trixie)
    B.4.1. �����������
    B.4.2. Speech synthesis
    B.4.3. ��������� ����
    B.4.4. ������� �������
    B.4.5. ��������� �������-�������
    B.4.6. ��������� �ޣ���� ������
    B.4.7. ��������� ������� � �������� �����
    B.4.8. �������� ������
    B.4.9. ��������� ������� �������
    B.4.10. ��������� Apt
    B.4.11. ����� �������
    B.4.12. ���������� ���������
    B.4.13. ������������� ������ �������
B.5. �������������� ���������
    B.5.1. ������ ���������������� ������ �� ����� ���������
    B.5.2. ������������� �������������� ��������� ��� ��������� �������� ��
    ���������
    B.5.3. ���������������� �������� ���������� ������ �������

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

��������� ������������, ������������ � ���� ����������, ����� �������� �
������� ����� ������� ../example-preseed.txt.

B.1. ��������

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

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

B.1.1. ������ ������������� ����� �������

���� ��� ������ ������������� ��� �������������: initrd, �������� � �������.
����� initrd �������� ��� ����� ������� ��������� ������� � ������������ ������
�� ����������� ��������, �� �� �������� ����ϣ���. �������� � ������� ������
����� �������������� ��� ��������� �������� ���������.

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

+-----------------------------------------------------------------------------+
|        ������ ��������� �������        | initrd  |   ��������   |  �������  |
|----------------------------------------+---------+--------------+-----------|
|CD/DVD/USB                              |��       |��            |��^[a]     |
|----------------------------------------+---------+--------------+-----------|
|netboot                                 |��       |���           |��         |
|----------------------------------------+---------+--------------+-----------|
|hd-media                                |��       |��            |��^[a]     |
|-----------------------------------------------------------------------------|
|^[a] ������ ���� ���� ����������� � ���� � ������ ��������������� preseed/url|
+-----------------------------------------------------------------------------+

An important difference between the preseeding methods is the point at which
the preconfiguration file is loaded and processed. For initrd preseeding this
is right at the start of the installation, before the first question is even
asked. Preseeding from the kernel command line happens just after. It is thus
possible to override configuration set in the initrd by editing the kernel
command line (either in the bootloader configuration or manually at boot time
for bootloaders that allow it). For file preseeding this is after the
installation image has been loaded. For network preseeding it is only after the
network has been configured.

�����

��������, ��� �� ����� �������, ���������� ����� ��������� ����� �������,
������ ������� ������� ������ (���� ���������� �������, ������� �������� ������
�� ������� � ������ ������ ��������, �������� ������ ����������� ����������). �
�� ���������� �������� ������� �������� ���� �������� ����� �������� ������� ��
��� ����� ��������� ��������, ��� ������� � �����̚B.2.2, ?�������������
���������� �������� ��� �������������?.

����� ������ �������� ��������, ������� ������ �������� ����� ��� ��� ����
����������� ������������� �������, �� ������ ��������� ��������� ��������� �
������ ?auto?. ��� �������� �������� �������, ������� ������ �������� �����
�������������� ���������� (��������, ��� ����, ������ � ����� ������������
���������), �� ��������� ��������������� ����. ����� ���� ����� ������������
����� ��������� ����������� � ����������� ������� ��������, ��� ���������
�������� ������ �������� ��������. ��������� �������� � �����̚B.2.3,
?�������������� �����?.

B.1.2. �����������

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

B.2. ������������� �������������� ���������

You will first need to create a preconfiguration file and place it in the
location from where you want to use it. Creating the preconfiguration file is
covered later in this appendix. Putting it in the correct location is fairly
straightforward for network preseeding or if you want to read the file off a
usb-stick. If you want to include the file in an installation ISO image, you
will have to remaster the image. How to get the preconfiguration file included
in the initrd is outside the scope of this document; please consult the
developers' documentation for debian-installer.

������ ����� �������, ������� ����� ����� �� ������ �������� ����� ../
example-preseed.txt. ������ ���� ������� �� ���������� ������������, ����ޣ����
� ��� ����������.

B.2.1. �������� ����� �������

���� ������������ ����� initrd, �� ����� ���������, ��� ���� � ������
preseed.cfg ����� � �������� �������� initrd. ��������� ��������� �������������
��������� ������� ����� ����� � ��������� ���.

For the other preseeding methods you need to tell the installer what file to
use when you boot it. This is normally done by passing the kernel a boot
parameter, either manually at boot time or by editing the bootloader
configuration file (e.g. syslinux.cfg) and adding the parameter to the end of
the append line(s) for the kernel.

���� �� ���������� ���� ������� � ��������� ���������� ����������, �� �����
�������� ������������ ����� �������, ����� �� �������� ������� ���� ���
�������� ��������� ���������. ��� syslinux ��� ����������� ���������� timeout
������ 1 � ����� syslinux.cfg.

����� ���������, ��� ��������� ��������� �������� ���������� ���� �������,
����� ������������� ������� ����������� ����� �����. ��� �������� ����������� �
������� md5sum, � ���� ��� �������, �� ��� ������ ��������������� ������������
�����, ����� ��������� ��������� �� ����� ������������ ������ ����.

Boot parameters to specify:
- if you're netbooting:
  preseed/url=http://host/path/to/preseed.cfg
  preseed/url/checksum=5da499872becccfeda2c4872f9171c3d
- or
  preseed/url=tftp://host/path/to/preseed.cfg
  preseed/url/checksum=5da499872becccfeda2c4872f9171c3d

- if you're booting a remastered installation image:
  preseed/file=/cdrom/preseed.cfg
  preseed/file/checksum=5da499872becccfeda2c4872f9171c3d

- if you're installing from USB media (put the preconfiguration file in the
  toplevel directory of the USB stick):
  preseed/file=/hd-media/preseed.cfg
  preseed/file/checksum=5da499872becccfeda2c4872f9171c3d

�������, ��� preseed/url ����� ��������� �� url, preseed/file -- �� file, �
preseed/file/checksum -- �� preseed-md5, ���� ��� ���������� � ����������
��������.

B.2.2. ������������� ���������� �������� ��� �������������

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

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

����� ���������� ��������, ������������ ������ debian-installer, ������ �������
����/��/����������=�������� ��� ����� ���������������� ����������, ��������� �
�������� � ���� ����������. ���� �������� ����� �������������� ��� ���������
������� � ��������������� �������, �� ����� ����� ���������� ��������� ��������
^[18], ��������, ��������:����/��/����������=��������. ���� �� �� ����������
���������, �� �������� ���������� �� ���������� � ���� ������ debconf
��������������� ������� � ������� �� ����� �������������� �� ����� ���������
���������������� ������.

������, ������������� ������� �������� � ����, ��� ������ ����� �� �����. �����
���������� ��� ������� ����� �� ��������� � �������� ������ ����������,
����������� � �������� ��������� ??=? ������ ?=?. �������� ����� �����̚B.5.2,
?������������� �������������� ��������� ��� ��������� �������� �� ���������?.

�������, ��� ��� ��������� ����������, ������� ����� �������� � �����������
����������, ������� �������� ��������. ���� ������� �������� ��������, �� ���
������������ � �������� � ���� ���������� ������ ������� ����� ����������.
��������, ���������� preseed/url ����������� �� url. �ݣ ������: ���������
tasks ������������ � tasksel:tasksel/first.

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

����������

� ��������� ����� ���� linux ������ (2.6.9 � �����) ����������� ����� �������
32 ��������� � ��������� ������ � 32 ��������� ����� ���������� ���������,
������ ��� ���������, ����������� ���������� ��������� �� ���������. ���� ���
����� ���������, �� ���� ���������� ������ � �������. (��� ������ ������ ����
��� �������� ������.)

� ����������� ��������� ��������� ��������� �� ��������� � ����� ������������
����������, ���� vga=normal, ����� ��������� �������, ��� ����� ��������� ���
�������� ������ ���������� �������������.

����������

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

B.2.3. �������������� �����

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

��� ���������� � ������� ������ Automated install ��� ��������, �����
���������� auto ��� ��������� ���������� ��� ������� ��������. � ���� �������
auto �������� �� ��������, � ����� ������ �������� � ����������� � �����������
��������� � ����������� � ��������.

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

auto url=autoserver

� ���� ������ ��� ��������� �������� ���������� ���������� � DHCP ������� �����
������� ������ autoserver �� ������� DNS, �������� � ����� ����� ��������� ���
���������� ������, ���� �� ���������� � DHCP. ���� � ���� ������������ ��������
��� example.com, � ���� ����� ���������� �� DHCP, �� � ���������� ���� �
�������� ����� ������� � http://autoserver.example.com/d-i/trixie/./
preseed.cfg.

��������� ����� ����� url (d-i/trixie/./preseed.cfg) ��ң��� �� auto-install/
defaultroot. �� ��������� � ���� ����ޣ� ������� trixie, ����� ��� �������
������ ����� ���� ������ ��ϣ ��������, ��� �������� ����� ��������������
������� �������� �� ����� ������. ����� /./ ������������ ��� �������� �����,
������������ �������� ����� ������ ��������� ���� (��� ������������� � preseed/
include � preseed/run). ��� ��������� ��������� ����� � ������ URL (����,
������������ � /) ��� ���� ���� ������������ �����, ��� ��� ������ ���������
���� �������. ��� ����� ���� ������������ ��� ��������� ����� �����������
���������, ��� ���� ����� ������ ������ ��������� ����� ���� ����������� �
����� ����� ������ ��� ���� �� ������, �������� ����������� ����� ��
USB-��������, ���� ����� ��� ������� � ���-�������. ��������� ������, ���� �
����� ������� �������� preseed/run �������� �� /scripts/late_command.sh, ��
���� ����� ������� � http://autoserver.example.com/d-i/trixie/./scripts/
late_command.sh.

���� � ���� ��� ��������� �������� DHCP ��� DNS, ���, ���� �� �� ������
������������ ���� �� ��������� � preseed.cfg, �� �� �ӣ �ݣ ������ ���� ������
url, �, ���� �� �� ����������� ������� /./, �� ��� ����� ������� ���� (������ /
� URL). ��� ������, ��� �������� ����� ����������� ��������� ����� � ���������
����:

auto url=http://192.168.1.2/path/to/mypreseed.file

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

  * ���� � URL �� ������ ��������, �� ������������ http,

  * ���� � ����� ������ ��� �����, �� ����� �������� �����, ���������� �� DHCP,
    �

  * ���� ��� / ����� ����� ������, �� ����������� ���� �� ���������.

�����, ������ �������� url, �� ������ ������ ���������, ������� �� ������
�������� �� ��������� ������ debian-installer, �� ����� �������� �� ���
��������, �������� ������ � ������� preseed/run � ����������� ����� �������. �
��������� ������, ��� ������ �������������, ���� ������ auto-install/classes �
����������� classes. ��� ����� ������������ ���:

auto url=example.com classes=class_A;class_B

classes, ��������, ����� �������� ��� ��������������� ������� ��� ������������
�����������.

�����������, ����� ��������� ��� ���������, � ���� �� ��� �������,����� �����
������������� ������������ �ͣ� auto-install. ��� ����� ��������� ���
auto-install/style, ��� ����� ����� ������������ � ����� ���������. ���� ��
�������, ��� ��� ��� �����, �������� � ������ �������� <
debian-boot@lists.debian.org>, ��� ���� ����� �� ������ �������� ���������
�ͣ�, � ��������, �������� ���������� ��� ����� ����������.

����� �������� auto ���� ������̣� �� ��� ���� ����������. ����� �� ������
����� �������� ������ ������� ��� ��������� auto=true priority=critical �
��������� ������ ���������� ����. �������� ���� auto -- ��� ��������� ���
auto-install/enable � ��������� ��� � true����������� ������ �������� � ������
� ����������, ����� ���� ����������� ��������� �� �������������, � priority
�������� ����������� ��� debconf/priority, � ��������� � �������� critical
���������� ��������� ��������� �� �������� ������� � ������� ������� ��������.

When an Automatic install is selected without also specifying a preseed
configuration, the user will be prompted to provide a preseed location.
Alternatively, if a preseed configuration has been specified, then that prompt
is normally suppressed in order to enable a fully non-interactive install.
However, if the intent is to modify defaults by using a preseed.cfg in an
initrd, then the result should really behave as though no preseeding has yet
been specified, even though it has. In that case, the debconf variable
auto-install/cloak_initrd_preseed can be set to true (e.g. in the initrd's
preseed.cfg). to get the required behaviour.

��� ������������� � �������������� DHCP ����� ����������� ���������
�������������� ���������: interface=auto netcfg/dhcp_timeout=60, ����� �������
������ ������� ������� �����, ����� �� DHCP ������ ����� ��������� ������ ���
������.

���������

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

B.2.4. �������� � ������������� ����������

��� ������������� ������������� ��������� (����� auto) ����� �����������
��������� ����������. �������, ��� ����������� ������ ����� ��������, � ���
������ ����� ��������� �ݣ � ��������. ��������, auto=true ��� interface=eth0.

priority               debconf/priority
fb                     debian-installer/framebuffer
auto                   auto-install/enable
classes                auto-install/classes
��������               preseed/file
url                    preseed/url
theme                  debian-installer/theme
language               debian-installer/language
country                debian-installer/country
locale                 debian-installer/locale
keymap                 keyboard-configuration/xkb-keymap
modules                anna/choose_modules
firmware               hw-detect/firmware-lookup
interface              netcfg/choose_interface
domain                 netcfg/get_domain
hostname���            netcfg/get_hostname
protocol               mirror/protocol
suite                  mirror/suite
recommends             base-installer/install-recommends
tasks                  tasksel:tasksel/first
desktop (������� ����) tasksel:tasksel/desktop
preseed-md5            preseed/file/checksum

B.2.5. Examples of boot prompt preseeding

Here are some examples of how the boot prompt might look like (you will need to
adapt this to your needs).

# To set French as language and France as country:
/install.amd/vmlinuz vga=788 initrd=/install.amd/gtk/initrd.gz language=fr country=FR --- quiet
# To set English as language and Germany as country, and use a German keyboard layout:
/install.amd/vmlinuz vga=788 initrd=/install.amd/gtk/initrd.gz language=en country=DE locale=en_US.UTF-8 keymap=de --- quiet
# To install the MATE desktop:
/install.amd/vmlinuz vga=788 initrd=/install.amd/gtk/initrd.gz desktop=mate-desktop --- quiet
# To install the web-server task:
/install.amd/vmlinuz initrd=/install.amd/initrd.gz tasksel:tasksel/first=web-server ---

B.2.6. ������������� ������� DHCP ��� �������� ������ ��������������
������������

����� �������� ������������ DHCP ��� �������� ����� ��������������
������������, ������������ �� ����. DHCP ��������� ������� ��� �����. ������,
�� ����������� ��� ������� ��������� �� ����, �� ���� �� ����� � ���� URL, ��
������������ ��������, ������� ������������ �������������� ��������� �� ����,
�������� ���� � ���������� � URL ������ � ���������� ��� ��� ����
�������������� ���������. ��� ������, ��� ����� ��������� dhcpd.conf ���
������� ������ ������� ISC DHCP (Debian ����� isc-dhcp-server).

if substring (option vendor-class-identifier, 0, 3) = "d-i" {
    filename "http://host/preseed.cfg";
}

�������, ��� ������ ���� ������������ ������������� ����� ����� ������ DHCP
��������� � ��������������� ?d-i?, ������� �� �� ������ �� ������� DHCP
��������, � ������ �� ��������� ���������. �� ����� ������ ��������� ����� �
������ ������ ������̣���� ������, ����� �������� ������������� ���� ���������
� ����.

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

B.3. �������� ����� �������

���� ������� ���������� ������� ����� ������������� ���������� 
debconf-set-selections. ����� ����� ������ ����� �������:

<��������> <��� �������> <��� �������> <��������>

���� ������ ���������� � #_preseed_V1

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

  * ����� ����� � ��������� ���������� ������ ���� ������ ��� ������(tab):
    ����� �������������� ���������� ������ ����� ����ޣ� � ��������.

  * ������ ����� ���� ������� �� ��������� �����, � ������� ����������
    ��������� ����� (?\?) � ����� ������. ������ ��������� ������ ����� �����
    �������; ����� -- ����� ����� � ���������. ��� �������� �����������
    ���������� ����� ��� ���������/�������� ���������� ������� ����� ����� �
    ����.

  * ���������� ���������� debconf (��������), ������������ ������ � �����
    ��������� ���������, ����� ��������� ?d-i?; ��� ���������� �������������
    ���������, ������������ � ������������� �������, ������ �������������� ���
    ������, ���������� ��������������� ������ debconf. � ���� ������ debconf �
    ������������� ������� ������� ������ ����������, � ������� ����������
    ����������� �����, �������� �� ?d-i?.

  * ��� ����������� �������� ����� ��������� ������ �� ���������� �����, � ��
    �� �������. ������, ���� ��������� �������� (��������, � partman), ���
    ����� ������������ ������ �� ������ �����.

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

  * ��������� � #_preseed_V1

  * A comment consists of a line which starts with a hash character (?#?) and
    extends up to the length of that line.

����� ������� ���� �������� ����� ������� ��� ������������ ���� �������
�����̚B.4, ?���������� ����� ������� (��� trixie)? � �������� ������ �
�������� ���.

�������������� ����� -- ��������� ��������� ������� � �����, �����
������������, ������������ ������� debconf-get-selections �� ������
debconf-utils, ����� ��������� ���� ������ debconf � ���� ������ ���������
��������� cdebconf � ���� ����:

$ echo "#_preseed_V1" > ����
$ debconf-get-selections --installer >> ����
$ debconf-get-selections >> ����

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

����������

���� ����� ������� �� ���, ��� � ����� ���������, ���� ������ ���������
��������� cdebconf ����������� � ������������� ������� � /var/log/installer/
cdebconf. ������, ��� ��� ���� ������ ����� ��������� ������� ����������, ��
��������� ���� ��������� ������ ������ �����������������.

������� /var/log/installer � ��� ����� � � ����� ������� �� ������� ���
�������� ������ installation-report.

��� ��������� ��������� ������� �� ������� ����� ������������ �������� nano ���
��������� ����� /var/lib/cdebconf ����� �� ����� �������� ���������. � �����
templates.dat �������� �������������� �������, � � questions.dat -- �������
�������� � ��������, ����������� ����������.

��� �������� ������������ ������� ����� ������� �� ���������, �����
������������ ������� debconf-set-selections -c preseed.cfg.

B.4. ���������� ����� ������� (��� trixie)

��������� ������������, ������������ � ���� ����������, ����� �������� �
������� ����� ������� ../example-preseed.txt.

�������, ��� ���������� ������ ������� �� ��������� ��� ����������� Intel x86.
���� �� ���������� ��������� �� ������ �����������, �� ��������� �������
(��������, ����� ���������� � ��������� ����������) ����� ����������� � ������
���� �������� �� ��������������� ��������� debconf ��� ���� �����������.

� ���, ��� �������� ��������� ���������� Debian Installer, ����� ����� �
�����̚6.3, ?���������� ��������� ���������?.

B.4.1. �����������

��� ������� ��������� ������� � ����������� �������� �������, ������� ��
�������� ����� ������� ������ � ������ initrd ��� ���������� �������� ����.
�������������� ����� (�����̚B.2.3, ?�������������� �����?) �������� ���������
auto-install/enable=true (������, ����� ��������� auto). ��� �����������
������� ����������� ��� ����, ����� �� ����� ���� ������� � ����� �������.

��� �������� ����� � ������ ����� ������������ ������; �������� �����
���������� ��� �����, ���� ��� �������������� debian-installer, � ������. ����
� ������ ������� ������������ ����������, �� ��������� ��������� �������������
������� ������, ���������� ��� ���������� �����. ����� ������� ������ �
��������� ��������, ����������� locale=ru_RU.UTF-8.

���� ���� ����� ����� ����� � �������������, � ��� ������� ������ ������ �����
���������� �����, ������ � ������^[19]. ������� ���� ����������� ������
�������������� ����� ��� ������� ��������� ��������. ���� � ������ ����� �����
��������� � ���������� �������.

# ��������� ������ ��� �����, ������ � ������.
d-i debian-installer/locale string en_US.UTF-8

# �������� ����� ��������� �������� ��� ������� ���������.
#d-i debian-installer/language string en
#d-i debian-installer/country string NL
#d-i debian-installer/locale string en_GB.UTF-8
# � �������, ����� ������� �������������� ������ ��� ���������.
#d-i localechooser/supported-locales multiselect en_US.UTF-8, nl_NL.UTF-8

��� ��������� ���������� ���������� ��������� � (��� ����������� ���������)
������� ������������ ����� ����������� ���������� � ���������� US. �� �����
��������� �������� ������ �������� �������� ���������. �������������� ��������
�������� ������ � ������������� �������; �� ����� ������� � ������� ������� 
dpkg-reconfigure keyboard-configuration.

# ����� ����������.
d-i keyboard-configuration/xkb-keymap select ru
# d-i keyboard-configuration/toggle select No toggling

����� �� ��������� ��������� ���������� ������� � keymap �������� skip-config.
� ���������� ��������� �������� ������������ ��������� ����.

B.4.2. Speech synthesis

When installing with software speech synthesis (i.e. speakup.synth=soft passed
on the kernel command line), the sound board and the voice to be used can be
preseeded.

Since speech synthesis is started very early, this can only be preseeded from
initrd or the kernel command line.

Preseeding espeakup/voice also enables configuring the installed system with
speech accessibility features. This takes effect even if software speech
synthesis was not actually enabled inside the installer.

# Which ALSA card to be used for software speech.
# Can be a number from 0, or an ID as seen in
# /sys/class/sound/card*/id
#d-i espeakup/card string 0

# Which espeak-ng voice to be used
#d-i espeakup/voice string en

B.4.3. ��������� ����

Of course, preseeding the network configuration won't work if you're loading
your preconfiguration file from the network. But it's great when you're booting
from optical disc or USB stick. If you are loading preconfiguration files from
the network, you can pass network config parameters by using kernel boot
parameters.

���� ����� ������������ ������̣���� ��������� ��� �������� �� ���� �����
��������� ����� ������� �� ����, ����������� �������� �������� interface=eth1.

���� �������������� ��������� ���� ������ ���������� ��� �������� ����� �������
�� ���� (� ������� ?preseed/url?), �� ������ ������ ���� ����������, ��������,
���� ����� ����������� ����� �� ������� ����������. ������ �������� �������
�������� ����������� ��������� ���� �ݣ ��� ����� �������� ����� �������, ����
������� �������� ?preseed/run? �� ���������� ���������:

kill-all-dhcp; netcfg

��������� ���������� debconf ��������� � ��������� ����.

# Disable network configuration entirely. This is useful for cdrom
# installations on non-networked devices where the network questions,
# warning and long timeouts are a nuisance.
#d-i netcfg/enable boolean false

# 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

# To pick a particular interface instead:
#d-i netcfg/choose_interface select eth1

# To set a different link detection timeout (default is 3 seconds).
# Values are interpreted as seconds.
#d-i netcfg/link_wait_timeout string 10

# 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
#d-i netcfg/dhcpv6_timeout string 60

# Automatic network configuration is the default.
# If you prefer to configure the network manually, uncomment this line and
# the static network configuration below.
#d-i netcfg/disable_autoconfig boolean true

# If you want the preconfiguration file to work on systems both with and
# without a dhcp server, uncomment these lines and the static network
# configuration below.
#d-i netcfg/dhcp_failed note
#d-i netcfg/dhcp_options select Configure network manually

# Static network configuration.
#
# IPv4 example
#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/get_nameservers string 192.168.1.1
#d-i netcfg/confirm_static boolean true
#
# IPv6 example
#d-i netcfg/get_ipaddress string fc00::2
#d-i netcfg/get_netmask string ffff:ffff:ffff:ffff::
#d-i netcfg/get_gateway string fc00::1
#d-i netcfg/get_nameservers string fc00::1
#d-i netcfg/confirm_static boolean true

# 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

# If you want to force a hostname, regardless of what either the DHCP
# server returns or what the reverse DNS entry for the IP is, uncomment
# and adjust the following line.
#d-i netcfg/hostname string somehost

# 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

# If you want to completely disable firmware lookup (i.e. not use firmware
# files or packages that might be available on installation images):
#d-i hw-detect/firmware-lookup string never

# If non-free firmware is needed for the network or other hardware, you can
# configure the installer to always try to load it, without prompting. Or
# change to false to disable asking.
#d-i hw-detect/load_firmware boolean true

�������, ��� netcfg ������������� ������� ����� ����,���� ��� �� ������� �
netcfg/get_netmask. � ���� ������, ���������� ����� �������� ��� seen ���
�������������� ���������. ���������� netcfg ������� ���������� ����� �����,
���� �� ������� �������� � netcfg/get_gateway. �� ���� ����������� ���������:
netcfg/get_gateway ����� ���������� � ?none?, ����� �������, ��� ���� ������ ��
������ ��������������.

B.4.4. ������� �������

# ����������� ��������� ���������, ���� ������ ������������ ����������
# network-console��� ���̣���� ��������� ����� SSH. ��� ����� �����, ���� ��
# ������������� ��������� ���������� ����� ��������� �������.
#d-i anna/choose_modules string network-console
#d-i network-console/authorized_keys_url string http://10.0.0.1/openssh-key
#d-i network-console/password password r00tme
#d-i network-console/password-again password r00tme

More information related to network-console can be found in �����̚6.3.10,
?Installation over network-console?.

B.4.5. ��������� �������-�������

� ����������� �� ������������� ������ ��������� ��� �������� ��������������
��������� ��������� ���������, ��������� ������� ������� � ��������� ����� /etc
/apt/sources.list � ������������� ������� ����� ������������ ������-�������.

�������� mirror/suite ���������� ������ ������������ ��� ���������������
�������.

�������� mirror/udeb/suite ���������� ������ ������������ ��� ��������������
��������� ��������� ���������. �� ����� ������ ���� ���������� ����������� ��
���� � ������ ��������������� ������, ������� ���� ������������ ��� ������
initrd, ������� ������������ ��� ��������� � ������� �����ͣ����� ������.
������ ��������� ��������� ������������� ���������� ���������� ��������, � ����
�������� �������� �������.

# Mirror protocol:
# If you select ftp, the mirror/country string does not need to be set.
# Default value for the mirror protocol: http.
#d-i mirror/protocol string ftp
d-i mirror/country string manual
d-i mirror/http/hostname string http.us.debian.org
d-i mirror/http/directory string /debian
d-i mirror/http/proxy string

# Suite to install.
#d-i mirror/suite string testing
# Suite to use for loading installer components (optional).
#d-i mirror/udeb/suite string testing

B.4.6. ��������� �ޣ���� ������

����� ���� ������������� ��������� ������ ����������������� � ��� � ������
������� �������� ������������. ������ ����� ���� ������ ��� �������������
��������� �������� ��� � ���� ����� crypt(3).

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

�������� ��������, ��� �������������� ��������� ������� ������������
�����������, ��� ��� ����� ����� �������� ������ � ����� ������� � ������
������. �������� ����� ������� ��������� ����������, ���� ��� ��� ��
������������ ��������� ��������� ����������� DES ��� MD5, ������� �������� ���
���� ���������. ��� ���������� ����� ������������� ������������ ���������
SHA-256 � SHA512.

# ���������� �������� �ޣ���� ������ ����������������� (� ������� �ޣ����
# ������ ������������ ����� ������������ sudo).
#d-i passwd/root-login boolean false
# ��� �� ���������� �������� ������� �ޣ���� ������ ������������.
#d-i passwd/make-user boolean false

# ������ �����������������, ����� �������� �������
#d-i passwd/root-password password r00tme
#d-i passwd/root-password-again password r00tme
# ��� � ���� ���� crypt(3).
#d-i passwd/root-password-crypted password [��� crypt(3)]

# ������� �ޣ���� ������ �������� ������������.
#d-i passwd/user-fullname string Debian User
#d-i passwd/username string debian
# ������ �������� ������������, ��� �������� �������
#d-i passwd/user-password password insecure
#d-i passwd/user-password-again password insecure
# ��� � ���� ���� crypt(3).
#d-i passwd/user-password-crypted password [��� crypt(3)]
# ������� ������ �ޣ���� ������ � �������� UID ������ �������� ��
# ���������.
#d-i passwd/user-uid string 1010

# �ޣ���� ������ ����� ��������� � ��������� ����������� ��������� �����.
# ����� ��� �������� -- �������������� � ���������������� ������� ����.
#d-i passwd/user-default-groups string audio cdrom video

�����, � ������ �������� ���������� passwd/root-password-crypted � passwd/
user-password-crypted ����� ������� ���� ?!?. � ���� ������, ���������������
�ޣ���� ������ ����� �������������. ��� ����� ���� ������ ��� �ޣ���� ������
�����������������, ���� ������������ ������ ����� ���������, ���������������
����������� ��������� ���������������� �������� ��� ���� � ������� �� �����
����������������� (��������, ��������� �������������� �� SSH ����� ��� sudo).

� ������� ��������� ������� (��������� �� ������ whois) ����� ������������� ���
SHA-512 �� crypt(3) ��� ������:

mkpasswd -m sha-512

B.4.7. ��������� ������� � �������� �����

# ������, ����������� ��� ��� ���������� ���� �� ��������.
d-i clock-setup/utc boolean true

# ����� �� ������ ������� ����� ���������� �������� ��� $TZ; ��������
# ���������� �������� � ����� /usr/share/zoneinfo/.
d-i time/zone string US/Eastern

# ����������, ����� �� ������������ NTP ��� ��������� ����� �� ����� ���������
d-i clock-setup/ntp boolean true
# ������������ ������ NTP. �������� �� ��������� ����������� �����.
#d-i clock-setup/ntp-server string ntp.example.com

B.4.8. �������� ������

������������� �������� �������� ֣������ ����� � �������������� ��������� �����
����������; �������������� ��������� ������ ��� partman-auto. �� ������ �������
�������� ������ ���������� ����� �� ����� ��� ����� �����. �������� ����� �����
������� �� ������ �� ��������� � ��������� ��������� �������, �����������������
������ �� ����� ��� ������ �� ����� �������.

����������� ����������� �������� � �������������� RAID, LVM � ����������
�������������� � �������������� ���������, �� �� ��� ����� ��� ��� �������� ���
�������������� ���������.

�������������� ����� ������� ���������� ������ ������ �� ������������� �������.
����������� �������� � ������ partman-auto-recipe.txt �
partman-auto-raid-recipe.txt �� ������ debian-installer. ����� ��� �����
�������� � ����������� debian-installer. �������, ��� ������ ��������������
������������ ����� ���������� ����� ���������.

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

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

B.4.8.1. ������ ��������

# If the system has free space you can choose to only partition that space.
# This is only honoured if partman-auto/method (below) is not set.
#d-i partman-auto/init_automatically_partition select biggest_free

# Alternatively, you may specify a disk to partition. If the system has only
# one disk the installer will default to using that, but otherwise the device
# name must be given in traditional, non-devfs format (so e.g. /dev/sda
# and not e.g. /dev/discs/disc0/disc).
# For example, to use the first SCSI/SATA hard disk:
#d-i partman-auto/disk string /dev/sda
# In addition, you'll need to specify the method to use.
# The presently available methods are:
# - regular: use the usual partition types for your architecture
# - lvm:     use LVM to partition the disk
# - crypto:  use LVM within an encrypted partition
d-i partman-auto/method string lvm

# You can define the amount of space that will be used for the LVM volume
# group. It can either be a size with its unit (eg. 20 GB), a percentage of
# free space or the 'max' keyword.
d-i partman-auto-lvm/guided_size string max

# If one of the disks that are going to be automatically partitioned
# contains an old LVM configuration, the user will normally receive a
# warning. This can be preseeded away...
d-i partman-lvm/device_remove_lvm boolean true
# The same applies to pre-existing software RAID array:
d-i partman-md/device_remove_md boolean true
# And the same goes for the confirmation to write the lvm partitions.
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true

# You can choose one of the predefined partitioning recipes:
# - atomic: all files in one partition
# - home:   separate /home partition
# - multi:  separate /home, /var, and /tmp partitions
# - server: separate /var and /srv partitions; swap limitted to 1G
# - small_disk: scheme dedicated to small harddrives (under 10GB)
d-i partman-auto/choose_recipe select atomic

# Or provide a recipe of your own...
# 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 into the preconfiguration file in one
# (logical) 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 ::                                            \
#              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{ }                \
#              .

# The full recipe format is documented in the file partman-auto-recipe.txt
# included in the 'debian-installer' package or available from D-I source
# repository. This also documents how to specify settings such as file
# system labels, volume group names and which physical devices to include
# in a volume group.

## Partitioning for EFI
# If your system needs an EFI partition you could add something like
# this to the recipe above, as the first element in the recipe:
#               538 538 1075 free                              \
#                      $iflabel{ gpt }                         \
#                      $reusemethod{ }                         \
#                      method{ efi }                           \
#                      format{ }                               \
#               .                                              \
#
# The fragment above is for the amd64 architecture; the details may be
# different on other architectures. The 'partman-auto' package in the
# D-I source repository may have an example you can follow.

# This makes partman automatically partition without confirmation, provided
# that you told it what to do using one of the methods above.
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true

# Force UEFI booting ('BIOS compatibility' will be lost). Default: false.
#d-i partman-efi/non_efi_system boolean true
# Ensure the partition table is GPT - this is required for EFI
#d-i partman-partitioning/choose_label select gpt
#d-i partman-partitioning/default_label string gpt

# When disk encryption is enabled, skip wiping the partitions beforehand.
#d-i partman-auto-crypto/erase_disks boolean false

B.4.8.2. �������� � �������������� RAID

����� �� ������ ���������������� ��������� �������� ������������ RAID.
�������������� RAID ������ 0, 1, 5, 6 � 10, �������� �������� ��������
(degraded arrays) � ����� ������� �������� ����������.

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

� ������ ���� ������������� �������� ����� ���������. ����� ��� �����������
������������� ������������ ���� �������������� debian-installer.
��������������� ��� �������� ����������� ������ (�� ����, ����� �� ���
��������� ������ � �� ���� ����������) ����� �� ������������. ���� ���������
�������� -- ��. /var/log/syslog.

# ����� ������ ���� ���������� � �������� "raid".
#d-i partman-auto/method string raid
# ������ ����������� �����. ��� ����� ����� ���������� ��������,
# ������� ��� �������� ������, ���� ����� ����������� �������.
#d-i partman-auto/disk string /dev/sda /dev/sdb

# ����� ����� ������� ����� ���������� ������� ����� ��������������.
#d-i partman-auto/expert_recipe string \
#      multiraid ::                                         \
#              1000 5000 4000 raid                          \
#                      $primary{ } method{ raid }           \
#              .                                            \
#              64 512 300% raid                             \
#                      method{ raid }                       \
#              .                                            \
#              500 10000 1000000000 raid                    \
#                      method{ raid }                       \
#              .

# �������, ����� ������� ��� ������������ ������̣���� ����� �������
# � ��������� RAID. ���������� ���������� ������ ��������
# ��� ���������� ��������. �������������� RAID 0, 1, 5, 6 � 10;
# ���������� ����������� � ������� "#".
# ���������:
# <raidtype> <devcount> <sparecount> <fstype> <mountpoint> \
#          <devices> <sparedevices>

#d-i partman-auto-raid/recipe string \
#    1 2 0 ext3 /                    \
#          /dev/sda1#/dev/sdb1       \
#    .                               \
#    1 2 0 swap -                    \
#          /dev/sda5#/dev/sdb5       \
#    .                               \
#    0 2 0 ext3 /home                \
#          /dev/sda6#/dev/sdb6       \
#    .

# ��������� ������ ������ ������ � ����� partman-auto-raid-recipe.txt,
# ����ޣ���� � ����� debian-installer � ����������� D-I.

# ��� �������� partman ������� �������� �������������, ��� �������������.
d-i partman-md/confirm boolean true
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true

B.4.8.3. ���������� ������������� ��������

������, �������� ������� ����������� � �������������� � �������� �����
�������������� ����������� �������������� (UUID); ��� ��������� ����������� ��
���������, ���� ���� ���������� �� ����� ���������. UUID-� ������� � �� ������
����������, �������, �� ������ �������, ��������� ��������� ����� ������������
�������� ������� ����������� �� ������������ ������ ���������, ��� �� ������
����������� ���� �����. ���� �� ������� ��������� ��������� ����������� ��
������, �� ��� �������� ������� ��� ����� ����� ������������ �� ������ UUID.

��� ��������� �� ����������� �������, ������ ��� ���������� ���� LVM, ���
������������ ����� ���������� ������������� �� ������������ �ͣ�, � �� UUID-�.

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

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

# �� ���������, ������������ ������������ �� UUID, �� �� ������
# ������� "traditional", ����� ������������ ������� ����� ���������
# ��� "label", ����� ����������� ������������ �� ������, �����
# ��� ��� ���������� � UUID-��.
#d-i partman/mount_style select uuid

B.4.9. ��������� ������� �������

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

# ��������� APT ��� ������ �������������� ��������� ������������� �������.
# ������������� ������� ��������� ����� �������� � ��������� �������������
# �������, � �� ������ �������������� ������
# ����� �������� ��������������.
#d-i base-installer/install-recommends boolean false

# ��������������� ����� (����) � ������� ����; ����� ������� ?none?,
# ���� ���� ������������� �� �����.
#d-i base-installer/kernel/image string linux-image-686

B.4.10. ��������� Apt

��������� ����� /etc/apt/sources.list � �������� ���������� ������������
����������� ������������� �� ��������� ������ ��������� � ������� �� �����
�������� �������. ������������� �� ������ �������� ������ (���������)
�����������.

# Choose, if you want to scan additional installation media
# (default: false).
d-i apt-setup/cdrom/set-first boolean false
# You can choose to install non-free firmware.
#d-i apt-setup/non-free-firmware boolean true
# You can choose to install non-free and contrib software.
#d-i apt-setup/non-free boolean true
#d-i apt-setup/contrib boolean true
# Uncomment the following line, if you don't want to have the sources.list
# entry for a DVD/BD installation image active in the installed system
# (entries for netinst or CD images will be disabled anyway, regardless of
# this setting).
#d-i apt-setup/disable-cdrom-entries boolean true
# Uncomment this if you don't want to use a network mirror.
#d-i apt-setup/use_mirror boolean false
# Select which update services to use; define the mirrors to be used.
# Values shown below are the normal defaults.
#d-i apt-setup/services-select multiselect security, updates
#d-i apt-setup/security_host string security.debian.org

# Additional repositories, local[0-9] available
#d-i apt-setup/local0/repository string \
#       http://local.server/debian stable main
#d-i apt-setup/local0/comment string local server
# Enable deb-src lines
#d-i apt-setup/local0/source boolean true
# URL to the public key of the local repository; you must provide a key or
# apt will complain about the unauthenticated repository and so the
# sources.list line will be left commented out.
#d-i apt-setup/local0/key string http://local.server/key
# or one can provide it in-line by base64 encoding the contents of the
# key file (with `base64 -w0`) and specifying it thus:
#d-i apt-setup/local0/key string base64://LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCi4uLgo=
# The content of the key file is checked to see if it appears to be ASCII-armoured.
# If so it will be saved with an ".asc" extension, otherwise it gets a '.gpg' extension.
# "keybox database" format is currently not supported. (see generators/60local in apt-setup's source)

# By default the installer requires that repositories be authenticated
# using a known gpg key. This setting can be used to disable that
# authentication. Warning: Insecure, not recommended.
#d-i debian-installer/allow_unauthenticated boolean true

# Uncomment this to add multiarch configuration for i386
#d-i apt-setup/multiarch string i386


B.4.11. ����� �������

�� ������ ������� ����� ��������� ���������� ��������������� �����. ���������
������:

  * standard (����������� �����������)

  * desktop (����������� ������� ����)

  * gnome-desktop (������� ���� Gnome)

  * xfce-desktop (������� ���� XFCE)

  * kde-desktop (������� ���� KDE Plasma)

  * cinnamon-desktop (������� ���� Cinnamon)

  * mate-desktop (������� ���� MATE)

  * lxde-desktop (������� ���� LXDE)

  * web-server (���-������)

  * ssh-server (������ SSH)

����� �� ������ �� �������� ������ � ��������� ��������� ������ �������
�����-�� ������ ��������. �� ����������� ������ �������� ������ standard.

Or if you don't want the tasksel dialog to be shown at all, preseed pkgsel/
run_tasksel (no packages are installed via tasksel in that case).

���� �� ������ ���������� ��������� ��������� ������� � ���������� � �������,
��������������� ��������, �� �� ������ ������������ �������� pkgsel/include. �
�������� ����� ��������� � �������� ����������� ����� ������������ ������� ���
�������, ������� ����� ��� ����� ������� � ��������� ������ ����.

#tasksel tasksel/first multiselect standard, web-server, kde-desktop

# Or choose to not get the tasksel dialog displayed at all (and don't install
# any packages):
#d-i pkgsel/run_tasksel boolean false

# Individual additional packages to install
#d-i pkgsel/include string openssh-server build-essential
# Whether to upgrade packages after debootstrap.
# Allowed values: none, safe-upgrade, full-upgrade
#d-i pkgsel/upgrade select none

# You can choose, if your system will report back on what software you have
# installed, and what software you use. The default is not to report back,
# but sending reports helps the project determine what software is most
# popular and should be included on the first DVD.
#popularity-contest popularity-contest/participate boolean false

B.4.12. ���������� ���������

# During installations from serial console, the regular virtual consoles
# (VT1-VT6) are normally disabled in /etc/inittab. Uncomment the next
# line to prevent this.
#d-i finish-install/keep-consoles boolean true

# Avoid that last message about the install being complete.
d-i finish-install/reboot_in_progress note

# This will prevent the installer from ejecting the disc during the reboot,
# which is useful in some situations.
#d-i cdrom-detect/eject boolean false

# This is how to make the installer shutdown when finished, but not
# reboot into the installed system.
#d-i debian-installer/exit/halt boolean true
# This will power off the machine instead of just halting it.
#d-i debian-installer/exit/poweroff boolean true

B.4.13. ������������� ������ �������

# � ����������� �� ���������� ��� ��������� ��, ��� ���� ���-�� �ģ�
# ����������� �� ����� �������� ���������, ���������� ����������� ��������� ������
# ��������. �����������, �� ���� ����� ����������������. ����� �������� ������
# ���� ��������� ��������, ������� ����� ���� ������ �� ����� ���������, ���������
# ���������, � ����� ��������� ��������� �������:
#   debconf-get-selections --installer > ����
#   debconf-get-selections >> ����

B.5. �������������� ���������

B.5.1. ������ ���������������� ������ �� ����� ���������

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

When the filesystem of the target system is mounted, it is available in /
target. If an installation CD/DVD is used, when it is mounted it is available
in /cdrom.

# ������������� d-i �� ���� �����������. ��������� ��������� �� ���������
# �������� �� ������������ ������ ��� ������� ������������� ��������
# ������ ����������� �� ����� �������. ����������� ����� ������� ������ ��
# ��ģ���� ����������! ��� ������������� ����, � ������ ��� ��� ������
# �������, ����� �������� ��� ��������� ���� ������� �������� ������
# ��������� ��������� �������������.

# ��� ������ �������, ������� ����������� ��� ����� ������ ����� �����
# ������ ����� �������.
#d-i preseed/early_command string anna-install �����-��-udeb
# ��� ������� ����������� ��������������� ����� �������� ������� ��������.
# ��� ����� ����������� ��� ������������ �������������� ��������� �������
# ��������, ��������� �� ��������� ������ (������� ����� ����
# ��������� ��� ������ preseed/early_command).
#d-i partman/early_command \
#       string debconf-set partman-auto/disk "$(list-devices disk | head -n1)"
# ��� ������� ����������� ����� ���������� ���������, ���� �ݣ
# ���� ������� ������� /target. �� ������ ��������� chroot � /target
# � ��������������� ������������ ���, ��� �� ��������������� ���������
# apt-install � in-target ��� ���������� ������ ��������� ������� �
# ������� ������ � ������� �������.
#d-i preseed/late_command string apt-install zsh; in-target chsh -s /bin/zsh

B.5.2. ������������� �������������� ��������� ��� ��������� �������� ��
���������

� ������� �������������� ��������� ����� �������� ������ �� ���������, ��
������� �ӣ ����� ����� ����������. ��� ����� ����� ������� ������ �� ������
����� ���������� ���� seen � ?false? ����� �������� ������ �� ������.

d-i foo/bar string value
d-i foo/bar seen false

���� �� ������� ����� ���������� ��� ���� ��������, ������ �������� preseed/
interactive=true � ����������� � ��������. ����� ��� ����� ������ ��� �������
��� ������������ ������ ����� �������.

�������, ��� �������� ?d-i? ������ �������������� ������ ��� ����������,
������������ � ����� ��������� ���������. ��� ����������, �������������
��������������� � ������� �������,�� ������ ������������ ��� ����� ������. ��.
������ � �����̚B.2.2, ?������������� ���������� �������� ��� �������������?.

���� �� ���������� ������������� ����� ��������� ��������, �� ������ ���������
��������� ��������� �������� ��������������� ������ � ������� ��������� ??=?, �
������ foo/bar?=value (��� owner:foo/bar?=value). �����������, ��� ���������
������ �� ���������, ������� ��������� � ������������ �� ����� ���������
��������, �� ����� �� �� ?����������? ���������.

����� �������� ����� ��������� ���������� ����������, ����������� �����������
��������� DEBCONF_DEBUG=5. T �� �������� debconf �������� ������� ������
������������ � ������� ���������� ������ ���������� � � ���� ����������
��������� ��������� ������� ������.

B.5.3. ���������������� �������� ���������� ������ �������

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

# ����� ������� ����� ������ �����, �������� �� ���������; ��� �����
# ���������. ���������� �����, � ���� �������, ���� ����� ���������
# ��������� preseed/include. �������, ��� ���� ����� ������
# �������������, �� ��� �������
# �� ���� �� �������� ��� � ���� �������, � ������� ��� ��������.
#d-i preseed/include string x.cfg

# ��������� ��������� ����� ��������� ��������� ����������� ����� ������
# ������� ����� �� ��������������. � ������ ������ �������������� ������
# md5sums; � ������ md5sums ����� ������ ����������� � ��� �� �������,
# ��� � ��� ��������� ������.
#d-i preseed/include/checksum string 5da499872becccfeda2c4872f9171c3d

# ��� ������� �������� ����� ��������� ������� �������� � ���� ��� ������
# ����� ������ �������, �������� ��� �����.
#d-i preseed/include_command \
#      string if [ "`hostname`" = bob ]; then echo bob.cfg; fi

# �������� ������ �� ���� ������ -- ��������� � ��������� ���������.
# ��������� ����� ������������ �������, ��������, debconf-set ���
# ���������� ����� ������ debconf.
# ����� ������� ����� ������ �����, �������� �� ���������
# �������, ��� ���� ����� ������ �������������, �� ��� ������ � ��� ��
# �������� ������ ���� ���� �������, ������� ��������� ��.
#d-i preseed/run string foo.sh

����� �������� ���������� ���������� ������������� �� initrd ��� �����, � �����
������������� �� ����, ���� ������ preseed/url � ������ ����������� �������.
��� �����ģ� ���������� ������������� �� ����, ����� ���� ������ ��������.
����� ���� ���������� ��� ���������, ��� ��� ����� ����������� ��� ������ ��
���� ������ �������������, ���, ��������, �����ģ� � ���������� ������� ��
preseed/early ������: ���� ��� �� ������� ������, ������ ��� ����� ���������
����.


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

^[18] �������� ���������� debconf (��� �������) -- ���, ������, ��� ������, �
������� ���������� ��������������� ������ debconf. ����������� ����� ���������
��������� ������� ?d-i?. ������� � ���������� ����� ����� ����� ������
���������, ��� ������ �� �� �������� �� ���� ������ debconf ��� ��������
������.

^[19] ��� ������� �������� ��� locale ������ en_NL, ��������, �����ģ� �
��������� ������� � ������� �� ��������� en_US.UTF-8. ����, ��������, ���������
en_GB.UTF-8, �� �������� ��� ��������������� ������ ����� �������� �������� ���
������� ���������.

���������� C. �������� ������ � Debian

����������

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

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

��� �������, ��� GNU/Linux ��������� ���� ������. �� ������ ����� ������������
������, ���������� ��� ������������ �������, ���������� � ���� ������ �����.
����������� ����� �������, ��� ����� ��������� ������ ��������, ���� ��� ��
������ �����. ?������ �������� (swap)? -- ��� ������� ������������ ���
������������ �������, ������� ��������� ������������ �������� ������������ �
�������� ?����������� ������?. Linux �������� � ����������� ������� �����
����������, ���� ��� ����������� � ��������� �������. Linux ����� ������������
��� �������� ������� ����, �� ��� �� �������������.

������ ����������� ����� �������� ��� GNU/Linux ������ ������ �������. ���� ���
�������, �� ������� �������� �� �������� ��������� �������� ������� ��
��������� ��������� ��������. ������ -- ��� ������������. ���� ���-��
���������� � �������� �������, ���������� ������ ���� ������. �� ����, ���
����� ����� ������������ (�� ��������� �����, ������� �� ��������� �������)
������ ����� �������. ��� �������, ��� ����� ������� ��� ���������� ?��������
������?. �� �������� �������� ������ ���������� �������. ���� ����� ������
������ ����� ������ģ�, �� �ӣ ����� ������� ����������� � GNU/Linux �����
�������� �������. ��� ����� ������ ��� �� ���������� ������ �������������
�������.

������ ������� ������ ����� ����� ��� �������, �� �� ����� ���� ��� ������� ��
����, � ����� �������� ������������ ������. ��������, �������� ������, �������
����, ����� ����� ����������� ������ ��������. ���� �� �������� ��� /var/mail
��������� ������ �� �������� �������, ����������� ������ ����� ����������
�������� ���� ���� ��� ��������.

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

C.2. ��������� ���������

Debian GNU/Linux �������������� ��������� Filesystem Hierarchy Standard ���
��������� � �ͣ� ������. ���� �������� ��������� ������������� � ������������
����������� ���� ��������� � ������������ ������ � ���������. ������� ���������
�������� �������������� ������ ����� ������ /. �� �������� ������, ��� �������
Debian �������� ��������� ��������:

+--------------------------------------------------------------------+
|�������|                          ��������                          |
|-------+------------------------------------------------------------|
|bin    |����������� ����������� �����                               |
|-------+------------------------------------------------------------|
|boot   |��������� ����� ���������� ����������                       |
|-------+------------------------------------------------------------|
|dev    |����� ���������                                             |
|-------+------------------------------------------------------------|
|etc    |��������� ������� ������ ������                             |
|-------+------------------------------------------------------------|
|home   |�������� �������� �������������                             |
|-------+------------------------------------------------------------|
|lib    |����������� ���������� ������ ����������� � ������ ����     |
|-------+------------------------------------------------------------|
|media  |�������� ����� ������������ ��� �ߣ���� ���������           |
|-------+------------------------------------------------------------|
|mnt    |����� ������������ ��� �������� ����������� �������� �������|
|-------+------------------------------------------------------------|
|proc   |����������� ������� ��� ��������� ����������                |
|-------+------------------------------------------------------------|
|root   |�������� ������� �����������������                          |
|-------+------------------------------------------------------------|
|run    |���������� ������ ������� ����������                        |
|-------+------------------------------------------------------------|
|sbin   |����������� ��������� ����������� �����                     |
|-------+------------------------------------------------------------|
|sys    |����������� ������� ��� ��������� ����������                |
|-------+------------------------------------------------------------|
|tmp    |��������� �����                                             |
|-------+------------------------------------------------------------|
|usr    |��������� ��������                                          |
|-------+------------------------------------------------------------|
|var    |���������� ������                                           |
|-------+------------------------------------------------------------|
|srv    |������ ��������, ��������������� ��������                   |
|-------+------------------------------------------------------------|
|opt    |�������������� ����������� �����������                      |
+--------------------------------------------------------------------+

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

  * The root partition / must always physically contain /etc, /bin, /sbin, /
    lib, /dev and /usr, otherwise you won't be able to boot. This means that
    you should provide at least 600-750MB of disk space for the root partition
    including /usr, or 5-6GB for a workstation or a server installation.

  * ������� /var ��������: ��� ������������ ������ ���� ��������� ������,
    ��������� ����������� �����, ���-������, ��� ������, ���� �������
    ���������� �������� � �.�. ������ �������� ������� ������� �� �������
    ������������� ����������, �� ��� ����������� ����� �� ������������ �������
    � �������� ���������� ��������. ���� �� ����������� ���������� �ӣ, ���
    ���������� Debian, ��� ޣ� �����, �� 2 ��� 3 ��������� ��� /var ������
    �������. ���� �� ����������� ����������� ��������� �� ������ (�� ����,
    ���������� ������ � �������, ����� ��������� ��� ������ � �������, ����� X,
    ...), �� ����� ��������� � 300-500 ��. ���� ������������ ֣������ �����
    ������ � �� �� ���������� ������ ���������� ���������� �������, �� ���
    ����� ���������� 30 ��� 40 ��.

  * ������� /tmp ��������: ��������� ������ ����������� �����������
    �����������. ������ ���������� 40-100 ��. ��������� ���������� --
    ���������� ��������� ������������, ������� ������ � CD/DVD �
    ��������������� ������� -- ����� ������������ /tmp ��� ���������� ��������
    ������. ���� �� ���������� ������������ ������ ����������, �� ������
    �������� ������������ ��� /tmp �������� ����� ������������.

  * ������� /home ��������: ��������� ���������� ��� ������� ������������, ���
    �������� ������ ������. ��� ������ ������� �� ���������� ������������� �
    ������� � ����� ����� ��� ����� ������� � ����� ���������. � ����������� ��
    ������������ ������������� �� ������ ��������������� ����� 100 �� ���
    ������� ������������, �� ������ �������� ��� �������� �������� �����
    �����������. �������� ������ �����, ���� ���������� ������� �����
    �������������� ������ (��������, MP3, �������) � ��ϣ� �������� ��������.

C.3. ������������� ����� ��������

For new users, personal Debian boxes, home systems, and other single-user
setups, a single / partition (plus swap) is probably the easiest, simplest way
to go. The recommended partition type is ext4.

��� ��������������������� ������ ��� ������ � ������� �������� �������������
����� ����� ������� ��� /var, /tmp � /home ����������� �������, ��������� �� /.

You might need a separate /usr/local partition if you plan to install many
programs that are not part of the Debian distribution. If your machine will be
a mail server, you might need to make /var/mail a separate partition. If you
are setting up a server with lots of user accounts, it's generally good to have
a separate, large /home partition. In general, the partitioning situation
varies from computer to computer depending on its uses.

��� ����� ������� ������ �� ������ ��������� Multi Disk HOWTO. � � ����������
��������� ����������, ������� ����� �������� ��������� ����������� �������� �
�����, ������������� �������.

With respect to the issue of swap partition size, there are many views. One
rule of thumb which works well is to use as much swap as you have system
memory. It also shouldn't be smaller than 512MB, in most cases. Of course,
there are exceptions to these rules.

As an example, an older home machine might have 512MB of RAM and a 20GB SATA
drive on /dev/sda. There might be a 8GB partition for another operating system
on /dev/sda1, a 512MB swap partition on /dev/sda3 and about 11.4GB on /dev/sda2
as the Linux partition.

��� ��, ��� ����� ������������ �������� ������������ ����� ���������� ��
�������, ������� �� �������� ���������� ����� ��������� �������; ��������
�����̚D.2, ?�������� ������������, ����������� ��� �����?.

C.4. ����� ��������� � Linux

����� ������ � �������� � Linux ����� ���������� �� �ͣ� � ������ ������������
��������. ��� ���� ����� ��������� � ����������� ������� ��� ����� ����� �����
����� ������������ � Linux. ��� ������ ����� ����������:

C.5. ��������� �������� � Debian

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

partman

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

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

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

����������

D.1. ���������� Linux
D.2. �������� ������������, ����������� ��� �����
D.3. ��������� Debian GNU/Linux �� ������� Unix/Linux
    D.3.1. ��������
    D.3.2. ��������� debootstrap
    D.3.3. ������ debootstrap
    D.3.4. ��������� ������� �������
    D.3.5. ��������� ����
    D.3.6. ��������� ���������� ����������
    D.3.7. ���̣���� ������: ��������� SSH � ��������� �������
    D.3.8. �������������� ����

D.1. ���������� Linux

� Linux � �������� /dev ���������� ��������� ����������� �����. ��� �����
���������� ������� ���������. ������ � ����������� � ���� Unix ���������� ��
����, ��� ��� ������� � ������ ������������ ��������. ����� ��� �������� �����
����������� ����, ������� � ���������������� ������������� ��������� (�����
���� Linux), �������������� ������ � ����������. ������, ����� ������������
����� ����� ���������� �������� �����. ���� ����������� �������� ������ �����
���������.

+-------------------------------------------+
|sda |������ ֣����� ����                   |
|----+--------------------------------------|
|sdb |������ ֣����� ����                   |
|----+--------------------------------------|
|sda1|������ ������ �� ������ ֣����� ����� |
|----+--------------------------------------|
|sdb7|������� ������ �� ������ ֣����� �����|
+-------------------------------------------+

+------------------+
|sr0|������ CD-ROM |
|---+--------------|
|sr1|������ CD-ROM |
+------------------+

+------------------------------------------------------------------+
|ttyS0  |Serial port 0, also referred to as COM1                   |
|-------+----------------------------------------------------------|
|ttyS1  |Serial port 1, also referred to as COM2                   |
|-------+----------------------------------------------------------|
|psaux  |���������� ���� PS/2                                      |
|-------+----------------------------------------------------------|
|gpmdata|������-����������, ����������� ������ �� ������ GPM (����)|
+------------------------------------------------------------------+

+--------------------------------------------------+
|cdrom|������������� ������ �� ������ CD-ROM       |
|-----+--------------------------------------------|
|mouse|������������� ������ �� ���� ���������� ����|
+--------------------------------------------------+

+-----------------------------------------------------+
|null|�ӣ, ��� ������������ � ��� ����������, ��������|
|----+------------------------------------------------|
|zero|����� ���������� ������ ���� �� ����� ����������|
+-----------------------------------------------------+

D.2. �������� ������������, ����������� ��� �����

A standard installation for the amd64 architecture, including all standard
packages and using the default kernel, takes up 1242MB of disk space. A minimal
base installation, without the ?Standard system utilities? task selected, will
take 1012MB.

�����

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

� ������� ���� ��������� ���������� ������������� ����� ��� ��������� �����,
��������� � tasksel. ������ �������� �������� � ������� aptitude. �������, ���
��������� ������ ������ � ��������� ����� ������������, ������� ������ ������
��������� ��� ���� ����� ������ ����� ���� ������, ��� ������ ������,
���������� ��������� ��������.

By default the installer will install the GNOME desktop environment, but
alternative desktop environments can be selected either by using one of the
special installation images, or by specifying the desired desktop environment
during installation (see �����̚6.3.6.2, ?����� � ��������� ������������
�����������?).

��������, ��� ��� ����ޣ�� ������� �������� � ������� ����������� ���������
����� �������� ������� �� �������. ����������� �������� �� ������� ?������
����� ���������? ����� �������������� � /usr � /lib, � ������� �� ������� ?
������ ��������? �������� ����� (��������) � /var.

+-----------------------------------------------------------------------------+
|     ������      |   ������ �����    |    ������    |  ��������� ����� ���   |
|                 |  ��������� (��)   |�������� (��) |     ��������� (��)     |
|-----------------+-------------------+--------------+------------------------|
|���������        |�                  |�             |�                       |
|�������� �����   |                   |              |                        |
|-----------------+-------------------+--------------+------------------------|
|��?�GNOME (��    |3216               |859           |4075                    |
|���������)       |                   |              |                        |
|-----------------+-------------------+--------------+------------------------|
|��?�KDE Plasma   |4584               |1316          |5900                    |
|-----------------+-------------------+--------------+------------------------|
|��?�Xfce         |2509               |683           |3192                    |
|-----------------+-------------------+--------------+------------------------|
|��?�LXDE         |2539               |693           |3232                    |
|-----------------+-------------------+--------------+------------------------|
|��?�MATE         |2851               |762           |3613                    |
|-----------------+-------------------+--------------+------------------------|
|��?�Cinnamon     |4676               |1324          |6000                    |
|-----------------+-------------------+--------------+------------------------|
|��� ������       |85                 |19            |104                     |
|-----------------+-------------------+--------------+------------------------|
|SSH-������       |2                  |1             |3                       |
+-----------------------------------------------------------------------------+

���� �� ������� ��������� �� �� ���������� �����, tasksel ����� �������������
���������� ������ �� �����������, ���� ��� ���������� ��� ������ �����.
����������� ������������ �� ����� ������� �� �����; �������� ����� 350 �� ��
�������� � ���������.

D.3. ��������� Debian GNU/Linux �� ������� Unix/Linux

� ���� ������� �����������, ��� ���������� Debian GNU/Linux �� ������������
������� Unix ��� Linux ��� ������������� ����������� �� ���� ���������
���������, ���������� �� ���������� ncurses, ��� ��� ����������� � ���������
�����������. ��� ?�����������������? HOWTO ��������� ������������, �����������
�� Debian GNU/Linux �� Redhat, Mandriva � SUSE. � ���� ������� ���������������
������� ���������� ����� ������ � ��������� *nix � ��������� �� ��������
�������. ����� ������ $ �������� �������, �������� � ������� ����������������
�������, � # ��������� � �������, �������� � Debian chroot.

��� ������ �� �������� ����� ������� Debian, ����������� �� �����
�������������, �� ������ ��������� ���� ������ (���� ��� ����) � �ţ �
���������� ������. ������� ����� ��������� Debian GNU/Linux ��������� ?�
������� �������� �������? (zero downtime). ����� ��� ������ ������ ������ �
�����������, ������� �� ����� ��������� �������� � ������� ������������ ���
������������� ����������.

����������

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

D.3.1. ��������

� ������� ��������� ������ *nix ��� ������ � ��������� �����, �������������
���� ��� �����, ������ �� ����� ����� �������� ������� � ������ ��������
(swap). ��� ����������� ����� 1012 �� ��� ���������� ������ ��������� ��� �����
2539 ��, ���� �� ���������� ���������� X (��� �ݣ ������, ���� �� ������
������������� ��������� �������� ����� ���� GNOME ��� KDE Plasma).

����� �������� �������� ������� �� ��������. ��������, ����� ������� ��������
������� ext3 �� ������� /dev/sda6 (��� �������� ������ � ����� �������):

# mke2fs -j /dev/sda6

����� ������� �������� ������� ext2, �� ���������� �������� -j.

������������������ � ����������� ������ �������� (�������� ����� ������� ��
����):

# mkswap /dev/sda5
# sync
# swapon /dev/sda5

����������� ���� ������ ��� /mnt/debinst (����� ���������, ��� ����� ��������
(/) �������� �������� � ����� ����� �������). ��� ����� ������������ ���������
������������.

# mkdir /mnt/debinst
# mount /dev/sda6 /mnt/debinst

����������

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

D.3.2. ��������� debootstrap

�������, ������� ���������� ��������� ��������� Debian � ������� ��������
����������� �������� ��������� ������� ������� Debian �������� debootstrap. ���
���������� wget � ar, �� ������� ������ �� /bin/sh � ����� ������������
������������ Unix/Linux^[20]. ���������� wget � ar, ���� �� �ݣ ��� � �������,
� ����� ��������� � ���������� debootstrap.

��� �� ������ ������������ ��������� ��������� ��������� �������. ��������
������� ������� ��� ���������� � ���� .deb:

# mkdir work
# cd work

�������� ���� debootstrap ���������� � ������ Debian (���������, ��� �� �������
���������� ����, ��������������� ����� �����������). �������� debootstrap .deb
�� ����, ���������� ����� � ������� ������� � ��������� �� ���� �����. ���
��������� ������ ��� ����������� ���������� ����������������� (root).

# ar -x debootstrap_0.X.X_all.deb
# cd /
# zcat /full-path-to-work/work/data.tar.gz | tar xv

D.3.3. ������ debootstrap

������� debootstrap ����� ��������� ����������� ����� ����� �� ������. �
������� ���� �� ������ �������� http.us.debian.org/debian �� �����
������-������� ������ Debian, ����� ����� ������������ �� �������� ������� �
��� ����. ������ �������� http://www.debian.org/mirror/list.

If you have a trixie Debian GNU/Linux installation image mounted at /cdrom, you
could substitute a file URL instead of the http URL: file:/cdrom/debian/

�������� ARCH � ������� debootstrap �� ���� �� ��������� ���������: amd64,
arm64, armel, armhf, i386, mips64el, mipsel, ppc64el, riscv64, s390x.

# /usr/sbin/debootstrap --arch ARCH trixie \
     /mnt/debinst http://ftp.us.debian.org/debian

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

D.3.4. ��������� ������� �������

������ � ��� ���� ��������� ������� Debian �� �����, ���� � ���������
�������������. ��������� chroot � �ţ:

# LANG=C.UTF-8 chroot /mnt/debinst /bin/bash

���� ������� ����������� ���������� �� ����������� ����, �� ������� ��� �����
����������� �� ���� qemu-user-static:

# cp /usr/bin/qemu-ARCH-static /mnt/debinst/usr/bin
# LANG=C.UTF-8 chroot /mnt/debinst qemu-ARCH-static /bin/bash

����� ���������� chroot, ��� ����� ������������� ��������� ��������� ���������
��� ������������� � ������� �������� Debian, ��������:

# export TERM=xterm-color

� ����������� �� �������� TERM, ��� ����� ������������� ���������� �����
ncurses-term ��� ��������� ���������.

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

/debootstrap/debootstrap --second-stage

D.3.4.1. �������� ������ ���������

� ������ ������ /dev/ �������� ������ �������� ����� ���������. ��� ���������
������ ��������� ����� ������������� �������������� ����� ���������. ����
��������� �������� �� ��������; ����� ����� ����������� ������� ��: a) �������,
� ������� ������������ ���������; �) ����� �� �������������� ����������� ����;
�) ������������ � ����� ������� ������������ (��������, ����������� udev) ���
����������� ����� ���������.

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

  * ��������� ������ makedev � �������� ������������� �� ��������� ������
    ����������� ������ ��������� (����� ���������� chroot)

    # apt install makedev
    # mount none /proc -t proc
    # cd /dev
    # MAKEDEV generic

  * �������� ������� ������ ��������� ������ ��������� � ������� MAKEDEV

  * �������� ��������������� /dev ��������� ������� ������ /dev �
    ��������������� �������; �������, ��� �������� postinst ��������� �������
    ����� �������� ��������� ����� ���������, ������� ������ �������� �����
    ������������ ���������

D.3.4.2. ������������ ��������

You need to create /etc/fstab.

# editor /etc/fstab

Here is a sample you can modify to suit:

# /etc/fstab: static file system information.
#
# file system    mount point   type    options                  dump pass
/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/cdrom       /media/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

Use mount -a to mount all the file systems you have specified in your /etc/
fstab, or, to mount file systems individually, use:

# mount /path   # e.g.: mount /usr

Current Debian systems have mountpoints for removable media under /media, but
keep compatibility symlinks in /. Create these as as needed, for example:

# cd /media
# mkdir cdrom0
# ln -s cdrom0 cdrom
# cd /
# ln -s media/cdrom

You can mount the proc file system multiple times and to arbitrary locations,
though /proc is customary. If you didn't use mount -a, be sure to mount proc
before continuing:

# mount -t proc proc /proc

������� ls /proc ������ ������ ����������, ��� ������� �� ������. ���� ��� ��
���, ����� ������������ proc �� ��������� chroot:

# mount -t proc proc /mnt/debinst/proc

D.3.4.3. ��������� �������� �����

��������� � ������� ������ ����� /etc/adjtime ����� �������� ?UTC? ��� ?LOCAL?
� ���������� ��� ������� ������ ���������������� ���������� ���� -- �����������
�� ��� �� UTC ��� ���������� ������� �����. ��������� ������� ��������� �������
���.

# editor /etc/adjtime

������:

0.0 0 0.0
0
UTC

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

# dpkg-reconfigure tzdata

D.3.4.4. ��������� ����

��� ��������� ����, �������������� /etc/network/interfaces, /etc/resolv.conf, /
etc/hostname � /etc/hosts.

# 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.
######################################################################

# The loopback interface isn't really required any longer, but can be used
# if needed.
#
# auto lo
# iface lo inet loopback

# To use dhcp:
#
# auto eth0
# iface eth0 inet dhcp

# An example static IP setup: (network, 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

������� ���� ������� �ͣ� � ��������� ������ � /etc/resolv.conf:

# editor /etc/resolv.conf

������ �������� /etc/resolv.conf:

search hqdom.local
nameserver 10.1.1.36
nameserver 192.168.9.100

������� ��������� ��� ���� (�� 2 �� 63 ��������):

# echo DebianHostName > /etc/hostname

� ������� /etc/hosts � ���������� IPv6:

127.0.0.1 localhost
127.0.1.1 DebianHostName

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

���� � ��� ��������� ������� ����, �� ��� ����� ���������� ����� �������
��������� � ����� /etc/modules � �������� �������. ����� ��� �������� ������
����� ����� ������� � ������ ���������� (eth0, eth1 � �.�.) ��� �� � �������.

D.3.4.5. ��������� Apt

Debootstrap ������� ����� ����� /etc/apt/sources.list, ������� ��������
���������� �������������� ������. ������, �� ������ �������� ��������
�������������� ���������, �������� ��� ������� � �������� ����� � ����������
������������:

deb-src http://ftp.us.debian.org/debian trixie main

deb http://security.debian.org/ trixie-security main
deb-src http://security.debian.org/ trixie-security main

����������� ��������� apt update ����� ��������� ������ ����������.

D.3.4.6. ��������� ��������� ���������� � �������

����� ������������ ����, �������� �� �����������, ����� ��������� ������. ���
����� ���������� ����� ��������� locales � ��������� ���. �������������
������������ UTF-8 ������.

# apt install locales
# dpkg-reconfigure locales

��� ��������� ��������� ���������� (���� �����):

# apt install console-setup
# dpkg-reconfigure keyboard-configuration

�������, ��� ���������� �� ����� ���� ���������, ���� ������ ������������ �
chroot, �� ��������� ����� ����������� ����� ��������� ������������.

D.3.5. ��������� ����

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

# apt search linux-image

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

# apt install linux-image-arch-etc

D.3.6. ��������� ���������� ����������

����� ������� ������� Debian GNU/Linux �����������, ��������� ���������
��������� �� �������� �������������� ���� � ������ ��������� �������. �������,
��� debootstrap �� ������������� ��������� ���������, ���� �� ������
������������ apt ������ ������ Debian chroot, ����� ������� ���.

�������, ��� ��� ������������, ��� �������� ���������� /dev/sda ���� �������
�����. ���� ������ ������ ��������� grub2, �� ��� ����� �� �������.

D.3.7. ���̣���� ������: ��������� SSH � ��������� �������

���� �� ������ ����� � ������� ����� �������, �� ������ ���������� ���� ������.
���� ������� ������ ���� �������� ����� ����, �� ��� ����� ���������� SSH �
��������� ������.

# apt install ssh

�� ��������� ���� ������������������ � ������� �����ݣ�, ������� ��� ���������
������� ����� ������ ������ � �������� ���� ��� root � �������:

# passwd
# editor /etc/ssh/sshd_config

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

PermitRootLogin yes

�����, ��� �ޣ���� ������ root �������� ���� �� ����� ssh:

# mkdir /root/.ssh
# cat << EOF > /root/.ssh/authorized_keys
ssh-rsa ....
EOF

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

# adduser joe
# passwd joe

D.3.8. �������������� ����

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

# tasksel install standard

�������, ����� �� ������ ������������ apt ��� ��������� ��������� �������.

����� ��������� ��� ��������� ������ ����� ��������� � ������� /var/cache/apt/
archives/. �� ������ ���������� ������� ����� ��������:

# apt clean


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

^[20] ���� ������ ������� ������� GNU � ������� ���� sed, grep, tar � gzip.

���������� E. ����� ��������

����������

E.1. �� ���� ���������
E.2. ��� ������ � ���������� ����� ���������
E.3. ����, ����� ������������ ����� � ��������� ����� �����������
E.4. �������� �����

E.1. �� ���� ���������

��������� ����������� ���� ������� ��� ��������� debian-installer �� Sarge, ���
�������� �� ����������� �� ��������� c �������������� boot-floppies
������������ Woody, ������� � ���� ������� ���� �������� �� ����� ������
������������ �� ��������� Debian, � ����� �� ����������� ������������ Progeny,
���������� ��� ��������� GPL � 2003 ����.

��� ��������� ����� ��������� ������������� ������ DocBook XML. ��������
������� ������� ���������� ����������� ��� ������ ������ �� ������� docbook-xml
� docbook-xsl.

� ����� ��������� �������� ������������� ����� ���������, �� ���������
��������� ����������� XML, ����� ��� �������� (entities) � �������������
�������� (profiling attributes). ��� ������ ����, ������ � ����������� �
��������� � ������ ����������������. �������� XML-����� ����� ���������
�������� ���������� ��� ���� ������������, � ��� ��������
������������-��������� �������� ������ ������������ ������������� ��������.

E.2. ��� ������ � ���������� ����� ���������

��� ������� ������� ��� ����������� �� ����� ���������, ����� ����� ���������
�� � ���� ��������� �� ������ � ������ installation-guide. ��� ��� �������
����� ��������� � ������������ � ������ reportbug ��� �� ����� �������
������������ ������ Debian. ����� ��������� � ������ �������� ������
����������� �� ���������, �� ������� �� ��� ���-�� � ����� ��������. ���� �����
������ ����, �� �� ������ ������� �������������� ��� �������� ���������� ��
����� <XXXX@bugs.debian.org>, ��� XXXX -- ��� ����� ����ݣ���� ������.

�ݣ ����� ����� ����� �������� ������� ����� ��������� � ������� DocBook �
������� �������� � ���. �������� ������ ����� ����� � �������
installation-guide �� salsa. ���� �� �� ������� � DocBook, �� ������������: �
�������� � ������������� ���� ������� ���������, ������� ������� ��� ����������
� ������. DocBook ����� �� html, �� ������������ �� ���������� ������, � �� ��
��� �������������. ��������� � ������ �������� debian-boot (�������� ����)
������ ����. � ���, ��� �������� �������� ������ ����� git, ����� ��������� �
����� README, ������� ��������� � ����� �������� � ��������� ��������.

�� ������������ � �������� ����� ��������� �������� -- ��� ���������� � ���
����� � ����� ����������� ���������� ������ �������� debian-installer, �������
�������� �� ������ <debian-boot@lists.debian.org>. �� �������� �������� ��
������ �������� Debian �������, ��� �� ���� ����� �����������. ����� ��������
������ ����� � ������ �������.

E.3. ����, ����� ������������ ����� � ��������� ����� �����������

�������������, ���� �������� ��� ������� ������ �������� (Bruce Perens), ������
��������� (Sven Rudolph), ������ ��������� (Igor Grobman), �������� �����
(James Treacy) � ������ �� ����� (Adam Di Carlo). ��������� ��� (Sebastian)
������� "������� ����������� �� ���������".

�������� ���� (Miroslav Ku?e) ������ ����� ����� ������������ � �
debian-installer �� Sarge. ����� ��� (Frans Pop) ��� ������� ���������� �
������������� �� ������ � ������������� Etch, Lenny � Squeeze.

����� ������ ������������ � ������������ 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 ��������� (�����̚D.3, ?��������� Debian GNU/
Linux �� ������� Unix/Linux?) ���� ������������ ���������, ���������� ���������
�. ������ (Karsten M. Self).

E.4. �������� �����

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

���������� F. GNU General Public License

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.

F.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.

F.2. GNU GENERAL PUBLIC LICENSE

TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. 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.

1. 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.

2. 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.

3. 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.

4. 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.

5. 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.

6. 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.

7. 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.

8. 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.

9. 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.

10. 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

11. 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.

12. 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

F.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 Lesser General Public License instead
of this License.