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
How to update linux kernel?
How to update linux kernel?
Last edited by ton on Thu 17 Apr 2014, 16:28, edited 1 time in total.
![Idea :idea:](./images/smilies/icon_idea.gif)
Code: Select all
[url]http://bkhome.org/sources/kernel-2.6.33.2/ (usrname:puppy password linux)[/url]
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?
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?
compiling kernel
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
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