Many people want to try Linux. Most of us use Operating systems like Microsoft Windows as they come pre installed on our machines. Linux is a open source operating system which is not exactly user friendly, but it has its own advantages. We will show you how to Install Ubuntu in this small guide.
If you want to try out a distribution of Linux then you can follow the instructions from below. None of your data will be lost nor will your computer run into a problem. The thing that stops most of us from trying out a different operating system is that we fear loss of data in case our PC runs into some problem.
When you install a operating system in a virtual machine, Multiple operating systems can co exist in the same machine isolated from each other. We will show you how to Install Ubuntu on a Virtual Machine. Ubuntu is a distribution of Linux.
1.Turn on Virtualization
First of all you need to find whether hardware virtualization is enabled on your machine. If you have not enabled it from your BIOS or UEFI settings then you might get this error
If you have a Intel Processor, Then you need to know that Intel VT-x is disabled by default while AMD-V is enabled by default on AMD processors. This means, If you have a AMD processor then you might not need this step.
2.Install Virtual Box
It is a simple installation wizard which you need to follow.
Click on ‘Next’
Again click on ‘Next’ and click on ‘Yes’ after the next dialog box.
Virtual Box has been installed on your computer. Now we will create a new Virtual Machine and Install Ubuntu in it.
3. Setting up Virtual Box
This is how Virtual Box looks like when you launch it.
Click on the Blue button on the top left of the screen to create a new virtual machine.
Set the type to ‘Linux’ and choose the appropriate version according to the distribution you are installing. Click on Next.
4. Allocating RAM for your Virtual Machine
We have to allocate RAM to our Virtual Machine. You can choose this number as per your specifications. 2 gb RAM would be ideal. Ensure that you have enough RAM for your Windows system to function properly.
5. Creating a Virtual Hard disk
In the next tab, Set the Radio button at ‘Create a virtual hard disk now’ and click on ‘Create’
Then select ‘VDI (VirtualBox Disk Image) and then Click on ‘Next’
You will be greeted by this screen. If storage space is not much of a issue then we recommend you to set it at ‘Dynamically Allocated’. If you have limited storage space then go with ‘Fixed Size’
Select the size of the Virtual Machine. If you are a beginner and are installing it just to get a taste of Linux then it is fine to keep it at 10gb. We recommend to set it at 20gb. Click on ‘Create’ after choosing size
6. Powering up the Virtual Machine
This will be the screen in front of you. Power on the machine by clicking on the Green arrow
It will prompt you to select the startup disk. Click on the icon to the right and navigate to the Ubuntu ISO you had downloaded from the links given above. Click on ‘Start’
This screen will ensure that the ISO you have chosen is working and not a damaged or corrupted file.
Here onwards you have to select all preferences. There is a option to try out Ubuntu before installing it. If you are completely new and impatient too then you can select that option and wander a bit in the Ubuntu environment!
Click on that ‘Install Ubuntu’ button on the right after selecting the language of your preference.
You can tick the ‘Download updates while Installing Ubuntu’ option if you have a fast and reliable internet connection. Else keep it unchecked. Same with the other check box.
Click on ‘Continue’
As we are instaplling Ubuntu in a Virtual environment, It is prompting that ‘The computer has no detected operating systems’.
Keep the radio button on ‘Erase disk and Install Ubuntu’ and click on ‘Install now’
Just click on ‘Continue’
Select your location. This will help Ubuntu to choose closely located servers to download updates
Choose your preferred keyboard layout.
Enter your details along with a root password. Click on ‘Continue’
The Installation process will start. Wait for some time. It might take upto 30 minutes.
This is how it looks like!
You have successfully Installed Ubuntu on your Windows computer in a Virtual Machine.
If you have any questions or suggestions then please drop them in the comments below.