The Temple of Fu

code, systems and games

Slackware – Kernel Upgrade to 3.8.1

with one comment

I woke up late last night, 12PM EST, and after reading a post that had upgraded their website I took a visit. Well, that led me to saying ‘Hey I should upgrade my kernel! I was running 3.4.X something or rather that comes with Slack 14, it was stable but I felt the need to break something! {grin}

Here’s what I did, note YMMV! I used Pats config for the 3.7.1.x64 kernel as a starting point instead of my existing.

As root:

#cd /usr/src


#tar -xvf linux-3.8.1.tar.bz2

#rm linux
Removes the existing symlink

#ln -s linux-3.8.1 linux
Creates a new symlink pointing to your new linux source


#cp config-huge-3.7.1.x64 linux/.config

#cd linux

#make oldconfig
I ran make oldconfig in the kernel source directory so that the defaults are used from the .config file you just installed.
Because your kernel sources are probably newer than the .config, there will be new options to choose from. You will only have to answer these (press ENTER for the default answers which are mostly fine, or M to build new drivers as modules).

#make bzImage modules

#make modules_install

#cp arch/x86/boot/bzImage /boot/vmlinuz-custom-3.8.1
Copies the new kernel file

#cp /boot/
Copies the

#cp .config /boot/config-custom-3.8.1
Backup copy of my kernel config

#cd /boot

Deletes the old link

#ln -s
Creates a new link

Edit /etc/lilo.conf and added a new entry for your new kernel. Leave the old just in case!


Reboot and enjoy! Hope this helps!

Alien Bob

Doing this on a Slackware image I have running in VirtualBox caused my screen not to be fullsized and I also lost scrolling with my mouse,as well as the back button ability on my mouse. I upgraded VirtualBox to 4.2.8 r83876 and then recompiled the Guest Additions and all was good!


Written by lordfu

March 3, 2013 at 7:51 pm

Posted in Linux, Slackware

One Response

Subscribe to comments with RSS.

  1. […] running my CPU at a high load, like when I was compiling software). I used the instructions from here, but replaced kernel 3.8.1 with 3.10.17 (so I used […]

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: