I just did this on my father's computer. It takes two steps.
WARNING: Any changes to the partition structure can cause permanent damage to your data. Continue at your own risk.
1. Remove the Ubuntu partitions (EXT3 and SWAP) and resize the Windows partition (NTFS) to use that space.
To do this, you can follow the blog post I made which uses the Gparted LiveCD. The NTFS partition is Windows, and the EXT3 and SWAP partitions were created by Ubuntu.
2. Fix the MBR (Master Boot Record) so that Windows will boot, instead of GRUB.
Boot from the Windows XP CD.
Rress the "R" key in the setup to start the restoration console.
Select your windows XP installation from the list, and enter the administrator password.
Enter the command: "FIXMBR" (without the quotes) at the input prompt and confirm the next question with a "Y" (without the quotes).
Use exit to restore the computer.
If you do not have your Windows XP cd, then you can use the SuperGrub LiveCD to fix your MBR.
http://supergrub.forjamari.linex.org/
Another option is to boot to a floppy and use "FDISK.EXE /MBR", but the first two options are much better. Good luck!
Yes, you can revert a dual-boot
I just did this on my father's computer. It takes two steps.
WARNING: Any changes to the partition structure can cause permanent damage to your data. Continue at your own risk.
1. Remove the Ubuntu partitions (EXT3 and SWAP) and resize the Windows partition (NTFS) to use that space.
To do this, you can follow the blog post I made which uses the Gparted LiveCD. The NTFS partition is Windows, and the EXT3 and SWAP partitions were created by Ubuntu.
http://useopensource.blogspot.com/2006/12/easy-way-to-resize-hard-drive.html
2. Fix the MBR (Master Boot Record) so that Windows will boot, instead of GRUB.
Boot from the Windows XP CD.
Rress the "R" key in the setup to start the restoration console.
Select your windows XP installation from the list, and enter the administrator password.
Enter the command: "FIXMBR" (without the quotes) at the input prompt and confirm the next question with a "Y" (without the quotes).
Use exit to restore the computer.
If you do not have your Windows XP cd, then you can use the SuperGrub LiveCD to fix your MBR.
http://supergrub.forjamari.linex.org/
Another option is to boot to a floppy and use "FDISK.EXE /MBR", but the first two options are much better. Good luck!
Tristan Rhodes
http://useopensource.blogspot.com