现在我已经用 FC2启动盘进入 linux 修复了 grub 变回原来开始时候的样子了xp进不去了,不过我已经备分了 mrb 把 fdisk 和 grub 放上来给大家看先。
Disk /dev/hda: 7510 MB, 7510164480 bytes
15 heads, 63 sectors/track, 15522 cylinders
Units = cylinders of 945 * 512 = 483840 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 6512 3076888+ 1c Hidden W95 FAT32 (LBA)
/dev/hda2 6513 15520 4256280 5 Extended
/dev/hda5 6513 15520 4256248+ b W95 FAT32
Disk /dev/hdb: 7510 MB, 7510164480 bytes
15 heads, 63 sectors/track, 15522 cylinders
Units = cylinders of 945 * 512 = 483840 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 217 102501 83 Linux
/dev/hdb2 218 1327 524475 92 Unknown
/dev/hdb3 1328 15522 6707137+ 83 Linux
grub.conf
# 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 (hd1,0)
# kernel /vmlinuz-version ro root=/dev/hdb3
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
title Fedora Core (2.6.5-1.358)
root (hd1,0)
kernel /vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.5-1.358.img
title windows XP
map (hd1)(hd0)
map (hd0)(hd1)
rootnoverify (hd0,0)
chainloader (hd0,0)+1
makeactive
boot
其中 map (hd1) (hd0)
map (hd0) (hd1)
这两行我上下换过 map (hd0) (hd1)
map (hd1) (hd0)
但 grub 把这些行都执行完了还是不行。
现在我再试试 你们上面的方法 |