Morris Mwanga

Programming blog

Slackware 13.37 Kernel 3.1.2

Here’s my instructions of how to upgrade to Kernel 3.1.2 for Slackware 13.37 (adopted from )

mv linux-3.1.2.tar.bz2 /usr/src/
cd /usr/src/
tar xfj linux-3.1.2.tar.bz2
rm -rf linux
ln -s /usr/src/linux-3.1.2 /usr/src/linux
cd /usr/src/linux
zcat /proc/config.gz > .config
make oldnoconfig
#use what you need - you can skip this if you want to use the current configs
make menuconfig
#use 'make -j(number of cores+1) all' for multicore processor. I have 4 cores so it's 'make -j5 all' for me
make all
make modules_install
#if make install fails because of your partition table, you can invoke lilo with either FIX_TABLE or IGNORE_TABLE
make install
cd /etc/rc.d
cp rc.modules rc.modules-3.1.2
rm rc.modules
ln -s /etc/rc.d/rc.modules-3.1.2 /etc/rc.d/rc.modules
mv /boot/vmlinuz /boot/vmlinuz-3.1.2
ln -s /boot/vmlinuz-3.1.2 /boot/vmlinuz
mv /boot/ /boot/
ln -s /boot/ /boot/
cp /usr/src/linux/.config /boot/config-3.1.2
rm /boot/config
ln -s /boot/config-3.1.2 /boot/config
#add new option and reconfigure old if needed
vim /etc/lilo.conf

Reboot and run ‘uname -r’ to confirm the new kernel version

Categorised as: code | slackware 13.37

One Comment

  1. fenris says:

    Hiya, thanks for this guide. It was really helpful in my update to 3.8.


Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>