在安装8.04的时候我记得是将grub选择安装在了(hd0,0)
Ubuntu使用正常,但是在启动时选择进XP却进不去了
显示grub loading stage2 然后一闪而过就跳回那个选择系统的界面了
后来从网上看了些东西,在menu.lst中加上了
title Windows XP
root (hd0,0)
makeactive
chainloader +1
结果现在进去的时候显示
“GRUB”
然后就停住了
请问这个怎么解决阿?
下面是sudo fdisk -l得到的
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb25fb25f
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1912 15358108+ 7 HPFS/NTFS
/dev/sda2 1913 4523 20972857+ 7 HPFS/NTFS
/dev/sda3 4524 9729 41817195 f W95 Ext'd (LBA)
/dev/sda5 4524 7134 20972826 7 HPFS/NTFS
/dev/sda6 7135 9729 20844306 7 HPFS/NTFS
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x9836edb7
Device Boot Start End Blocks Id System
/dev/sdb1 1 2614 20996923+ 5 Extended
/dev/sdb2 2615 5222 20947109 c W95 FAT32 (LBA)
Partition 2 does not end on cylinder boundary.
/dev/sdb3 * 5222 9139 31464953+ 7 HPFS/NTFS
/dev/sdb4 9140 9729 4739175 c W95 FAT32 (LBA)
/dev/sdb5 1 124 995967 82 Linux swap / Solaris
/dev/sdb6 125 2614 20000893+ 83 Linux
装ubuntu8.04时手动安装的grub结果不能进XP了,怎么回事?
-
- 帖子: 5
- 注册时间: 2008-10-20 19:37
- HuntXu
- 帖子: 5776
- 注册时间: 2007-09-29 3:09
-
- 帖子: 5
- 注册时间: 2008-10-20 19:37
Re: 装ubuntu8.04时手动安装的grub结果不能进XP了,怎么回事?
我第一块硬盘是笔记本上的
第二块是移动硬盘
XP装在第一块的C盘上
Ubuntu装在移动硬盘上
以前用7.04的时候都是选择默认的grub安装地址
使用没有问题
现在这次就不行了
第二块是移动硬盘
XP装在第一块的C盘上
Ubuntu装在移动硬盘上
以前用7.04的时候都是选择默认的grub安装地址
使用没有问题
现在这次就不行了
- HuntXu
- 帖子: 5776
- 注册时间: 2007-09-29 3:09
-
- 帖子: 5
- 注册时间: 2008-10-20 19:37
Re: 装ubuntu8.04时手动安装的grub结果不能进XP了,怎么回事?
你的意思是说把root (hd0,0) 改成root (hd0,1)?HuntXu 写了:那也是(hd0,1)啊...
我试过了,但是启动进入的时候显示:
NTLDR is missing
-
- 帖子: 5
- 注册时间: 2008-10-20 19:37
Re: 装ubuntu8.04时手动安装的grub结果不能进XP了,怎么回事?
现在在Linux下直接看不到C盘了
damn it
damn it
- HuntXu
- 帖子: 5776
- 注册时间: 2007-09-29 3:09
Re: 装ubuntu8.04时手动安装的grub结果不能进XP了,怎么回事?
把那行root改成:(不知是否区分大小写,注意空格)
find /ntldr --set-root
find /ntldr --set-root
HUNT Unfortunately No Talent...
- ptptptptptpt
- 帖子: 3711
- 注册时间: 2006-09-19 18:16
Re: 装ubuntu8.04时手动安装的grub结果不能进XP了,怎么回事?
拔掉移动硬盘;恢复 内置硬盘 mbr ,启动win ;再设法启动移动硬盘上的ubuntu
-
- 帖子: 5
- 注册时间: 2008-10-20 19:37
Re: 装ubuntu8.04时手动安装的grub结果不能进XP了,怎么回事?
恩,谢谢拉~ptptptptptpt 写了:拔掉移动硬盘;恢复 内置硬盘 mbr ,启动win ;再设法启动移动硬盘上的ubuntu
fixmbr
fixboot
搞定~~