PDA

View Full Version : upgrade kernel



wjp79
12-22-2011, 01:59 PM
Hello people,

I have created a remastered knoppix some time ago.
Now I want to update the kernel (now it is 2.6.32)

I searched google / internet etc, and found some stuff on the x64 kernel, but not a good tutorial how to update to kernel 3.1.6

Thx in advance!

WJP79

wjp79
01-16-2012, 09:36 AM
Hello people,

So I downloaded the kernel source from kernel archive. Extracted the kernel (3.2.0-rc6) it and did an "make menuconfig" and "make"
But now if I want to create an ISO file I get the following error:

"WARNING: Couldn't open directory .//initrd/lib/modules/3.2.0-rc6: No such file or directory"

I read somewhere I need to compile the modules against the new kernel, but I dont know how.
Still searching google, but if someone could point me in the right direction..

Tnx.

WJP79

kl522
01-16-2012, 08:11 PM
Hello people,

So I downloaded the kernel source from kernel archive. Extracted the kernel (3.2.0-rc6) it and did an "make menuconfig" and "make"
But now if I want to create an ISO file I get the following error:

"WARNING: Couldn't open directory .//initrd/lib/modules/3.2.0-rc6: No such file or directory"

I read somewhere I need to compile the modules against the new kernel, but I dont know how.
Still searching google, but if someone could point me in the right direction..

Tnx.

WJP79

Yeah there is a need for a howto compile Knoppix kernel. Unfortunately, I am not aware that there is such a howto anywhere. You can't just take the kernel source from http://www.kernel.org and expect it to work with knoppix.

Knoppix need to be patched with :-
1. aufs - google 'aufs3' for source download location
2. cloop - maintained by Klaus Knopper, either it is somewhere in some debian repository or you can ask from knoppix maillist.

And the sources for these two modules you have to download them separately

As for your "no such file or directory" problem, it is to do with you did not provide the needed files from your kernel compilation.