インストール作業を行うには 256 MB の RAM (ランダムアクセスメモリ) と最低 2 GB のハードドライブの空き領域が必要です。Falcot のすべてのコンピュータはこの基準を満足しています。しかし、これらの数字はグラフィカルデスクトップを含まない、極めて限定されたシステムをインストールする際の最低要件であるということに注意してください。一般的なオフィスデスクトップワークステーション用途では、最低でも 2 GB の RAM と 10 GB のハードドライブの空き領域が推奨されます。
Debian システムは、マシンの BIOS/UEFI (
「NOTE UEFI、BIOS の現代的な置き換え」 を参照) が対応していれば、さまざまな種類のメディアからインストールできます。たとえば、CD-ROM、USB メモリ、さらにネットワーク経由からも起動できます。
4.1.1. CD-ROM/DVD-ROM からのインストール
システムのインストール時に最も広く使われている方法が CD-ROM (DVD-ROM を使っても全く同じです) からインストールする方法です。具体的に言えば、コンピュータは CD-ROM や DVD-ROM から起動され、インストールプログラムが以降の作業を引き継ぎます。
Various CD-ROM families have different purposes: netinst (network installation) contains the installer and the base Debian system; all other programs are then downloaded. Its “image”, that is the ISO-9660 filesystem that contains the exact contents of the disk, takes up about 310 to 780 MB (depending on the architecture). On the other hand, the complete set offers all packages and allows for installation on a computer that has no Internet access; it requires around 21 DVD-ROMs (or 5 Blu-ray disks). There is no more official CD-ROMs set as they were really huge, rarely used and now most of the computers use DVD-ROMs as well as CD-ROMs. But the programs are divided among the disks according to their popularity and importance; the first disk will be sufficient for most installations, since it contains the most used software.
最後のイメージは mini.iso
としても知られており、インストーラの副産物として入手できます。このイメージにはネットワークを設定するために必要な最小限の要素だけが含まれており、その他の要素はすべてダウンロードされます (インストーラの部品もダウンロードします。このため、インストーラの新バージョンがリリースされた時点でこのイメージは使えなくなります)。mini.iso
のイメージは通常 100MB 以下で普通の Debian アーカイブミラーの dists/release/main/installer-arch/current/images/netboot/
ディレクトリの下に配置されています。
Debian のインストール用 CD-ROM を作るためには、CD-ROM イメージをダウンロードして、ディスクに書き込む必要があります。Debian インストール用 CD-ROM は購入することも可能で、これはプロジェクトに対する幾ばくかの資金援助になります。DVD-ROM イメージ業者とダウンロード場所のリストがウェブサイトで公開されています。
多くのコンピュータは USB デバイスから起動できるため、USB メモリ (これは単なるフラッシュメモリディスクに過ぎません) から Debian をインストールすることも可能です。
インストールマニュアルでは debian-installer
を含む USB メモリを作成する方法が説明されています。USB メモリの作成手順は極めて単純です。なぜなら、i386 と amd64 アーキテクチャ用の ISO イメージは CD-ROM からだけでなく USB メモリからも起動できるハイブリッドイメージになっているからです。
You must first identify the device name of the USB key (ex: /dev/sdb
); the simplest means to do this is to check the messages issued by the kernel using the dmesg
command. Then you must copy the previously downloaded ISO image (for example, debian-12.0.0-amd64-netinst.iso
) with the command cat debian-12.0.0-amd64-netinst.iso >/dev/sdb; sync
. This command requires administrator rights, since it accesses the USB key directly and blindly erases its content.
A more detailed explanation is available in the installation manual. Among other things, it describes an alternative method of preparing a USB key that is more complex, but that allows you to customize the installer's default options (those set in the kernel command line).
4.1.3. ネットワークブート経由のインストール
多くの BIOS では、カーネルと最低限のファイルシステムイメージをダウンロードすることでネットワークからカーネルを直接起動できるようになっています。
PXE や
TFTP ブートなどと呼ばれるこの方法は CD-ROM ドライブを持たないコンピュータやメディアからの起動をサポートしていない BIOS を備えたコンピュータにインストールを行う場合の救世主になります。
ネットワークブート経由のインストール方法は 2 段階で行われます。最初に、コンピュータ起動中に BIOS (またはネットワークカード) が自動的に IP アドレスを取得するために BOOTP/DHCP 要求を出します。BOOTP または DHCP サーバがこれに応答し、ファイル名とネットワーク設定を返します。ネットワークの設定が終了した後、クライアントコンピュータは先に返されたファイル名のファイルを取得するために TFTP (Trivial File Transfer Protocol) 要求を出します。ファイルの取得が終わったら、ファイルをあたかもブートローダであるかのごとく実行します。そしてブートローダが Debian インストールプログラムを起動し、インストーラがハードドライブ、CD-ROM、USB メモリから起動したのと同様に実行されます。
All the details of this method are available in the installation guide (“Preparing files for TFTP Net Booting” section).
When we have to deploy customized installations for a large number of computers, we generally choose an automated rather than a manual installation method. Depending on the situation and the complexity of the installations to be made, we can use FAI (Fully Automatic Installer, described in
第 12.3.1 節「Fully Automatic Installer (FAI)」), or even a customized installation DVD with so-called “preseeding“ (see
第 12.3.2 節「Debian-Installer の事前設定」).
It should also be noted that the installer can load and run an SSH server and thus provides the ability to install Debian remotely via an SSH session. The release notes also describe how to run the installer from an existing system using grub to replace it completely.