|
发表于 2009-9-2 18:04:24
|
显示全部楼层
我也遇到了与楼主相似的问题。在一次系统安装之后grub读出来的windows不能引导,提示未发现系统。
执行 sudo fdisk -l:
graycyl@linux:~$ sudo fdisk -l
Disk /dev/hdc: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0a960a95
Device Boot Start End Blocks Id System
/dev/hdc1 1 979 7863786 7 HPFS/NTFS
/dev/hdc2 * 980 1283 2441880 83 Linux
/dev/hdc3 1284 30401 233890335 5 Extended
/dev/hdc5 1284 1465 1461883+ 82 Linux swap / Solaris
......
但是在grub中是这样的(grub.cfg):
set root=(hd0,2)
#boot linux
menuentry "Debian GNU/Linux, linux 2.6.26-2-686" {
set root=(hd0,2)
.....
}
#boot windows
menuentry "Microsoft Windows XP Professional" {
set root=(hd0,1)
.....
}
看到了,分区顺序不是从(hd0,0)开始的。 |
|