Recompiling the kernel?

Elvio Caruana elvio at cs.um.edu.mt
Wed May 5 18:03:42 UTC 2004


Richard,

Get and extract the new kernel.

"mv /scratch/directory/linux-x.x.x /usr/src"
"cd /usr/src/linux-x.x.x"
Copy .config from old kernel to /usr/src/linux-x.x.x     
(use config file found in /boot)

"make oldconfig" Keep the stuff that works, and answer any new question
"make xconfig"
"make dep"
"make clean"
"make bzImage"
"cp /arch/i386/boot/bzImage /boot/vmlinuz-x.x.x"
"ln -s /boot/vmlinuz-x.x.x /boot/vmlinuz-x.x.x-new-kernel"
"make modules"
"make modules_install"
"make install"
Edit /etc/rc.sysinit and change '/proc/sys/kernel/modprobe'
to/sbin/modprobe'
reboot
"uname -r"  will output the kernel in use


I suggest you search last month's archive for a similar discussion on
how best to recompile the kernel. it was called "Kernel Compile
Checklist" or something similar

The above steps are mostly based on that thread.






On Wed, 2004-05-05 at 19:02, Richard Crawford wrote:
> I've recently purchased a Sony Clie TJ37.  It's pretty damn cool, but
> doesn't talk to my FC1 box.  I've found out how to make it talk, but it
> requires recompiling the kernel.
> 
> So, uh...  How do I do that?  (he asks sheepishly)
> 
> 
> -- 
> Sláinte,
> Richard S. Crawford (AIM: Buffalo2K)
> http://www.mossroot.com   http://www.stonegoose.com/catseyeview
> "It is only with our heart that we can see clearly.  What is essential is
> invisible to the eye."  --Antoine de Saint Exupery






More information about the users mailing list