[WBEL-users] Building a new kernel

Nick Bright nick.bright at gmail.com
Wed Jun 1 22:55:13 CDT 2005


On 5/31/05, Karl-Koenig Koenigsson <koenigsson at gmail.com> wrote:
> Hm, you mention "make" followed by "make modules_install". That sounds
> a bit weak to me and could well be your problem. The regular
> incantation for a new kernel is
> 
>    make dep && make clean bzImage modules modules_install
> 
Keep in mind that he is building 2.6 which has a different build
process. AFAIK the proper process for 2.6 kernels is

make
make modules_install

then, maybe (i'm not sure)

make install

That should be all that is required for a 2.6 series kernel. Keep in
mind that it may not work too well on EL3 - I've never tried,
personally. You're likely to encounter other problems getting it to
work.

Perhaps if you want a 2.6 series kernel, you should try WBEL 4? It
might be easier.

> Then you need to copy the arch/i386/bzImage file (assuming of course
> that you just built yourself an Intel kernel) to /boot with a suitable
> name.
> 
> "make modules_install" copies all kernel modules from the build tree
> to /lib/modules/ and a subdirectory named after the first variables
> found in the Makefile -- it is generally a good idea to add something
> personal to the EXTRAVERSION variable like -reboant or something to
> distinguish it from a proper kernel and to avoid confusion. This
> should of course be done _before_ you build your kernel -- if you
> didn't then it is back to square one: "make dep && ..."
> 
> Then, with your new kernel in /boot and all the modules installed
> under /lib/modules are you all set to start massaging your boot
> loader. See the docs for which ever you use.
> 
> Hope this was what you were looking for, informationwise.
> 
> Good luck!
> 
> 
>     Karl-Koenig Koenigsson
> 
> _______________________________________________
> Whitebox-users mailing list
> Whitebox-users at beau.org
> http://beau.org/mailman/listinfo/whitebox-users
>



More information about the Whitebox-users mailing list