|
原来安装的fedora10,grub坏了,手中没fedora10光盘,所以重新在新分区装了fedora8,把fedora10的vmlinuz和initrd复制到/boot/grub下了,并改了menu.lst文件,结果启动时可以看到fedora10的选项,但进不了,说文件没找到,是什么原因啊。分区如下图,D盘后连着三个linux分区是后来装的fedora8,F盘后的两个是fedora10默认的分区,挂载应该是哪个盘啊,我是这么写的root (ha0,8),高手帮忙看看啊,谢了!
现在没有fedora10的盘,只有8的和,ubuntu的,用ubuntu的liveCD可以找到grub.conf文件,内容拷贝下来了,如下(第一个是fedora10下分区下的,第二个是fedora8下的,红字是自己加的):
# 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,8)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda
default=3
timeout=8
splashimage=(hd0,8)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.27.15-170.2.24.fc10.i686)
root (hd0,8)
kernel /vmlinuz-2.6.27.15-170.2.24.fc10.i686 ro root=UUID=374ded07-0c3c-41a6-97d9-8cb6f63d3764
initrd /initrd-2.6.27.15-170.2.24.fc10.i686.img
title Fedora (2.6.27.12-170.2.5.fc10.i686)
root (hd0,8)
kernel /vmlinuz-2.6.27.12-170.2.5.fc10.i686 ro root=UUID=374ded07-0c3c-41a6-97d9-8cb6f63d3764
initrd /initrd-2.6.27.12-170.2.5.fc10.i686.img
title Fedora (2.6.27.5-117.fc10.i686)
root (hd0,8)
kernel /vmlinuz-2.6.27.5-117.fc10.i686 ro root=UUID=374ded07-0c3c-41a6-97d9-8cb6f63d3764
initrd /initrd-2.6.27.5-117.fc10.i686.img
title WinXP
rootnoverify (hd0,0)
chainloader +1
×××××××××××××××××××××××××××××××××××××××
# 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,10)
# kernel /vmlinuz-version ro root=/dev/sda13
# initrd /initrd-version.img
#boot=/dev/sda
default=1
timeout=5
splashimage=(hd0,10)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.23.1-42.fc8)
root (hd0,10)
kernel /vmlinuz-2.6.23.1-42.fc8 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.23.1-42.fc8.img
—————————————————————自己改过的—————————————————————————
title Fedora 10
root (hd0,8)
kernel /vmlinuz-2.6.27.12-170.2.5.fc10.i686
initrd /initrd-2.6.27.12-170.2.5.fc10.i686.img
---------------------------------------------------------------------------------------------------------------------------
title winXP
rootnoverify (hd0,0)
chainloader +1 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|