Quote:
Originally Posted by curioustoknow
I am in the process of installing and customizing a new kernel from 2.4 to 2.6. I opened up the make menuconfig utility, now I need to know how to setup the ext3 file system as a module?
do I just change the option Ext3 journalling file system support to: Modularize features?
am I doing it properly?
|
Yes - ext3 is just an ext2 with journalling added. The menuconfig parameters reflect this.
So just make the ext2 and ext3 entires an '
M' to create them as modules or a '
*' to compile them into the kernel. When when you do a;
make INSTALL_MOD_STRIP=1 install_modules
it will install the loadable kernel modules into the /lib/modules/2.6.xxxxx/kernel/drivers tree.
When you do a
make install
it will create a /boot/initramfs-2.6xxxxx.img
The kernel 'make install' command uses the host tools (mkinitrd and more recently dracut) to create teh initramfs ramdisk image. On all the recent Fedors they detect the root file system type and include the necessary kernel modules (ext3.ko or whatever_ into the ramdisk. So yo ugenerally don'y have to do anything except edit grub.conf or the bootup sequence to boot the new kernel.
When you say "a new kernel from 2.4 to 2.6." and "i am using fedora 13" I am very puzzled. Fedora Core 1 (FC1) use a 2.4.X kernel but FC2 in 2004 used 2.6 kernel. so there is no way you are converting from 24 to 2.6 on F13.
*IF* you have a F13 then use one of the /boot/config* files as a starting point, copy it to your kernel source top directory (or the O= directory) as .config, then do a 'make oldconfig" to update it. After that you can do a "make menuconfig" to customize. This prevents some simple but difficult to find errors.