|
|
我装了Red hat linux 内核为2.4.20-8,我重新编译内核2.6.17.11过程如下
make xconfig
make bzImage
make modules
make modules_install
make install
grub.conf文件增加了一下几行:
title Red Hat Linux (2.6.17.11)
root (hd0,3)
kernel /vmlinuz-2.6.17.11 ro root=LABEL=/
initrd /initrd-2.6.17.11.img
启动时失败信息:
mount:error 19 mounting ext3
pivot:privot_root failed
umount /initrd/proc failed
kernel panic-not syncing:no init found try passing init= option to kernel
请各位大哥帮忙
grub.cong全文为:
default=1
timeout=10
splashimage=(hd0,3)/grub/splash.xpm.gz
title Red Hat Linux (2.6.17.11)
root (hd0,3)
kernel /vmlinuz-2.6.17.11 ro root=LABEL=/
initrd /initrd-2.6.17.11.img
title Red Hat Linux (2.4.20-8)
root (hd0,3)
kernel /vmlinuz-2.4 ro root=LABEL=/
initrd /initrd-2.4.20-8.img
title Linux-2.6.17
root (hd0,3)
kernel /vmlinuz-2.6 ro root=/dev/hda3
initrd /initrd-2.6.17.11.img
title Linux-2.6.17
root (hd0,3)
kernel /vmlinuz-2.6 ro root=/dev/hda4 |
|