Practical No.:2: Aim: Installation Process of Operating System (Dual Boot Mode)
Practical No.:2: Aim: Installation Process of Operating System (Dual Boot Mode)
Practical No.:2: Aim: Installation Process of Operating System (Dual Boot Mode)
Practical No. :2
Dual Boot: A dual boot system is a computer system in which two operating systems are
installed on the same hard drive, allowing either operating system to be loaded and given control.
When you turn the computer on, a boot manager program displays a menu, allowing you to
choose the operating system you wish to use.
It is always nice to make a back up, just in case if you mess up with the system. There
are numerous articles on the web to show you how to backup your system.
The next thing you need to do is to create a live USB or disk. I recommend Universal
USB Installer to create a live USB of Linux OS in Windows.
Assuming tat you have a fresh system, the first thing we need to do is to make
a partition to install Linux. The 256 GB in my system was already had several
partitions from manufacturer but mainly for backup and other purposes. Main partition
was C drive, of around 220 GB, where Windows 8.1 was installed.
If you have just one partition like this, you need to make some free space out of it for
Linux. If you have several partitions of considerable size, use any of them except C
drive because it may erase the data.
10
UID: 15BCS1065 Date: 04/08/2017
In the Disk Management tool, right click on the dri ve which you want to partition and
select shrink volume. In my case, I shrank the C drive to make some free space:
11
UID: 15BCS1065 Date: 04/08/2017
Windows 8 introduced a new feature called fast startup for quick boot. While it is
not mandatory, it would be better to have it disabled.
Go to Control Panel > Hardware and Sound > Power Options> System
Settings > Choose what the power buttons do and uncheck the Turn on fast startup
box.
This is the most important step. The new secure boot feature of Windows 8,
originally intended for security feature for rootkit viruses, prevents dual booting of
Windows with Linux. To dual boot Windows 8 with Linux, we must disable secure
boot in UEFI.
Once you have disabled secure boot, its time to install Ubuntu. I hope you already
created the live USB as mentioned in step 2. Plug in the USB and boot the system
from it.To boot from USB, will have to choose boot from USB option from within
Windows itself. Either with PC Setting (like for UEFI) or pressing shift key while
clicking on Restart.Once you have booted in the live USB, you will be presented with
option to try or install Ubuntu. Click on install. Yo u will be presented with few screen
options to choose the language. It will then do some checks on available space, power
and internet connection etc. Just click on Continue.
12
UID: 15BCS1065 Date: 04/08/2017
The main screen which you should pay attention to is Installation Type.
Choose Something else here:
Remember we had created some free space beforehand? We shall use the free space to
create Root, Swap and Home. Select the free space and click on the + sign.
13
UID: 15BCS1065 Date: 04/08/2017
It will provide you with option to create Linux partition. We are creating the Root
partition. Any thing between 10-20 GB is more than sufficient for it. Choose the size,
select Ext 4 as file type and / (means root) as the mount point.
Clicking on OK in previous step will bring you to the partition screen. Next we will
create swap. Like previously, click on the + sign again. This time use the file type as
Swap area. Suggestible swap size is double of RAM.
14
UID: 15BCS1065 Date: 04/08/2017
In similar fashion, create a Home partition. Allocate it maximum space (in fact
allocate it rest of the free space) because this is where youll save music, pictures and
downloaded files.
Once you are ready with Root, Swap and Home, click on Install Now:
15
UID: 15BCS1065 Date: 04/08/2017
Well, you have almost won the battle. You can smell victory now. Next you will be
asked to set username password etc. Basically, you just need to click next now.
Once the installation is completed, restart the computer, you should be welcomed by a
purple grub screen. Enjoy Ubuntu along with Windows 10 in dual boot mode.
Note: If after installing Ubuntu, you boot directly in Windows, check in UEFI settings
for changing the boot order. If you see no option to set the boot to Ubuntu, you need
to fix it from within Windows. When you are in Windows desktop, hover the mouse in
left corner, right click and select administrators command prompt. Then run the
following command:
I hope this guide helped you to dual boot Ubuntu with Windows 10 UEFI. If you
want to reverse the process, follow this guide to remove Ubuntu from dual boot with
Windows. Though this article is written for Ubuntu, it should be helpful for other
Linux OS as well. Any questions or suggestions are always welcomed.
16
UID: 15BCS1065 Date: 04/08/2017
17