How to update linux kernel?

Booting, installing, newbie
Post Reply
Message
Author
ton
Posts: 59
Joined: Sat 01 Feb 2014, 15:23

How to update linux kernel?

#1 Post by ton »

I've update the linux kernel, but using uname -r it remains at 3.2.48.
why?


Here are my steps:
1. download linux kernel from
http://bkhome.org/sources/kernel-2.6.33.2/ (usrname:puppy password linux)

2. install it under puppy precise
3. reboot

4. uname -r , still shows the original number.

why? How to update linux kernel?

thanks
Last edited by ton on Thu 17 Apr 2014, 16:28, edited 1 time in total.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#2 Post by Semme »

:idea: Perhaps test your post next time. Url's should have zero spacing..

Code: Select all

[url]http://bkhome.org/sources/kernel-2.6.33.2/ (usrname:puppy password linux)[/url]

ton
Posts: 59
Joined: Sat 01 Feb 2014, 15:23

#3 Post by ton »

Perhaps, i should rephrase my questions:

According to :
[1] http://www.puppylinux.com/development/compilekernel.htm
This page shows a long way to compile a linux kernel

[2] http://murga-linux.com/puppy/viewtopic.php?t=59160
This page, however, shows that only 1 line needs to compile
"make -C /usr/src/linux oldconfig prepare scripts"

Which one is correct? how to compile linux kernel?

stemsee

compiling kernel

#4 Post by stemsee »

To compile the linux kernel i use this method for full hd install on any linux system

1 - download the kernel source from www.kernel.org latest stable is linux-3.14.1.tar.xz nest decompress it to /usr/src/ (it will create it's own folder linux-3.14.1) (also you can apply any patches for aufs or rt or whatever.)

2 - next create a symbolic link by opening a terminal in /usr/src type 'ln -fnsv linux-3.14.1 linux'

3 - in the same terminal type cd linux

4 - Make sure the sources are clean - in terminal type 'make clean' or 'make mrproper'

5 - type 'make menuconfig' and choose the options that apply to your system save and exit

6 - type - 'time make -j4' this compiles the kernel sources -j4 means use 4 cpu threads.

7 - make modules_install && make install

et voila!

but ... for puppy linux frugal you will need to 'patch' the kernel so it will use aufs - you download kernel kit by 01micko this will do it automatically. However I have not yet compiled a kernel with aufs patch that successfully booted in frugal mode!!! Otherwise you will need to use git clone to get the aufs3 standalone

ton
Posts: 59
Joined: Sat 01 Feb 2014, 15:23

#5 Post by ton »

thanks stemsee for the help :)

Post Reply