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.

Possible Duplicate:
Install windows 7 through virtual box in ubuntu 12.04

I have just installed Ubuntu 12.04 and Virtualbox. I am new to Virtualbox and I am stuck on how to put on windows 7 on it.

I don't get how to do: CD/DVD Drive.

share|improve this question

marked as duplicate by Takkat, Ringtail, Tom Brossman, Eliah Kagan, LnxSlck Oct 28 '12 at 20:22

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2  
Do you have a legal ISO or a disk from where to install Windows from? –  Bruno Pereira Oct 27 '12 at 19:58
    
No I don't, why? –  luke Oct 27 '12 at 20:36
1  
@luke, you will need a Legal Windows ISO or DVD and a Windows license to run Windows in VirtualBox, just like on a physical machine. –  Jayson Rowe Oct 27 '12 at 21:15

3 Answers 3

up vote 6 down vote accepted

Follow the steps given below;

  • Open virtual box from unity dash.
  • Once the virtual box window comes up, click on "New"

  • Give a name for your OS, preferably "windows 7". It should automatically change the version to "windows 7". Click Next.

  • Select a memory size, preferably "1024 MB" . Click Next.

  • Choose the hard drive. Select "create a virtual hard drive now". Click Next.

  • Choose hard drive file type. I personally prefer "VDI" or "VMDK". Click Next.

  • Choose the storage type on physical hard drive. I prefer "Dynamically allocated". Click Next.

  • In file location n size choose the defaults. Click Next.

  • Now it'll show you in the oracle VM virtual box manager.

  • Now click on START.

  • Choose the boot medium either CD/DVD ROM(which is default) or browse to an iso file.

From then onwards its just like installing on a physical machine.

share|improve this answer
    
Thanks that worked –  luke Oct 27 '12 at 20:36
    
But do you need a blank CD/DVD or a windows CD? –  luke Oct 27 '12 at 20:39
    
You'll need a windows CD –  linuxandunix Oct 27 '12 at 21:40

First make a new machine with your desired settings. Then boot the empty machine, open up Devices -> CD / DVD Devices and select your DVD drive with the disk in it. If you need more help let me know.

http://i46.tinypic.com/2eam25w.jpg

share|improve this answer
    
what do you mean? –  luke Oct 27 '12 at 19:59
    
@luke: I presume he means just what he said. Which part are you having difficulty with? –  Keith Thompson Oct 27 '12 at 20:04
    
Where is devices, because I can't see it. –  luke Oct 27 '12 at 20:09
    
@luke have you made a new machine yet? –  bntser Oct 27 '12 at 20:12
    
Yes I have, I am on Ubuntu 12.04 –  luke Oct 27 '12 at 20:38

In Virtualbox, after you have setup the machine you have two options.

  1. Use your host DVD drive and put Windows 7 DVD in the drive

  2. Use an .iso image as your boot DVD

enter image description here

I usually use an .iso image, but if you have a DVD that is just as easy. Just use 'Host Drive..."

share|improve this answer
    
Thanks for your help –  luke Oct 27 '12 at 20:36

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