leoyin 发表于 2004-5-9 09:39:17

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

取出安装盘然后启动引导然后出现下面的语句,然后基本上就是死机了,请问该怎么解决?


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

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):

jeffky 发表于 2004-5-9 10:39:56

是否你没有格式化你的分区啊,我好像以前装的时候也遇到过类似的问题。
你有按install.html里的一步一步做吗?

leoyin 发表于 2004-5-9 11:33:55

当然有格式化了

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

leoyin 发表于 2004-5-9 14:18:07

何解??帮我了~~~

樱家冢 发表于 2004-5-9 14:34:30

fstab写错了,既然格式化成reiserfs了,怎么用ext2格式挂载?

leoyin 发表于 2004-5-9 15:00:54

哎,我也是感觉是fstab写得有问题,谢谢帮我确认了

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

Kuye 发表于 2004-5-9 18:22:37

强烈建议用 XFS !!!!!!!!!!!!!!!!!!!!!

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

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


5555... 好感动...

jeffky 发表于 2004-5-9 22:58:37

fstab写错了,既然格式化成reiserfs了,怎么用ext2格式挂载?

我想是你在写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

kangkang 发表于 2004-5-10 01:58:42

我一直用的reiserfs
fstab写的事reiserfs

leoyin 发表于 2004-5-10 10:59:31

/ ReiserFS

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

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

leoyin login:root
password:

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

winme 发表于 2004-5-10 11:08:02

单用户登陆改密码

leoyin 发表于 2004-5-10 11:29:37

偶好像还不知道装上没了:P

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

winme 发表于 2004-5-11 08:48:14


我想是你在写fstab时,格式不应该写成reiserfs,应该时ReiserFS。我突然想起来了。

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

leoyin 发表于 2004-5-11 10:58:40


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


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

汗~~~

樱家冢 发表于 2004-5-11 12:44:31

你进不了但用户吗?
还是单用户也改不了?
页: [1] 2
查看完整版本: gentoo安装完内核,那一步以后然后重启机器