LinuxSir.cn,穿越时空的Linuxsir!

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

系统启动问题!

[复制链接]
发表于 2006-3-21 21:39:47 | 显示全部楼层 |阅读模式
安装完系统后,重新启动系统。
系统启动到VFS的时候说找不到/dev/hda9。
VFS:Cannot open root device "hda9" or unknown-block(3,9)
please append a correct "root=" boot option
Kernel panic:VFS: Unable to mount root fs on unknown-block(3,9)

用livecd可以找到!

/dev/hda9 是/
/dev/hda8 是swap
/dev/hda7 是/boot
发表于 2006-3-21 23:09:19 | 显示全部楼层
请贴出fstab和grub.conf的内容
回复 支持 反对

使用道具 举报

发表于 2006-3-22 18:29:45 | 显示全部楼层
fstab中的文件类型没改吧
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-23 20:10:41 | 显示全部楼层

fstab

# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20:03:38 azarah 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 and tail freely.

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

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda7                /boot                ext3                defaults,noatime        1 2
/dev/hda8                none                swap                sw                        0 0
/dev/hda9                /                ext3                noatime                        0 1

# NOTE: The next line is critical for boot!
none                        /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)
# Adding the following line to /etc/fstab should take care of this:

none                        /dev/shm        tmpfs                defaults                0 0
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-23 20:12:07 | 显示全部楼层

menu.lst

default 0
timeout 30

color white/black black/blue

splashimage=(hd0,6)/grub/splash.xpm.gz

title=Gentoo Linux
root (hd0,6)
kernel /vmlinuz root=/dev/hda9

title=Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1
回复 支持 反对

使用道具 举报

发表于 2006-3-24 01:52:45 | 显示全部楼层
回复 支持 反对

使用道具 举报

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

本版积分规则

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