How To: Install Windows 7 on VirtualBox 2.1 – Fix Sound, Video and Network adapter

On my previous blog posts, I covered the installation of VirtualBox 2.1 and I went over the step-by-steps to create a virtual machine to host Windows 7.

I will now go over the details of fixing the sound, video and network adapter.

If you go to Start > Right-click on My Computer > Manage (or run mmc), then you will get the content management window. You should notice that two devices are not properly installed (Base System Device, Ethernet Controller).

image

Mount Guest Additions

  1. On the VirtualBox machine window, in the menu bar:
    Click Devices > Install Guest Additions…
    image
  2. The AutoPlay window should open to prompt you to run or open.
    Click on Open/View files to specify yourself what to run. You can access using windows explorer the D drive.
    image
  3. Right-click the VBoxWindowsAdditions file and choose properties.
  4. In the Properties window, go to the Compatibility tab. Check the Run this program in compatibility mode for box, and choose Windows Vista in the box below it.
    You can check if you want “Run the program as an administrator”.
    Click OK.
    image
  5. Double-click the VBoxWindowsAdditions file to run it as an administrator.
    image
    Click Yes.
  6. If you have nothing happening, make sure to maximize the VirtualBox Guest Additions 2.1.0 Setup window.
    image

Guest Additions Installation Wizard

  1. Start the set up.
    image
    Click Next.
  2. License Agreement.
    image
    Click I Agree.
  3. Install Location.
    image
    Click Install.
  4. Installation starts.
    image
  5. After a few seconds, you’ll be asked if you want to install the Sun display drivers. Select the check box to trust software from “Sun Microsystems, Inc.”.
    image
    Click Install.
  6. Once the installation is finished, your computer must be restarted in order to complete the installation.
    image
    Click on Reboot now and Finish.
  7. You should now be able to use your Virtual Machine in Full Screen mode (Right Ctrl + F).

Install Network and Sound devices

  1. Click on Start > Shutdown
    image
  2. On the VirtualBox Manager window, right-click on the virtual machine > Settings.
    image
  3. On the Settings window, click on Network.
    Change the Adapter Type from PCnet-FAST III to Intel PRO/1000 MT Desktop (82540EM) image
  4. On the Settings window, click on Audio.
    Check Enable Audio.
    In Host Audio Driver, change from “Null Audio Driver” to “Windows DirectSound” (you may have something else there)
    In Audio Controller, select ICH AC97 or any other controller available.
    image
    Click OK.
  5. Start your virtual machine with Window 7.
  6. You should see a pop-up showing that Windows 7 has found some hardware and has installed the drivers.
    image
    Make sure to install the audio drivers
    Make sure to go to My Computer > Right-click on Manage > Systems Tools > Device Manager.
    Under Sound, video and graphic, right-click on the Multimedia Audio Controller > Properties.
    Go on the Driver tab and
    image
    Click Update Driver…
    Select Search automatically for updated driver software
    The system should start installing driver software…
    image
    You should now have your sound installed.
    image
    Click Close.
    In your device manager window, you should see listed your audio controller.
    image
    Reboot your virtual machine to complete installation.
  7. You are now done installing Windows 7. 7 for 7.
  8. You can open your internet explorer 8 Beta and have fun with it. 8 for 8.
    image

Note

  • Windows 7 Beta expires August 2009.
  • Activate Windows if you want to use it more than 30 days. You can run the activation process by searching for ‘Activate Windows’ on the Start Menu.

See Also

Technorati Tags: ,

I am a Software Engineer with over 9 years of experience in Web and Client Server Solutions specializing in .NET solutions using C#, VB.Net and ASP.net. I am a Microsoft Certified Professional bilingual English and French who is energetic, a hard worker and a fast learner. As team player or on my own, I can work without supervision to develop quality software and focus and prioritize my ideas effectively. I continually strive to become a true expert in the fast moving software development industry.