help!! install xp after ubuntu installation

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
hdwkboy
帖子: 16
注册时间: 2007-04-21 18:46

help!! install xp after ubuntu installation

#1

帖子 hdwkboy » 2008-08-14 21:52

i post this topic use the ubuntu live cd, not having Chinese input method, so sorry for using English.
my problem is i have to return back to xp for some reason, but every time after the xp installation copies the files, the pc can't reboot(i have deleted ubuntu). i tried to repair xp and fixmbr, no lucky! can anyone help me? thanks very much! my pc is ACER 5720G(7500,2G ram, ati2600)!

wait online!
头像
Nile
帖子: 990
注册时间: 2006-07-15 11:20
来自: 枫叶刀市

#2

帖子 Nile » 2008-08-14 21:58

貌似和ub没什么关系

以前装xp没事吗?
会不会是SATA的问题?

reboot失败总有些提示吧
Thinkpad T400
hdwkboy
帖子: 16
注册时间: 2007-04-21 18:46

#3

帖子 hdwkboy » 2008-08-14 22:01

firstly i also thought so. the information is invalid partion, maybe i need to reformat the whole disk? i have chosen th disk to ide mode! oh my god!!! my so much documents!!!!
头像
nsnl
帖子: 450
注册时间: 2006-11-18 18:52

#4

帖子 nsnl » 2008-08-14 22:05

mbr信息的问题
和grub相关的东西就是头疼
期待高人来解说吧
论坛里好像有帖子说这个的
--
先保存grub内容
然后去掉grub,从xp启动
然后导入保存的grub,添加xp启动分区
好像是这样吧,有点忘了
上次由 nsnl 在 2008-08-14 22:10,总共编辑 1 次。
头像
Nile
帖子: 990
注册时间: 2006-07-15 11:20
来自: 枫叶刀市

#5

帖子 Nile » 2008-08-14 22:08

没有道理呀

如果是分区表坏了,重装win时会重写mbr和安装分区的分区表,只要不是物理损坏就不应该出问题

检查一下你的活动分区,估计指的不是xp分区。
Thinkpad T400
hdwkboy
帖子: 16
注册时间: 2007-04-21 18:46

#6

帖子 hdwkboy » 2008-08-14 22:09

LS( an :D)'s answer is my idea. I don't confirm grub removed or not, need expert to help me. but I used the "fixmbr" command, no reaction! any other idea??

wait online, lucky to have live cd, love ubuntu. but I have to return to xp(vbox is OK, but not so comfortable).

检查一下-----"你"(what's this)的活动分区,估计指的不是xp分区。??? :)
上次由 hdwkboy 在 2008-08-14 22:11,总共编辑 1 次。
头像
Nile
帖子: 990
注册时间: 2006-07-15 11:20
来自: 枫叶刀市

#7

帖子 Nile » 2008-08-14 22:10

sudo fdisk -l

try.
Thinkpad T400
hdwkboy
帖子: 16
注册时间: 2007-04-21 18:46

#8

帖子 hdwkboy » 2008-08-14 22:11

ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0a91567b

Device Boot Start End Blocks Id System
/dev/sda1 * 1 19456 156280288+ f W95 Ext'd (LBA)
/dev/sda2 * 5974 10836 39062016 7 HPFS/NTFS
/dev/sda5 1 3187 25599514+ e W95 FAT16 (LBA)
/dev/sda6 3188 5973 22378513+ e W95 FAT16 (LBA)
/dev/sda7 10837 19456 69240118+ 7 HPFS/NTFS


I'm not good at the disk partion, my major is telecommunication. :(
上次由 hdwkboy 在 2008-08-14 22:14,总共编辑 1 次。
头像
alanking
帖子: 45
注册时间: 2007-08-25 21:29

#9

帖子 alanking » 2008-08-14 22:14

我以前在有UBUNTU之后从新安装XP后,没有GRUB的引导,因为XP从装,所以默认是直接进入XP的!

后来我用CD只安装了GRUB之后 引导菜单出现了,你是这种情况么?
因为没有Money去购买杀毒软件,所以装了Ubuntu!
加油阿,什么时候因为Money去购买杀毒软件在Linux上用,在转回到不用杀毒软件的Windows上去!

Eerything For Free
hdwkboy
帖子: 16
注册时间: 2007-04-21 18:46

#10

帖子 hdwkboy » 2008-08-14 22:16

no, i have deleted ubuntu, then xp copies the installation files and reboots to the boot screen, it appears invalid partion information
头像
Nile
帖子: 990
注册时间: 2006-07-15 11:20
来自: 枫叶刀市

#11

帖子 Nile » 2008-08-14 22:19

hdwkboy 写了:ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0a91567b

Device Boot Start End Blocks Id System
/dev/sda1 * 1 19456 156280288+ f W95 Ext'd (LBA)
/dev/sda2 * 5974 10836 39062016 7 HPFS/NTFS
/dev/sda5 1 3187 25599514+ e W95 FAT16 (LBA)
/dev/sda6 3188 5973 22378513+ e W95 FAT16 (LBA)
/dev/sda7 10837 19456 69240118+ 7 HPFS/NTFS


I'm not good at the disk partion, my major is telecommunication. :(

你怎么有2个boot分区,用fdisk把sda2的boot去掉。
Thinkpad T400
hdwkboy
帖子: 16
注册时间: 2007-04-21 18:46

#12

帖子 hdwkboy » 2008-08-14 22:26

sorry, the command format is? i'm not assure about the format! i need to keep my documents, so afraid of my error, i am fresh! :? maybe the reason is I tried to install xp on two disks. so to boot??
上次由 hdwkboy 在 2008-08-14 22:31,总共编辑 1 次。
头像
Nile
帖子: 990
注册时间: 2006-07-15 11:20
来自: 枫叶刀市

#13

帖子 Nile » 2008-08-14 22:30

代码: 全选

sudo fdisk /dev/sda

记住
a 翻转boot符号
w 写入分区
就行了

按h 是帮助
很容易看懂

记住翻转后要用w写入

然后再sudo fdisk -l看看效果

不过前提是你的xp要装在sda1
Thinkpad T400
头像
20sanguo
帖子: 794
注册时间: 2008-05-10 9:53

#14

帖子 20sanguo » 2008-08-14 22:32

用livecd里的gparted搞,可能直观些,应该不用格式化
hdwkboy
帖子: 16
注册时间: 2007-04-21 18:46

#15

帖子 hdwkboy » 2008-08-14 22:33

thank you, I'll have a try now!
回复