当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 6 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : LFS 6.3 Kernel panic - not syncing:VFS: Unable to mount root
帖子发表于 : 2008-09-24 20:00 

注册: 2008-01-01 22:30
帖子: 51
送出感谢: 0 次
接收感谢: 0 次
VFS:Unable to mount root fs via NFS,trying floppy
VFS:Cannot open root device "sda10" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partions:
0340 78150744 hdb driver:ide-disk


Kernel panic - not syncing:VFS: Unable to mount root fs on unknown-block(2,0)

The harddisk layout is :

/dev/sda1 * .... HPFS/NTFS
/dev/sda2 .... W95 Ext'd(LBA)
/dev/sda5 .... HPFS/NTFS
/dev/sda6 .... HPFS/NTFS
/dev/sda7 * .... Linux
/dev/sda8 .... Linux swap/Solaris
/dev/sda9 .... Linux
/dev/sda10 .... Linux
My LFS is installed in the /dev/sda10

The grub/menu.lst is:

title Gentoo Linux 2.6
root (hd0,6)
kernel /boot/kernel-genkernel root=/dev/ram0 real_root=/dev/sda9
initrd /boot/initramfs-genkernel

title LFS 6.3
root (hd0,9)
kernel /boot/lfskernel-2.6.22.5 root=/dev/sda10
in the LFS' /boot:System.map-2.6.22.5 lfskernel-2.6.22.5


页首
 用户资料  
 
2 楼 
 文章标题 : Re: LFS 6.3 Kernel panic - not syncing:VFS: Unable to mount root
帖子发表于 : 2008-09-24 22:16 
头像

注册: 2007-04-28 21:38
帖子: 1026
送出感谢: 0 次
接收感谢: 0 次
1 sata驱动
2 文件系统模块
fstab
都要配置正确才好


_________________
thinkpad x61 2G DDR no cdrom
--------------------------------------------
ABS学习中
sed学习中
awk学习中
perl学习中
新手描述不清,老手猜测不到,胡乱指挥一通,后果难以预料


页首
 用户资料  
 
3 楼 
 文章标题 : Re: LFS 6.3 Kernel panic - not syncing:VFS: Unable to mount root
帖子发表于 : 2008-09-24 22:36 
头像

注册: 2007-09-29 3:09
帖子: 5773
送出感谢: 0 次
接收感谢: 3
貌似2.6.18(记不清具体版本)之后已经不分ide和sata和scsi,全当成scsi对待了(不过相应模块还是需要的)...

如果你的是ide硬盘,还是要把scsi编译进去,而可以不要ide那部分...

代码:
[hunt@bubble ~/hunt's/source/rc]$ O_< grep IDE 2.6.26.3.config
CONFIG_HAVE_IDE=y
# CONFIG_IDE is not set
[hunt@bubble ~/hunt's/source/rc]$ O_< grep SCSI 2.6.26.3.config
# SCSI device support
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y


当然这样子也是可以启动了,把sda10换成hda10貌似就可以了...

我的ide硬盘,如下:
代码:
[hunt@bubble ~]$ O_< dmesg |grep sda
Kernel command line: root=/dev/sda6 vga=791 ro
sd 0:0:0:0: [sda] 80293248 512-byte hardware sectors (41110 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] 80293248 512-byte hardware sectors (41110 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 sda:<7>Switched to high resolution mode on CPU 0
 sda1 < sda5 sda6 sda7 > sda2
sd 0:0:0:0: [sda] Attached SCSI disk
ReiserFS: sda6: found reiserfs format "3.6" with standard journal
ReiserFS: sda6: using ordered data mode
ReiserFS: sda6: journal params: device sda6, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sda6: checking transaction log (sda6)
ReiserFS: sda6: Using r5 hash to sort names
Adding 497972k swap on /dev/sda5.  Priority:-1 extents:1 across:497972k


P.S.:不要重复发帖...


_________________
HUNT Unfortunately No Talent...


页首
 用户资料  
 
4 楼 
 文章标题 : Re: LFS 6.3 Kernel panic - not syncing:VFS: Unable to mount root
帖子发表于 : 2008-09-24 22:41 
头像

注册: 2007-09-29 3:09
帖子: 5773
送出感谢: 0 次
接收感谢: 3
貌似2.6.18(记不清具体版本)之后已经不分ide和sata和scsi,全当成scsi对待了(不过相应模块还是需要的)...

如果你的是ide硬盘,还是要把scsi编译进去,而可以不要ide那部分...

代码:
[hunt@bubble ~/hunt's/source/rc]$ O_< grep IDE 2.6.26.3.config
CONFIG_HAVE_IDE=y
# CONFIG_IDE is not set
[hunt@bubble ~/hunt's/source/rc]$ O_< grep SCSI 2.6.26.3.config
# SCSI device support
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y


当然这样子也是可以启动了,把sda10换成hda10貌似就可以了...

我的ide硬盘,如下:
代码:
[hunt@bubble ~]$ O_< dmesg |grep sda
Kernel command line: root=/dev/sda6 vga=791 ro
sd 0:0:0:0: [sda] 80293248 512-byte hardware sectors (41110 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] 80293248 512-byte hardware sectors (41110 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 sda:<7>Switched to high resolution mode on CPU 0
 sda1 < sda5 sda6 sda7 > sda2
sd 0:0:0:0: [sda] Attached SCSI disk
ReiserFS: sda6: found reiserfs format "3.6" with standard journal
ReiserFS: sda6: using ordered data mode
ReiserFS: sda6: journal params: device sda6, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sda6: checking transaction log (sda6)
ReiserFS: sda6: Using r5 hash to sort names
Adding 497972k swap on /dev/sda5.  Priority:-1 extents:1 across:497972k


P.S.:不要重复发帖...


_________________
HUNT Unfortunately No Talent...


页首
 用户资料  
 
5 楼 
 文章标题 : Re: LFS 6.3 Kernel panic - not syncing:VFS: Unable to mount root
帖子发表于 : 2008-09-24 22:42 
头像

注册: 2007-09-29 3:09
帖子: 5773
送出感谢: 0 次
接收感谢: 3
貌似2.6.18(记不清具体版本)之后已经不分ide和sata和scsi,全当成scsi对待了(不过相应模块还是需要的)...

如果你的是ide硬盘,还是要把scsi编译进去,而可以不要ide那部分...

代码:
[hunt@bubble ~/hunt's/source/rc]$ O_< grep IDE 2.6.26.3.config
CONFIG_HAVE_IDE=y
# CONFIG_IDE is not set
[hunt@bubble ~/hunt's/source/rc]$ O_< grep SCSI 2.6.26.3.config
# SCSI device support
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y


当然这样子也是可以启动了,把sda10换成hda10貌似就可以了...

我的ide硬盘,如下:
代码:
[hunt@bubble ~]$ O_< dmesg |grep sda
Kernel command line: root=/dev/sda6 vga=791 ro
sd 0:0:0:0: [sda] 80293248 512-byte hardware sectors (41110 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] 80293248 512-byte hardware sectors (41110 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 sda:<7>Switched to high resolution mode on CPU 0
 sda1 < sda5 sda6 sda7 > sda2
sd 0:0:0:0: [sda] Attached SCSI disk
ReiserFS: sda6: found reiserfs format "3.6" with standard journal
ReiserFS: sda6: using ordered data mode
ReiserFS: sda6: journal params: device sda6, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sda6: checking transaction log (sda6)
ReiserFS: sda6: Using r5 hash to sort names
Adding 497972k swap on /dev/sda5.  Priority:-1 extents:1 across:497972k


P.S.:不要重复发帖...


_________________
HUNT Unfortunately No Talent...


页首
 用户资料  
 
6 楼 
 文章标题 : Re: LFS 6.3 Kernel panic - not syncing:VFS: Unable to mount
帖子发表于 : 2010-05-12 9:04 

注册: 2010-02-16 21:20
帖子: 24
送出感谢: 0 次
接收感谢: 0 次
完全不明白,能否详细一点?


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 6 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:Google [Bot] 和 2 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译