Thursday, March 22, 2007

How to remove Linux form Hard disk

1) If you have a Windows XP cd,boot from it and go to the recovery console. Use the command diskpart to delete the Linux partition. Be very careful to pick the correct partitions to delete! I say this because I know Linux creates more than one. Linux partitions appear in Diskpart as "unknown". You can then create a new partition if you wish and then format in the filesystem of your choice, typically ntfs for Windows XP.

2) Another technique: Get Gnome partition editor at http://gparted.sourceforge.net/
and create a cd with the .iso file and boot from it to run it. By the way, you need to have your bios set to boot from cd for these techniques. It's free Open source software with which you can create/remove partions, format in multiple
filesystems, and resize partitions. Of course, this presupposes access to another machine with a cd or dvd burner and cd/dvd burning software. No software? get the iso recorder at http://isorecorder.alexfeinman.com/isorecorder.htm
or cd burner xp pro 3 at http://www.cdburnerxp.se/download.php and both gparted, cd burner xp pro 3, and the iso recorder are all free.


***"But grub is still on my Windows drive!" but not for long; use a Windows XP cd for the recovery console, and use the commands fixboot and fixmbr. Reboot and you should now have no more grub and be relieved to see that Windows Xp logo once again. See http://support.microsoft.com/kb/314058 for the commands.
Hope this helps ;-)

No comments: