How to install windows alongside Ubuntu?
I have 2 partitions (c: and d:) and on my D: partition is Ubuntu... how can I install new Windows on my C: partition...?
I think I have to change pre-install task of creating a partition so it doesn't delete entire disk but only use my C: partition... Any suggestions?
Community Chosen Answer
installation is not the problem. You are right, you need to simply format the C partition.
the diskpart script should look like:
select disk 0
select partition 1
FORMAT FS=NTFS LABEL="Windows Volume" QUICK
The main issue will be:
Windows will overwrite the MBR so your GRUB is not starting anymore which means, you can start Windows but not Linux anymore but Linux still resides on your hard disk!
Solution would be:
1. you restore grub (boot live linux, change to the kernel on your "d"-Partition and restore grub
2. you update the windows bootloader with bcdedit to enable the Linux boot from here:
http://www.icpug.org.uk/national/linnwin/step2-7.htm should be able to help you to create the correct post install task
Microsoft said in former times:
Multiboot? First install the outdated OS then the modern OS (they meant: at first Win98 then XP in that time I read this suggestion)
So simply install Windows first, Linux second ;)