hi all, after 3 days working, finally solved out. I just wanna do a summary that might help ppl who has the same problem with me.
Just make one thing clear that im just a beginner with linux, and also i hv not used formatting a lot. So what u find i did wrong or there is better way to do that, i'd like to know, and thx for the help.
My problem is i hv a Lenovo ThinkPad T60 laptop with Windows XP home edition originally, when i made it duel boot with Fedora, the installation broken the recovery part of the disk, so i can't recovery from disk to get Windows XP from disk. That why im trying to install the Windows XP from CD. when i boot from CD, it came up with
Windows XP Home Edition Setup
Setup did not find any hard disk drives installed in your computer.
Make sure and hard drives are powered on and properly connected to your computer, and that any disk-related hardware configuration is correct. This may involve running a manufacturer-supplied diagnostic or setup program.
i thought the reason why i was getting the problem was because the type of disk was not compatible with windows, 'cos i think everyone knows that linux system is using EXT2 or EXT3, and windows is using FAT32 or NTFS. So i was trying to format my disk.
There are 3 ways i hv tried to do so:
1, the tool in linux fdisk
it is useful tool, but if u try to format the whole disk, u need a ubuntu live CD, 'cos before u format a disk, u hv to unmount it first, and obviously if u are in the Ubuntu system, u can't unmount the disk which is running Ubuntu.
When u are using live cd to delete the partitions, u will find u can't delete a partition which called 'swap', that is because the swap is used to help running the live cd. Therefore, u hv to delete the swap partition in Ubuntu system, and delete the Ubuntu partition in live CD ( IF U HAVE A VERY SMALL MEMORY, U HV TO BE REALLY CAREFUL THAT IS U DELETE THE SWAP, U WILL GET VERY VERY SLOW WHEN U RUN THE LIVE CD, i hv not tried to install windows when u still get a swap partition in disk.)
2, the command line in linux mkfs
same here , u need live CD, then use the command line 'sudo mkfs.ext3 -L (ur disk label_name) (device name) there are 4 places can be changed,
ext3 can be changed to ext2
-L can be changed ( i don't know others sorry, but search it on some ubuntu forum, there are many answers)
(ur disk label_name) names are really depend to urs, but the main disk which contains ur ubuntu OS may called '/' ( mine is, and always is)
(device name) some forms that like /dev/sda
3, low-level format
it is really powerful tool to delete all things in ur hard driver, ( EVERYTHING ), so be careful to use it. There are many of them, i used the one called DBAN (Darik's Boot And Nuke 1.0.7), download it and burn it on a CD then reboot it ( if u don't hv 2 computers or the one u hv is completely dead, u may need help from ur friends ), there is a tool to burn CD in linux -- K3B
Finally, my solution didn't come up from them. My problem is because my disk has switched to SATA which is a new thing, it has many advances. but my problem just because SATA protect the hard driver from installing windows from CD, when this comes to be ur problem. just swich it to COMPATIBILITY in BOIS.
Appreciate u read all of this
