LinuxSir.cn,穿越时空的Linuxsir!

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

各位帮我!

[复制链接]
发表于 2003-1-10 18:50:22 | 显示全部楼层 |阅读模式
装完lfs已经一周了,但有个问题始终搞不定,各位帮忙看看,谢了先!
   好像是启动错误,当启动到checking file systems 时就有:
   fsck.ext3: No such file or directory while trying to open /dev/hda7
    /dev/hda7:
    The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and might trying running e2fsck with an alternate superblock:
   e2fsck -b 8193 <devevice>
   可是我的根文件系统的确是ext3的,我用其它的内核可以搞定的,那应该是内核配置的原因了,
可我在内和配置中已经选择了ext3和ext2了,各位,这是什么原因呢?/?
发表于 2003-1-10 18:58:54 | 显示全部楼层
你登录后能在命令行执行fsck.ext3吗?
发表于 2003-1-10 19:02:15 | 显示全部楼层

Re: 各位帮我!

fsck.ext3??没有
是不是第六章e2fs...那个软件没装好,重新安一下
最初由 phinux 发布
装完lfs已经一周了,但有个问题始终搞不定,各位帮忙看看,谢了先!
   好像是启动错误,当启动到checking file systems 时就有:
   fsck.ext3: No such file or directory while trying to open /dev/hda7
    /dev/hda7:
    The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and might trying running e2fsck with an alternate superblock:
   e2fsck -b 8193 <devevice>
   可是我的根文件系统的确是ext3的,我用其它的内核可以搞定的,那应该是内核配置的原因了,
可我在内和配置中已经选择了ext3和ext2了,各位,这是什么原因呢?/?
发表于 2003-1-10 19:08:17 | 显示全部楼层
可以启动起来么?
如果不可以,chroot可以么?
还有就是看看/etc/fstab有什么问题没有。
 楼主| 发表于 2003-1-10 22:55:58 | 显示全部楼层
可以chroot 的,并且我用其它linux的内核可以启动lfs的根分区的,还可以执行fsck.ext3 , 由此来说 /etc/fstab 应该没错啊.
   我怎么想都不明白,怎么可能呢?
发表于 2003-1-11 08:06:21 | 显示全部楼层
那就只能从启动脚本上去找原因了。你看看/etc/rc.d/init.d中启动fsck的脚本是那个。
 楼主| 发表于 2003-1-11 10:32:20 | 显示全部楼层
不是吧,我用其它的内核和lfs的根分区用grub启动的时候,难道不是用的lfs的启动脚本吗??
   我一直因此而感觉是内核的原因
发表于 2003-1-11 10:45:57 | 显示全部楼层

我的/etc/fstab

装ext3改成auto就可以了
发表于 2003-1-11 10:47:45 | 显示全部楼层
对,多谢你提醒,这一点我没有想到。
那么你在内核中只选择支持ext3会出来什么结果?能不能试一下?要注意作好备份,系统可能会启动不了。
 楼主| 发表于 2003-1-11 11:09:55 | 显示全部楼层
把ext3改成auto是启动过了这一步,但在checking file systems 下面有两行could not determine the file system,然后在刚转入runlevel 2是就不动了,估计是根分区根本就没挂载
    对了,kj501兄,为什么要在内核中只选择ext3??我有点想不通啊
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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