Gentoo 出现错误:VFS:Cannot open root device "sda3" or unknown-block(0,0) :error -6

在最初安装gentoo时,安装配置完成后,重新启动后出现以下错误

方法如下:
把Device Drivers-->SCSI device support-->SCSI low-level drivers下的所有设置成未选择状态 
Device Drivers-->Fusion MPT device support-->Fusion MPT(base + ScsiHost) drivers选中 

然后将内核重新编译、安装,将grub.conf设置正确: 
代码: 
default 0 
timeout 30 
title=Gentoo Linux 2.6.12-r6 
root (hd0,0) 
kernel /kernel-2.6.12-gentoo-r6 root=/dev/sda3 

重启,OK。 
Fusion MPT drivers 是scsi驱动器的驱动, 用LiveCD启动然后用lspci查看你的硬件型号及厂商(不单能看到SCSI控制器的,还能看网卡、显卡、声卡的型号)然后在make menuconfig里面用“/”查找一下刚才找到的型号和厂商,一般结果都有好几个,注意看看,一般都能看出来是哪方面的驱动,找几个可疑对象逐个试试

此外,还现了一个问题:是否将devfs support编译进内核,我到其他地方可看到 
引用: 
devfs support 
You need devfs support built in and mounted at boot time. In the 2.6 kernel, these are listed as: 
Code: 
File systems 
-> Pseudo file systems 
-> /dev file system support (OBSOLETE) DEVFS_FS 
-> Automatically mount at boot DEVFS_MOUNT 

In the 2.4 kernel, they are: 
Code: 
File systems 
-> /dev file system support (EXPERIMENTAL) 
Automatically mount at boot 
 

而我自己将devfs support 编译进内核时,系统反倒不能启动了  
后来把LiveCD的光盘下的安装手册(在docs目录下)看到了如下内容: 
引用: 
Now go to File Systems and select support for the filesystems you use. Don't compile them as modules, otherwise your Gentoo system will not be able to mount your partitions. Also select /proc file system and Virtual memory. Do not select the /dev file system.  

回想起中文安装手册中的说法与此相反(中文手册的针对的是去年的版本),所以给大家提个醒。


  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值