LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-13-2014, 04:02 PM   #1
julianvb
Member
 
Registered: Apr 2009
Posts: 390

Rep: Reputation: 3
Saving Linux Drivers for Future Re-Installation and Use on Other Computers


(1) Since it takes considerable work to create and debug hardware drivers not provided by my Linux distribution, I would like to learn how to save user-created Linux drivers for future re-installation and use on other computers.

(2) How does one install such saved drivers on another Linux system?

Any advice and help will be greatly appreciated.

julianvb
 
Old 07-14-2014, 02:50 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
If a driver is not installed by default on a newer distro then I'd assume that you have some driver package or source. I'd keep that source and try to use it on newer systems. It may be that some tools might be needed or other apps and at some point it may not install due to changes.

The other way is to use windows drivers for some things with ndiswrapper.
 
1 members found this post helpful.
Old 07-14-2014, 05:14 PM   #3
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
what jeffro mentiond is pretty much the only way to do so, as drivers are kernel modules and have to be compiled against the active kernel on a given system, as well as the installed versions of any libraries/headers present, so really, the best way would be to create a make file, and if necessary a 'configure' script to make any necessary changes to the makefiles and simply create a tarball of that, umpack, compile/install.
 
1 members found this post helpful.
Old 07-14-2014, 08:04 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
I'll just mention this as a note relating to this topic.

Three ways exist to have a driver for the most part.

One is built into the kernel or you can add it to the kernel.(kernel space)

Two is outside the kernel.(userspace)

Three is using windows drivers.
 
1 members found this post helpful.
Old 07-15-2014, 12:40 PM   #5
julianvb
Member
 
Registered: Apr 2009
Posts: 390

Original Poster
Rep: Reputation: 3
jefro and frieza,

Thank you both very much for your valuable advice. I conclude that the cleanest, safest method would be to save the original source and re-derive the driver accordingly. I've been creating Linux network-adapter drivers from Windows XP ones via Ndiswrapper.

julianvb
 
Old 07-15-2014, 11:24 PM   #6
julianvb
Member
 
Registered: Apr 2009
Posts: 390

Original Poster
Rep: Reputation: 3
Hi, jefro and frieza,

I need your help badly. About half an hour ago I started writing a long post on K3B. But somehow I got lost and could not get back to it. Can you help me? I was going to write frieza but I don't have an MSN address. Your help will be greatly appreciated. I wish this website had a general webmaster e-mail address available to registered users.

julianvb

---------- Post added 07-16-14 at 12:24 AM ----------

Hi, jefro and frieza,

I need your help badly. About half an hour ago I started writing a long post on K3B. But somehow I got lost and could not get back to it. Can you help me? I was going to write frieza but I don't have an MSN address. Your help will be greatly appreciated. I wish this website had a general webmaster e-mail address available to registered users.

julianvb
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Future Installation of Linux Mint 12 Ztcoracat Linux - General 3 01-21-2012 01:10 AM
Future Computers bramhastra General 17 06-04-2005 10:38 PM
Saving *.doc & *.XML files on old computers Kye Mandriva 3 10-23-2004 09:28 PM
saving .deb to cd for future installs BaptismOfFire Debian 2 08-30-2004 03:13 AM
saving a compiled folder for future installation as zip? webazoid Linux - Newbie 2 07-06-2004 07:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:20 AM.

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