QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1097|回复: 4

内核起不来,help~~~# grub.conf gener

[复制链接]
发表于 2005-5-28 18:25:24 | 显示全部楼层 |阅读模式
# 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 (hd1,7)
#          kernel /vmlinuz-version ro root=/dev/hdc10
#          initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd1,7)/grub/splash.xpm.gz
title Red Hat Linux (2.6.11.
        root (hd1,7)
        kernel /vmlinuz-2.6.11.8 ro root=LABEL=/ hdd=ide-scsi
        initrd /initrd-2.6.11.8.img
title Red Hat Linux (2.4.20-
        root (hd1,7)
        kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdd=ide-scsi
        initrd /initrd-2.4.20-8.img
title Windows Xp
        rootnoverify (hd0,0)
        chainloader +1


错误如下:
pivotroot:pivot_root(/sysroot,/sysroot/initrd) failed :2
umount /initrd/proc failed :2
kernel panic -not syncing :No init found.

不明白,请帮忙!!!
发表于 2005-6-1 20:16:44 | 显示全部楼层
Sorry, I cannot input Chinese, now.

Change "root=LABEL=/" to "root=/dev/hdaX" (where X is the partition for / mount point); and try again.
回复

使用道具 举报

 楼主| 发表于 2005-6-1 20:31:09 | 显示全部楼层

谢谢
回复

使用道具 举报

发表于 2005-6-3 19:58:51 | 显示全部楼层
vi /boot/grub/grub.conf

成为下面的

# 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 (hd1,7)
# kernel /vmlinuz-version ro root=/dev/hdc10
# initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd1,7)/grub/splash.xpm.gz
title Red Hat Linux (2.6.11.Cool
root (hd1,7)
kernel /vmlinuz-2.6.11.8
title Red Hat Linux (2.4.20-Cool
root (hd1,7)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdd=ide-scsi
initrd /initrd-2.4.20-8.img
title Windows Xp
rootnoverify (hd0,0)
chainloader +1
回复

使用道具 举报

 楼主| 发表于 2005-6-6 19:22:10 | 显示全部楼层
好了,谢谢:)
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-2 08:36 , Processed in 0.037192 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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