[Ilugc] Doubts in Kernel Compilation.

  • From: cyborg4k@xxxxxxxxx (Shakthi Kannan)
  • Date: Sat Oct 7 00:26:16 2006

Hi,

Sorry for the late reply.

I have downloaded a 2.6.17 Linux kernel, compiled it
on an Intel PIII system running Debian Sarge. It boots
fine with ext3 filesystem on IDE hard-disk. The
filesystem options in the .config are as follows:

#
# File systems
#
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
# CONFIG_EXT2_FS_POSIX_ACL is not set
# CONFIG_EXT2_FS_SECURITY is not set
# CONFIG_EXT2_FS_XIP is not set
CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
CONFIG_EXT3_FS_SECURITY=y
CONFIG_JBD=y
CONFIG_JBD_DEBUG=y
CONFIG_FS_MBCACHE=y
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
CONFIG_FS_POSIX_ACL=y
# CONFIG_XFS_FS is not set
# CONFIG_OCFS2_FS is not set
# CONFIG_MINIX_FS is not set
CONFIG_ROMFS_FS=y
CONFIG_INOTIFY=y
CONFIG_QUOTA=y
# CONFIG_QFMT_V1 is not set
# CONFIG_QFMT_V2 is not set
CONFIG_QUOTACTL=y
# CONFIG_DNOTIFY is not set
CONFIG_AUTOFS_FS=y
# CONFIG_AUTOFS4_FS is not set
# CONFIG_FUSE_FS is not set

I try to avoid the distro kernels, because they are
always tweaked, modified, and patched by the distro
kernel maintainers. I prefer to compile a stock kernel
from kernel.org.

Steps followed (for reference):

 cd /usr/src/linux-2.6.17
 make clean
 make menuconfig
 make
 make modules_install
 make install
 yaird -o /boot/initrd-2.6.17.img 2.6.17

I have not used the make-kpkg tool from Debian. yaird
is yet another mkinitrd.

http://www.dominik-epple.de/Sarge-Linux_2.6.14-yaird/index.html

Regards,

SK

--
Shakthi Kannan
http://www.shakthimaan.com

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com ;

Other related posts: