Ubuntu: Reinstalling windows while having linux (ubuntu)



Question:

I have installed windows XP and then decided to install Ubuntu. Ubuntu is now set as default OS (it automatically loads Ubuntu).

My question is how can I reinstall Windows XP without removing Ubuntu? Windows XP is installed in separate partition. I am concerned that if I start reinstalling Windows XP, Ubuntu will be deleted.


Solution:1

You'll have to check how your disk is set up. If you don't have any NTFS primary partitions, you'll have to make one (or resize the one with the most free space). Then you install Windows XP on that NTFS partition. Once you've done that, boot into a live system (live DVD, or USB flash drive), then run grub-install During the install, GRUB will detect your Windows and Ubuntu partitions and create entries for both. Afterwards, you can change the configuration of how you want to boot your system (the length of the auto-boot countdown, and what's the first boot option if countdown is reached).


Solution:2

At the disk setup screen when installing Windows you will need to choose the partition where Windows is currently installed and leave the Ubuntu partition(s) alone. Windows will override the grub boot loader. After you install Windows you will need to do as ki2ne suggests: run grub-install from a live Ubuntu CD/DVD/Flash drive.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »