LinuxSir.cn,穿越时空的Linuxsir!

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

再次求助

[复制链接]
发表于 2006-12-12 22:20:53 | 显示全部楼层 |阅读模式
(hd0,4) /boot
(hd0,4) /

I've complie the kernel2.6.19

but when I reboot

----VFS: Cannot open root device "hda5" or unknown-block(0,0)
----Please append a correct "root=" boot option
----Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)



I can boot with kernel 2.6.16.27, the same option in grub

I have met Ext2 in knernel
 楼主| 发表于 2006-12-12 22:22:36 | 显示全部楼层
08.05.11、<*> RAM disk support
09.27.07、<*> Compressed ROM file system support (cramfs) 这两项都有选上
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-12 22:24:09 | 显示全部楼层
与EXT2相关的选项都选上了
回复 支持 反对

使用道具 举报

发表于 2006-12-13 01:13:02 | 显示全部楼层
我也遇到了相同的问题,关注中。。。

郁闷的是,其实前一段我已经启动起来了,这十几天忙别的,都没有动,今天启动不了了,和楼主是同样的问题,我什么都没有动啊。。。。
回复 支持 反对

使用道具 举报

发表于 2006-12-13 01:18:27 | 显示全部楼层
http://xcqb.blog.hexun.com/3226181_d.html

不知道行不行,明天再试一下
回复 支持 反对

使用道具 举报

发表于 2006-12-13 02:20:41 | 显示全部楼层
I am not sure if this could be a reason:
http://www.archlinux.org/news/273/
回复 支持 反对

使用道具 举报

发表于 2006-12-13 08:36:14 | 显示全部楼层
Post by linyuzong
(hd0,4) /boot
(hd0,4) /

I've complie the kernel2.6.19

but when I reboot

----VFS: Cannot open root device "hda5" or unknown-block(0,0)
----Please append a correct "root=" boot option
----Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)



I can boot with kernel 2.6.16.27, the same option in grub

I have met Ext2 in knernel


估计是你的initrd.img没有加载VFS模块吧? 我手动准MDV one 2007时出现的问题和你的差不多一样,除了我用的boot分区是xfs格式的外。

……启动到引导root分区的时候死机了。(大侠别笑,因为我一直在用linux,基础只学了一点点)在linuxsir看了半天贴子,才知道原因所在。
于是,我用只用:
[root@localhost oneboot]#makeinitrd /mnt/oneboot/initrd-2.6.17-me.img 2.6.17-5mdvlegacy
结果你猜发生了什么问题?呵呵!
重新引导后出现的是mount 19 error ......
然后又上linuxsir查找一番,结果有答案说是内核不支持xfs和reiserfs格式!根据我的情况,显然是错误的。后来又看到说是initrd没有装modlue的原因。于是
[root@localhost oneboot]#makeinitrd --help
看了看,又用如下命令生成了新的initrd.img文件。
[root@localhost oneboot]#mkinitrd --with=reiserfs --with=xfs --fstab=/mnt/hd/etc/fstab /mnt/oneboot/initrd-2.6.17-me.img 2.6.17-5mdvlegacy
……

我的原贴在MDV板块
回复 支持 反对

使用道具 举报

发表于 2006-12-14 11:03:10 | 显示全部楼层
大家乱找问题。

应当是与IDE相关的一个选项没对,导致扩展分区不被引导部分识别。
回复 支持 反对

使用道具 举报

发表于 2006-12-14 17:00:03 | 显示全部楼层
这个问题已经没有了,我查了使我的kernel中文件系统的选项有错误。
但是现在的问题又换了:
我在启动命令行加了init=/bin/sh,总是报错:
Failed to execute /bin/sh, Attempting defaults...
No init found.  Try passing init= option to kernel.

但是我的bin目录下有sh阿??
回复 支持 反对

使用道具 举报

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

本版积分规则

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