Published on
February 4, 2010 at
23:05
There are several ways to setup networking with your ‘Guest’ OS in Virtual Box. Virtual Box defaults to NAT (Network Address Translation) which typically works fine out of the box. However, to make your virtual machine visable to your Host OS or other machines on your network, you need to enable ‘Bridged Networking’ in the ‘Settings’ for your virtual machine. In order for this to work properly you will need a router with DHCP.
First, ‘Start > Run’ type ‘cmd’. Type ‘ipconfig /all’ write down all the information you see, specificially ‘DNS/Name servers’. Then ‘Start menu > Control Panels > Networking Connections’ and Right click on ‘Local Area Connection’ > ‘Properties’. ‘General’ > ‘Internet Protocal (TCP/IP)’ > Properties > ‘Use the following address’. give your Host OS a ’static IP’ (eg~ 192.168.1.2).
Back to Networking Connections, Right-click ‘VirtualBox Host-Only Network’, same thing, except give it an address within the range of the DHCP server on your router (eg~ 192.168.1.102). Now in VirtualBox, select ‘Settings’ and enable ‘Bridged Adapter’ under ‘Network’. Start your VM. You should be able to PING your Guest OS from your Host OS. Install OpenSSH-server on your Guest OS and you can SSH!
Published on
February 4, 2010 at
23:04
Guest Additions is a feature of Virtual Box that allows you to install drivers on the guest OS to help integrate better with your host (XP) OS. Go to [IMPORTANT] http://download.virtualbox.org/virtualbox/ and choose your version number, probably ‘3.1.2′ and download the .iso file.
To install the guest additions, refer to the Virtual Box User Manual (F1). You will need to ’sudo apt-get install dkms’, mount and browse to the CD, and run the installer script. This will install several kernel modules, then you will need to restart the virtual machine. This will enable features such as host-guest file/folder sharing, and host-machine mouse integration. Highly reccomended.
Published on
February 4, 2010 at
22:58
The Ubunutu installer supports many languages. I reccomend installing Ubunutu via Virtual Box. This will allow you to run Ubuntu in Windows XP/Visa/7. At the installer prompt, select the language you want.
A few tips when installing via VirtualBox, since you have already designated ‘Dynmaically expanding storage’ let the Ubuntu installation ‘ Guided partition’ and select the ‘entire hard disk’. It is helpful if you have an internet connection (wired ethernet) because Ubuntu will install packages during the installation. The entire installation should take less than an hour unless your internet connection is slow. If in doubt, press Alt-F4 to switch to the installation details; you can switch back using Alt-F1.
Published on
February 4, 2010 at
22:51
First, you need to install the Virtual Box program. Download the .EXE from VirtualBox.org and follow the on-screen instructions to install. Simple. Now, open the program and click New. This will help you create a new ‘virtual machine’. Enter a name and choose the type of the “guest” operating system: Windows, Linux, Solaris, BSD, IBM OS/2, or Other. (An easy choice for Linux is Ubuntu 9.10, which I highly recommend. See this post for downloading instructions.) Next, I choose 640MB RAM because my computer has 2.5GB installed. For Ubuntu, you will be safe with 384MB but you might want to choose 512MB instead, Next. Choose ‘Create a New Hard disk’, Next. You want ‘Dynamically expanding storage’, Next. Define a location. 8.00GB should be large enough for the hard drive, Next. Finish
You will see the name of your new Virtual Machine on the left-hand list. Select it and click ‘Settings’. CD/DVD-ROM choose ‘Mount CD/DVD Drive’ and ‘ISO Image File’. Browse to where you saved the Ubunutu.iso, OK. Click ‘Start’ from the main menu. This will bring you to the Ubuntu installer.