Remove Linux from your computer and install Windows XP
by RameshKumar[ Edit ] 2008-04-11 17:33:19
In a dual boot system When you remove linux partition using windows / windows diskpart command. sometimes the grub file will get scattered and it will not allow you to boot the system, so i suggest you to remove the partition using fdisk from linux and then install windows.
To remove Linux from your computer and install Windows, follow the steps given below:
a. Remove the partitions used by Linux using fdisk command from linux. Start your computer with the Linux Setup floppy disk, type fdisk -l at the command prompt.
b. It will print the disk details, my system uses /dev/sda
c. Type fdisk /dev/sda at the command prompt.
d. Type m for help
e. Type p at the command prompt, and then press ENTER to display partition information.
f. Type d at the command prompt, and then press ENTER. You are then prompted for the partition number that you want to delete. Type 1, and then press ENTER to delete partition number 1. Repeat this step until you delete all the partitions.
g. Type w, and then press ENTER to write this information to the partition table.
Note: Some error messages may be generated but we don't mind it because we are going to install the new OS(operating system).
h. Type q at the command prompt, and then press ENTER to quit the Fdisk tool.
i. Now insert the bootable Windows XP CD-ROM, and then press CTRL+ALT+DELETE to restart your computer. now you can install Windows from the bootable cd.