Installing new Debian kernel - what are steps to do?
Hi all,
I can install new kernel and modules OK but what has to be changed in minirt.gz?
This is what I have done:
I have started my machine from a remastered CD where I have knoppix-remaster script installed. So I can choose chroot and start things to do with Apt.
I have installed e.g. following packages:
Code:
apt-get install linux-image-2.6.12-1-686 unionfs-source cloop-src loop-aes-module
Then I have installed kernel-image, I have extracted module packages:
Code:
tar jxvf unionfs.tar.bz2
tar jxvf cloop.tar.bz2
Those packages were extracted to /usr/src/modules.
Then I compiled and installed cloop module (cloop.ko) for that new kernel from /usr/src/modules/cloop/debian ():
That 'm-a' means 'module-assistant' and 'a-i' means 'auto-install'. I think that my donwloading cloop.ta.bz2 beforehand was unnecessary - module-assistant and auto-install does also downloading automatically.
Then I compiled unionfs module (unionfs.ko) from /usr/src/linux:
Code:
make-kpkg --added-modules=unionfs-module modules_image
Is that unionfs from Apt repository too old for 2.6.12 kernel?
I have also installed linux-headers-2.6.12-1-686 and linux-source-2.6.12(-6) to be sure that everything needed is installed, and some other packages which are carried with Knoppix CD - ipw2100-modules, ipw2200-modules, ndiswrapper-driver (compiled also them). Perhaps I have forgot something but this far everything seems to be right
But what to do next? Copy new kernel vmlinuz-2.6.12-1-686 to /boot/isolinux and replace linux with it? Have tried it but is didn't help. I have new modules cloop.ko and unionfs.ko but what are those scripts (cloop.o and unionfs.o) in minirt.gz file? Should I modify them also?
-tapsa-