How to Install Ubuntu

Ubuntu is an operating system with Linux kernel based on Debian and distributed as free and open source software. It’s one of the most popular operating systems for Desktop and Server. Also Ubuntu runs on phones.

In this page I’ll give you a step by step guide for beginners how to install Ubuntu separately or alongside with any other os (such as Windows 7). This works on Ubuntu 12.04 LTS and higher.

Preparation:

Get started:

1.) Insert the Ubuntu CD or USB to your Computer and boot up. You need to set it boot first in BIOS.

2.) When you’re brought into Ubuntu Live System with Installation Wizard (You may click the Install icon on desktop), choose your language and click “Install Ubuntu” button.

Install_ubuntu

3.) If you have internet connected, you can check “Downloads update while installing” and “install this third-part software” but it takes time. Skip them and you can install after Ubuntu installation.

Install-Ubuntu-1

4.) At this step you have a few choices:

  • Erase all data on your device and install only Ubuntu system on it. This makes only one partition on your disk for Ubuntu. This is a good choice for installing Ubuntu Guest using VirtualBox or Vmware.
  • Install Ubuntu alongside Windows7 or something else. non-windows7 partition will be erased for Ubuntu.
  • Something else. Choose this one, if you want to manually partition your hard disk.

Ubuntu-Installation-type

5.) If you chose “Something Else” in previous, you’ll get following partition table. In the picture /dev/sda is my hard drive. If you have other drives, it will be shown as /dev/sdb, /dev/sdc, and so on.

For Ubuntu installation, you need:

  • Primary partition use as Ext4, mount point “/” (without quotes)
  • Logical partition use as Swap. For laptops with high RAM and would like be able to hibernate the computer, set the swap size as much as RAM.

Note that under “Device for boot loader installation”:

  • if you choose dev/sda, it’ll use Grub (Ubuntu’s boot loader) to load all systems on this hard drive.
  • If you choose dev/sda1 (the ext4 partition your created for Ubuntu), Ubuntu need to be manually added to drive’s boot loader after installation. (for example, you previously have Windows installed on another partition of this drive, you’ll need manually add Ubuntu into mbr)
  • Ubuntu-create-partition

    6.) Follow the wizard to setup user account, location, timezone, keyboard, etc and finally start installing.
    Once is installed, click “Restart” button.

    Installation-complete

    Enjoy!

26 responses to How to Install Ubuntu

  1. Note that under “Device for boot loader installation”:

    if you choose dev/sda, it’ll use Grub (Ubuntu’s boot loader) to load all systems on this hard drive.
    If you choose dev/sda1 (the ext4 partition your created for Ubuntu), Ubuntu need to be manually added to drive’s boot loader after installation. (for example, you previously have Windows installed on another partition of this drive, you’ll need manually add Ubuntu into mbr)

    how do i do that ? manually add the drive’s boot loader after installation ?

    • Use EasyBCD Free Edition, it’s a GUI tool for Windows user to manager bootloader. URL: neosmart.net/EasyBCD/#comparison

  2. So all of these have you installing Ubuntu on the same physical drive as Win7 using a partition? How do I maintain having Win7 and all my other stuff installed on my 1TB Hard drive. Then install Ubuntu on my 250GB second drive? All the options are for using the same drive

  3. In a another forum, I see they have a partition which has mount point is /boot, can I install boot loader to that partion? Sorry for my bad English.

  4. I have tried installing ubuntu from usb many times but it won’t work. When i am choosing country after “Erase all data and install ubuntu” the installer always crashes.
    When it tried to send a bug message to devs, it says the problem cannot be reported: This is not an official Ubuntu package. Please remive any third party package and try again.

    • So did you try the option “Something else” and manually create partition for Ubuntu installation?

    • Hi there…
      I think its better that you possibly download a new version of ubuntu
      OR
      get that from other means.

      Because I too had same problem while installing Ubuntu 11.04 and Ubuntu 12.04 alongside windows7 as well as installing via manually partioning.

      If you can’t have them or download them, just click to AUTO UPDATE while just before installing begins, as it updates most of problems are solved [for me :-)]

      Regards
      Suraj B Hegde

  5. Previously it was ubuntu 14.04 ..but after installing gparted,everything was going wrong.not botted..so I want to install ubuntu 14.04 again.but,Every time it is showing error:-Input/output error during read on /dev/sda

    after coming to the instalation page..pls help me..

  6. If i had drive C for the windows and D with free space. And i want to install ubuntu on the D, will my data and programs in the C get formatted?

    • Nope. To be safe, I would recommend to select the last option, “Something Else”, when the Wizard asks you where to install Ubuntu. The partition table shows you which is the Windows partition. What you need to do is select the free space or delete a partition (highlight in table and click the minus sign), then create a Ext4 partition, mount point /

  7. I have windows 7 and when i install ubuntu so show one partition dev/sda only instead of three partition.

    • only dev/sda? That means Windows takes the whole hard drive. You have to partition the /dev/sda into /dev/sda1, /dev/sda2, … /dev/sdaX so that you can select which partition to install Ubuntu

      • how many partition should i make? i’ve shrink my win7 partition, made 2 partition. 1 for swap, and one Ext4 partition with mount point / . i’ve set Device for boot loader installation at /dev/sda/. but when i restart, it will only boot win7. at the windows boot selection, only windows7 can be selected, no option to select ubuntu… grub2 didn’t appear.. my BIOS has already been set to UEFI..

        • Try to use a key F12 during BIOS starting. I have it so:
          If I press nothing, the only windows can be booted, BUT if I press the F12 key, it calls an Ubuntu boot loader and there I have a choice – either boot into the Ubuntu or boot into the Windows.
          Without pressing F12 during BIOS starting, my PC is Windows only…. so my Ubuntu is a little hidden from the others… :-)
          Just try F12 during BIOS starting and you will see, if it worx for u.
          Good luck.

  8. Hi,

    I have already installed ubuntu 14.04 LTS without partion with a bootable dvd. Now how do I create partion? Currently there is no partion. I have the bootable dvd with me. My laptop hardware = 2 GB RAM, 64 BIT, 500 GB Hard Disc. There is no other OS installed. Mine is single OS PC.

    Regards,
    Vinay

  9. Hey guys, after i install ubuntu on my ext4, when i reboot i cant find ubuntu on my computer? Has anyone experienced this? Thanks

  10. Hello Ubuntu expert, Please help me. I’m a new Ubuntu user. recently I install Ubuntu 14.04 – 32 bit. I install Skype, Vlc player etc but his dose not work. example—

    E: Unable to correct problems, you have held broken packages.
    nurunnabi@nurunnabi-DREAMSYS:~$ sudo apt-get install ppa-purge
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
    ppa-purge : Depends: aptitude (>= 0.6.6-1ubuntu1.2) but it is not installable
    E: Unable to correct problems, you have held broken packages.
    nurunnabi@nurunnabi-DREAMSYS:~$ sudo ppa-purge ppa:mc3man/trusty-media
    sudo: ppa-purge: command not found
    nurunnabi@nurunnabi-DREAMSYS:~$ just run
    just: command not found
    nurunnabi@nurunnabi-DREAMSYS:~$

    pls help me. I’m Bangladeshi. So I not a good English speaker. any mistake sorry.

  11. Hello There,

    i want to install ubuntu15.04 in my C drive rather than any other drive . i dnt want windows i only want ubuntu in my C Drive . Kindly help me.
    sorry for my bad english

    Thanks in advance.

    • Hello Herald, What you want is very straight forwards. No.1 ubuntu is NOT like windows and therefore it doesnt name your primary hard disk drive C. No.2 To install 15.04 or 15.10 on your main hard disk you need to download a copy of Ubuntu from the Canonical website. You download the ISO image file for either 32bit or 64bit. Its a large file so it might take sometime to download. No.3 Once you have downloaded the ISO image file you next need to burn the ISO to a DVD disk. Once you have burnt the ISO to a disk, this should be a Live DVD meaning you can boot your computer with it and start the installation process. If you select the option to install Ubuntu it will step you through the installation process and its generally much quicker than windows too.
      Hope this helps? Regards cyteck

  12. while installing i selected erase all data. later i came to know that my whole partition is deleted and my other drive is formatted too. now what should i do. i lost all my imp docs and pics. plz help me.

    • James McClaren August 4, 2016 at 6:22 pm

      I just had to respond to this comment… are you telling me you selected the option erase all data, and now you are mad that all data has been erased?

  13. hi thanks , for the post .
    I have a query that i want to install ubuntu 14.04 in c: drive in my hard disk with data in other d: and e: drives unaltered. Is that be possible ? and How??

Trackbacks and Pingbacks:

  1. How to Install Ubuntu 13.10 From USB Stick | UbuntuHandbook - August 9, 2013

    [...] How to Install Ubuntu [...]

  2. How to Install Pear OS 8 from USB Stick | UbuntuHandbook - November 9, 2013

    [...] How to Install Ubuntu [...]

  3. How to Install Linux Mint 16 Petra From USB Stick | UbuntuHandbook - December 1, 2013

    [...] How to Install Ubuntu [...]

  4. Ubuntu 14.04 Trusty Tahr Is Out! | UbuntuHandbook - April 17, 2014

    [...] How to Install Ubuntu [...]

Leave a Reply

*

Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>