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

来源:互联网 发布:淘宝购物车加不进去 编辑:程序博客网 时间:2024/05/22 14:38

在最初安装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.  回想起中文安装手册中的说法与此相反(中文手册的针对的是去年的版本),所以给大家提个醒。


原创粉丝点击