|
|
发表于 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板块 |
|