2.2. ファームウェアが必要なデバイス

デバイスドライバの可用性とは別に、いくつかのハードウェアでは、デバイスを使用できるようになる前に、いわゆる ファームウェアマイクロコード を、デバイスに読み込む必要があるものもあります。もっとも一般的なのはネットワークインターフェースカード (特にワイヤレス NIC) ですが、例えば USB デバイスやハードディスクコントローラでも、ファームウェアが必要なものがあります。

With many graphics cards, basic functionality is available without additional firmware, but the use of advanced features requires an appropriate firmware file to be installed in the system.

動作にファームウェアを必要とする古いデバイスでは、ファームウェアファイルは、メーカーによってデバイスの EEPROM/フラッシュチップに永続的に置かれていました。今日では、ほとんどの新しいデバイスがこの方法でファームウェアを埋め込まなくなり、ホストの OS がシステムブート時に、毎回ファームウェアファイルを、デバイスにアップロードしなければならなくなっています。

In most cases firmware is non-free according to the criteria used by the Debian GNU/Linux project and thus cannot be included in the main distribution. If the device driver itself is included in the distribution and if Debian GNU/Linux legally can distribute the firmware, it will often be available as a separate package from the non-free-firmware section of the archive (prior to Debian GNU/Linux 12.0: from the non-free section).

However, this does not mean that such hardware cannot be used during installation. Starting with Debian GNU/Linux 12.0, following the 2022 General Resolution about non-free firmware, official installation images can include non-free firmware packages. By default, debian-installer will detect required firmware (based on kernel logs and modalias information), and install the relevant packages if they are found on an installation medium (e.g. on the netinst). The package manager gets automatically configured with the matching components so that those packages get security updates. This usually means that the non-free-firmware component gets enabled, in addition to main.

Users who wish to disable firmware lookup entirely can do so by setting the firmware=never boot parameter. It's an alias for the longer hw-detect/firmware-lookup=never form.

ファームウェアの検索を完全に無効にしない限り、 debian-installer は USB メモリのようなリムーバブルメディアからファームウェアファイルあるいはファームウェアを含むパッケージの読み込みをサポートします。インストール中に、どの様にしてファームウェアファイルまたはパッケージを読み込むかについての詳細は、「見つからないファームウェアの読み込み」 を参照してください。non-free なファームウェアパッケージをインストールイメージに含めることができるようになったので、 debian-installer はファームウェアファイルについてプロンプトを表示する可能性が低くなっている、という点には留意ください。

debian-installer がファームウェアファイルを要求し、そのファームウェアファイルがない、または非フリーのファームウェアファイルをシステムにインストールしたくないといった場合は、ファームウェアをロードせずに継続を試せます。特定の状況下で必要になるはずなので、ドライバが追加ファームウェアを要求する場合があるのですが、ほとんどのシステムで、デバイスはファームウェアがなくても動作します (例: tg3 ドライバを使用する特定のネットワークカードで発生)。