Ubuntu Dual Boot Guide
Ubuntu Dual Boot Guide
Ubuntu Dual Boot Guide
boot Ubuntu 14.04 with Windows 10 and Windows 8:
There are various prerequisites to install Ubuntu on a UEFI system. Let’s see them one by one:
Step 1: Make a backup
It is always nice to make a backup, just in case if you mess up with the system. There are
numerous articles on the web to show you how to backup your files.
Step 2: Create a live USB/disk of Ubuntu
The next thing you need to do is to create a live USB or disk. Recommend Universal USB
Installer
to create a live USB of Linux OS in Windows.(Hopefully you all must have it!)
The easiest way to put Ubuntu onto your stick is to use the USB installer provided at
pendrivelinux.com . You’ll need to
download and install and follow the instructions.
Download Pen Drive Linux's USB Installer ›
Step 1: Select 'Ubuntu' from the dropdown list.
Step 2: Click
'Browse'
and open the downloaded ISO file
Step 3: Choose the USB drive and click
'Create'
.
Step 3: Make a partition where Ubuntu will be installed
The first thing we need to do is to make partition to install Linux. If you have just one partition,
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.
To make a partition in Windows 8, go to Disk Management tool. You can find disk management
tool by searching for ‘disk’ in Control Panel.
In the Disk Management tool, right click on the drive which you want to partition and select
shrink volume .
Step 4: Disable fast startup in Windows [optional]
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.
Remember to click on ‘Change Settings that are currently not available’.
Step 6: Clearing GPT and making it only MBR
Run this command in your Linux terminal: sudo gdisk l /dev/sda
Ideal output, will probably not require fixparts
Expected output, requires fixparts
After checking the output, run the command: fixparts /dev/sda
press w on MBR command
For emergency reference:
transcript
.
Step 7: Installing Ubuntu alongside Windows 10, 8.1
Once you have disabled secure boot, it’s 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. You 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 .
The main screen which you should pay attention to is Installation Type . Choose
Something
else here:
Use the free space to create Root, Swap and Home. Select the free space and click on the +
sign.
It will provide you with option to create Linux partition. We are creating the Root partition. Atleast
100Gb is required for it. Choose the size, select Ext 4 as file type and / (means root) as the
mount point. (Make all your partitions logical)
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 that is 8gb.
Once you are ready with Root, Swap and Home, click on
Install 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 8 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 administrator’s command prompt. Then run the following command:
bcdedit /set "{bootmgr}" path \EFI\ubuntu\grubx64.efi
This should make the Grub default and hence you can access both Ubuntu and Windows from
it.
For people who do not get an “Enable WiFi” option in your dropdown menu from the bar on top
of your screen, one of your friends (thank Ronald Das) has made this handy blogpost on how
to get rid of your problems. Do follow it, and get him and me a cup of noodles if it works. If it
doesn’t, you don’t know me, but have his name ;p