|
我在FC2上编译kernel2.6.9,但是不能启动,错误提示如下
mkrootdev: label / not found
mount: error 2 mounting ext 3
pivotroot: pivot root (/sysroot,/sysroot/initrd) failed: 2
umount: /initrd/proc failed: 2
Kernel panic -not syncing: No init found. Try passing init = option to kernel
我的grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,![](static/image/smiley/default/icon_cool.gif)
# kernel /boot/vmlinuz-version ro root=/dev/hda9
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=2
timeout=10
splashimage=(hd0,8 )/boot/grub/splash.xpm.gz
title Fedora Core (2.6.9 )
root (hd0,8 )
kernel /boot/vmlinuz-2.6.9 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.9.img
title Fedora Core (2.6.5-1.358 )
root (hd0,8 )
kernel /boot/vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.5-1.358.img
title Other
rootnoverify (hd0,0 )
chainloader +1
编译完成以后,都自动生成了initrd-2.6.9.img,vmlinuz-2.6.9
ext3 file system我也编入了内核
请各位指点一下,小弟先谢了 |
|