Kernel config question
Joel Hammer
Joel
Mon May 17 11:55:26 PDT 2004
I am a bit rusty on building kernels but:
It all depends on whether or not you configured the kernel or a module.
If just a module, you could get by with just compiling the module.
Rarely, there is a command for compiling the module in the source for
the module. Or, you make just: make dep;make clean;make modules
Since I used to have a broken set up, and make modules_install never
seemed to work right, I would just move the new module to the proper
location by hand, or just load the necessary modules with insmod.
If you changed the kernel, then you have got to go through the kernel
compile with:
make dep;make clean;make bzImage
You don't have to recompile the modules if you have not reconfigured
any, IMHO.
Then, you have to fool around and put the new image where it belongs (in
boot) and adjust lilo.conf.
Note: I haven't been able to successfully compile a kernel since going
with lindows, but, I haven't had to, either. Ease of use usually means
too complicated to mess with.
Joel
On Fri, Nov 07, 2003 at 08:52:59PM -0700, Collins Richey wrote:
> On Fri, 07 Nov 2003 22:10:59 -0500 "Brett I. Holcomb" <brettholcomb at charter.net>
> wrote:
>
> > I'm a little hazy on some steps and what they do. I know I need to issue
> >
> > make dep && make clean bzImage modules modules_install
> >
> > when I do a new kernel (on a new system). However, if I have an existing
> > system where I just add an option via make menuconfig what steps do I
> > really have to do? I wouldn't think I'd have to reinstall modules.
> > However, if I specify the option I added to be a module I assume I need to
> > do modules AND modules_install?
> >
>
> I would recommend you do bzImage modules and modules_install in every case.
> I confess that I've gotten spoiled on the 2.6 kernels where very little
> additional work is done if you change a few config parameters and then remake,
> but I presume the same applies for 2.4 kernels.
>
> Let someone else jump in here.
>
> --
> Collins Richey - Denver Area
> if you fill your heart with regrets of yesterday and the
> worries of tomorrow, you have no today to be thankful for.
>
>
> _______________________________________________
> Linux-users mailing list
> Linux-users at smtp.linux-sxs.org
> Unsubscribe/Suspend/Etc -> http://smtp.linux-sxs.org/mailman/listinfo/linux-users
More information about the Linux-users
mailing list