|
|

楼主 |
发表于 2007-5-24 14:53:24
|
显示全部楼层
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 (hd0,5)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/hda
default=2
timeout=5
splashimage=(hd0,5)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.20-1.2948.fc6)
root (hd0,5)
kernel /vmlinuz-2.6.20-1.2948.fc6 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.20-1.2948.fc6.img
title Fedora Core (2.6.20-1.2944.fc6)
root (hd0,5)
kernel /vmlinuz-2.6.20-1.2944.fc6 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.20-1.2944.fc6.img
title Other
rootnoverify (hd0,0)
chainloader +1
启动后直接进入>grub
输入
root (hd0,5)
kernel /vmlinuz-2.6.20-1.2948.fc6 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.20-1.2948.fc6.img
可以进入fc6
which grub 显示 /sbin/grub !! 和这个有关系吗?? |
|