[SOLVED] How to provide non-free firmware files to the Debian Jessie Installer.
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Thus, just for fun, I decided to develop a new, hopefully more elegant and better functioning script. This one, attached here, explicitly distinguishes between the firmware files that were installed by the "firmware-iwlwifi" package, the mainline firmware versions that are not yet provided by the package, and the pre-release versions. If it finds any new mainline version, then it will copy it to the firmware installation directory, "/lib/firmware". Also, if it finds any new pre-release version, then it will ask you if you want to copy it to the installation directory; afterwards, in case the pre-release version doesn't work to your satisfaction, it will let you delete it from the installation directory again.
This script has one potential drawback: when you run it for the first time, it will clone two git repositories (one for the mainline firmware versions, and one for the pre-release versions), even though it needs only a very limited subset of their files. Any subsequent runs will download only the updates (if any) to the repositories, which will go much faster. I don't think there is any way to limit the initial download to only selected files; I think doing so would go against what git stands for anyway.
Again, should you consider it useful, then feel free to use it, or to adapt it to your own needs.
Im kind of newbie but I think i have exactly the same problem,
"Some of your hardware needs non-free firmware files to operate. tje fir,ware can be loaded from removable media, such as USB stick or floppy. The missing firmware files are: iwlwifi-7260-9.ucode and iwlwifi-7260-8.ucode ..."
I have been trying to follow the same steps, but after exactly point i can't continue
-------------------------------------------------------------------------------
This step created two new subdirectories: lib and usr.
The lib directory, in turn, contained a further subdirectory, firmware, that held all firmware files extracted from both packages―including, but not limited to, the files that I (or, rather, the Debian installer) was looking for.
I copied the entire contents of the firmware subdirectory to a USB stick that was formatted with a FAT filesystem.
The directory listing of the USB stick, then, looked like this:
-------------------------------------------------------------------------------
I formatted my usb to FAT32 and then i put the firmware directory into the usb,
Then i plug in my laptop and still during the process it is no able to find the file
and I can't use the non-free firmware because the laptop doesn't even have OS at all
SO IM REALLY stuck trying to install this debian.
If you can help me with the commands itself or if you know about any links where there
are threating this by commands it will be really helpful.
When I installed Debian on my Acer laptop which has an Atheros adapter,
it was detected immediately without additional firmware.
On my Lenovo laptop which has a Realtek adapter, it required the download and install of the missing firmware.
Last edited by offgridguy; 08-04-2016 at 09:14 AM.
I formatted my usb to FAT32 and then i put the firmware directory into the usb,
Then i plug in my laptop and still during the process it is no able to find the file
and I can't use the non-free firmware because the laptop doesn't even have OS at all
Did you copy the directory, or its contents?
My instructions assume that you USB medium does not contain a "firmware" directory, but that you copied the contents of the firmware directory to the medium.
I formatted my usb to FAT32 and then i put the firmware directory into the usb,
Then i plug in my laptop and still during the process it is no able to find the file
and I can't use the non-free firmware because the laptop doesn't even have OS at all
Did you copy the directory, or its contents?
My instructions assume that your USB medium does not contain a "firmware" directory, but that you copied the contents of the firmware directory to the medium.
I hate adding simply a 'Thank You' to this thread, but it was truly helpful and clear. Much appreciated and reminded me of <CTRL>+<Alt>+<F2>, which I always forget.
I had a missing firmware problem the first time I tried Debian. It was a few years ago ...
I created a bootable USB by following the instructions from the Debian web site. This bootable USB had unused space so I created a 2nd partition and copied the required deb package onto this partition. The installer program found the package file and the installation completed without any problems.
blkid command gave /dev/sdb1 for my USB Memory Stick OK
I then did ( as above )
mkdir /lib/firmware
mount /dev/sdc1 /lib/firmware
But I found I wasn't able to Mount the USB Memory Stick /dev/sdb1 ( in my case )
Any ideas to help me mount it please
------------------------------------------------------------------------
PS please read the very important stuff from beachboy 2
Without The Lord Jesus Christ my life would be in a complete mess !!!!!
Our Lord and Savior Jesus Christ loves and cares about you most of all!
PLEASE READ! You don't have to end up here!
------------------------------------------------------------------------
Hey there I know this is an old post but I hope my answer will be helpful to many people. I'm answering this question because a few days back while I was attempting to dual boot Kali Linux I faced the exact same problem and came here hoping to get some help and I did get help to a great extent. After some trial and error, I solved the problem and documented the process.
1- live boot Kali Linux on your system to see if wifi and ethernet work fine in live boot or not. if wifi works fine on live boot then you don't even need to download anything from anywhere because non-free firmware files for most common wifi cards are already provided in kali Linux.
2- If your wifi works fine on live boot then you may skip this step. If your wifi doesn't work in live boot then you need to search and download required files from debian.org.
3- Copy all .deb files from this directory of your kali live boot usb : pool/non-free/firmware subdirectories to /firmware which is located in root of kali installation directory. If you downloaded any files during above step then include them in the same directory. just copy them no need to extract them.
4- start the installation process and all will be as expected.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.