我们直接寻找进入
File systems --->项
可以看到多了一项新的特性,那就是squashfs文件系统
在上面用Y进行选择,这个时候又出现了一个选项
不要轻易决定要不要选,看看squashfs的文档
CODE: |
[root@localhost squashfs3.1-r2]# less INSTALL There are a set of options which are intended for use by embedded systems with low memory. At the "Additional options for memory-constrained systems" prompt, please say NO unless you're using an embedded system! Saying Y here allows you to specify cache sizes and how Squashfs allocates memory. |
所以对于这个特性我们选择N。
好了config已经结束,退出。
CODE: |
#make dep [root@localhost linux]# make clean [root@localhost linux]# make bzImage |
接着
CODE: |
[root@localhost linux]# make modules [root@localhost linux]# make modules_install |
提示
depmod: *** Unresolved symbols in /lib/modules/2.4.31-cucme/kernel/crypto/autoload.o
depmod: crypto_alg_lookup
depmod: *** Unresolved symbols in /lib/modules/2.4.31-cucme/kernel/crypto/proc.o
depmod: crypto_alg_sem
depmod: crypto_alg_list
depmod: *** Unresolved symbols in /lib/modules/2.4.31-cucme/kernel/drivers/sound/soundcore.o
depmod: open
depmod: read
depmod: lseek
depmod: close
depmod: *** Unresolved symbols in /lib/modules/2.4.31-cucme/kernel/drivers/sound/wavefront.o
depmod: open
depmod: read
depmod: close
忽略。
CODE: |
[root@localhost linux]# cp System.map /boot/System.map-2.4.31-cucme [root@localhost linux]# cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.31-cucme [root@localhost linux]# cd /boot/ [root@localhost boot]# rm -fr System.map [root@localhost boot]# rm -fr vmlinuz [root@localhost boot]# ln -s System.map-2.4.31-cucme System.map [root@localhost boot]# ln -s vmlinuz-2.4.31-cucme vmlinuz |
安装内核
CODE: |
[root@localhost boot]# cd /usr/src/linux [root@localhost linux]# new-kernel-pkg --install --depmod --mkinitrd 2.4.31-cucme depmod: *** Unresolved symbols in /lib/modules/2.4.31-cucme/kernel/crypto/autoload.o depmod: crypto_alg_lookup depmod: *** Unresolved symbols in /lib/modules/2.4.31-cucme/kernel/crypto/proc.o depmod: crypto_alg_sem depmod: crypto_alg_list depmod: *** Unresolved symbols in /lib/modules/2.4.31-cucme/kernel/drivers/sound/soundcore.o depmod: open depmod: read depmod: lseek depmod: close depmod: *** Unresolved symbols in /lib/modules/2.4.31-cucme/kernel/drivers/sound/wavefront.o depmod: open depmod: read depmod: close |
没有必要去重新make menuconfig设法去掉这些错误。
修改grub.conf文件
CODE: |
[root@localhost linux]# cd /boot/ [root@localhost boot]# vi grub/grub.conf |