QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 445|回复: 2

再请教GRUB问题!

[复制链接]
发表于 2003-7-18 18:24:18 | 显示全部楼层 |阅读模式
我的电脑上面装了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,
#          kernel /vmlinuz-version ro root=/dev/hda10
#          initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-
        root (hd0,
        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
 楼主| 发表于 2003-7-18 18:28:42 | 显示全部楼层
上面有卡通头像的地方是8和一个)
回复

使用道具 举报

发表于 2003-7-18 21:53:31 | 显示全部楼层
如果你还有FAT的盘的话,把安装时用的VMLINUZ放到这个盘上,然后从DOS下用LOADLIN。EXE 进入LINUX,比如你的LINUX /分区是hda3
loadlin vmlinuz root=/dev/hda3
进去以后grub-install /dev/hda就可以了。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-10-1 17:23 , Processed in 0.047123 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表