LinuxSir.cn,穿越时空的Linuxsir!

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

编译内核后,新系统无法进入!?

[复制链接]
发表于 2005-4-17 09:38:37 | 显示全部楼层 |阅读模式
我的新系统总是无法进入,显示:



   Booting 'linuxtest'



   root(hd0,7)

     File system type is ext2fs,partition type 0x83

   kernel /boot/bzImage-2.4.21 ro root=/dev/hda8



   Error 15:File not found



   Press any key to continue...



    我的linux 版本是2.4.21-9.EL, 是不是因为版本不同,需要更改的地方更多?

    是因为文件系统是ext2fs的,所以无法找到文件吗?

    可是我查了我的系统都是ext3fs的啊 ,在make xconfig时我将所有出现了ext3的都打了yes。怎么还会出现文件系统的问题??


   


    我的修改后的grub文件:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,7)
#          kernel /vmlinuz-version ro root=/dev/hda9
#          initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,7)/grub/splash.xpm.gz
title linuxtest
        root (hd0,7)
        kernel /boot/bzImage-2.4.21 ro root=/dev/hda8
        initrd /initrd-2.4.21-9.EL.img
title Red Hat Enterprise Linux ES (2.4.21-9.EL)
        root (hd0,7)
        kernel /vmlinuz-2.4.21-9.EL ro root=LABEL=/
        initrd /initrd-2.4.21-9.EL.img
title DOS
        rootnoverify (hd0,0)
        chainloader +1
发表于 2005-4-18 21:55:15 | 显示全部楼层
你用什么bootloader引导的?如果是grub可以按照下面的步骤做:
:启动时在菜单上安"c"------------>进入gurb>root (hd0, -------------->按tab查看你安装系统的分区----------->root (hd0, x(你的分区好减一)--------------->查看有没有识别的文件格式-------------->kernel /vmlinuz-2.6.6 ro root=/dev/hdxn(应该知道吧)----------------->boot -------ok!
回复 支持 反对

使用道具 举报

发表于 2005-4-19 12:38:52 | 显示全部楼层
kernel /boot/bzImage-2.4.21 ro root=/dev/hda8
改成
kernel /bzImage-2.4.21 ro root=/dev/hda8

试试,或者看看/boot下有没有bzImage-2.4.21 这个文件。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-4-20 10:55:12 | 显示全部楼层

谢谢,我把/boot 删除以后就进去了!!

Thank you very much!!!! ^_^
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-4-20 11:02:18 | 显示全部楼层

但是为什么要把/boot删去才行呢?

我不是很明白.
  我分明是把bzImage放在那里的呀!
  /boot/bzImage
回复 支持 反对

使用道具 举报

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

本版积分规则

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