1

I have a server with a SSD and two HDDs. One of the HDD's had a Linux and a Windows partition. After Windows update we couldn't boot Linux anymore. My supervisor was able to somehow restore Linux but in the process he had to destroy the Windows Partition.

Anyway, he wants me to install Windows again over PXE but on the SSD and without overwriting the linux partition.

How can I make sure to install it on the right hard disc and not to overwrite Linux?

Zanna
  • 72,312
Amit
  • 63
  • 4

2 Answers2

1

Perform a Windows install as you normally would. You can do it via your current computer, or put the SSD drive for Windows in a different computer and install it that way.

To install Windows you would have to boot into a Windows Install disk. As long as you choose the SSD for your Windows install, it will only affect the install disk, not your other drives.

If you need help in installing Windows you can use a Windows support site such as http://superuser.com.

After Windows is installed on your SSD drive, boot to Ubuntu with the Windows drive attached. Then run sudo update-grub. This command will add all recognized OS installations to the grub menu, making them selectable during bootup.

Note:

You might also consider detaching your Ubuntu disk during the installation of Windows. This will give you added guarantee that you will install Windows on the intended drive. After you have the working Windows installation, reattach your Ubuntu drive. Be sure to have your Ubuntu drive selective as your boot device in your computer's BIOS.

L. D. James
  • 25,444
0

I'm not sure but you can try to make a partition for linux and windows. Then after the installation of windows, you need to reinstall grub. (Windows override the MBR Grub). Make sure to check if windows override other things.