LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Kernel Upgrade on VL5.1 (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-upgrade-on-vl5-1-a-498364/)

Tralce 11-03-2006 02:23 PM

Kernel Upgrade on VL5.1
 
I'm not sure that this is the right place to post this but here goes. I have Kernel v2.6.12 on Slackware-based Vector Linux 5.1. I want, for the learning experience, to upgrade to the latest stable release. I have no idea what I am doing, someone please walk me through it!

Zmyrgel 11-04-2006 08:37 AM

Copy kernel source directory (most likely here)
cd /usr/src

Download the new kernel source from kernel.org...
wget --cut-dirs=5 ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.18.2.tar.bz2

Uncompress it it /usr/src
tar xvjf linux-2.6.18.2.tar.bz2

Make new symbolic link to it
rm linux
ln -s linux-2.6.18.2 linux
cd linux

Copy old config from previous kernel (optional)
cp ../'uname -r'/.config .

Start by using the old config
make oldconfig

Start configuration utility
make menuconfig

After selecting what you need compile the kernel and modules
make && make modules_install

After this copy the new kernel to boot
cp arch/i386/boot/bzImage /boot/kernel-2.6

Modify lilo.conf to boot the new kernel-2.6 kernel and run lilo.
After this boot to new kernel and there you go


All times are GMT -5. The time now is 02:19 PM.