内核起不来,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.
不明白,请帮忙!!! Sorry, I cannot input Chinese, now.
Change "root=LABEL=/" to "root=/dev/hdaX" (where X is the partition for / mount point); and try again. :)
谢谢 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 好了,谢谢:)
页:
[1]