How to install Windows 7 inside Virtualbox of Ubuntu?

I have already dual systems : Windows 7 and Ubuntu installed on my laptop. The Windows 7 had been installed when I bought this laptop, and I don't have a CD.

I just installed VitrualBox under Ubuntu, hoping that I could install another Windows in this virtual machine, so that I could run some applications of Windows even under Ubuntu.

But it seems that I need a CD or ISO of Windows to boot inside this virtual machine. Otherwise, there is an error: FATAL: No bootable medium found! System halted. My question is where I could find a CD or ISO?

At the moment, I am downloading ISO from this page, but do not know if it will work. By the way, I am not sure if I should pick the 32-bit or 64-bit? As my CPU is 64-bit but my Ubuntu is i386.

Could anyone help? Thank you very much.


Solution 1:

Yes, you need an ISO or cd of the os that you want to install inside the virtualbox.

VirtualBox supports 64-bit guest operating systems, even on 32-bit host operating systems, provided that the following conditions are met:

  • You need a 64-bit processor with hardware virtualization support .
  • You must enable hardware virtualization for the particular VM for which you want 64-bit support; software virtualization is not supported for 64-bit VMs.

  • If you want to use 64-bit guest support on a 32-bit host operating system, you must also select a 64-bit operating system for the particular VM. Since supporting 64 bits on 32-bit hosts incurs additional overhead, VirtualBox only enables this support upon explicit request.

    Read more here: http://www.virtualbox.org/manual/ch03.html#intro-64bitguests

  • Solution 2:

    If your aim is to run just a few windows apps under ubuntu, take a look at the wine project. http://www.winehq.org/

    When you boot the VM for the first time, it should ask you the details of installation media.. Select your downloaded iso file, and it should work great. If you have a cd, select your cd drive there.Virtualbox first-run wizard.

    Solution 3:

    In theory you could do a physical to virtual conversion of your existing windows installation although it's not something I've tried using virtualbox. These instructions claim they should work with win7 http://www.virtualbox.org/wiki/Migrate_Windows