Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have an issue, we are moving to a production build server now. I need a virtual machine up and running on my Ubuntu 10.10 server edition. I have to setup and install various tool and plugins, on this windows 7 virtual machine as well

The problem I am facing is how do I install windows 7 on this machine ( ubuntu 10.10 server) also, how am i supposed to gain access to it in order to install tools that are required on it.

I would prefer virtual box as my tool of choice.

Please and thank you.

share|improve this question
    
@fluteflute thanks for the edit. :) –  myusuf3 Dec 22 '10 at 16:35

1 Answer 1

up vote 3 down vote accepted

If I understand you correctly the problem is likely that you lack the VirtualBox GUI.

VirtualBox has a quite powerful command line. You can create your machine with:

VBoxManage createvm Name

You will need to use

VBoxManage modifyvm options

to configure the machine. You can create a virtual hd with:

VBoxManage createhd

You can read the manual online. It's very complete and there are even more options than using the GUI.

First, you can't use the .deb file, because it will bring Qt and all it's dependencies with it. You should use some of the alternative install options.

Finally, configure VBox virtual CD to use a Windows.iso or the server real CD and start the machine with:

VBoxHeadless -s MachieName

This will start the machine and listen for RDP connections on port 3389 (default). Just use rdesktop or a similar software from your desktop to connect to it and do all the windows install stuff.

share|improve this answer
    
@javier i looked into installing vbox, i got various options, which one is the correct one, for ubuntu server –  myusuf3 Dec 22 '10 at 17:48
    
Oh, yes. You will need to use the alternative installer as the deb depends on qt. It's a pity, as adding the official repo is quite a better solution. Install DKMS before, or you are going to have fun after a kernel update. –  Javier Rivera Dec 22 '10 at 17:55
    
@Javier, can I get the instructions for that or least a link for them stuff :) I would like to not break the production server. –  myusuf3 Dec 22 '10 at 18:22
    
It's on the manual link on the answer. virtualbox.org/manual/ch02.html#id438708. –  Javier Rivera Dec 22 '10 at 18:37
    
Be careful with the online manual, looks like some parts are updated for the version 4, for example, they talk about expansion packs. VBox 4 is right now in beta, and I'm expecting more restrictive licensing from oracle. If you doubt download the pdf version, I hope that it isn't autogenerated from the html. –  Javier Rivera Dec 22 '10 at 18:40

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.