[ale] New kernel for non-dev machine

Chris Ricker kaboom at gatech.edu
Thu Oct 18 11:18:23 EDT 2001


On Thu, 18 Oct 2001, Benjamin Dixon wrote:

> 
> Hi all,
> 
> I have a machine that does not have any development packages installed on
> it (its strictly a firewall, and otherwise minimalistic setup) but I'd
> like to upgrade the kernel on the machine. I know how to compile the
> kernel on a separate machine, tar it up, move it over and run the make
> modules_install and all that to get stuff setup but on this machine I
> don't even have make. Of course, to make Make, I need make so I'm in sort
> of a chicken and egg situation. I thought I might just do the "make
> install" that I need to install make (this is getting confusing about
> now!) by hand but a glance over the Makefile for  make and
> I immediately get the sense that it would take WAY long and be WAY more
> complicated than I'm willing to contend with. So, how can I install
> something like make on this firewall machine so that I may later install
> the new kernel and do a "make modules_install" on it? Or should I skip
> trying to get make on the machine altogether and just worry about doing
> the "make modules_install" by hand (also seems yucky)? Any advice
> appreciated.

on the build machine, do a 

make INSTALL_MOD_PATH=/tmp modules_install

which will install the modules in /tmp/lib/modules/$KERNELRELEASE

then

cd /tmp ; tar -zcvf mods.tar.gz lib

will give you a tarball that you can copy to the new machine and

cd / ; tar -zxvf mods.tar.gz

to drop them in the correct locations.

later,
chris


---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list