6.4. 見つからないファームウェアの読み込み

「ファームウェアが必要なデバイス」 で述べたように、ある種のデバイスはファームウェアを読み込む必要があります。多くの場合、ファームウェアが有効でないとデバイスはまったく動作しません。場合によっては、ファームウェアがない場合、基本機能は損なわれませんが、追加機能を有効にするためだけにファームウェアが必要になります。

Starting with Debian GNU/Linux 12.0, following the 2022 General Resolution about non-free firmware, official installation images (like netinst) can include non-free firmware packages. Even with those firmware packages available, some firmware files might still be missing. Or one might be using netboot files, which don't include firmware packages.

利用できないファームウェアをデバイスドライバが要求する場合、debian-installer は見つからないファームウェアを要求するダイアログを表示します。このオプションが選択されると、debian-installer はルーズなファームウェアファイルと、ファームウェアのあるパッケージの両方を、利用できるデバイスについて検索します。見つかると、ファームウェアを正しい場所 (/lib/firmware) にコピーし、ドライバモジュールを再読込します。

[注記] 注記

どのデバイスがスキャンされるか、どのファイルシステムをサポートしているかは、アーキテクチャやインストール方法、インストールの段階に依存します。特にインストールの初期段階では、ファームウェアの読み込みには、FAT フォーマットの USB メモリがもっとも成功の可能性が高いでしょう。i386 や amd64 のファームウェアは、MMC や SD カードからも読み込めます。

ファームウェアがなくてもデバイスが動作することを知っていたり、インストール中にそのデバイスが必要ない場合は、ファームウェアの読み込みをスキップできることにご注意ください。

6.4.1. メディアの準備

The most common method to load such firmware is from some removable medium such as a USB stick. To prepare a USB stick (or other medium like a hard drive partition), the firmware files or packages must be placed in either the root directory or a directory named /firmware of the file system on the medium. The recommended file system to use is FAT as that is most certain to be supported during the early stages of the installation.

Tarballs and zip files containing current packages for the most common firmware, and the associated metadata to ensure a proper detection by the installer (dep11 directory), are available from:

Just download the tarball or zip file for the correct release and unpack it to the file system on the medium.

また、個々のファームウェアファイルを、メディアにコピーもできます。ルーズなファームウェアを、例えばすでにインストールしたシステムや、ハードウェアベンダから入手できます。

6.4.2. ファームウェアとインストールしたシステム

Any firmware loaded during the installation will be copied automatically to the installed system. In most cases this will ensure that the device that requires the firmware will also work correctly after the system is rebooted into the installed system. However, if the installed system runs a different kernel version than the installer, there is a slight chance that the firmware cannot be loaded due to version skew.

If the firmware was loaded from a firmware package, debian-installer will also install this package for the installed system and will automatically add the non-free-firmware section of the package archive in APT's sources.list. This has the advantage that the firmware should be updated automatically if a new version becomes available.

インストール中に、ファームウェアの読み込みをスキップした場合、おそらくファームウェア (パッケージ) を手動でインストールするまで、関連するデバイスがインストールしたシステムで動作しないでしょう。

[注記] 注記

ファームウェアをルーズなファームウェアファイルから読み込んだ場合、インストール完了後に対応したファームウェアパッケージをインストールするまで、インストールしたシステムにコピーしたファームウェアは、自動的に更新されません

6.4.3. インストールしたシステムの設定を完了する

関連するファームウェアが取得できなかった、その時点ではファームウェアをインストールしないという選択をした等、どのようにインストールが実施されたかに応じて、インストール作業中では検出されなかったファームウェアが必要になる可能性があります。いくつかのケースでは、インストールが成功したにも関わらずシステム再起動後にブランクあるいは文字化けした画面が表示される可能性があります。このような場合、以下の回避策を試みることが出来ます:

  • カーネルコマンドラインに nomodeset を渡す。fallback graphics モードでの起動ができる可能性があります

  • Ctrl+Alt+F2 の組み合わせを使って、動作しているログインプロンプトが表示される VT2 (仮想端末2) にスイッチする