|
楼主 |
发表于 2004-12-20 15:13:26
|
显示全部楼层
/boot里有:vmlinuz-2.4.20-8
vmlinuz-2.4.20-8custom
initrd-2.4.20-8.img
initrd-2.4.20-8custom.img
有人说把root=LABEL=/去掉,可是也不行啊
原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,1)
# kernel /boot/vmlinuz-version ro root=/dev/hda2
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8custom)
root (hd0,1)
kernel /boot/vmlinuz-2.4.20-8custom ro root=LABEL=/
initrd /boot/initrd-2.4.20-8custom.img
title Red Hat Linux (2.4.20-
root (hd0,1)
kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /boot/initrd-2.4.20-8.img
title DOS
rootnoverify (hd0,0)
chainloader +1
现在的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,1)
# kernel /boot/vmlinuz-version ro root=/dev/hda2
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8custom)
root (hd0,1)
kernel /boot/vmlinuz-2.4.20-8custom
initrd /boot/initrd-2.4.20-8custom.img
title Red Hat Linux (2.4.20-
root (hd0,1)
kernel /boot/vmlinuz-2.4.20-8
initrd /boot/initrd-2.4.20-8.img
title DOS
rootnoverify (hd0,0)
chainloader +1
结果还是出错
......
mount: error 6 mounting ext3
pivotroot: pivot_root /sysroot,/sysroot/initrd/ failed:2
umount /initrd /proc failed:2
Freeing unused kernel memeorg:132K freed
kernel panic:NO init found, Trg passing init=option to kernel. |
|