Softpedia
 

NEWS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
TRENDING TODAY
Home > News > Linux > Ubuntu Tips and Tricks

April 27th, 2012, 10:41 GMT · By

Installing Ubuntu 12.04 LTS

SHARE:

Adjust text size:

Ubuntu 12.04 LTS
Enlarge picture
The following tutorial will teach users how to install the Ubuntu 12.04 LTS (Precise Pangolin) operating system.

Ubuntu 12.04 LTS, also known as the Precise Pangolin, arrived on April 26th, 2012 and is the 16th release of the Ubuntu operating system.

Even if the Ubuntu 12.04 LTS operating system includes a smarter installer, we've created the following tutorial to teach both Linux newcomers and existing Ubuntu users how to install the Ubuntu 12.04 LTS operating system on their personal computer.

This tutorial is also addressed to people who have just heard about Ubuntu, those who have never installed Ubuntu before and want to test it, but don't know how!

The following guide will make things very simple for you, but if you get stuck somewhere in the middle of the installation and you need help, do not hesitate to use our commenting system at the end of the article!

Requirements:

You will need the Ubuntu 12.04 LTS Desktop ISO image that corresponds to your hardware architecture (i386 or amd64), and that can be downloaded from here. When the download is over, burn the ISO image with your favorite CD/DVD burning application (Nero, CDBurnerXP, Roxio) on a blank CD at 8x speed.

Reinsert or leave the CD in your CD/DVD-ROM device and reboot the computer in order to boot from the CD. Hit the F8, F11 or F12 key (depending on your BIOS) to select the CD/DVD-ROM as the boot device.

Wait for the CD to load...

Review image

In a couple of minutes you will see the wallpaper and the installation wizard. Select your language and click the "Install Ubuntu" button to continue...

Review image

Preparing to install Ubuntu

Make sure you have all the listed requirements. Optionally, you can choose to download updates while installing and/or install third party software, such as MP3 support. Be aware, though, that if you select those options, the entire installation process will be longer!

Review image

Allocate drive space

At this screen you have various options:

Review image

1. Install Ubuntu 12.04 LTS alongside (other operating systems)

- Choose this option ONLY if you have another OS (e.g. Windows XP) and you want a dual boot system. You can choose which operating system you want each time the computer starts up.

Editor's Note: Remember that, after the installation, the Windows boot loader will be overwritten by the Ubuntu boot loader!

2. Upgrade Ubuntu x.x to 12.04 LTS

- Choose this option ONLY if you have another Ubuntu OS (e.g. Ubuntu 11.10) and you want to upgrade it to Ubuntu 12.04 LTS. Your personal files will be saved, but you will have to reinstall most of your packages. The general system settings will be erased!

3. Erase and use the entire disk (Erase Ubuntu x.x and reinstall)

- Choose this option if you want to delete your existing operating system, or the hard drive is already empty and you want to let the installer automatically partition the hard drive for you. This is the option recommended for all users, especially those who want a machine with a single operating system on it.

4. Something else (advanced)

- This option is recommended ONLY for advanced users, to create special partitions or format the hard drive with other filesystems than the default one. But it can also be used to create a /home partition, which is very useful in case you reinstall the whole system.

Here's how you do a manual partitioning with /home:

- Select the "Specify partitions manually (advanced) and click the "Forward" button;

- Make sure that the selected hard drive is the right one. /dev/sda is the first physical hard drive. /dev/sdb is the second hard drive in your machine. So, make sure that you know which is the one you want to format! Otherwise, you will lose ALL YOUR DATA on that hard drive;

- Let's say that the selected drive is empty (no other operating system or important data on it), but it has some partitions on it. Select each one of those partitions and click the "Delete" button. After a few seconds, it will say "free space." Do this with the other partitions from the selected hard drive, until they're all deleted and you have a single "free space" entry;

- With the "free space" entry selected, click on the "Add" button. In the new window, type 2048 in the "New partition size in megabytes" field and select the "swap area" option from the "Use as:" drop down list. Click the OK button and, in a few seconds, you'll notice a "swap" line with the specified size;

- With the "free space" line selected, click on the "Add" button. In the new window, select the "Primary" option, type a value between 30,000 and 50,000 (or whatever space you have left on the drive) in the "New partition size in megabytes" field and select /home as the "Mount point." Click the OK button and, in a few seconds, you'll notice an "ext4 /home" line with the specified size;

- With the "free space" entry selected, click on the "Add" button. In the new window, select the "Primary" option, type a value between 10,000 and 50,000 in the "New partition size in megabytes" field and select / as the "Mount point." Click the OK button and, in a few seconds, you'll notice an "ext4 /" line with the specified size.

This is how your partition table should look like...

Review image

WARNING: Be aware that all the data on the selected hard drive or partition will be ERASED and IRRECOVERABLE.

EXTREMLY IMPORTANT: Don't forget to choose where GRUB will be installed, from the "Device for boot loader installation" drop-down box, before you hit the "Install Now" button.

Click the "Install Now" button to continue with the installation...

Review image

Editor's note: At this point the hard drive will be erase and partitioned, the CD data will be copied to the hard drive, and you can relax and continue to input the following required information.

Where are you?

This screen will feature a map of the Earth. Upon the selection of your current location, the time for the final system will adjust accordingly. You can try to guess you exact location with the mouse on the map, or just type the town in the designated field. Click the "Forward" button after you have selected your desired location...

Review image

Keyboard layout

On this screen, you will be able to choose a desired keyboard layout. But the default automatic selection should work for most of you. You can also click the "Figure Out Keyboard Layout" button for better recognition of your keyboard's layout. Click the "Forward" button when you have finished with the keyboard configuration...

Review image

Who are you?

On this screen, you must do exactly what the title says. Fill in the fields with your real name, the name of the computer (automatically generated, but can be overwritten), the name you want to use to log in on your Ubuntu OS (also known as the "username," which will be required to log in to the system), and the password.

Also at this step, there's an option called "Log in automatically." If you check it, you will automatically be logged in to the Ubuntu desktop.

Other option, called "Encrypt my home folder," will encrypt your Ubuntu installation. Click the "Forward" button to continue...

Review image

At this point the Ubuntu 12.04 LTS (Precise Pangolin) operating system will be installed...

Review image

After approximately 10 to 15 minutes (depending on your computer's specs), a pop-up window will appear, notifying you that the installation is complete, and you'll need to restart the computer in order to use the newly installed Ubuntu operating system. Click the "Restart Now" button...

Review image

The CD will be ejected; remove it and press the "Enter" key to reboot. The computer will be restarted and, in a few seconds, you will see the Ubuntu boot splash...

Review image

At the login screen, just input your password and click the little "Log In" button or hit Enter to log in...

Review image

That's it! Have fun using Ubuntu 12.04 LTS.

Review image



88,967 hits · 29 comments
Link to this article · Print article · Send to friend

MUST-READ RELATED ARTICLES:


Xubuntu 12.04 LTS Screenshot Tour

Kubuntu 12.04 LTS Screenshot Tour

Ubuntu 12.04 LTS Screenshot Tour

Ubuntu 12.04 LTS Officially Released

Kubuntu 12.04 LTS Officially Released

READER COMMENTS:


Comment #1 by: Russman on 27 Apr 2012, 00:45 UTC reply to this comment

Hallo guys.. One question. Why my Ubuntu can't run on CD?? Tried many times but no luck..

Comment #1.1 by: Marius Nestor on 27 Apr 2012, 14:21 GMT

Hello, with what application did you write the ISO image on the CD? Please make sure it is bootable! I guess you know how to boot from a CD in BIOS, right?


Comment #2 by: rtgkid on 27 Apr 2012, 01:27 UTC reply to this comment

This story is missing screenshots... Otherwise, great tutorial!

Comment #2.1 by: Marius Nestor on 27 Apr 2012, 14:22 GMT

The screenshots are there :)


Comment #3 by: Anil on 27 Apr 2012, 03:01 UTC reply to this comment

why did you make the third partition?, and where to install grub?, for example
suppose sda is the primary boot drive with window 7 installed, should i install the grub in sba or in my second hard drive sdb?
and i read somewhere that, one should disconnect the hard drive in which one doesn't going to install Ubuntu, is this right?
(images are not showing up in the article)

Comment #3.1 by: tommo1982 on 27 Apr 2012, 13:54 GMT

Grub will be installed in two places. First is MBA of your HDD and second is the .. / . There's no need to install it elsewhere, but if you wish you can create separate partition and select from the drop down meny /boot. I'd suggest giving it 200MB or more since that's where kernel image will reside.

To answer the disconnect drive question ... you probably mean mount. It doesn't mean phisically disconnecting your HDD or partition. Mounted partition is an active one, which means you can work with it, write data do it, etc. Unmounted partition is one that at this time is made unavailabe to the system, i.e. you don't need it at the moment (windows partitions are good example of it).

The 3rd partition. I'm not entirely sure which one you refer to. /home is your working directory, that's where your user directory is and all account configuration. '/' is the root tree of the system. Meaning all the files the system consists of. It's a good strategy to separate both. you can easily change your operating system leaving /home intact and get all your configs when you run the new one.

I suggest reading some about how linux works. This is just a little part of it.

Comment #3.2 by: Marius Nestor on 27 Apr 2012, 14:26 GMT

1. You can make only two partitions if you want, swap and /. I made the /home partition to make my life easier when I want to reinstall Ubuntu. This way all my personal files remain intact :)

2. I suggest to install GRUB on sdb, the same partition you install Ubuntu into. This way, you can select in BIOS from which hard drive to boot from.

3. Nonsense!

Comment #3.3 by: Anil on 28 Apr 2012, 02:51 GMT

i can't create bootable usb drive, I'm just getting black screen.
after some googling i found this-
http://askubuntu.com/questions/126238/ubuntu-12-04-doesnt-start-after-installing-with-liveusb
which refers to this guide-
http://ubuntuforums.org/showthread.php?t=1581099
is this the solution to my problem?,, i had Ubuntu installed some time before but now i don't have it, so how can i fix this issue?


Comment #4 by: paapa on 27 Apr 2012, 14:52 UTC reply to this comment

Does this version have wubi installer? I don't want partition my drive.


Comment #5 by: anonymous on 27 Apr 2012, 21:53 UTC reply to this comment

The method described in the article is too complicated. Here is a much simpler method:

sudo debootstrap --components=main,multiverse,universe precise pangolin


Comment #6 by: Khan on 28 Apr 2012, 02:32 UTC reply to this comment

Ubuntu is improving day by day.


Comment #7 by: ar on 28 Apr 2012, 07:45 UTC reply to this comment

nice how to !


Comment #8 by: Tom on 01 May 2012, 14:37 UTC reply to this comment

80GB IDE has XP-PRO and tried to install UBUNTU 12.04 on 120GB IDE as DUAL BOOT but it never finish, with cursor still spinning on desktop. I have used every ver. of UBUNTU since 7.04 and this tower had 10.04.1 before format and install of 12.04?

Comment #8.1 by: CharleyHorse on 02 May 2012, 16:24 GMT

Similar problem...I can install in one comp
but not in a slightly older one. No hurry...I will
wait for the next release... .01


Comment #9 by: lepip on 03 May 2012, 13:34 UTC reply to this comment

hi , i get to the login screen and cant log in .the log in oblong is just blank .when i try to type ,nothing appears on the screen.

Comment #9.1 by: owner on 11 May 2012, 09:16 GMT

Similar problem with ubuntu12.04 booting/installing, it fails to recognise other OS's during installation when it asks whether you want to import data from other OS's etc, and then on re-boot.

I re-installed the OS's several times, in the following order: (xp, Debian, Ubuntu) or (xp, ubuntu, Debian: debian recognised xp and itself but not ubuntu! but did work once to recognise all the OS's but then I deleted all the partitions and started again). Followed this ' ubuntu recipe' to repair debian grub2:
[ http://www.rocko.me/?p=141
mkdir /mnt/reinstall;
mkdir /mnt/reinstall/dev;
mkdir /mnt/reinstall/proc;
mkdir /mnt/reinstall/sys
then
mount /dev/sda5 /mnt/reinstall;
mount --bind /dev /mnt/reinstall/dev;
mount --bind /proc /mnt/reinstall/proc;
mount --bind /sys /mnt/reinstall/sys;
chroot /mnt/reinstall;
grub-install /dev/sda;
update-grub. ]

When I manage to boot to other OS's, by repairing grub2 for the debian OS that then only recognises xp and debian thankfully but not ubuntu, Ubuntu will not be recognised as a boot option.
Whenever ubuntu12.04 was installed it caused problems, previous version 11.04 did not.
HDD: 150Gb, multipartition, Primary XP boot sda1, rest logical partitions from sda5 Debian, Ubuntu sda6, swap sda9..


Comment #10 by: simon on 13 Jun 2012, 11:40 UTC reply to this comment

thanks for the help


Comment #11 by: NNX on 17 Jul 2012, 09:18 UTC reply to this comment

I was installing Ubuntu 12.04 with wubi and I came to login screen.I typed correct password but it says its un correct. Can anyone help me with that?


Comment #12 by: el trucha on 17 Jul 2012, 21:25 UTC reply to this comment

I been using ubuntu 12.04 since it was beta and works very fine, I tried to install ubuntu studio 12.04 alongside but the electricity went off during the disk partition, now when I try to do it again pops up a window saying there are problems with the partitions and ubuntu studio won't be installed until partitions are repaired, can someone help me? sorry for my bad english


Comment #13 by: ?56 on 19 Jul 2012, 14:07 UTC reply to this comment

this is my personal fav fast and reliable


Comment #14 by: Navneet on 11 Aug 2012, 18:34 UTC reply to this comment

Very good one... i was having trouble in selecting the drive partion section as it kept prompting "no root file selected". finally have my ubuntu installed :)


Comment #15 by: jj on 27 Aug 2012, 14:41 UTC reply to this comment

I'm booting from CD and it asks for a login and password first thing. This is a brand new laptop today with win7. I tried to give it a login and PW, it says it's invalid every time. BTW, I appreciate not having to log in here and set up ANOTHER PW just to ask this. Excellent!


Comment #16 by: Bob S. on 29 Aug 2012, 20:06 UTC reply to this comment

Thanks for the info. I have a problem dual-booting. I previously had a dual boot with Ubuntu 10.04 and Windows 7, which worked fine. After installing Ubuntu 12.04 to dual-boot with Windows 7, at startup I get an "out of range"message with a garbled Grub selection screen. However, now I cannot even get a garbled Grub screen. It will eventually boot into Ubuntu, but I cannot boot into Windows 7. Can you tell me how I can fix this? Thanks, Bob S.


Comment #17 by: Kirono Hasama on 06 Sep 2012, 21:29 UTC reply to this comment

This really helped me when my PowerBook G4's screen went bad and I wanted to install the new OS while waiting for the replacement part to arrive.


Comment #18 by: nil v on 08 Sep 2012, 19:26 UTC reply to this comment

a unrecoverable error is failing setup at last what may b problem


Comment #19 by: tausif on 15 Sep 2012, 09:05 UTC reply to this comment

i m having 11.10 nd i want to update to 12.04 LTS but the update manager is not showing any update for 12.04...i mean there is no link to upgrade to 12.04


Comment #20 by: Cdog501 on 19 Dec 2012, 02:35 UTC reply to this comment

I am trying to install ubuntu 12.04 on an older computer with 1000G of space, and on my installation wizard it skips the step that allocates drive space and skips to the partitions menu, but at the partitions menu none of the partitioning buttons will work, and it wont let me change the device for boot loader installation, it stays on /dev/sda. I have tried Many times and nothing seems to work. Help?


Comment #21 by: Matoomba on 11 Jun 2013, 00:15 UTC reply to this comment

"EXTREMLY IMPORTANT: Don't forget to choose where GRUB will be installed, from the "Device for boot loader installation" drop-down box, before you hit the "Install Now" button."

I did not notice this when installing, not sure if it even got that far, but it did get to the "name" stage and froze. My old dell 5150 desktop has not worked since. Not even windows will load now. It acts like it doesn't see my dvd drive. My very first Linux distro and it killed my computer! Guess I'm stuck with Microhack forever now.


Comment #22 by: DH on 18 Jun 2013, 17:46 UTC reply to this comment

" Don't forget to choose where GRUB will be installed, from the "Device for boot loader installation" drop-down box, before you hit the "Install Now" button."

but....but....WHERE THE F DOES IT GO?

Copyright © 2001-2013 Softpedia. Contact/Tip us at

WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM