LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-25-2013, 10:54 AM   #1
redbandit
LQ Newbie
 
Registered: Jul 2013
Posts: 2

Rep: Reputation: Disabled
install kernel modules over network


Hi I'm a linux kernel newbie and I'm trying to figure out how to install kernel modules on to a test machine. I have built the kernel and copied it over to the test machine using and nfs mounted drive but when it comes to installing the kernel modules I can't find a way to get the 'modules_install' target to install to the network drive. I've been following 'Professional Linux Programming' and the author recommends passing in the INSTALL_MOD_PATH environment variable to make ,setting the appropriate path, but this does'nt seem to work for me. Some assistance would be well appreciated.
 
Old 07-25-2013, 12:04 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
It did work. It just didn't do what you wanted. INSTALL_MOD_PATH needs to be to the root of the filesystem tree of your target system. Did you do this?

Code:
mkdir /tmp/foo
mount testmachine:/ /tmp/foo
make modules-install INSTALL_MOD_PATH=/tmp/foo
umount /tmp/foo
rmdir /tmp/foo
 
Old 07-25-2013, 12:55 PM   #3
redbandit
LQ Newbie
 
Registered: Jul 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks smallpond ! I reissued the command how you said and it worked. cheers.
 
  


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
How do I install kernel modules for 2.6.17.13 after choosing huge26.s in install? i.of.the.storm Slackware - Installation 7 02-18-2007 08:03 PM
Network Modules / Kernel error RHEL4 lgill Linux - Networking 4 08-11-2006 01:44 AM
Finding the right kernel modules for my network card. Travis86 Linux - Newbie 5 02-26-2006 05:48 AM
network card kernel modules conflict spooon Debian 1 12-13-2005 06:52 AM
Loading Network Modules on Install redhatnoob Linux - General 1 11-11-2003 12:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:06 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