Debian Firmware – How to Load Missing Firmware from Removable Media

debiandebian-installerfirmwarelinuxsystem-installation

I'm installing Debian from a USB drive onto my laptop, and it's asking me for the following firmware file: brcm/brcmfmac43241b4-sdio.bin

I have another Linux distro on my laptop already, so I already have this file. The Debian installer say the "firmware can be loaded from removable media, such as a USB stick", so I put the file on a (FAT32) USB stick and plugged it into my laptop and tried to continue with the installer, but it doesn't find the file, even though it's in the root directory (only directory) of the second USB stick.

I also tried putting the file at this path on the second USB stick, but it didn't work: /brcm/brcmfmac43241b-sdio.bin

How can I get the Debian installer on the first USB stick to recognize that the file in the second USB stick is the file it wants?

Best Answer

this is a repost of my answer, because google search doesn't return a meaningful stackexchange results, or none of the answers are considered satisfied by me

My answer is for those who want To install or re-install Debian with correct LAN/Wireless non-free drivers

IMHO, the correct answer should be as below (tested by myself):

Requirement:

  1. NOT TWO, only one USB drive is needed. . No need to use unofficial non-free firmwares attached ISOs as well.

This solution can be applied to netinstall.iso or mini.iso.

  1. Download non-free firmware .deb files from debian repos respectively to the release (stable, testing or sid), like firmware-brcm80211 and firmware-realtek
  2. After dd iso successfully, make a partition (tested with FAT32, option b under dos scheme in fdisk), choose either primary partition or logical partition under extended partition, both work
  3. Create a folder name firmware in that partition
  4. Copy relevant firmware .deb files to that folder, all must be put under same folder and partition.

tips You can download the archive from http://cdimage.debian.org/cdimage/unofficial/non-free/firmware/. extract all the .deb non-free firmware files to that folder instead of downloading them individually

Relevant threads that I pasted my answers in:

  1. "Load missing firmware from removable media?" (Debian)
  2. How do I install "non-free firmware" (wifi driver) from USB? (Debian)
  3. Installing missing firmware in debian
  4. How to put rtlwifi drivers on Debian installation USB?
  5. How to use proprietary wireless drivers during Debian USB install?
Related Question