LinuxSir.cn,穿越时空的Linuxsir!

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

请求帮助--关于grub无法引导ntfs分区的问题

[复制链接]
发表于 2005-8-9 14:28:56 | 显示全部楼层 |阅读模式
现在用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-29 00:43:48 | 显示全部楼层
title=Windows XP
root (hd0,0)
makeactive
chainloader +1
我也是让gentoo&XP共存的,改成
chainloader (hd0,0)+1
boot
就可以的了.(PS:在chainloader后面有个空格,然后再接(hd0,0)+1
回复 支持 反对

使用道具 举报

发表于 2005-8-29 11:05:04 | 显示全部楼层
晕,这个2句就够了

rootnoverify (hd0,0)
chainloader +1
回复 支持 反对

使用道具 举报

发表于 2005-8-29 12:11:49 | 显示全部楼层
Yes, here is the item in my grub.conf

# For booting Windows NT or Windows95
title Windows XP Professional
rootnoverify (hd0,0)
makeactive
chainloader  +1
回复 支持 反对

使用道具 举报

发表于 2005-8-29 20:00:30 | 显示全部楼层
纠正:引导Windows的活儿和Grub没有关系。
回复 支持 反对

使用道具 举报

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

本版积分规则

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