LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   General (https://www.linuxquestions.org/questions/general-10/)
-   -   Windows Reinstallation With Existing Linux partition (https://www.linuxquestions.org/questions/general-10/windows-reinstallation-with-existing-linux-partition-453320/)

soulxcavtor 06-09-2006 09:41 PM

Windows Reinstallation With Existing Linux partition
 
I want to delete my current Windows partition and reformat and put Windows back on. Do I just do this like normal, reformat C: drive then reinstall windows. Will this effect my linux partitions? I want to be sure about how to do this.

What steps do I take? I'm in the dark... Please give me all steps so I can successfully remove and reinstall Windows XP on same harddrive as current Linux installation.

Thanks much

cuschu 06-09-2006 10:42 PM

If you boot from the Windows XP disk and enter the setup, it should give you the option to choose which partition to install on. Choose the one that your current Windows installation is one and reformat it.

gkiagia 06-10-2006 06:23 AM

Quote:

Originally Posted by cuschu
If you boot from the Windows XP disk and enter the setup, it should give you the option to choose which partition to install on. Choose the one that your current Windows installation is one and reformat it.

...but after you reinstall windows, you will probably need to reinstall the bootloader (grub or lilo). So, have with you a live-cd or a grub/lilo boot floppy disk so that you can recover the bootloader. Some distributions also have a repair console, accessible from the installation cd/dvd, which can be used to recover the bootloader.

Personally, I have done this 2 times. Windows installed fine on the partition that I specified on the setup. After the installation, the computer booted directly to windows. So, I used a mepis live-cd to recover grub from the grub command-line.

Warning: When windows prompts you to select a partition, do not choose the partition according to the drive letters. Drive letters may be different during setup! (In fact C: is always mapped to the current active partition on the first hard disk. If you have only one windows installation, drive letters will probably be the same during setup.)
Check partition sizes instead to be sure.

jtshaw 06-11-2006 09:44 PM

Moved: This thread is more suitable in General and has been moved accordingly to help your thread/question get the exposure it deserves.


All times are GMT -5. The time now is 12:27 AM.