Upgrading to Kernel v3 for Slackware v13.37
It’s time for an upgrade!
Get all the necessary packages:
wget http://slackware.osuosl.org/slackware-current/slackware/a/kernel-generic-smp-3.2.13_smp-i686-1.txz wget http://slackware.osuosl.org/slackware-current/slackware/a/kernel-modules-smp-3.2.13_smp-i686-1.txz wget http://slackware.osuosl.org/slackware-current/slackware/a/lilo-23.2-i486-1.txz
Change your run level:
telinit 1
Install the kernel’s package:
installpkg kernel-generic-smp-3.2.13_smp-i686-1.txz kernel-modules-smp-3.2.13_smp-i686-1.txz
Create initial ramdisk images for preloading modules:
cd /boot mkinitrd -c -k 3.2.2-smp -m ext4 -f ext4 -r /dev/sda1 -o initrd-3.2.2-smp
Edit your
lilo.conf
:# Linux bootable partition config begins image = /boot/vmlinuz-generic-smp-3.2.2-smp initrd = /boot/initrd-3.2.2-smp root = /dev/sda1 label = slackware read-only # Partitions should be mounted read-only for checking # Linux bootable partition config ends
Reload
lilo
:lilo -v
You’ll get:
Fatal: Setup length exceeds 31 maximum; kernel setup will overwrite boot loader
It’s because the kernel has grown so large. You can fix it by installing a fixed lilo from slackware-current, too" - from LQ.
upgradepkg /root/lilo-23.2-i486-1.txz lilo -v
Reboot.
Check your new kernel information:
uname -a
You should get something like this:
Linux slackware 3.2.13-smp #1 SMP Fri Mar 23 23:21:11 CDT 2012 i686 Intel(R) Core(TM)2 Duo CPU P8800 @ 2.66GHz GenuineIntel GNU/Linux
That’s all. Thanks for reading!
Read other posts