分类: LINUX
2009-09-08 15:30:23
1.选择编译选项
# cd /usr/src/linux-2.4
# make mrproper
# make xconfig
a)在Block devices选项中-->
Loopback device support 选择y
Network block device support 选择y
RAM disk support 选择y
initial RAM disk(initrd) support 选择y
Per partition statistics in /proc/partitions选择y
b)在SCSI support 选项中-->
SCSI generic support 选择y
SCSI low-level drivers-->BusLogic SCSI support 选择m
c)在File systems 选项中-->
Ext3 journalling file system support 选择y
JBD (ext3) debugging support 选择y
DOS FAT fs support 选择y
MSDOS fs support 选择y
VFAT(Windows-95) fs support 选择y
NTFS file system support (read only) 选择y
其他都是默认配置,保存退出
2.编译内核
# make dep
# make clean
# make bzImage
# make modules
# make modules_install
# make install
最后reboot系统便可以进入新内核了,如要自己增加其他功能,自己可以自主选择,希望对学习中的人有帮助!