PDA

View Full Version : Reiserfs and kernel compilation



mordor
03-16-2003, 05:43 AM
I installed Knoppix on my hdd. I chose reiserfs. I need to recompile kernel in order to make it work with ALi 15x3 chipset and USB 2.0. After compilation and installation of the kernel it cannot boot because it cannot use reiserfs root partition. Is there any way to make properly working initrd on Knoppix?

Here is my kerenel compilation procedure:

1. su root
2. apt-get install kernel-source-2.4.20
3. cd /usr/src
4. tar --bzip2 -xvf kernel-source-2.4.20.tar.bz2
5. ln -s kernel-source-2.4.20 linux
6. patch -p0 < patches/alim15x3.patch
7. cd linux
8. patch -p1 < ../patches/usb-ehci-2.4.20-pre11.patch
9. make xconfig
10. make-kpkg clean
11. make-kpkg --append_to_version -crusoe --initrd --revision=01 \
kernel_image modules_image
12. cd ..
13. dpkg -i kernel-image*.deb
14. Adding new kernel entry to lilo.conf
15. lilo
16 Rebooting...

mordor
03-26-2003, 04:24 AM
Hmm, nobody knows how to compile kernel under knoppix????

rickenbacherus
03-26-2003, 06:05 AM
Sorry - ext3 works for me- -I don't need Reiser.

aaime
03-26-2003, 03:40 PM
Just compile reiserfs support into the kernel, not as a module,
and don't use initrd. That's how I do things when I compile
my custom kernels under other distributions...