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
- Step 1: (Click to refer to this guide) Live boot Kali Linux on your system first to check if wifi and ethernet work fine on live boot or not. If wifi and ethernet worked fine for you in this step then skip step 2.
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.
- Step 3: If you see any of your required files in the list then click one of them.
- Step 4: Scroll down to the bottom of the page and click all under “Architecture” header.
- 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.
- 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.