I have Windows XP n Linux both on the same hard disk.. now i want to remove Linux.. how to do this?

In: Linux

Answer

You'll need:

1. A windows98 boot disc (or windows xp recovery console) 2. A non-destuctive partition editor, such as partition magic or acronis disc suite (both for windows, not free, may not work, I lean toward Acronis) or Gparted (free, live-cd, I will explain the process using gparted, but they are all basically the same).

Steps:

1. Make sure you have a windows98 boot disc or windows xp recovery console (I'll explain both), THIS IS CRUCIAL! (My mom thinks linux is evil because I didn't have either).

2. After backing up really important data (only if you have any ;) ), boot from the gparted live-cd.

3. If everything works correctly you should have a screen with a multi-colored bar representing your harddrive and all partitions on it (if it's all grey, you need to select your harddrive from a drop down menu)

4. Select your linux partition (HINT: it's probly formated in ext2 or ext3) from the bar and delete it (don't worry if you mess up, it hasn't been deleted yet). Do the same thing with the linux-swap and extended partition.

5. Now everything the bar should be grey EXEPT for your windows partition (usually colored cyan). Make sure it's there, if it's not, hit the back arrow.

6. If everything looks good (and I mean EVERYTHING), apply your settings.

7. If you want to resize your windows partition you may want to do it now. Otherwise reboot and......NOTHING! GRUB ERROR! WHAT THE HELL IS THAT! WHAT AM I SUPPOSED TO DO NOW! (thats what happened to me)

8. If you're dumb like I was, call tech support and grovel, otherwise boot up your trusty win98 cd and enter the command "fdisk /mbr" (no quotes don't forget the space)

-or-

Go into your winxp recovery console and type the command "fixmbr"

9. If all went well, good times will be had by all. And if you used the win98 boot disk KEEP IT, those things are worth thier weight in gold! As an IT guy, this is by far, my greatest tool EVER, and in some cases, the PERFECT GIFT!

Answer

Or you can just go to your fdisk command or whatever the NTFS command is and delete the ext3 partitions and leave the NTFS

Improve Answer View existing comments for "I have Windows XP n Linux both on the same hard disk.. now i want to remove Linux.. how to do this?" Watch Question

First answer by Cliffgnu. Last edit by Hated. Contributor trust: 14 [recommend contributor]. Question popularity: 23 [recommend question]


Research your answer:

Answers.com > Wiki Answers > Categories > Technology > Computers > Computer Software and Applications > Operating Systems > Linux > I have Windows XP n Linux both on the same hard disk.. now i want to remove Linux.. how to do this?

Our contributors said this page should be displayed for the questions below. (Where do these come from)
If any of these are not a genuine rephrasing of the question, please help out and edit these alternates.
Windows on linux?  What is the linux?  How does Linux look?  Windows xp Vs LINUX?  Comands used in linux?  Partitioning in linux?  Distributors of linux?  Whos the maker of linux?  What is a backend in linux?  What is linux configuration?  How do you partitian a linux?  How do you put xp on a linux?  What is the GROUP ID the linux?  How do you dual boot XP and Linux?  Different betweeen windows and linux?  Patition creating for linux instalation?  What kind of pc should you buy for linux?  Can windows programs be loaded onto linux?  What is different between windows and Linux?  2 systems windows xp and linux on 1 hard drive?