|
|
按照lfs-book一步步做完,直到最后才想起根分区使用的是reiser4,而LFS6.1提供的linux内核源码没有包含reiser4,于是按照reiserfs官方提示:
1. Download the vanilla kernel from ftp.kernel.org
We can't keep the version/patch numbers updated with every kernel and reiser4 release, but, all available reiser4 patches for vanilla you can find on ftp://ftp.namesys.com/pub/reiser4-for-2.6. For example reiser4 patches for 2.6.11 is available on ftp://ftp.namesys.com/pub/reiser4-for-2.6/2.6.11 directory. The latest is reiser4-for-2.6.11-5.patch.gz.
Download this patch and apply it to 2.6.11 :
su
cd /usr/src
tar jxf /tmp/linux-2.6.11.tar.bz2
cd linux-2.6.11
gunzip -c reiser4-for-2.6.11-5.patch.gz | patch -p1
Compile kernel with reiser4 support turned on.
打了补丁后,make menuconfig , File systems里面却没有reiser4的选项,但是查看fs目录下的Makefile里面有:obj-$(CONFIG_REISER4_FS) += reiser4/;
搞了一天,死活没有reiser4的选项。。
不知道make的时候是根据什么(文件?)来确定当前内核支持那些选项的? |
|