QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1767|回复: 19

gentoo安装完内核,那一步以后然后重启机器

[复制链接]
发表于 2004-5-9 09:39:17 | 显示全部楼层 |阅读模式
取出安装盘然后启动引导然后出现下面的语句,然后基本上就是死机了,请问该怎么解决?


......................

Check root filesystem...
fsck.ext2: Is a directory while trying to open /:
The superblock could not be read or does not describe a crrect 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 you
might try running e2fsck with an alternate superblock
e2fsck -b 8193<device>

* filesystem couldn't be fixed

Give root password for maintance
(or type CTRL+D for normal startup):
发表于 2004-5-9 10:39:56 | 显示全部楼层
是否你没有格式化你的分区啊,我好像以前装的时候也遇到过类似的问题。
你有按install.html里的一步一步做吗?
回复

使用道具 举报

 楼主| 发表于 2004-5-9 11:33:55 | 显示全部楼层
当然有格式化了

mkreiserfs /dev/hda4 (在这里安装的)
回复

使用道具 举报

 楼主| 发表于 2004-5-9 14:18:07 | 显示全部楼层
何解??帮我了~~~
回复

使用道具 举报

发表于 2004-5-9 14:34:30 | 显示全部楼层
fstab写错了,既然格式化成reiserfs了,怎么用ext2格式挂载?
回复

使用道具 举报

 楼主| 发表于 2004-5-9 15:00:54 | 显示全部楼层
哎,我也是感觉是fstab写得有问题,谢谢帮我确认了

写不好的fstab,明天把我偶的贴出来希望大家帮忙改改
回复

使用道具 举报

发表于 2004-5-9 18:22:37 | 显示全部楼层
强烈建议用 XFS !!!!!!!!!!!!!!!!!!!!!

我到现在才知道 Gentoo 为什么把 XFS 作为默认文件系统,前两天装 Magic 时用了一次 XFS,我受不了感动得骂起来“真他妈的NB”,

它速度比 reiserfs 快,而且非正常关机不会像 reiserfs 一样还要检查平衡树,直接就通过了,而且关机前写入的文件被恢复成写入之前的内容了,而没有损坏!日志绝对比 reiserfs 好。


5555... 好感动...
回复

使用道具 举报

发表于 2004-5-9 22:58:37 | 显示全部楼层
[quote:9393d4892d="樱家冢"]fstab写错了,既然格式化成reiserfs了,怎么用ext2格式挂载?[/quote]

我想是你在写fstab时,格式不应该写成reiserfs  ,应该时ReiserFS。我突然想起来了。
这是我以前装得留下的。
# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.13 2003/07/17 19:55:18 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/hda1                /boot                ext3                noauto,noatime                1 1
/dev/hda7                /                ReiserFS        noatime                        0 0
/dev/hda5                swap                swap                sw                        0 0
/dev/cdroms/cdrom0        /mnt/cdrom        iso9660                noauto,ro                0 0

# 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
回复

使用道具 举报

发表于 2004-5-10 01:58:42 | 显示全部楼层
我一直用的reiserfs
fstab写的事reiserfs
回复

使用道具 举报

 楼主| 发表于 2004-5-10 10:59:31 | 显示全部楼层
/ ReiserFS

我是把这两个给连在了一起了,大小写好象没有关系

不过不知为什么,密码不能用了,

leoyin login:root
password:

结果不行,郁闷~~
重复几次后就死机了~~~
回复

使用道具 举报

发表于 2004-5-10 11:08:02 | 显示全部楼层
单用户登陆改密码
回复

使用道具 举报

 楼主| 发表于 2004-5-10 11:29:37 | 显示全部楼层
偶好像还不知道装上没了:P

偶要是想进系统还得用光盘启动,然后再chroot
在这里面passwd好像不管用啊,
回复

使用道具 举报

发表于 2004-5-11 08:48:14 | 显示全部楼层
[quote:589bd63a50="jeffky"]
我想是你在写fstab时,格式不应该写成reiserfs  ,应该时ReiserFS。我突然想起来了。[/quote]

这个不是问题,我一直都是小写的.
回复

使用道具 举报

 楼主| 发表于 2004-5-11 10:58:40 | 显示全部楼层
偶要是想进系统还得用光盘启动,然后再chroot
在这里面passwd好像不管用啊,


不知偶是不是还要完全重新安装啊?密码严重影响我的情绪啊
本来打算在linux下试着开发东西的,结果装都装了那么久~~~

汗~~~
回复

使用道具 举报

发表于 2004-5-11 12:44:31 | 显示全部楼层
你进不了但用户吗?
还是单用户也改不了?
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-10-5 08:30 , Processed in 0.041448 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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