siasbob 发表于 2003-7-18 18:24:18

再请教GRUB问题!

我的电脑上面装了XP和Linux 9.0 ,后来我把XP格了装了2000,但是再开机的时候,电脑不提示我选择系统,直接进了2000,我知道是把MBR给破坏了,导致GRUB不管用了,该怎么恢复GRUB呢?请指教阿。
我的GRUB如下所示:
# 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/hda10
#          initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,8)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
      root (hd0,8)
      kernel /vmlinuz-2.4.20-8 ro root=LABEL=/12
      initrd /initrd-2.4.20-8.img
title Windows XP
      rootnoverify (hd0,0)
      chainloader +1

siasbob 发表于 2003-7-18 18:28:42

上面有卡通头像的地方是8和一个)

winme 发表于 2003-7-18 21:53:31

如果你还有FAT的盘的话,把安装时用的VMLINUZ放到这个盘上,然后从DOS下用LOADLIN。EXE 进入LINUX,比如你的LINUX /分区是hda3
loadlin vmlinuz root=/dev/hda3
进去以后grub-install /dev/hda就可以了。
页: [1]
查看完整版本: 再请教GRUB问题!