LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 879|回复: 4

自编译内核2.6求助

[复制链接]
发表于 2005-2-9 15:32:32 | 显示全部楼层 |阅读模式
编译2.6内核,成功后重启,显示如下信息:
首先是一大堆Error,类似下面这样:
Error:Removing ‘via82cxxx':Device  or resource busy

然后紧跟着:
pivot_root: No such file or directory
/sbin/init: 426: cannot open dev/console: No such file
kernel panic-not syncing: Attempted to kill init!

请哪位大侠救俺一下。
发表于 2005-2-11 14:24:38 | 显示全部楼层
Is there a initrd that you haven't specified?
回复 支持 反对

使用道具 举报

发表于 2005-2-11 15:15:10 | 显示全部楼层
Post by RangerDu
编译2.6内核,成功后重启,显示如下信息:
首先是一大堆Error,类似下面这样:
Error:Removing ‘via82cxxx':Device  or resource busy

然后紧跟着:
pivot_root: No such file or directory
/sbin/init: 426: cannot open dev/console: No such file
kernel panic-not syncing: Attempted to kill init!

请哪位大侠救俺一下。

你的系统里是否有SCSI硬盘,如果没有的话,不要把它们编译进内核。文件系统种要把ext2和ext3都选上,编译进内核。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-2-11 22:09:23 | 显示全部楼层
谢谢二位。

我将SCSI去掉,Ext2和Ext3文件系统都选上,又试了一次,结果还是一样。

我使用的系统是Debian Sarge,编译带了initrd,用的是这个命令:

#make-kpkg --initrd kernel-image
回复 支持 反对

使用道具 举报

发表于 2005-2-14 09:24:21 | 显示全部楼层
Post by RangerDu
编译2.6内核,成功后重启,显示如下信息:
首先是一大堆Error,类似下面这样:
Error:Removing ‘via82cxxx':Device  or resource busy

然后紧跟着:
pivot_root: No such file or directory
/sbin/init: 426: cannot open dev/console: No such file
kernel panic-not syncing: Attempted to kill init!

请哪位大侠救俺一下。

Please your post your error messages.

Please also post your config file of your boot loader, i.e. lilo.conf or grub.conf or menu.lst for further study.
回复 支持 反对

使用道具 举报

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

本版积分规则

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