How to Install Ubuntu 15.04 Along With Windows 8 (Dual Boot)


Hey Guys!

In my last article shown you How to install LAMP stack with easy steps. Today I would like to write about “How to install Ubuntu 15.04 along with Windows 8”. Recently I was trying to make my system dual boot (Ubuntu 15.04 alongside Windows 8), I have faced couple of issue before I am successful. It is not anymore that easy to install Ubuntu 14.10/ 15.04 alongside Windows 8, earlier we were able to install directly using WUBI installer. I thought I can post steps here, so that it will also help others. If you have Windows 8 pre-installed, you may find difficult to install Ubuntu or any other OS alongside. Microsoft has introduced several new features which made a mess for Linux based operating system. Windows 8 introduced UEFI and secure booting which is preventing any other operating system to install. UEFI is basically similar as BIOS booting.

You should know that until UEFI mode and secure booting is enabled you cannot directly boot/use Ubuntu. Installing Ubuntu inside Windows using WUBI is not supported in Windows 8.

Here I am posting some steps as I followed towards successful Ubuntu installation alongside Windows 8.

You might also be interested on reading “Installing LAMP stack on Ubuntu 15.04”

Step 1: Download Ubuntu ISO File

Download Ubuntu from the website. Make sure you are downloading 64 bit, 32 bit may not work. In my case I have downloaded 64 bit version.

Step 2: Use Universal Installer to Install Ubuntu

Make sure you have space least 10 GB in separate drive. In my case I have created a drive with 100GB for Ubuntu installation. Burn the Ubuntu into Live CD, DVD or USB in windows. I have used USB drive to boot Ubuntu. Download USB installer and install it. Browse downloaded Ubuntu ISO as below screenshot below.

Choose USB drive and click create to install Ubuntu into your USB drive.

Step 3: Disable Fast Startup (Windows 8 or 8+)

This technique introduced in Windows 8 to reduce booting time. When we shut down our Windows 8 system, it use hibernate concept to write some system data from RAM to disk. Doing this when next time windows boot it restore the data faster. By this way Windows 8 manage to boot in 10 seconds on SSD. This is creating a problem for Ubuntu or any other operating system installation process.

So it’s important to disable Fast Startup in Windows 8 / 8.1 before installing Ubuntu.

Go to Power option and click on the “Choose What Power buttons do” link from left menu. You will be landed on screenshot below.

Click on the highlighted link “Change settings that are currently unavailable” to change settings and uncheck “Turn on fast startup” screenshot below.

That’s it well good to go for installation process.

Step4: Disable Secure Boot

Next important thing is to disable secure boot. You can go to boot manager from BIOS (By Pressing ESC/Delete or F1-F12 keys) setup when system starts, In my case I pressed ESC to go to “BIOS settings” from there “boot manager” in that section you also will find “Secure Boot” make sure it is disabled. Windows 8 has UEFI design which is replacement of BIOS.

Save changes and we are ready to install Ubuntu now.

Step 5: How to Install Ubuntu 15.04

Install Using USB drive

Plug in USB drive into your system and restart. When you restart system you will find screen to “Try Ubuntu” and “Install Ubuntu”. Click on “Try Ubuntu” as this helps to check your hardware compatibility. You will login into Ubuntu and see screen below.

Click “Install Ubuntu 15.04” highlighted above. This is lead you to installation process.

Select Installation Type:

On the “Installation type” screen you need to select “Something else” as we are going to make “Duel Boot” with Windows, screenshot below.

Select appropriate drive to install. Before pressing next button remember to format drive using “change” button and it should be “Ext4” file system. Mounting point should be “/” as it will install Ubuntu into that primary drive. Screenshot below.

That’s all we are done with main job, now you need to do regional, language, account settings etc. for successful installation. Wait till process completes and it will ask to restart, do restart.

First Time Ubuntu Booting:

Remove USB and after system restart, you will see screen below where you need to select Ubuntu to boot.

Boot Repair

Some time you may not see the above screen and Ubuntu may directly boot. I was facing the same issue. If you don't see screen prompting you to choose which Operating system to use “Windows 8” or “Ubuntu” you need to execute below command from Ubuntu Terminal to enable GRUB window on startup.

 sudo apt-get update
 sudo apt-get upgrade
 sudo add-apt-repository ppa:yannubuntu/boot-repair
 sudo apt-get update
 sudo apt-get install -y boot-repair && boot-repair

Above command will repair boot screen issue. Restart the system. You will be able to see screen where you can choose “Windows” or “Ubuntu” to boot.

Step 6:

That's all we are done. Enjoy the Linux flavor alongside Windows.


Setting up Ubuntu 15.04 alongside Windows 8 for open source development is little challenging but following above steps you can easily achieve it. I faced couple of issue before successfully installation. Don’t wonder if Ubuntu installed drive is missing in Windows 8 “This PC”, it won’t display since the drive is “ext4” formatted for Ubuntu installation.

I hope this tutorial will help you. If useful please share, leave comments below. I will continue writing and try to bring some tutorial of real time challenges.

Stay Tuned! Have a nice day.

Installing LAMP Stack In Ubuntu Step By Step


Hey Guys!

Last article was “5 Best things you should know about PHP7”. If you are planning for PHP based development I would definitely recommend you to go for Linux based environment. I personally like the Ubuntu flavor. It is really developer friendly and power of terminal enable you the development much enjoyable. LAMP stack is combination of all open source software which helps to make dynamic web applications. This article can be considered as beginner article with LAMP stack.

The word LAMP is an acronym of Linux, Apache, Mysql, PHP / Python / Perl, combination of all first character. You might have used WAMP, XAMPP and most probably if you are looking for same bundle software in LINUX, than you can make use of tasksel to enable all features together. There are many tutorials around guide you to install LAMP stack but if you are not willing to run many commands and installing separately software than solution here.

This step by step process assumes that you have already Ubuntu installed in your machine.

You might also be interested on reading “How to Install Ubuntu 15.04 Along With Windows 8 (Dual Boot)”

3 Easiest Ways to install LAMP:

There are there different ways you can easily install LAMP server on Ubuntu as below.

• Using Tasksel GUI

• Using Single Line Tasksel Command

Using XAMPP bundle software

Step by Step Procedure:

Step1: Update Ubuntu:

Once you have Ubuntu installed, make sure everything up to date. You can update / upgrade Ubuntu by issuing below commands.

sudo apt-get update

sudo apt-get upgrade

Step2: Opening Tasksel Interface:

Our next step is to install tasksel which enable you to install LAMP stack bundle software. Generally many people do install all software separately. In this article I will show you how you can save time simply using apachefriends project or simple command to wrap up all together. Open your terminal and type below command to open tasksel.

sudo tasksel

Step3: Select LAMP Server:

Once you enter the above command you can see the window as below.

Select LAMP server by pressing space and tab to select “ok” to start installation process.

Step4: Setting Mysql Password:

When the process will prompt you to set new password for mysql server, type and confirm the password again and hit ok.

The installation process will continue as below screen.

• Using Single Line Tasksel Command:

You can also install the same using single line of command by issuing below command from your terminal window.

sudo tasksel install lamp-server

To make sure PHP running fine we will create a file called info.php into the /var/www/ directory. Paste below code into it.


Now go to browser and enter http://localhost/info.php

That's all. You are done.


Hope this article helpful to guide you step by step LAMP stack installation on Ubuntu. Feel free to share or like us on facebook/ google plus. Keep visiting.

Have a nice day.

Follow Us On Facebook Open Source Web Developers by Appsntech facebook group Twitter Open Source Web Developers by Appsntech twitter group Google+ Open Source Web Developers by Appsntech Google group Linkedin Open Source Web Developers by Appsntech, LinkedIn group
Copyright @2011-2015 All rights reserved. Powered By- Sanjoy Dey Productions