QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1214|回复: 2

求救,2.6.0-test11编译问题

[复制链接]
发表于 2003-11-30 13:46:08 | 显示全部楼层 |阅读模式
系统是Fedora core,编译2.6.0-test11到这一步
[root@Localhost linux-2.6.0-test11]# sudo make install
出错:
HOSTCC scripts/modpost.o
HOSTLD scripts/modpost
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 /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[1]: *** [install] Error 1
make: *** [install] 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.
望大侠指教,谢谢。
发表于 2003-11-30 14:08:10 | 显示全部楼层
先运行make modules_install
回复

使用道具 举报

 楼主| 发表于 2003-11-30 16:04:21 | 显示全部楼层
全部解决了,谢了.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-2 12:28 , Processed in 0.034446 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表