How to provide non-free firmware files to kali linux installer

In this tutorial, I will show you how to provide non-free firmware files to Kali Linux installer lets begin.

When I tried to dual boot Kali Linux with Windows 10 in UEFI mode. Kali Linux installer popped a message while it was detecting network hardware.

Some of your hardware needs non-free firmware files to operate. The firmware files can be loaded from removable media, such as a USB stick floppy. The missing firmware files are iwlwifi-7265D-26.ucode iwlwifi-7265D-25.ucode iwlwifi-7265D-24.ucode iwlwifi-7265D-23.ucode iwlwifi-7265D-22.ucode iwlwifi-7265D-21.ucode iwlwifi-7265D-20.ucode iwlwifi-7265D-19.ucode iwlwifi-7265D-18.ucode iwlwifi-7265D-17.ucode if you have such removable media available now, insert it now and continue.

I was like what is this, I thought I will deal with this after installation so I took a shot of the error then selected no option and clicked continue.

After a while, I got yet another error message displaying I needed another non-free firmware file namely rtl_nic/rtl8106e-1.fw.

So what this basically means is I will be unable to use my wifi or ethernet connection to access the internet, those missing files were wifi card drivers and ethernet drivers. Again I decided to neglect the message and continue without those files.

And again I encountered yet another error saying unable to install grub bootloader to the disk which was probably the result of not having internet access.

I aborted the installation and booted up windows 10 and searched for above-mentioned files in the Debian web site, Github website, and found some of those.

After extracting some files with .deb extension and copied all extracted files to a fat32 formatted USB drive and began installation again following this guide but for some reason, it didn’t work with Kali Linux installer.

So, I searched the internet for quite a while. But nothing seemed to work. Even after many installation trials, I was stuck.

I decided to go solo and tried booting Kali Linux in the live boot. And It paid me off.  Wifi was working without any issues in the live boot. And then after some trial and error, I figured it out.

So I’m posting how to do it real quick and easy hoping to save some time for you people.

How to provide non-free firmware files to Kali Linux Installer

Many of you seem to have problems finding the right package. If you can’t find your exact package then comment download below with the package name and I will try my best to find it for you. If you found it by yourself then follow along.

You might wanna read: How to connect to WI-FI without any password

Step 2: Go to this page and in keyword space type in your required firmware file name. For me, it is  iwlwifi-7265D. After that click on “Select packages that contain files whose names contain the keyword” located under “display” header and click search.

Selecting appropriate options to begin search for required non-free firmware files for providing to kali linux installer
selecting appropriate options for searching non-free firmware files
  • Step 3: If you see any of your required files in the list then click one of them.
Search is complete and results are displayed in the image
Click on any of them
  • Step 4: Scroll down to the bottom of the page and click all under “Architecture” header.
proceeding to download mirrors page by clicking on "all" button
Click on “all”
  • Step 5: Now you will be taken to a page with a lot of download links. After that Click on any of those links and required files with .deb extension will be downloaded.
picture with a lot of download mirrorss for non-free firmware files
Click any of them
  • Step 6: Repeat the exact same process for rtl file if required only the file we will search for will be different.(for me I will search rtl8106e).  Don’t touch the downloaded non-free firmware files yet.

How to copy non-free firmware files into USB

How to compress files online before downloading You might be interested.

  • Step 7: Insert the USB stick to which Kali Linux is burnt and go to this directory available on the root of the USB stick: pool/non-free.
  • Step 8: And copy all the .deb files from all the subdirectories to the directory named “firmware” on the root of the USB and allow replacement.
  • Step 9: If you downloaded files in step 2 then paste those files into the same directory too. No need to extract or do anything with the files. Just copy those files and done.
  • Step 10: Now reboot and try running the installer again it should work and you will be asked for network configuration.
  • Step 11: If the installer is again prompting some message stating some non-free firmware files are still missing. Then don’t worry just select yes and click continue you will be fine and everything will work as expected.

Hope this post was useful.

If you got any issues or are unclear about any step then you may leave a comment down below. I will do my best to be of help, Thank you.

Have a good day.

12 thoughts on “How to provide non-free firmware files to kali linux installer”

  1. I can’t do this, it is really confusing. But, do you have anything for a Qualcomm Atheron QCA9377 (might have spelt those wrong) because it says a list of completely different things

  2. I’ll try to make it easy to understand.

    -Okay, first why kali installation error says a list of completely different things.
    = It is because My laptop uses Realtek products and yours uses Qualcomm. (RTL) stand for Realtek and (QCA) stands for Qualcomm Atheros.

    No matter what the name says the problem is with drivers so you need to load drivers for the error to disappear and everything to work properly.
    Download the required .deb file for your Qualcomm-Atheros-QCA9377-Wifi-Linux from here: https://packages.debian.org/stretch/all/firmware-atheros/download
    and follow the guide from step 7 to step 11.
    Everything should go as expected.

    If that didn’t work try this:
    Try to complete installation process regardless of errors. Skip the error portions and if grub bootloader is successfully installed then.
    Go to this link download the drivers and install them after booting up and restart the system.
    You might get lucky.

    Please provide additional information about device name, Boot mode in which you are attempting installation process, pictures of error or what exact words of error message etc if possible. If sufficient information is available it is a lot easier to solve problems.

    ignore the text from the lines below if everything is working fine now.
    Note: You can also install grub bootloader on a USB separately and boot Kalli Linux from there. Just in case if you need it.

  3. Thanx!
    Helped a lot, had the same situation almost, with my Lenovo Thinkpad (same but no Ethernet on-board);
    No issues installing Ubuntu, Elementary, Manjaro,
    but when it came to Debian – stuck on this “missing stuff”-syndrome;
    I have USB-Wifi (TP-Link TL-WN822N) – used it for install period, it worked,
    but on a deployed system it refused to connect to networkds, ahah…

    So, had to solve the proto-problem with ‘7265’.
    Thanx.

  4. I used Rufus in DD image mode to install Kali. When I open Kali, right after the bootloader screen I got the error message “firmware failed to load i915/kbl_dmc_ver1_04.bin”.
    So I downloaded the firmware folder which also contains i915 folder. But my problem is I can’t paste the folder(55mb) in the boot pendrive as it is showing only 1md(DD image mode). When I create using ISO mode I get cd drive not detected problem(which was not solved by removing and inserting usb || when used “mount -t vfat /dev/sdb1 /cdrom” it says device or resource busy).
    I am locked up here.

    • Have you tried repacking the kali linux iso file!!
      Just extract or unpack the linux ISO file add your non-free firmware file where it needs to be and then again repack those files into a ISO.Then again use rufus DD image mode with the new kali linux ISO file you just created and your problem should be solved.

      OR

      Place the firmware files in another usb drive and point to it whenever you are prompted the ‘firmware failed to load’ error.

      P.S: About device or resource busy error. Make sure your current working directory is not /cdrom and also try unmounting /dev/sdb1 before mounting it. Hope it was helpful.

  5. i am having missing firmware files
    ath10k/pre-cal-pci-0000:02:00.0.bin
    ath10k/cal-pci-0000:02:00.0.bin
    ath10k/QCA9377/hw1.0/firmware-6.bin

    i searched google for related errors and couldnt figure out what to do

Leave a Comment