我們直接尋找進入
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 |