6.4. Nạp phần vững bị thiếu

Như diễn tả trong Phần 2.2, “Thiết bị cần thiết phần vững”, một số thiết bị nào đó cũng yêu cầu nạp phần vững. Trong hậu hết trường hợp, thiết bị sẽ không hoạt động bằng cách nào cả nếu phần vững không sẵn sàng; đôi khi nó chỉ có chức năng cơ bản và yêu cầu phần vững để hiệu lực thêm tính năng.

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.

Nếu một trình điều khiển thiết bị yêu cầu phần vững chưa sẵn sàng, debian-installer sẽ hiển thị một hộp thoại đề xuất nạp phần vững bị thiếu. Bật tùy chọn này thì debian-installer sẽ quét tất cả các thiết bị sẵn sàng tìm hoặc tập tin phần vững riêng hoặc gói chứa phần vững. Tìm được thì phần vững được sao chép vào vị trí đúng (/lib/firmware) và mô-đun trình điều khiển được nạp lại.

[Ghi chú] Ghi chú

Which devices are scanned and which file systems are supported depends on the architecture, the installation method and the stage of the installation. Especially during the early stages of the installation, loading the firmware is most likely to succeed from a FAT-formatted USB stick. On i386 and amd64 firmware can also be loaded from an MMC or SD card.

Ghi chú rằng cũng có thể bỏ qua bước nạp phần vững nếu thiết bị vẫn còn chức năng, hoặc nếu thiết bị không cần trong khi cài đặt.

6.4.1. Chuẩn bị vật chứa

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.

Cũng có thể sao chép vào vật chứa mỗi tập tin phần vững riêng. Tập tin riêng như vậy có thể sẵn sàng từ một hệ thống đã cài đặt trước, hay nhà sản xuất phần cứng.

6.4.2. Phần vững và Hệ thống đã Cài đặt

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.

Nếu bước nạp phần vững bị bỏ qua trong khi cài đặt, thiết bị liên quan rất có thể không hoạt động với hệ thống đã cài đặt đến khi (gói) phần vững được cài đặt một cách thủ công.

[Ghi chú] Ghi chú

Nếu phần vững đã được nạp từ các tập tin phần vững riêng, phần vững được sao chép vào hệ thống đã cài đặt sẽ không phải được tự động cập nhật nếu gói phần vững tương ứng (nếu sẵn sàng) không được cài đặt một khi cài đặt xong.

6.4.3. Completing the Installed System

Depending on how the installation was performed, it might be that the need for some firmware was not detected during installation, that the relevant firmware was not available, or that one chose not to install some firmware at that time. In some cases, a successful installation can still end up in a black screen or a garbled display when rebooting into the installed system. When that happens, the following workarounds can be tried:

  • Pass the nomodeset option on the kernel command line. This might help boot into a fallback graphics mode.

  • Use the Ctrl+Alt+F2 key combination to switch to VT2, which might offer a functional login prompt.