Gentoo 出现错误:VFS:Cannot open root device "sda3" or unknown-block(0,0) :error -6
2013-01-09 22:37
831 查看
在最初安装gentoo时,安装配置完成后,重新启动后出现以下错误
Fusion MPT drivers 是scsi驱动器的驱动,用LiveCD启动然后用lspci查看你的硬件型号及厂商(不单能看到SCSI控制器的,还能看网卡、显卡、声卡的型号)然后在make menuconfig里面用“/”查找一下刚才找到的型号和厂商,一般结果都有好几个,注意看看,一般都能看出来是哪方面的驱动,找几个可疑对象逐个试试
方法如下: 把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. 回想起中文安装手册中的说法与此相反(中文手册的针对的是去年的版本),所以给大家提个醒。
相关文章推荐
- NFS出现 VFS: Cannot open root device "nfs" or unknown-block(2,0)错误的一个原因
- 在VMware上编译linux内核出现VFS: Cannot open root device "LABEL=/" or unknown-block(0,0) 错误的解决方法
- VFS: Cannot open root device "nfs" or unknown-block(0,255)错误的解决
- VFS: Cannot open root device "nfs" or unknown-block(0,255)错误解决
- 安装LFS6.3 VFS:Cannot open root device "sda" 或VFS:Unable to mount root fs on unknown-block(0,0)
- ERROR:VFS cannot open root device or unknown block, please append a correct root= option
- VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)
- Linux编译中出现VFS: Cannot open root device "mtdbloc...
- 用VirtualBox 安装LFS常见问题的解决方法:“VFS: Unable to mount root device "hda1" or unknown-block(2,0)”
- VFS:Cannot open root device "sda"
- 安装LFS6.2 VFS:Cannot open root device "sda" 推荐
- Ubuntu12.04安装64位系统出现编译错误error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or dir
- mini6410基于linux2.6.36内核通过NFS启动根文件系统总结(五内核测试 二 VFS: Cannot open root device "ubi0:FriendlyARM-root" )
- VFS: Cannot open root device "hda0"出错了。
- SD卡挂载文件系统:VFS: Cannot open root device "mmcblk0p2"
- Delphi TMediaPlayer播放音乐出现"no MCI device open"的错误的解决方法;循环播放
- 运行错误:error while loading shared libraries: xxx.so.0:cannot open shared object file: No such file or
- Cannot return from outside a function or method onClick="return check();"出现错误等等
- VC++6.0错误:fatal error:cannot open include file "xxxx.h"修正的一个方法
- Windows7安装nginx后,'nginx -t -c nginx.conf' 命令出现 “could not open error log file: CreateFile() "logs/error.log" failed” 错误的原因