xuexuejiang 发表于 2005-6-25 08:24:30

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

我只有一个硬盘....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-8)
      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啊....帮帮我啊....我在等你们啊...

xuexuejiang 发表于 2005-6-25 09:17:23

怎么这里都没有人帮我啊。。。好郁闷啊。。我一直启动不了XP啊。。。

hejux 发表于 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

xuexuejiang 发表于 2005-6-25 09:53:03

你是全部的能给我看看吗。。我想对一下。哪里出错了。。。谢谢

hejux 发表于 2005-6-25 10:16:34

你贴错了,请把 /boot/grub/menu.list 内容贴出来

hejux 发表于 2005-6-25 10:17:49

title                Debian GNU/Linux, kernel 2.6.8-2-k7
root                (hd0,8)
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,8)
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

hejux 发表于 2005-6-25 10:20:13

那两个小脑袋是 8 加上一个反括号

hejux 发表于 2005-6-25 10:23:23

楼主好象把redhat安装到了硬盘的第一个主分区了--> 看你的 root (hd0,0)
不知道你Xp装在那里了?

NorthSea 发表于 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盘。再说细一点也许能帮你解决

xuexuejiang 发表于 2005-6-25 11:38:16

XP装在C盘啊。。。

xuexuejiang 发表于 2005-6-25 11:52:32

我是XP装在C盘的啊。。。总共有C。D。E三个盘。。。剩下的空间都给LINUX用了。。。

hejux 发表于 2005-6-25 12:32:13

按照你贴上来的信息看,你的xp已经被覆盖了
因为redhat的boot所在分区是hda1
也就是xp下面所谓的C 盘
不知道你是怎么安装的?
页: [1]
查看完整版本: grub设置错了.XP不能启动..高手帮帮我...