LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 701|回复: 2

请帮助,关于grub无法引导windowsXP的问题

[复制链接]
发表于 2005-8-9 14:25:45 | 显示全部楼层 |阅读模式
现在用grub引导的时候,无法进入windowsXP,点击相应选项的时候,显示无法辨认x07分区标志

然后返回.

我的硬盘分区情况:
Disk /dev/hda: 30.0 GB, 30005821440 bytes
240 heads, 63 sectors/track, 3876 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        1891    14295928+   7  HPFS/NTFS
/dev/hda2            1892        1925      257040   83  Linux
/dev/hda3            1926        3251    10024560    f  W95 Ext'd (LBA)
/dev/hda4            3252        3876     4725000   12  Compaq diagnostics
/dev/hda5            1926        1976      385528+  82  Linux swap / Solaris
/dev/hda6            1977        2565     4452808+  83  Linux
/dev/hda7            2566        3003     3311248+  83  Linux
/dev/hda8            3004        3251     1874848+  83  Linux
grub.conf文件:
default 0
timeout 30
#color black/cyan yellow/cyan
splashimage=(hd0,1)/boot/grub/splash.xpm.gz

title=Windows XP
root (hd0,0)
makeactive
chainloader +1

title=Gentoo Linux 2.6.11-r9
root (hd0,1)
kernel /boot/vmlinuz root=/dev/hda2 video=vesafb:mtrr,ywrap,pmipal,1024x768-16@60 splash=silent

title=Gentoo Linux 2.6.11-r9-old
root (hd0,1)
kernel /boot/vmlinuz.old root=/dev/hda2 video=vesafb:mtrr,ywrap,pmipal,1024x768-16@60 splash=silent

grub写入mbr的命令如下:
grub> root (hd0,1)
Filesystem type is reiserfs, partition type 0x83

grub> setup (hd0,0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/reiserfs_stage1_5" exists... yes
Running "embed /boot/grub/reiserfs_stage1_5 (hd0,0)"... failed (this is not fatal)
Running "embed /boot/grub/reiserfs_stage1_5 (hd0,1)"... failed (this is not fatal)
Running "install /boot/grub/stage1 (hd0,0) /boot/grub/stage2 p /boot/grub/menu.lst "... succeeded
Done.

grub>

请大人帮助解决,非常感谢!
 楼主| 发表于 2005-8-10 11:10:25 | 显示全部楼层
有人知道吗?
回复 支持 反对

使用道具 举报

发表于 2005-8-10 11:30:48 | 显示全部楼层
title=Windows XP
root (hd0,0)
makeactive
chainloader +1


我的上面没有makeactive这一项
是不是此分区激活的意思啊
回复 支持 反对

使用道具 举报

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

本版积分规则

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