Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-25-2013, 11:54 AM   #1
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, 01:04 PM   #2
Senior Member
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 (pre-systemd)
Posts: 2,855

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
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?

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, 01:55 PM   #3
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.


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

All times are GMT -5. The time now is 06:00 PM.

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