make mrproper
make gconfig
make
make install
执行make没有错误
执行make install后出现以下错误:
---------------------------------------------------------
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/linux/compile.h
Kernel: arch/i386/boot/bzImage is ready
sh /tmp/linux-2.6.6/arch/i386/boot/install.sh 2.6.6 arch/i386/boot/bzImage System.map ""
WARNING: Couldn't open directory /lib/modules/2.6.6: No such file or directory
FATAL: Could not open /lib/modules/2.6.6/modules.dep.temp for writing: No such file or directory
/lib/modules/2.6.6 is not a directory.
mkinitrd failed
make[1]: *** [install] Error 1
make: *** [install] Error 2
---------------------------------------------------------
然后我试用以下命令
make modules_install
发现有把模块文件copy到/lib/modules/2.6.6下,之后执行
make install
出现如下的错误:
--------------------------------------------------------------------
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/linux/compile.h
Kernel: arch/i386/boot/bzImage is ready
sh /tmp/linux-2.6.6/arch/i386/boot/install.sh 2.6.6 arch/i386/boot/bzImage System.map ""
/dev/mapper/control: open failed: No such file or directory
Is device-mapper driver missing from kernel?
Command failed
-----------------------------------------------------------------------
我找过,在/dev中不存在mapper目录.
不知道我哪里犯了错误?