LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-17-2016, 11:35 AM   #16
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
Thumbs up


luvr,

Quote:
Done: I reposted it as an LQ Blogs entry.
Well done that man!
 
Old 07-08-2016, 01:22 PM   #17
luvr
Member
 
Registered: May 2005
Location: Boom - The Home Town of Tomorrowland, Belgium
Distribution: Slackware, Xubuntu
Posts: 459

Original Poster
Blog Entries: 2

Rep: Reputation: 194Reputation: 194
Downloading new Firmware Files after upgrading to Debian Testing (Revisited)

This is a follow-up to my earlier post on downloading new firmware files after upgrading to Debian Testing. Even though the script that I attached to that post does work, it is a rather quick-and-dirty piece that could do with a bit of improvement.

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.
Attached Files
File Type: txt get-iwlwifi-firmware.txt (55.6 KB, 278 views)

Last edited by luvr; 07-08-2016 at 01:23 PM.
 
1 members found this post helpful.
Old 08-04-2016, 06:44 AM   #18
ubiasim
LQ Newbie
 
Registered: Aug 2016
Posts: 1

Rep: Reputation: Disabled
Couldn't follow the steps

Hi,

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.

Thank you very much in advance!!!!!
 
Old 08-04-2016, 09:10 AM   #19
offgridguy
Senior Member
 
Registered: Nov 2015
Location: Alberta Canada
Distribution: Windows10, Debian
Posts: 1,109

Rep: Reputation: 147Reputation: 147
I had a similar issue (solved) in this thread.
http://www.linuxquestions.org/questi...fi-4175585967/

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.
 
Old 08-04-2016, 11:50 AM   #20
luvr
Member
 
Registered: May 2005
Location: Boom - The Home Town of Tomorrowland, Belgium
Distribution: Slackware, Xubuntu
Posts: 459

Original Poster
Blog Entries: 2

Rep: Reputation: 194Reputation: 194
Quote:
Originally Posted by ubiasim View Post
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.

Could you first verify this?
 
Old 08-04-2016, 11:50 AM   #21
luvr
Member
 
Registered: May 2005
Location: Boom - The Home Town of Tomorrowland, Belgium
Distribution: Slackware, Xubuntu
Posts: 459

Original Poster
Blog Entries: 2

Rep: Reputation: 194Reputation: 194
Quote:
Originally Posted by ubiasim View Post
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.

Could you first verify this?
 
Old 09-16-2016, 09:52 AM   #22
duffycop
LQ Newbie
 
Registered: Sep 2016
Posts: 1

Rep: Reputation: Disabled
Thanks man! This needs to be added in some kind of universal issues library!
 
Old 11-29-2016, 05:12 PM   #23
YourMomsAndMe
LQ Newbie
 
Registered: Nov 2016
Location: Osaka, Japan
Posts: 1

Rep: Reputation: Disabled
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.
 
Old 12-04-2016, 05:46 AM   #24
mabo1
Member
 
Registered: Jul 2015
Location: Nanjing, China
Distribution: Debian
Posts: 62

Rep: Reputation: Disabled
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.
 
Old 02-20-2017, 11:35 AM   #25
gkopec502
LQ Newbie
 
Registered: Feb 2017
Posts: 2

Rep: Reputation: Disabled
Thank you for this very helpful post

I got to:-

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!
------------------------------------------------------------------------
 
Old 02-20-2017, 01:21 PM   #26
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
gkopec502,

If the blkid command gives you sdb1 then you need to use:

Code:
mkdir /lib/firmware
mount /dev/sdb1 /lib/firmware
 
Old 03-11-2017, 11:59 AM   #27
Clarkman
LQ Newbie
 
Registered: Mar 2011
Posts: 24

Rep: Reputation: 0
luvr, beachboy2, cannot thank you enough!!
 
Old 04-05-2017, 09:20 AM   #28
avandermeyden
LQ Newbie
 
Registered: Apr 2017
Posts: 1

Rep: Reputation: Disabled
Small Typo

Quote:
Originally Posted by luvr View Post
I pressed <CTRL>+<Alt>+<F5> to continue the installation process.
I needed to use <CTRL>+<Alt>+<F1> to get back to the first terminal instead.
 
Old 01-04-2018, 08:09 AM   #29
Suresh466
LQ Newbie
 
Registered: Aug 2017
Posts: 3

Rep: Reputation: Disabled
Arrow This might be helpful addition

Goto this awesomedetect.com/how-to-provide-non-free-firmware-files-to-kali-linux-installer if you are still confused after reading the answer below. The process is well documented with great details there.

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.

thanks have a good day.
 
Old 02-15-2018, 09:40 AM   #30
ClausRogge
LQ Newbie
 
Registered: Feb 2018
Posts: 1

Rep: Reputation: Disabled
OP: Me, too! GREAT help!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Debian Installer Jessie RC 3 Screenshot Tour LXer Syndicated Linux News 0 04-21-2015 10:29 PM
LXer: Debian Installer Jessie RC 3 LXer Syndicated Linux News 0 04-21-2015 01:50 PM
LXer: Linux Top 3: 4MLInux 11.0, Debian Jessie Installer and Fedora 22 Features LXer Syndicated Linux News 0 01-31-2015 12:02 AM
LXer: Trying Out The Debian 8.0 Jessie Installer Alpha 1 LXer Syndicated Linux News 0 03-21-2014 02:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration