How To: Setup Ubuntu as a dual boot in Windows 7 box


Can I install Ubuntu in my desktop or laptop without messing my Windows 7 installation? How the dual boot would work? Do I get to choose the operating system before booting starts? A lot of people wondering about this feasibility. To help those and all, this guide provides a detailed step-by-step process with screen shots to achieve a working dual boot box for Ubuntu and Windows 7.
Whether you are in Laptop or a desktop the below process is same. This how-to guide is prepared in a low end desktop keeping in mind all the people who may not have a high end systems available.
So before you start this journey make sure you have these –

a) Ubuntu installation files in a DVD/USB (bootable).
b) A notebook and a pen (really, I mean it 🙂 ).

If you don’t have the disk/USB, go to and download your desired distribution version (*.iso image) and burn it to a disk. I choose Ubuntu 14.04.4 LTS for this how-to guide. I would recommend going for always LTS version aka Long Term Support version because its stable and you always gets periodically updates for a long term. Make sure to choose appropriate architecture while downloading Ubuntu image (*.iso) from above link. If your system is using Intel motherboard, download x86 image and if its AMD go for AMD64 image. If you are not sure about your system, in Windows7, go to START => Computer => Right Click => Properties => Processor (under System)

Step 1:

Open Computer in Windows 7 and note down the drives and their respective sizes.
Typically Windows 7 gets installed in primary partition (C:\). In the beginning of the Ubuntu installation, the installer needs a partition where Ubuntu would be installed. Choose a partition other than C:\ where your Windows 7 is installed. It could be any of your logical partitions D:, E:, F: etc. (Detailed guides in following steps)

Step 2:

Now, before you proceed to the next step, decide which drive to install Ubuntu and make sure you backup all your data from that drive because Ubuntu installer will format that drive before installation.

Step 3:

Put your Ubuntu installation disk in disk drive / plug in USB stick and reboot your PC to boot from your disk/USB.
Make sure you have made your disk drive or USB as a first boot device in your BIOS.

Step 4:

If everything is fine till now, Ubuntu installation should start and you would see a nice Ubuntu logo like this –


Wait for 1 or 2 minutes depending on your system configuration till the installer loads. Once you see below window, click Install Ubuntu. Lets go for it.

Step 5:

If you have an active INTERNET connection, wifi or wired, the installer itself would try to connect, but I would recommend leave the INTERNET for now and Press continue in this screen.

2 select_connection

Step 6:

In the installation type screen, the installer would find how many OS is installed in your box and depending on it, it would give you options to choose. Lets choose option “Something Else” which would guide you to find out a partition OR create a partition in your HDD (Hard Disk Drive) and start installation.

4 install type

In the next screen, you would be shown with the entire partition table of your HDD. The HDD itself named by Ubuntu as /dev/sda and all partitions are named sequentially as sda1, sda2 etc. As the Windows system uses FAT32 and NTFS file systems, you can easily understand which are your Windows drives are. If  you still not sure which are your Windows drives, match the sizes that you wrote down on Step 1.

5 partition table

Step 7:

Select a partition where you want Ubuntu to be installed and click Change.

6 select ext part

Step 8:

In the EDIT PARTITION window put the desired size of your partition, it would be defaulted with the existing size.
Select: USE AS – Ext 4 file system
Check the ‘format the partition’ checkbox.
Select: Mount Point as “/” from drop down.
Press OK.
If you want to create a swap partition, reduce the size of your swap partition and put it in the size text box. 500MB to 1GB should be fine for a swap parition.

7 edit ext partition

Step 9:

If you want to create a swap partition, select the unused spaces (usually shown as ‘unknown’ and click change.
Put the size that you reduced in the Size text box.
Select: Use as ‘Swap Area’
Press OK.

9 swap

Step 10:

If you made this far, your screen should be look like similar to this –
Press Continue.

8 ext part done

Step 11:

Your installation should be started and you would see the world map. Point using mouse your location, it would auto detect based on your click, choose a location.
Press Continue.

10 select loc

Step 12:

Choose your desired Keyboard layout and language. Press continue.

11 sel lang

Step 13:

In next screen, provide your name, computer name and user name and a password. This user name and password would be needed while logging into Ubuntu after installation is complete.
Note: The user also would be assigned as administrator user and the password you provide here would be used to perform tasks those needs admin privileges.
Press Continue.

12 account info

Step 14:

Your installation would start. Please wait until it finishes. Typically it would take around 10 to 15 minutes depending on your system.

13 install

Step 15:

When installation is complete, it would show you below message. Click Restart Now.
During restart process, the disk drive should eject, remove the disk; You should also remove the USB stick.

14 finish

Step 16:

If everything works fine, you would see GRUB loader with your both Windows and Ubuntu in the menu.
Choose your desire OS and go!

15 grub

I hope this detailed description helped you to setup a dual OS box. If you face any problem during installation or stuck, don’t forget to drop a comment here. Thanks for reading.

You may also like...

  • Sumanthatluri Chinni

    sorry for this this is really disgusting.

  • I was looking for a guide to help me permanently switch from Win 7 to Ubuntu. Thanks a lot for a detailed post.

Translate »