NEWS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
Home / News / Linux / Ubuntu Tips and Tricks

Ubuntu Tips and Tricks


Ubuntu, Windows and VirtualBox equals Power in Your Hands

Run Windows on Linux with VirtualBox

By Marius Nestor, Linux Editor

27th of February 2007, 21:58 GMT

Adjust text size:


Now, before asking yourselves "Why in the world should I install Windows on Linux?", think about the cases when you need both of them for your business. Either you develop websites and you must test them for your clients on every possible browser out there or you are a software developer and you need to test your application on both operating systems, and let's say you can't afford to buy two PCs or you don't have the space to have two machines in your home, then this is the perfect method in order to have Linux and Windows at the same time on the same PC. I've tested the method below for a couple of weeks now, so I can assure you this is by far the most fast, powerful, simple and low-cost method you’re gonna find.

Things you’re gonna need:

1. Ubuntu Edgy (6.10) Linux
2. Windows XP
3. VirtualBox
4. At least 1 GB RAM

I am not gonna teach you guys how to install Ubuntu in this guide. However, the installation of Ubuntu is a very easy and straightforward task, so let's start with the installation of VirtualBox. VirtualBox by InnoTek is an extremely feature rich, high performance product for enterprise customers, and it is also the only professional solution that is freely available as Open Source Software under the terms of the GNU Public License (GPL).

Step 1 - Install VirtualBox

Download the VirtualBox .deb file for Ubuntu Edgy, from here. After the download has finished, install the file like this:

Open a console and type...

CODE
sudo apt-get install libxalan110 libxerces27
sudo dpkg -i VirtualBox_1.3.6_Ubuntu_edgy_i386.deb

Step 2 - Configure VirtualBox

This is a very important part of the entire process, because you'll not be able to use VirtualBox and you will have no idea why. When the installation is over, VirtualBox kernel module will start and it will let you know that you must be part of the vboxusers group in order to use the virtual machine. To achieve this task, type the following command in the console:

CODE
sudo usermod -G vboxusers -a

Note: Replace < userid > with your user name (e.g. sudo usermod -G vboxusers -a marius).

Now logout, log back in and you'll be able to use VirtualBox.

Step 3 - Setup a VM (virtual machine)

This is a wizard based task and very easy to achieve. To help you create a virtual machine for the Windows XP operating system you’re gonna install, I've made some screenshots, please check them out below. However, I strongly suggest putting around 512 RAM for the virtual machine and creating a 3.5 GB hard disk image.
Review imageReview imageReview imageReview image

Review imageReview imageReview imageReview image


Step 4 - Install Windows XP

After you've created the virtual machine, you'll see on the main window of VirtualBox, the settings of this VM. First of all, click on "General" option and enhance the Video Memory to 32 MB, then click on "Audio" and select "OSS Audio Driver". Now, click on "CD/DVD-ROM" option and check the box where it says "Mount CD/DVD Drive" and select the first option "Host CD/DVD Drive", then click OK to close the settings window. Put the Windows XP CD into your CD/DVD-ROM drive and click on the Start button, in order to start the virtual machine and to install Windows XP.

I am also not gonna teach you how to install Windows XP in this guide, I think you know why. When the Windows XP installation is over, you can remove the CD from your optical drive and you can safely use Windows on Linux.

Step 5 - Some little tricks

Tip 1: When you are in the virtual Windows XP machine for the first time, I suggest you go to "Devices -> Install Guest Additions..." and follow the installation wizard in order to have a virtual graphics driver that will enable video resolutions up to 6400 x 1200 pixels and a very nice feature called Mouse Integration, which works like this: when you move the mouse pointer into the virtual machine zone, you can work there and when you exit, you can use the Linux system; so no need to press a key or a combination of keys to release the mouse from the virtual machine, like in other VMs.

Tip 2: If you set the Windows XP resolution to 1280x1024 (like your Linux resolution; maybe some of you still have 1024x768 or other resolution) and hit the Right CTRL + F key combination, you will have Windows XP exactly like on a real PC. Please check the screenshots below for a better understanding.
Review imageReview imageReview imageReview image
Read by 27,705 user(s) | Add comment | Link to this article TWEET THIS


Article rating:
Good (3.3/5) 16 vote(s)    

Subscribe to news | Print article | Send to friend

© Copyright 2001-2009 Softpedia
Contact:

 

 

SEARCH THE NEWS ARCHIVE :




Today's News
| Yesterday's News | News Archive


MORE RELATED ARTICLES:


Install Nvidia and ATI Video Drivers on Ubuntu Edgy

Installing NTFS Write Support on Fedora/Ubuntu

Dual Boot Ubuntu and Windows

Install OpenOffice.org 2.1 in Ubuntu/Kubuntu

Install Kickoff KDE Menu in Kubuntu/Ubuntu

Debian/Ubuntu Windows Installer

Ubuntu Multimedia Center

User opinions:


Comment #1 by: mopepom on 28 Jul 2008, 22:32 GMT reply to this comment

I really like the clarity of your tutorial. Very Good.

Is there a mirror image of this?

i.e. Windows, VirtualBox and Ubuntu - how to use Ubuntu as a subsystem of your Windows XP operating environment.

Potentially there are many users of XP who would like to get into the linux world, without "selling the farm and moving out".

Comment #1.1 by: Shashank on 13 Aug 2008, 23:57 GMT

> Is there a mirror image of this?

Download and install virtual box. Then download the Ubuntu ISO.
Start Virtual box and create a new Virtual Machine. Once you've done that, go to the settings of the virtual machine, and go to CD/DVD-ROM. Check Mount CD/DVD Drive and click on the ISO Image file (if you have an ubuntu CD you would go to Host CD/DVD Drive and select the drive where your ubuntu cd is). Find the .iso file that you downloaded and click OK. Now start the virtual machine and Ubuntu installer will boot up. Rest of the process is elementary.

Share your opinion:

Your Name:
Your Email Address:
(will not be used for commercial purposes)
Solve this to prove you're not a bot: =
Your review/opinion:

 




Windows tabGames tabDrivers tabMac tabLinux tabScripts tabMobile tabHandheld tabGadgets tabNews tab

SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   ENTER NEWS SITE   |   ENGLISH BOARD   |   ROMANIAN FORUM