Installing Linux for someone completely new to it

22 October 2007

Two years ago, I wrote a series about the Gentoo Install process, a fairly long commentary on the Gentoo Linux handbook and installation.

Well now I attempt a similar task. This time I aim at someone who is interested in getting into computing using Linux but does not have a lot of experience in computing.

Gentoo is aimed at highly technical users. So this time we will instead use a distribution called Ubuntu Linux, the slogan is "Linux for human beings" and one thing Ubuntu is good at is getting less technical users setup quickly. The version is 7.10 aka Gutsy Gibbon, which came out a few days ago.

The guide is very long already, so we will cover getting the CD another time.

a. Boot Screen

Put the CD in. Hopefully you will get the following screen:

http://commandline.org.uk/images/posts/gutsy/1-bootscreen.png

The option you want is the first one, you can press enter. If you do nothing then it will automatically choose the first option anyway.

The other options are not important right now. In the rare case that the screen goes funny, then you can restart your computer and select "Start Ubuntu in safe graphics mode".

If you put the CD and you don't get this screen, then you refer to a future post that I will link in when I have written it.

b. David Hasselhoff mode

While the system is loading, there is nothing to do here but wait a few seconds or so, if your computer is old then it might be a couple of minutes.

http://commandline.org.uk/images/posts/gutsy/2-knightrider.png

Feel free to sing the theme tune from the 1980s TV show Knight Rider until it is done.

c. Live CD Desktop

When it is all done, your computer should show a nice shade of brown as below.

http://commandline.org.uk/images/posts/gutsy/3-livedesktop.png

There are a number of things in the left hand corner worth noticing. Let's zoom in a bit:

http://commandline.org.uk/images/posts/gutsy/4-clickinstall.png

Firstly, there is the Applications menu in the top-left corner, this is like the 'Start Menu' in Windows, it allows you to start your applications.

Secondly, there is an 'Examples folder', this contains some example files that you can play with.

Thirdly, and getting to the point, there is an 'Install' icon. Double-click it with your mouse pointer.

This brings up the 'Install' application on to your screen, as shown below.

http://commandline.org.uk/images/posts/gutsy/5-installer.png

Now we get to the real work!

This Installer program is going to help your install Linux on to your computer. You have to tell it some simple pieces of information. There are seven steps to the programme.

1. Language selection.

Let's zoom in again:

http://commandline.org.uk/images/posts/gutsy/6-installer.png

On the left hand side of the program window, there is a choice of languages. Hopefully a language that you understand is in the left. Don't worry at this stage if you need more than one language, you can add others later.

When you have selected a language, press forward.

2. Where are you?

The second choice is where you live. When the computer knows where you live, it can then try to set the clock for your timezone.

http://commandline.org.uk/images/posts/gutsy/7-installer.png

You have a map of the world. Click on roughly where you live and the map will zoom in. For example, I live in Britain, so the map looks like this:

http://commandline.org.uk/images/posts/gutsy/8-zoomin.png

Now click on the nearest city to you (so I click on London) and the computer sets my time to the correct time. Press Forward to continue.

3. Keyboard Layout

The third piece of information the computer needs to know is what kind of keyboard you have. It will try to guess but the following screen let's you choose more specifically.

http://commandline.org.uk/images/posts/gutsy/9-keyboard.png

If you are not sure what keyboard you have, don't worry, just test it by typing in the box at the bottom of the screen. You can change it anytime later of course, so no need to spend too long on this. Press Forward to continue.

4. Prepare disk space

Some people find this the one slightly more difficult question because there is no right or wrong answer, the answer will be different for everyone. Don't worry, I can't choose for you but I can try to explain the question.

`Click here to read about disk partitions`_.

http://commandline.org.uk/images/posts/gutsy/10-diskspace.png

So the first choice given is to reduce the size of an existing partition. The second is to use an entire disk. The last option is to do something more complicated.

If you want to keep your existing operating system (e.g. Windows) as well then you will probably want to do shrink an existing partition (i.e. the first option in the screenshot).

I chose the second option to use the entire disk and wipe everything off that was there already.

See it wasn't that hard was it? Press forward when you are done.

**5. The First Rule about Fight Club... **

System Message: WARNING/2 (<string>, line 146); backlink

Inline strong start-string without end-string.

... is You Don't Talk about Fight Club.

The installer will mop up any extra issues based on what you have done so far. This will vary according to your situation. For example, if you have Windows then it will ask if you want to import your usernames and documents.

6. Who are you?

The next screen requires you to specify your name, your preferred login and password name, and your computer name.

http://commandline.org.uk/images/posts/gutsy/11-entername.png

Choose a strong password, and either remember it or write it down. If you forget your password then you will have to start again.

7. Ready to install

You are now given a summary of what you have specified.

http://commandline.org.uk/images/posts/gutsy/12-summary.png

This is your last chance to back out or change your choices. When you press "Install" the computer will do what you have told it to do.

a. Go and have a cup of tea

Your job is done and now your computer takes over. You can now have a break, go feed the cat or whatever. How long it will take will depend on the speed of your hard-disk and processor as it copies everything over.

http://commandline.org.uk/images/posts/gutsy/13-go-have-a-cup-of-tea.png

If you need something to do then can surf the Internet using Firefox or watch the included video of Nelson Mandela:

http://commandline.org.uk/images/posts/gutsy/14-watch-nelson.png

b. Installation complete - restart computer

When the computer is finished, you are then offered the chance to restart. If you are doing something on the Internet then there is no rush, the computer will wait until you are ready. Any documents that you have saved inside the LiveCD environment will be lost on reboot, so email them to yourself or copy them onto the hard disk.

http://commandline.org.uk/images/posts/gutsy/15-installationcomplete.png

c. Remove the CD

When the installation is done then you will need to remove the CD.

http://commandline.org.uk/images/posts/gutsy/16-removecd.png

d. Log in

Your computer will boot up to your new Linux operating system:

http://commandline.org.uk/images/posts/gutsy/17-logintonewsystem.png

Log in with your username and password that you created earlier.

e. Look for notifications

There is no rest for the wicked, and an angel's work is never done. As soon as you log in, your new system will start begging for your attention.

http://commandline.org.uk/images/posts/gutsy/18-newdesktop.png

I have two notifications, as we can see if we zoom in:

http://commandline.org.uk/images/posts/gutsy/19-updates.png

Let's deal with them one at a time.

f. Install Updates

So we start by clicking the orange and white icon to install the updates.

This brings up a new window as follows:

http://commandline.org.uk/images/posts/gutsy/20-installupdates.png

We simply click 'Install Updates' and it automatically downloads and installs the latest software.

g. Manage restricted drivers

A bus-driver controls his/her bus and makes it do what it needs to do, such as going forward at the correct time and stopping at the bus stops. Likewise, a device driver is a small piece of software that tells computer hardware what to do. So a wireless driver tells the wireless card to send a packet somewhere, the printer driver will tell the printer to print, or the graphics driver will tell the graphics card to put images on the screen.

Many drivers on a Linux system are provided through the Linux Kernel Organization, however the drivers to do with the graphical subsystem (called 'X') are provided through the X.Org Foundation, some other types of device have drivers provided via elsewhere.

To get to the point, my second notification was about my graphics driver:

http://commandline.org.uk/images/posts/gutsy/21-restricted-drivers.png

So I have a choice of two graphics drivers. The open-source driver supplied by the X.Org Foundation or the proprietary driver supplied by the manufacturer of my graphics card, the 'restricted driver' to use Ubuntu Linux's terminology.

Let's imagine that we do not understand this option, we can click 'Help'. Whenever you do not know what something does, click the Help button to learn more.

http://commandline.org.uk/images/posts/gutsy/22-helprestricteddrivers.png

So we receive a nice three part answer to our problem. In this case my graphics card manufacturer, Nvidia, keeps everything secret from its customers. So if I use the restricted Nvidia provided driver, it might be more powerful, but if there is a problem then we have to wait and hope that Nvidia cares enough to fix it. However, the X.org driver is completely in the open, the code behind the driver is not only available for public peer review, but anyone in the Linux/open-source community can improve the driver or fix problems with it.

This comes down to personal preference. Some people only use the open-source driver on principle, while others merrily use the restricted driver. A third approach is to use the open-source driver to start with, and only switch later on to the proprietary and restricted driver if you find that you need to.

That is quite enough for today! In a future post we will do a quick tour of the default applications. Play on!

Discuss This Post - Suggest Improvements

Docutils System Messages

System Message: ERROR/3 (<string>, line 128); backlink

Unknown target name: "click here to read about disk partitions".

1 Bug says...

On image 5, the last visable language is Hebrew, I rather pick that one :) QWERTY keyboard is better! :)

"Choose a strong password, and either remember it or write it down. If you forget your password then you will have to start again." -- Whats the point? Unless you enable SSHD or encryption, lousy passwords will do. After all, deleting /etc/shadow ain't that hard.

Also, you didn't mention the Time Zone problem on Linux which will mess your windows time until you fix it in the /etc/rc.conf [Because Windows does local time, and Linux by default think the USA rock and use their time zone as system and for the OS the system + parameter]

Posted at 7:37 a.m. on October 22, 2007


2 Andrew West says...

Oh god I hummed the A-Team theme by mistake and now all I get is a black screen when booting the live cd, could this be related?

Anyway.

I'm all for strong passwords, but on a local desktop system it does seem a little extreme, as if someone has access to your computer physically they can just boot up a live cd and access your data with out needing your password.

As for the time zone, it's not because Linux thinks USA rocks, far from it. It's just that by default Linux writes the time to the BIOS as UTC, where as Windows uses UTC internally but for some reasons writes the local time to the BIOS.

Posted at 12:40 p.m. on October 22, 2007


3 Phill says...

May I recommend the use of virtualisation software such as VMWare to save having to use a digital camera to get screenshots?

Posted at 1:26 p.m. on November 6, 2007


What do you have to say?

Show Editing Help


About

Hello, my name is Zeth, I'll be your host here.

Command Line Warriors is about taking control of your own technology, it looks at our experiences of computing; especially using GNU/Linux, the Python programming language, the command-line and issues such as techno-ethics, best practices and whatever is cool now. If you take control of your technology then you are a Warrior too!

This site is your site too which means that you can contribute and get involved. You can leave comments using the facility provided. For me, the comments and discussions are by far the best part of the site. So please do have your say!

Latest Discussions

Omar Zabaneh

July 25, 2008
Zeth, Thank you for this post, very helpful. I used it as a basis for my own email validation function that i wish to share with you, in a selfish ...
Email Syntax Check in Python

Double Booting Bastard

July 24, 2008
I agree with Nui, Linux is great for many things but not everything. A lot of, less mainstream, hardware is a time consuming and often fruitless task to install and ...
Give Linux a chance

John

July 23, 2008
Duncan, sadly the permissions are stored with the data (inode), not with the directory entries (hard-links). Zeth needs ACLs -- no way to do this with basic unix permissions.
Advanced Unix Groups

Garrick

July 21, 2008
I do love my iPhone. That being said, I would trade it in a heartbeat for a STABLE Openmoko FreeRunner.
This week - iPhone vs a can of compressed air, and Django NewFormsAdmin

Daniel Davies

July 21, 2008
With regards to your last paragraph, you are certainly correct. Right now Django is a nightmare to use across multiple sites... we have some sites running the newformsadmin branch, others ...
This week - iPhone vs a can of compressed air, and Django NewFormsAdmin

Nui

July 18, 2008
Hmm, this would be more persuasive as an argument with some evidence. I am a happy admin of Windows and a novice user of Linux, so I have taken the ...
Give Linux a chance

Paddy3118

July 18, 2008
Hi, I too work with Electronic Design Automation tools, where Tcl is used extensively. I tend to only occasionally have to write in Tcl and so find the TclTutor utility: ...
Python and TCL

Cliff Wells

July 17, 2008
I personally cannot live without the Web Developer extension or Firebug. Unfortunately these are probably both among the more difficult to port extensions. Given how poorly Firefox functions on Linux ...
Will Epiphany be able to compete with Firefox's extensions?

Åke Forslund

July 13, 2008
I'm pretty much a novice in both of these languages but I find them both easy to use and preform the tasks I give them. However I rarely use them ...
Python and TCL

Christopher Thoday

July 12, 2008
A single test is not sufficient to give you confidence that the algorithm is working. You should make 'number' an argument of 'main' so that you can test some boundary ...
Python and TCL

paul21

July 10, 2008
Shame on Mozilla. They should make developers specify the extension license before hosting it. They should show the license next to download button as well.
Are your Firefox extensions proprietary software?

Tris

July 8, 2008
Justin - You say they had not heard of Linux? That doesn't sound very professional to me!
Give Linux a chance

michael

July 8, 2008
what about Galeon? in Gnome i use Galeon mostly. it is fast and stable and has a nice portal with search masks for Debian, FSF, Freshmeat and so on. wtf ...
Will Epiphany be able to compete with Firefox's extensions?

vermin

July 7, 2008
> Eventually, after a bit of digging and Googling, I found their Toolbar-License... You simply found the license of the StumbleUpon Toolbar for Internet Explorer. This is another product, much ...
Are your Firefox extensions proprietary software?

Andrew West

July 6, 2008
Both the Python and the Tcl example could do with error checking. While at first this may not seem on topic with the post I think it better shows the ...
Python and TCL