Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

How to install a Windows XP or Windows Server 2003 virtual machine on a remote Ubuntu server by command line?

Also, please advise what virtualization software is best for this kind of job?

share|improve this question
1  
Please be more specific, what virtualization software are you using? –  Nick Kavadias Oct 27 '09 at 3:13

1 Answer 1

up vote 2 down vote accepted

This assumes you are using VirtualBox, which is free and available for Linux as well as other operating systems:

Create the virtual machine on another computer first, and install windows the normal way. Once the virtual machine is configured the way you want it, transfer the virtual disk image to the remote ubuntu machine.

Once you have the image in place, you can control virtualbox from a command line using the VBoxManage command. For example, to start a VM called "WinXP" you issue a command like:

$ VBoxManage startvm "WinXP" -type vrdp.

share|improve this answer
    
Does the computer on which WinXP is installed need to be exactly same in configs as the remote server? –  jack Oct 27 '09 at 7:20
    
@jack - no: the virtual machine handles that level of abstraction for you –  warren Oct 27 '09 at 7:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.