LinuxSir.cn,穿越时空的Linuxsir!

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

(求助)系统启动不了(内含详细信息)

[复制链接]
发表于 2005-4-18 13:20:12 | 显示全部楼层 |阅读模式
在安装Gentoo之前准备了一个星期的时间阅读了LIVE CD里面的文档,其间经过两次失败,花了两天时间,曾想放弃(没想到要装它也不是一件容易的事),但心有不甘,昨日又花大半日把它给装了进来,(还没装KDE等桌面) 装完GRUB时,重启,遇到以下情况:

从GRUB进入后显示:
Boot 'Gentoo Linux'
  root (hd0,9)
filesystem type is ext2fs,partition type 0x83
kernel /kernel-2.6.11-gentoo-r3    root=/dev/hda10
Error15:File no found
press any key to contitue......



然后到回GRUB启动菜单,按C 进入COMMAND-LINE.
grub>kernel(hd0,
#windows xp 分区 NTFS格式
partition num: 0,  filesystem type unknown , partiton type 0x7
4-7为FAT32格式
partition num: 4,  filesystem type fat           , partiton type 0xb
partition num: 5,  filesystem type fat           , partiton type 0xb
partition num: 6,  filesystem type fat           , partiton type 0xb
partition num: 7,  filesystem type fat           , partiton type 0xb
#LINUX swap 分区
partition num: 8,  filesystem type unknown , partiton type 0x82
#Gentoo 分区,/boot没有单独划出来,
partition num: 9,  filesystem type ext2fs , partiton type 0x83


grub>kernel (hd0,9) /boot/kernel-2.6.11-gentoo-r3    root=/dev/hda10  #enter
grub>boot   #enter

以下是出错信息
    .
     .
     .
     .
     .
     .

*starting devfsd.......
/sbin/rc: line 271: /sbin/devfsd: no such file or directory                                [!!]





*checking root filesystem....
fsck.ext3: no such file or directory while trying to open /dev/hda10
     /dev/hda10:
     The superblock could not be read or does not describe a correct ext2 filesystem .If the device is valid and it readly contains an ext2 filesystem(and not swap or usf  or something else),then the superblick is corrupt,and you might try running e2fsck with an alternate superblock:e2fsck -b 8139 <device>
*filesystem could not be fixed : (                                                                  [!!]

Give roo password for maintenance
(Or type control-D for normal startup):



我的/etc/fstab文件编辑如下:
/dev/hda10                        /              ext3          noatme                     1   1
/dev/hda9                        none         swap         sw                             0   0
/dev/cdroms/cdrom0    /mnt/cdrom   auto          noatme ,ro,user         0   0
none                            /proc              proc          defaults                     0    0
none                             /dev/shm      tmpfs         defaults                     0   0


/boot/grub/grub.conf如下:

default    0
timeout    30
title    windows   xp
rootnovertify  (hd0,0)
chainloader   +1
makeactivate  


title gentoo linux
root (hd0,9)
kernel /kernel-2.6.11-gentoo-r3   root=/dev/hda10



还有就是我进入单用户下修改这些文件就时,保存不了,提示这文件是只读属性。


PS:  本人初次接触LINUX,很多地方不是很懂,望大侠能说的明白一点。

PSS:在安装之时, mke2fs -j  /dev/hda10  不也肯定加了-j参数,在哪里可以看到,还有,如何修改才能进入GENTOO 工作环境(这样我才能进行以后的工作)

PSSS:           WINDOWS XP 能正常进入!!!!!


希望大家赐教!!!!
发表于 2005-4-18 13:32:09 | 显示全部楼层
你用live iso进去重编内核--/dev file system support 这个别选再编个新内核试试。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-4-18 21:35:30 | 显示全部楼层
就重新编一个内核就行了吗?是不是按安装步骤这样到回编内核那里,编好后是否要安装?到于以后的安装步骤还要重新做过吗?我已经把LIVE CD刻了下来了。能给个详细点的答案吗?我是菜鸟,还请包涵!!
回复 支持 反对

使用道具 举报

发表于 2005-4-19 09:07:17 | 显示全部楼层
晕--不用重装了--编个新内核换了原来的就行了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-4-19 13:13:02 | 显示全部楼层
重新编译过了,前面的FILE NOT FOUND问题解决了,但后面的还是一样,不知道内核还有什么重要的地方要注意的,我的配置如签名!
回复 支持 反对

使用道具 举报

发表于 2005-4-19 15:21:09 | 显示全部楼层
不要把devfs编译进内核 用udev
回复 支持 反对

使用道具 举报

发表于 2005-4-23 01:44:13 | 显示全部楼层

安装成功,不过Grub一直引导不了系统?

我的配置是:PIII + 815EP + SDR 512M
安装的LIVECD是2005.0,用 stage3-pentium3
主要参考了手册的“快速安装”流程来做的(基本没有改过设置,说实话对这些设置也不太清楚)
编译时也没有改过什么设置用genkernel来自动编译的2.6.11-gentoo-r3内核
安装编译过程基本没有出现过问题,最后的grub安装也很顺利。
grub.conf 是按“快速安装”来设置的,重启后 grub 无法启动系统

直接回到了 grub> 提示符,没有任何出错提示,实在摸不着头脸,请大家帮我看看出了什么问题?





另外问一下,安装离grub后是不是只能重新安装Windows才能恢复引导区?
有没有别的办法在不重装windows系统的前提下恢复启动?
回复 支持 反对

使用道具 举报

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

本版积分规则

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