红联Linux门户
Linux帮助

内核由2.4.20-8编译更新到2.6.23 后,LINUX进不去了。

发布时间:2007-10-23 17:30:09来源:红联作者:keungzh
:time:1

本人是新手。尝试将内核由2.4.20-8编译更新到2.6.23 。重新启动机子:
启动过后,出现以下提示:
kernel panic -not syncing:no init found.try passing init=option. to kernel

这表示什么意思?:
在编译重启之前,我看/boot目录下,有2.6.23。Img的文件在的。
grnb.conf 里提到那个Img文件都有。
怎么重启了后进不去?
文章评论

共有 3 条评论

  1. keungzh 于 2007-10-23 22:18:52发表:

    可以的。只要我将grub.conf改成原来装好的一样,就可以进去
    #boot=/dev/hda
    default=2
    timeout=10
    splashimage=(hd0,5)/grub/splash.xpm.gz
    title Red Hat Linux (2.4.20-8)
    root (hd0,5)
    kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi
    initrd /initrd-2.4.20-8.img
    title windows xp
    rootnoverify (hd0,0)
    chainloader +1

    “编译时,我用最后的命令make install 后:
    grub.conf这个文件是变为:
    #boot=/dev/hda
    default=2
    timeout=10
    splashimage=(hd0,5)/grub/splash.xpm.gz
    title Red Hat Linux (2.6.23)
    root (hd0,5)
    kernel /vmlinuz-2.6.23 ro root=LABEL=/ hdc=ide-scsi
    initrd /initrd-2.6.23.img
    title windows xp
    rootnoverify (hd0,0)
    chainloader +1

    其中还有title Red Hat Linux (2.4.20-8)
    root (hd0,5)
    kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi
    initrd /initrd-2.4.20-8.img
    ,我把它删除。

  2. Lynghu 于 2007-10-23 19:15:46发表:

    参考下原始是busybox的问题。开始设置的busybox的运行路径是默认的/proc底下的文件,但由于init还没有执行所以proc没有挂载上去,所以导致busybox不能运行。把路径改为/bin/busybox就可以了

  3. gxf 于 2007-10-23 17:35:43发表:

    现在老版本的内核能进去不?