PDA

View Full Version : [all variants] What you should know before installing and upgrading Ubuntu.



kio_http
May 16th, 2010, 03:15 PM
I am writing this article because I have noticed an increase in issues occurring from blindly installing and upgrading.

Note: Current LTS Release is Ubuntu 10.04 and Latest Stable release is Ubuntu 10.10


Installing Ubuntu or Upgrading it to a newer release can be an exiting task that one anticipates.
But hey not so fast!Read this article to prevent possible errors.

Why these issues occur?


Garbage in Garbage Out (http://en.wikipedia.org/wiki/Garbage_In,_Garbage_Out) (GIGO)

This is the classic error. The user is unaware and believes he / she is doing it right and unknowingly makes a mistake. This is why I always advise to read instructions the first time you do something.


Wrong expectations

Every OS varies from the others in one way or another, you should not expect Ubuntu to behave like Windows or Mac OS X or any other Operating system.


Misconception

Sometimes users attempt to use their knowledge of another system with Ubuntu. This results in them believing that Ubuntu lacks a feature. In fact this is not the case; Ubuntu has the feature but you don't know how to access it. This is where this forum (http://ubuntuforums.org) comes in. There are plenty of users willing to share their knowledge with you. In a matter of no time you will know your way around. For a complete article about forum features and related information see here (http://ubuntuforums.org/showthread.php?t=1006656).

Lets move on to what you must know.
Known problems in Ubuntu
Ubuntu is made by people and like every OS it has its problems. Therefore is is advisable to read the release notes. Some variants(Explained later) have published release-notes. For the current release lucid, see
Ubuntu notes (https://wiki.ubuntu.com/LucidLynx/ReleaseNotes)
Kubuntu notes (https://wiki.kubuntu.org/LucidLynx/Final/Kubuntu)

Installation

What will happen to my current Operating System(s)?

Ubuntu's installer is able to auto-detect other Operating systems and provide you with a list-like choice on which OS you want to boot when you start your computer.

How can I set it up to work as mentioned above?

Confused about how you can have multiple OS's at once? The answer is partitioning.

Basically partitioning involves dividing your disk drive into multiple "pieces" allocating smaller storage spaces. E.g. Splitting a 160GB disk into two 80GB parts.
For more details about partitioning, see this page (https://help.ubuntu.com/community/HowtoPartition/PartitioningBasics).

What you must do.

Ubuntu's installer provides you with everything you need for partitioning.

What options are present?


Use entire disk

The target disk will be entirely erased. This means the other Operating Systems and all saved data on that disk will perish. If you want to dual boot this is not the option you seek!


Resize partition and use free space

The indicated partition will be shrunk; it will lose available free space. There is a slider allowing you to chose by how much you want to shrink. The free space created will be used for a new partition on which Ubuntu will install itself. Note: This procedure takes quite a while to complete. This is the recommended option for users with little experience and would like to just get things done.
NOTE: In releases prior to 10.04 LTS, there was a known issue resulting in failure in this process. If you use such a release consider using other software, like Windows of Apple disk-utilty to shrink for you.


Manual

On the next step, you will be taken to an advanced utility allowing you to manually create and manipulate as many partitions as you want. Eventually once you are familiar with Ubuntu, you will prefer this option over the rest. This option is aimed at advanced users who are already familiar with partitioning

Partitioning sounds scary, I'm not ready for it!

Any particular situation preventing you from partitioning / shrinking your other OS partition?

No problem if you have Windows.
Use the WUBI installer (http://wubi-installer.org/), this will install Ubuntu within a virtual disk file on a Windows accessible disk.

Note: Using this method, installed Ubuntu will be unable to access files on your Windows disk.
Wubi filesystem is more vulnerable to hard-reboots (turning off the power) and power outages than a normal filesystem, so try to avoid unplugging the power. An Ubuntu installation to a dedicated partition provides a file-system that is more robust and can better tolerate such events.

Can I get some of my Windows applications working?
Most free applications like firefox (http://www.mozilla-europe.org/en/firefox/) are available for both Windows and Ubuntu. However if you have a Windows only application you can install WINE (http://www.winehq.org/) and see if the app then works under Ubuntu. There is a possibility it may not, in that case using virtualbox (http://www.virtualbox.org/), you can have a complete installation of Windows running at the same time as Ubuntu. For more details on getting Windows running in Ubuntu with VirtualBox, see my tutorial here (http://ubuntuforums.org/showthread.php?t=1322436).

Which Ubuntu iso image should I download.

The Ubuntu download pages offer you a variety of downloads. You should use the right one.

Architectures
AMD64
This image is for users with 64-bit CPU's. Note it is for both Intel and AMD 64-bit CPUs. E.g of compatible CPU's are AMD athlon 64, phenom, INTEL PENTIUM D, CORE 2 series, CORE i3, i5,i7.
I386
This image will work on almost any INTEL or AMD computer. It is intended for those CPU's that are not 64-bit capable.

Variants
Ubuntu
Ubuntu is currently the most wildly used variant of the Ubuntu project. It features the GNOME desktop environment (http://www.gnome.org/).
The right place for getting Ubuntu is here (http://ubuntu.org).
Kubuntu
Kubuntu features the KDE desktop environment (http://kde.org/). The right place for getting it is here (http://www.kubuntu.org/).
Xubuntu
Xubuntu uses the low resource but pleasant and simple desktop environment XFCE (http://www.xfce.org/). The right place for getting it is here (http://xubuntu.com/).
Lubuntu
Lubuntu features an extremely lightweight desktop environment, LXDE (http://lxde.org/). It is intended to be used on old hardware that cannot cope with advanced desktop environments. The right place for getting it is here (http://lubuntu.net/).
Edubuntu
Edubuntu is Ubuntu + educational applications, it is ideal for installing on school computers etc. The right place for getting it is here (http://edubuntu.org/).

What are the netbook editions?
Ubuntu and Kubuntu have netbook edition options. Basically they are the same as the normal editions but are designed for smaller screens; the menu integrates with the desktop.
Note: It is not necessary that you must use the netbook variant on a netbook, the normal edition will work as well.

Desktop or Alternate?
Desktop
The desktop version is both a live-cd and installer. It provides a fully graphical installer and is recommended for new users.
Alternate
This version has only an installer, you can't try Ubuntu before installing. It is aimed at advanced users who want to configure Ubuntu bit by bit to their taste.

This sounds great, can I have multiple varriants at the same time?
Yes, all variants can be run together in a way you select which you want at logon. Once you have installed one variant, you can install the rest via packagemanager.

Current release or LTS?
LTS
LTS is for users that need a system that is meant to be kept running for years. Don't expect many new features etc to come 6 months after the LTS is released. You will still recieve security updates however.

Current
The current release is for users who like new features coming every now and then. Users of the current version usually upgrade Ubuntu version every six-months.

Upgrades
Not all upgrades go well! (http://ubuntuforums.org/showthread.php?t=1465548) For this reason I advise you to always backup the essential before an upgrade. The less you tweak advanced setting of Ubuntu, the more likely your upgrade will succeed.

This issue (https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/576724) currently faces many upgrading users, please note:
/dev/sda is the first hard disk
/dev/sdb is the second hard disk
and so forth.

Chose the hard disk your PC uses to boot to avoid getting an unusable system. You can find the appropriate device in system BIOS.

Thanks for reading
I shall continue to edit and improve this thread in future

MartyBuntu
May 16th, 2010, 04:17 PM
I thought that was a pretty good guide. Thanks for that.

:)

kio_http
May 16th, 2010, 04:20 PM
I thought that was a pretty good guide. Thanks for that.

:)

Your welcome. I will do anything to help beginners to Ubuntu.

kansasnoob
May 16th, 2010, 04:53 PM
I said yes, I like it :)

Suggestions:

1) Include links to Release Notes.

2) Regarding Wubi this is important if you live in an area where power outages are common:


Wubi filesystem is more vulnerable to hard-reboots (turning off the power) and power outages than a normal filesystem, so try to avoid unplugging the power. An Ubuntu installation to a dedicated partition provides a filesystem that is more robust and can better tolerate such events.

That's from:

http://wubi-installer.org/faq.php#requirements

3) This bug has been very prominent:

https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/576724

A lot of that is due to NOT understanding the drive and partition designations in Linux.

But definitely this deserves a sticky!

Oh and kudos on the effort! Planning is the key to a successful Ubuntu experience!

kio_http
May 16th, 2010, 05:19 PM
I said yes, I like it :)


But definitely this deserves a sticky!

Oh and kudos on the effort! Planning is the key to a successful Ubuntu experience!

Thanks for the feedback, I consider it valuable and updated the post.

I'm glad that you believe my efforts deserve a sticky.

kio_http
May 16th, 2010, 07:30 PM
erased

Old_Grey_Wolf
May 16th, 2010, 07:39 PM
The reasons I voted No.

I have found it best for beginners to resize Windows after defragging, and using Windows to shrink the Windows partition. There are a couple of things that can go wrong when using the Linux partition editor. Then install Ubuntu using the largest unallocated space option. The method you described works most of the time; however, I prefer not to give a Linux beginner a bad experience when it can be avoided.

Also, an LTS is not "extremely stable" in my experience. It is supported longer so you don't have to upgrade/reinstall as often.

kansasnoob
May 16th, 2010, 07:51 PM
Well, sticky or not, I'd hate to see this removed!

I'd like to know the reasoning for this not being a sticky?

I think it's quite informative.

Maybe consider a bit of rephrasing and presenting this as a HowTo, like:

How to prepare for installing or upgrading Ubuntu.

I think you did a great job and you're obviously open to sensible edits. What more could we ask for?

HowTo's go here:

http://ubuntuforums.org/forumdisplay.php?f=100

It can take weeks for approval :)

For what it's worth I appreciate your dedication.

Iowan
May 16th, 2010, 07:53 PM
I state this because


The moment an edited erased post was removed, a no vote came.
The moment I requested it to be stickied via report system a no vote came.
I removed the edited erased post - I have NOT voted in your poll.

kansasnoob
May 16th, 2010, 07:53 PM
I have found it best for beginners to resize Windows after defragging, and using Windows to shrink the Windows partition. There are a couple of things that can go wrong when using the Linux partition editor. Then install Ubuntu using the largest unallocated space option. The method you described works most of the time; however, I prefer not to give a Linux beginner a bad experience when it can be avoided.

This is true but the OP has already shown the willingness to edit :)

Old_Grey_Wolf
May 16th, 2010, 07:59 PM
This is true but the OP has already shown the willingness to edit :)

Not when I originally voted. I waited 2 or 3 hours before I explained why I voted that way.

KiwiNZ
May 16th, 2010, 08:04 PM
The reasons I voted No.

I have found it best for beginners to resize Windows after defragging, and using Windows to shrink the Windows partition. There are a couple of things that can go wrong when using the Linux partition editor. Then install Ubuntu using the largest unallocated space option. The method you described works most of the time; however, I prefer not to give a Linux beginner a bad experience when it can be avoided.

Also, an LTS is not "extremely stable" in my experience. It is supported longer so you don't have to upgrade/reinstall as often.

Agreed , LTS does not equal " extremely stable" , that is misleading.

kio_http
May 16th, 2010, 08:05 PM
I removed the edited erased post - I have NOT voted in your poll.

Sorry, my mistake I appologise.


This is true but the OP has already shown the willingness to edit :)

Edited concerning graywolf's issue.

kio_http
May 16th, 2010, 08:06 PM
Agreed , LTS does not equal " extremely stable" , that is misleading.
Edited.

Your feedbacks are extremely appreciated.

Actually LTS is developed to be more stable, however it does not always turn out to be so.
In the long run with the sub releases like 8.0.1, .2 etc it gets very stable.

kio_http
May 16th, 2010, 08:12 PM
Not when I originally voted. I waited 2 or 3 hours before I explained why I voted that way.

Can't edit when offline!:KS

Old_Grey_Wolf
May 16th, 2010, 08:27 PM
Can't edit when offline!:KS

Hehe, I was offline as well. That is why it took so long to explain my vote. I had other things to do like change the oil in my car.

I haven't looked at the partition editor in 10.04 in order to actually know if it handles Windows partitions properly every time. I probably won't as I tend to use Virtualization these days.

kio_http
May 16th, 2010, 08:35 PM
Hehe, I was offline as well. That is why it took so long to explain my vote. I had other things to do like change the oil in my car.

I haven't looked at the partition editor in 10.04 in order to actually know if it handles Windows partitions properly every time. I probably won't as I tend to use Virtualization these days.

In the past around 3 in 10 PC's failed the shrink, for 10.04 all worked:guitar:

kio_http
May 18th, 2010, 01:01 PM
Updated 18/05/10



Fixed typos
Added details

kio_http
July 30th, 2010, 06:25 PM
Update - Added Information 30/07/10

kio_http
October 15th, 2010, 03:33 PM
Guide updated and improved to be relevant with Ubuntu 10.10 systems.
15/10/2010

ronparent
October 15th, 2010, 05:08 PM
Should definitely be posted as a sticky.

Slim Odds
October 15th, 2010, 05:14 PM
...

Also, an LTS is not "extremely stable" in my experience. It is supported longer so you don't have to upgrade/reinstall as often.

+12 for this one.

I think it's another myth that must be busted.

There is no difference in stability between and LTS and the rest. It's all about the length of support.

Keep spreading the word!!

kio_http
October 15th, 2010, 06:04 PM
+12 for this one.

I think it's another myth that must be busted.

There is no difference in stability between and LTS and the rest. It's all about the length of support.

Keep spreading the word!!

This ammendment has already been made to the article.