Install Ubuntu with windows 7 using Virtual Box.

Install Ubuntu in Windows 7 using Virtual Box.

Hi… Friends many times we feel to install the latest available operating system but we have one problem that we don’t want to lose the previous one….
one option is to use dual boot and install two operating system side by side but that runs down the performance poorly.. so I have come to you with new idea.
My already installed OS is Windows 7 and we are going to install Ubuntu as our second OS.
 
Requirements:
b. If you don’t have image file(.iso) of second OS you  need to install then download image file of that     operating system you need to install. To download Ubuntu image
e.g Here my host operating system is Windows 7 and we are installing Ubuntu.
Steps 1:Installing Virtual Box and going inside
After you launch Virtual Box from Windows start menu,click on New to create a new virtual machine.
when the New Virtual Machine Wizard appears,click on Next.
http://www.askfortricks.com/2014/04/how-to-install-two-operating-systems-in-a-single-pc-using-virtual-box/

install-two-operating-systems-in-a-single-pc-using-virtual-box step 1

Step 2: Give your machine a name. If you are installing Ubuntu, it makes sense to call it Ubuntu.
Select your Operating System (Linux) and version(Ubuntu) as shown below:
virtual box Step2

virtual box Step 2

Step 3: Allocating RAM to your virtual machine.
Virtual Box will automatically guess how much of your primary memory(or RAM) to allocate for the virtual machine. If you have 1 GB or less RAM, then its better you go with recommendation.
But if you have 2 GB of RAM, 512 MB is fine to allocate.In the same way If you have 4 GB of RAM, you can allocate 1 GB.
If you are confused with how much RAM you need to allocate then leave the default recommendation and click NEXT.
Virtual Box Step 3

Virtual Box Step 3

Step 4 : Creating Virtual hard disk
 
You need to create new hard disk if you are  first time using Virtual Box and Click NEXT.
Virtual Box Step 4a

 Step 4a

virtual box Step4b

Step 4b

Click NEXT again.

Step 5 : Select Virtual disk storage details

Vitual Box Step 5

Virtual Box Step 5

Explanation: A dynamically expanding virtual hard drive is best, because it will take up only that much space what you actually use.

Opposite to this Fixed storage allocates fixed memory.
Step 6: Select Virtual disk file location and size
 
In the location part click the browse button and select different location if you want to change the location of virtual image file.Here if you plan to install some software later in Ubuntu then choose more space ,overall installation of Ubuntu will be less than  3 GB.(Here default 8 GB is recommended).Click NEXT

Virtual Box Step 6

Click Create to create virtual disk after you get same details like in the screenshot.
After that You will see something like this and wait for the virtual hard drive to be created.

 

Virtual Box Progress

Virtual Box Progress

Step 7: Perform the steps given in the screenshot below

The next thing we need to do is to make the(blank) virtual hard drive useful is to add the downloaded Ubuntu disk image(.iso) file boot on your virtual machine.

Click on Settings and then  Storage.Then, under CD/DVD Device,next to Empty, you will see a little folder icon.Just click on that:

Virtual Box Step 7

Virtual Box Step 7

Step 8: Give location of Ubuntu Image File

Now you have to select location of where you have put your downloaded “Ubuntu.iso” file

Once you click OPEN just click on OK.

Step 8 a

Step 8 a

Once you click OPEN just click on OK.
http://www.askfortricks.com/wp-content/uploads/2017/09/image012.jpg/Step 8b

Step 8b

Then double click on your virtual machine to start it up.
Step 9: Entering Inside Machine
 
Now you will see some warnings or instructions about how to operate guest operating system within Virtual Box. Read those once and then mark not to see those again.
Step 9

Step 9

Now you can wait for some time for Ubuntu to boot up
ubuntu boot up

Ubuntu boot up

Step 10: Ready to Install Ubuntu

We are ready to go ahead with installation of Ubuntu just like we are doing on some physical machine.
There will be no changes in installation procedures in virtual machine also.
ubuntu set up

Ubuntu set up

Step 11: Last and Important step to remember and take care
After you installed Ubuntu,in order to use your virtualized installation(instead of continually booting from that image file),double check that the CD/DVD Device entry is empty again.

last step

Clear your iso image location.

In the same way you can create multiple virtual machines if you have enough RAM and hard disk available to you and also you can add any other OS as a guest operating system by following the same steps.
 
I hope this post will be useful to you.

Ravi Yadav is an Android developer whose passion is to develop Android applications and sharing his work. He loves to post  the tutorials which he created while learning any new latest technology topic.He loves to share about the latest technology happenings and other tricks that will be helpful for readers of Askfortricks.