Okay folks, this little challenge has got me scratching my head, especially as I am not a Linux user.
I need to deploy Windows Server 2008 R2 onto a server that is currently running Linux. Effectively, I want to restore a Windows disk image onto the Linux system hard disk.
Here's the catch - I don't have physical access to the machine, so I need to find a way to do everything remotely, using SSH (no KVM). And the Linux machine only has one hard disk - the one containing the OS. However, I might be able to create a partition in free space at the end of the hard disk to store the image (I might need some help with the Linux commands). Or perhaps the image file can be pulled via FTP.
I tried Acronis but was disappointed to find that it doesn't seem to allow me to overwrite the system partition (unlike the Windows version of Acronis, which is capable of doing this with a restart).
Any ideas? Are there any other utilities that might be able to do this? Something that could be programmed to run at boot-time?
===
@ Mugen (I have also edited my question): The server is running CentOS 5. I effectively have SSH access only. The hard disk is 100Gb but because the server is a VM it can be extended dynamically, giving us additional free space to play with. The Windows image can be prepared to suit as I will be imaging a local VM, so I can use any suitable tool to make the disk image. The image will probably end up around 5Gb or less. Please let me know if you need more info and thanks for your help.
===
@ Jakub: sadly no KVM access!