QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 722|回复: 11

grub设置错了.XP不能启动..高手帮帮我...

[复制链接]
发表于 2005-6-25 08:24:30 | 显示全部楼层 |阅读模式
我只有一个硬盘....C.D.E.然后就是装RH9...ZP启动不了...XP装在C盘.我的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,0)
#          kernel /vmlinuz-version ro root=/dev/hda3
#          initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-
        root (hd0,0)
        kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
        initrd /initrd-2.4.20-8.img
title windows xp
        rootnoverify (hd0,0)
        chainloader +1

我现在只能启动LINUX啊....帮帮我啊....我在等你们啊...
 楼主| 发表于 2005-6-25 09:17:23 | 显示全部楼层
怎么这里都没有人帮我啊。。。好郁闷啊。。我一直启动不了XP啊。。。
回复

使用道具 举报

发表于 2005-6-25 09:51:27 | 显示全部楼层
heh

this is xp section of my grub menu:

title                Microsoft Windows XP Professional
root                (hd0,0)
savedefault
makeactive
chainloader        +1


you need to make hda1 active ,just copy and paste
回复

使用道具 举报

 楼主| 发表于 2005-6-25 09:53:03 | 显示全部楼层
你是全部的能给我看看吗。。我想对一下。哪里出错了。。。谢谢
回复

使用道具 举报

发表于 2005-6-25 10:16:34 | 显示全部楼层
你贴错了,请把 /boot/grub/menu.list 内容贴出来
回复

使用道具 举报

发表于 2005-6-25 10:17:49 | 显示全部楼层
title                Debian GNU/Linux, kernel 2.6.8-2-k7
root                (hd0,
kernel                /boot/vmlinuz-2.6.8-2-k7 root=/dev/hda9 ro
initrd                /boot/initrd.img-2.6.8-2-k7
savedefault
boot

title                Debian GNU/Linux, kernel 2.6.8-2-k7 (recovery mode)
root                (hd0,
kernel                /boot/vmlinuz-2.6.8-2-k7 root=/dev/hda9 ro single
initrd                /boot/initrd.img-2.6.8-2-k7
savedefault
boot

title           Ubuntu Kernel 2.6.10 Installed 20050623
root            (hd0,10)
kernel          /boot/vmlinuz-2.6.10-5-386 root=/dev/hda11 ro
initrd          /boot/initrd.img-2.6.10-5-386
savedefault
boot

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title                Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title                Microsoft Windows XP Professional
root                (hd0,0)
savedefault
makeactive
chainloader        +1
回复

使用道具 举报

发表于 2005-6-25 10:20:13 | 显示全部楼层
那两个小脑袋是 8 加上一个反括号
回复

使用道具 举报

发表于 2005-6-25 10:23:23 | 显示全部楼层
楼主好象把redhat安装到了硬盘的第一个主分区了--> 看你的 root (hd0,0)
不知道你Xp装在那里了?
回复

使用道具 举报

发表于 2005-6-25 11:03:43 | 显示全部楼层
hejux说得不错,
default=1
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-Cool
    root (hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /initrd-2.4.20-8.img
title windows xp
    rootnoverify (hd0,0)
chainloader +1
这两个位置都是指向C盘(HD(0,0)),不知道你RH9装在C盘,还是XP装在C盘。再说细一点也许能帮你解决
回复

使用道具 举报

 楼主| 发表于 2005-6-25 11:38:16 | 显示全部楼层
XP装在C盘啊。。。
回复

使用道具 举报

 楼主| 发表于 2005-6-25 11:52:32 | 显示全部楼层
我是XP装在C盘的啊。。。总共有C。D。E三个盘。。。剩下的空间都给LINUX用了。。。
回复

使用道具 举报

发表于 2005-6-25 12:32:13 | 显示全部楼层
按照你贴上来的信息看,你的xp已经被覆盖了
因为redhat的boot所在分区是hda1
也就是xp下面所谓的C 盘
不知道你是怎么安装的?
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-9-24 21:30 , Processed in 0.045666 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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