LinuxSir.cn,穿越时空的Linuxsir!

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

新装Gentoo ,reboot后提示无法启动根设备. 请大侠帮忙!!

[复制链接]
发表于 2005-11-23 01:01:11 | 显示全部楼层 |阅读模式
安装过程正常. grub也启动了.
就是到了下面这里就不动了. 郁闷. (俺是在虚拟机下安装的)
但是在用livecd启动,能够挂载 sda1 和sda3 .俺刚学Gentoo.  
------------------------------------------------------------------------------------------
VFS: cannot open root device "sda3" or unknow-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not Syncing : VFS unable mount root fs on unknow-block(0,0)

------------------------------------------------------------------------------------------
设备如下:
/dev/sda1   ---->/boot        EXT3
/dev/sda2   ---->SWAP       SWAP
/dev/sda3   ---->/               EXT3
----------------------------------------------------------------------------------------------
fstab 文件
# /etc/fstab: static file system information.
# $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.18.4.1 2005/01/31 23:05:14 vapier Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# See the manpage fstab(5) for more information.

# <fs>                  <mountpoint>    <type>          <opts>          <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda1               /boot           ext3            noauto,noatime  1 2
/dev/sda3               /               ext3            noatime         0 1
/dev/sda2               none            swap            sw              0 0
/dev/cdroms/cdrom0      /mnt/cdrom      iso9660         noauto,ro       0 0
#/dev/fd0               /mnt/floppy     auto            noauto          0 0

# NOTE: The next line is critical for boot!
proc                    /proc           proc            defaults        0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
shm                     /dev/shm        tmpfs           nodev,nosuid,noexec     0 0

--------------------------------------------------------------------------------------------------
grub文件如下
default 0
timeout 9
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux 2.6.12-r6
root (hd0,0)
kernel /kernel-2.6.12-gentoo-r6 root=/dev/sda3
-----------------------------------------------------------------------------------------------------
发表于 2005-11-23 01:51:14 | 显示全部楼层
ext3、SCSI都编译进内核了吧?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-23 18:13:28 | 显示全部楼层
都编译进内核了啊.  我老是怀疑我的GRUB设置错了. 我把SCSI和ext3相关的东西都编译进去了.
因为启动的时候老是提示我指定正确的root 位置.
回复 支持 反对

使用道具 举报

发表于 2005-11-23 19:14:57 | 显示全部楼层
SCSI硬盘有没有四个主分区的限制?
你的根分区又是不是主分区?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-23 20:56:07 | 显示全部楼层
谢谢老大的回复. 您的第一个猜测就对了. 是我的SCSI的驱动选错了.
多谢您的提醒. 我重新做了一遍系统. 重选了SCSI的驱动. -----> 启动OK了.
多谢帮助!!!!!
看来 make menuconfig 里的选择很有讲究. 以前用redhat根本就没想过这些.
感觉GENTOO 把我带到了一个新的起点.
回复 支持 反对

使用道具 举报

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

本版积分规则

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