|
下载了2.6的内核, 以前是2.4的, RH9
编译安装
vmlinuz-2.6.0,System.map-2.6.0都已存在. 不过以前的内核也在.
[root@localhost boot]# ls
boot.b initrd-2.6.0.img module-info-2.4.20-8 System.map-2.6.0.old vmlinuz-2.6.0.old
chain.b kernel.h os2_d.b vmlinux-2.4.20-8
config-2.4.20-8 message System.map vmlinuz
grub message.ja System.map-2.4.20-8 vmlinuz-2.4.20-8
initrd-2.4.20-8.img module-info System.map-2.6.0 vmlinuz-2.6.0
显然,grub已经配置好了.
[root@localhost grub]# ls
device.map fat_stage1_5 grub.conf menu.lst reiserfs_stage1_5 stage1 vstafs_stage1_5
e2fs_stage1_5 ffs_stage1_5 jfs_stage1_5 minix_stage1_5 splash.xpm.gz stage2 xfs_stage1_5
[root@localhost grub]# cat menu.lst
# 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,2)
# kernel /boot/vmlinuz-version ro root=/dev/hda3
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=2
timeout=10
splashimage=(hd0,2)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.6.0)
root (hd0,2)
kernel /boot/vmlinuz-2.6.0 ro root=LABEL=/
initrd /boot/initrd-2.6.0.img
title Red Hat Linux (2.4.20-
root (hd0,2)
kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /boot/initrd-2.4.20-8.img
title WindownsXP
rootnoverify (hd0,0)
chainloader +1
2.6进不去阿!
把显示的信息抄了一段,大家帮俺看看
mount:error 19 mounting ext3
pivotroot: pivot-root(/sysroot,/systoot/initrd) failed:2
umount /initrd/proc failed:2
freeing unused kernel memory:232k freed
kernel panic: No init found. Try passing init=option to kernel.
什么原因呢? 难道俺ext3支持没选? 好像选了啊! |
|