Installing Ubuntu | Linux Chapters
Welcome again so you have decided to learn Linux and utilize its power to serve your needs.
Here I’ll help you installing Ubuntu (recommended) but you can install any other Linux distros/flavors you like.
I’ll be working throughout the series on Ubuntu. So, I’ll recommend installing Ubuntu as to be on same side.
We can either install Linux on:
- Our external hard disk along with windows,
- Have a clean install or
- For learning purposes we can install it virtually using virtual box/ VM ware (recommended) on our host OS i.e Windows/ Mac.
I recommend installing Linux on our host OS virtually because even if you make any mistakes which we are most likely to do during our learning process then also we are playing in a sandbox and not disturbing our host OS i.e. windows/Mac and its other partitions. In this way our data/files is safe for us to play around freely and learn without having fear of losing our precious data.
So lets get Started.
Now as the Virtual box is installed open it and you will see something like this as welcome screen.
Step 3: click on new button and enter details – Ubuntu- 64bit in my case and hit Next.
Step 4: Set Memory size as 1024 MB or less if you are having less RAM.
Step 5: Select create virtual drive –> VDI (Virtual Disk Image) –> Dynamically Allocated.
Step 6: Select Disk space 8 GB in my case and hit create.
Congrats you have created your virtual hard drive to install Ubuntu.
Step 7: Now right click on newly created Ubuntu VDI and select Settings. you will get something like this:
- Select storage from left and click empty as highlighted Blue and then click small CD icon highlighted Red.
- Select “Choose a virtual CD/DVD disk file” option from drop down menu.
- Browse and select ubuntu iso image file you downloaded earlier.
Hit OK and start your VDI – Virtual Disk Image.
A new screen will come up for Ubuntu Installation
Step 8: Select Install Ubuntu.
I don’t want to download anything now so continue.
Here if you want to do a clean install then select “Erase Disk and install Ubuntu” option.
But as we are here to learn so we’ll select “Something else” as option this will help us understanding Ubuntu installation more clearly.
Double Click on “dev/sda” and you will be prompted with warning hit continue and proceed ahead.
Double click on free space and here we’ll be creating 3 partitions
- Partition 1: ‘/’ as root
- Partition 2: ‘/home’ as home
- Partition 3: swap area (generally double of RAM size).
I will allocate 5GB = 5 * 1024 = 5120 MB’s as my primary ‘/’ i.e. root partition. – Partition 1: ‘/’ as root and hit OK.
As we can see our root partition is now created. Now let’s proceed creating others.
I will allocate 2.5GB = 2.5 * 1024 = 2560 MB’s as my primary ‘/home’ i.e. home partition. – Partition 2: ‘/home’ as home and Hit OK.
Now finally, I will allocate remaining space = 910 MB’s as my swap partition. – Partition 3: swap
By this time our partition Table should look same as here below.
boot loader Installation default is ‘/dev/sda’ don’t change until you specifically want to do alteration for boot loader installation hence, proceed with defaults and Hit install now.
Hit Continue if prompted and Boom installation will start. Fill the details like username & password in meanwhile if asked.
Now as Ubuntu is installed by now just remove the mount image by going to Settings -> storage -> click on CD icon and select remove disk from virtual drive.
Restart and now Ubuntu is up and running. 🙂
Also, you may be facing problem of resolution then just insert Guest additions CD Image from devices menu and once done power off quit virtual-Box and then start Ubuntu again.
Great That’s it. You have now successfully installed Ubuntu linux.
Now explore its features i am sure you will love it.
Once Done have a break you earned it. 🙂
Meet you in the next chapter.