Running Ubuntu on Windows 7

I) OS virtualization

Create a platform that emulates a hardware platform and allow multiple instances of an OS to use that platform, as though they have full and exclusive access to the underlying hardware

II) Need a virtualization software

Only virtualization software can “imitate” the hardware.  It manages the Virtual Machines, so we normally call it virtual machine manager.

Examples
– VMWare ESX
– Microsoft HyperV
– Oracle VirtualBox

III) Downloads
a) VirtualBox (https://www.virtualbox.org/wiki/Downloads)
b) Ubuntu ISO (http://www.ubuntu.com/download/desktop)

VI) Procedure
a) Checking if virtualization is supported/enabled
Check out Microsoft® Hardware-Assisted Virtualization Detection Tool
http://www.microsoft.com/en-in/download/details.aspx?id=592

The Hardware-assisted virtualization (HAV) detection tool checks if the computer processor supports HAV and if this setting is enabled. If not enabled, Follow the next step, else proceed to install.

b) Enabling virtualization extensions in BIOS (Reference System – T420)

Reboot the computer and open the system’s BIOS menu. This can usually be done by pressing the delete key, the F1 key or Alt and F4 keys or ThinkAdvantage Blue key + F1 or depending on the system.

Note: Many of the steps below may vary depending on your motherboard, processor type, chipset and OEM. Refer to your system’s accompanying documentation for the correct information on configuring your system.

Open the Security Tab and select Virtualization in the submenu.
Enable Intel Virtualization Technology (also known as Intel VT-x) and AMD-V extensions.
Select Save & Exit.
Reboot the machine.

c) Install Virtual PC

Run the downloaded setup and follow the instructions as on the wizard.

d) Installing Ubuntu as a Virtual Machine

Create a new Virtual machine using Machine>New menu option and follow the on screen wizard.

Once the VM for Ubuntu is created, Start the VM and select the Downloaded Ubuntu ISO when prompt

Detailed instruction can be found at http://www.psychocats.net/ubuntu/virtualbox

Once install is complete, do install guest additions from Device menu. This will ensure seamless sharing of keyboard, mouse, clipboard, etc between Windows and the VM.

VI) Hacks

Following Hacks are recommended to make it sharp at the edges

a) Network Settings for VM

Perform the following Network settings for VM

Power down the Ubuntu VM if it is running (Shutdown recommended)

Open the Settings (Machine > Settings menu options) and select Network section

Enable Adapter 1 and Adapter 2 and let both the Adapters be as Bridged Adapter (Select from Drop Down – Attached to)

Select two different Windows Network adapters from the Name drop down

Now the settings should look like Adapter #1 = Enabled, Attached to = Bridged Adapter, Name = Intel(R) 82579LM Gigabit Network Connection and Adapter #2 = Enabled, Attached to = Bridged Adapter, Name = Intel(R) Centrino(R) Advanced-N 6205

b) Disabling Network Interface on Windows

For some reason, VirtualBox Host-Only Network Interface created in Windows must be disabled. To disable, Open Control Panel\Network and Internet\Network Connections in Windows and disable “VirtualBox Host-Only Network” (Right click and select Disable option)

References

http://sce.umkc.edu/~cotterr/cs431_sp13/CS431_Virtualization_12_bw.ppt

Damn Small Linux – http://www.damnsmalllinux.org/

 

Thanks and Comment below so that others can know what do you think.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s