|
|
现在用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>
请大人帮助解决,非常感谢! |
|