stanley 发表于 2003-11-30 13:46:08

求救,2.6.0-test11编译问题

系统是Fedora core,编译2.6.0-test11到这一步
# sudo make install
出错:
HOSTCC scripts/modpost.o
HOSTLD scripts/modpost
make: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/linux/compile.h
Kernel: arch/i386/boot/bzImage is ready
sh /usr/src/linux-2.6.0-test11/arch/i386/boot/install.sh 2.6.0-test11 arch/i386/boot/bzImage System.map ""
WARNING: Couldn't open directory /lib/modules/2.6.0-test11: No such file or directory
FATAL: Could not open /lib/modules/2.6.0-test11/modules.dep.temp for writing: No such file or directory
/lib/modules/2.6.0-test11 is not a directory.
mkinitrd failed
make: *** Error 1
make: *** Error 2

可奇怪的是,它它已经在/boot里面生成了System.map-2.6.0-test11,vmlinuz-2.6.0-test11和initrd-2.6.0-test11.img,并且改了链接,就是grub.conf没改.我自己用命令new-kernel-pkg --install --depmod --mkinitrd 2.6.0-test11生成新的grub.conf后重启,出现错误:
Kernle panic:No init found. Try passing init option to kernel.
望大侠指教,谢谢。

flyzym 发表于 2003-11-30 14:08:10

先运行make modules_install

stanley 发表于 2003-11-30 16:04:21

全部解决了,谢了.:)
页: [1]
查看完整版本: 求救,2.6.0-test11编译问题