- 论坛徽章:
- 0
|
本帖最后由 into11 于 2011-08-29 09:02 编辑
之前装ubuntu和xp一直很好,什么问题都没有,不管grub1(在menu.list按照例子添加xp就可以了)还是grub2进XP也没什么问题。这次不知道怎么搞的就进不去了,选择进了XP后就黑屏一个starting up等很久都没反应。跟别提安全模式或者进入上一次正确配置这些东西了。
我这次重装ubuntu之前在XP下用diskgen格式化过那个给ubuntu的分区(那个分区之前也装了ubuntu,我不是覆盖安装,是格了那个盘再安装的),会不会期间把整个硬盘类型给改成HPFS/NTFS导致进不去了?应该不是这个原因吧?
我现在用的grub1.
gedit /boot/grub/menu.lst
###########################
title Windows XP
root (hd0,0)
makeactive
chainloader +1
##########################
现在每次在grub那选择进入xp就黑屏什么也没有。不管我是用grub1还是grub2。
我menu.list是不是跟我fdisk里面的有出入所以那(hd0,0)写错了?
如果是,怎么修改menu.list?有懂fdisk或者grub的牛人来解答一下吗?谢谢!
我fdisk结果如下
~# fdisk -l
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xf71ef71e
Device Boot Start End Blocks Id System
/dev/sda1 * 1 3825 30723808+ 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 3825 10199 51196312 7 HPFS/NTFS
Partition 2 does not end on cylinder boundary.
/dev/sda3 22947 38913 128247840 7 HPFS/NTFS
Partition 3 does not end on cylinder boundary.
/dev/sda4 10199 22947 102398977 5 Extended
/dev/sda5 22689 22947 2073600 82 Linux swap / Solaris
/dev/sda6 22431 22688 2068480 82 Linux swap / Solaris
/dev/sda7 10199 22173 96177152 83 Linux
/dev/sda8 22173 22430 2069504 82 Linux swap / Solaris
Partition table entries are not in disk order |
|