zzhlh 发表于 2005-5-28 18:25:24

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

# 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.8)
        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-8)
        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.

不明白,请帮忙!!!

wxk 发表于 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.

zzhlh 发表于 2005-6-1 20:31:09

:)
谢谢

lqjs 发表于 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

zzhlh 发表于 2005-6-6 19:22:10

好了,谢谢:)
页: [1]
查看完整版本: 内核起不来,help~~~# grub.conf gener