Home > Articles > Operating Systems, Server > Linux/UNIX/Open Source

  • Print
  • + Share This
This chapter is from the book

Installing from the Alternate Install CD

Although the desktop CD is ideal for installing Ubuntu, you may want to use the traditional installer method to install the system. This method involves booting the alternate install CD, running through the installer, and then starting the system. This kind of installer is ideal for installation on older hardware.

To get started, put the CD in the drive, and restart your computer. When the CD boots, you will see the menu shown in Figure 2-9.

hill_fig02-09.jpg

Figure 2-9 Alternate install CD menu

Select the Install in Text Mode option with the arrow keys, and press Enter. After a few minutes, the installation process begins by asking you to choose a language. Select from the different languages by using the up and down arrow keys, and then use the Tab key to jump to the red buttons to continue through the setup.

Choosing Your Spot in the World

Next you are asked to specify your location. First you need to choose your language (Figure 2-10).

hill_fig02-10.jpg

Figure 2-10 Select your language.

Then you need to pick which country you are in, again pressing Enter to accept your choice.

Now you need to select your keyboard layout. Keyboard layouts vary across the world to take into account the many and varied symbols and letters used in different countries. Even if you are using the typical Latin character set (as used in most European countries, America, Africa, and Australia), there are variations and additions (e.g., German umlauts). You can let Ubuntu detect your layout for you, or you can choose from a list of options. If you want your layout detected, you will be asked a series of questions until a guess can be made. If the guess is wrong, you can repeat the process. Otherwise, choose your keyboard layout from the options available.

Setting the Hostname

You are next asked for a hostname for the computer (Figure 2-11).

hill_fig02-11.jpg

Figure 2-11 The hostname is used to identify you on your local area network.

Use the text box to add your own hostname, or use the default Ubuntu hostname if required. Feel free to let your imagination go wild, and create a theme for your hostnames (such as superheroes). Each host on your network can be related to that theme (e.g., Superman, Batman, Spiderman).

Creating Partitions

Creating partitions is the most challenging part of the installation routine. You will see the screen shown in Figure 2-12. Before you partition your disk, think about how your partitions should be organized.

hill_fig02-12.jpg

Figure 2-12 Partitioning disks

You are given a number of partition options:

  • Guided—Use Entire Disk
  • Guided—Use Entire Disk and Set Up LVM
  • Manual

In the majority of cases, you probably want to use the Guided—Use Entire Disk option. This will erase everything on the hard drive in your computer and set everything up for you. The second option, Guided—Use Entire Disk and Set Up LVM, allows you to use the Logical Volume Manager (LVM). Finally, if you want to set up specific partitions, use the Manual option.

Let's look at each of these options in turn and how they are used.

Guided—Use Entire Disk

When you select this option, your entire disk is partitioned automatically. The installer will tell you that a primary and logical partition will be created, and then it asks if you want to go ahead and create the partitions. Click Yes, and you are done.

Guided—Use Entire Disk and Set Up LVM

Configuring LVM is covered in Chapter 5.

Manual

Select this option if you want to create your own partitions manually. Here you can create a number of different types of partitions, set their sizes, and configure their properties. Creating these partitions is not done in the same graphical way as the live CD installer, so it is a little more complex. However, doing so is still largely a process of selecting something and pressing Enter.

You are given a number of options with which to kick off:

  • Configure Software RAID
  • Configure the Logical Volume Manager
  • Guided Partitioning

Your disk is listed below these options, and it may display a few existing partitions. If you want to delete the existing partitions, select each one, press Enter, and select Delete the Partition. When you have deleted some partitions, you should see a FREE SPACE line. The FREE SPACE line is used to create new partitions. If the disk was empty already and you don't see a FREE SPACE line, select the hard disk, and press Enter. When it asks if you want to create an empty partition table, click Yes. You should now see the FREE SPACE line.

To create a new partition, select the FREE SPACE line, and press Enter. In the next screen, click Create a New Partition, and press Enter. Now enter the size the partition should be. You can use gigabytes (GB) and megabytes (M) to indicate size. For example, 4.2GB is 4.2 gigabytes, and 100M is 100 megabytes. You can also use a percentage or just add max to use the entire disk. Add the size, and then press the Tab key to select Continue. Press Enter. You are next asked whether the partition should be primary or logical. It is likely that you will want a primary partition. Make your choice, and continue.

If this is the first partition, you are asked if the partition should be at the beginning or end of the disk. It is recommended that when creating the root partition (known as /) on older computers, it should be placed at the beginning of the disk. This gets around some potential BIOS problems on older hardware. On newer computers, this is no longer a problem, and you can put the partition where you like on the disk.

On the next screen to display (Figure 2-13), you can configure some settings for the partition.

hill_fig02-13.jpg

Figure 2-13 Setting partition options

Table 2-1 describes the settings.

Table 2-1. Partition Settings

Setting

Description

Example

Use as

This is the type of filesystem. For a normal Ubuntu system, ext3 is recommended.

ext3

Format the partition

This setting appears when editing an existing partition.

yes

Mount point

This specifies what lives on the partition. See earlier in this chapter for details about the kind of partitions you should set up.

/

Mount options

A number of options can be passed to the mount point, although the default setting should be fine.

defaults

Label

A text label describes the partition. Usually it is set to the same value as the mount point.

/

Reserved blocks

This is the percentage of the filesystem reserved for the super-user; 5% is a good default.

5.00%

Typical usage

This option can be used to optimize how the filesystem is organized, although the standard setting is typically used.

standard

Bootable flag

Does this partition contain the kernel and bootloader? If this is the root partition (known as /), set this to on.

off

With the partition configured, choose the Done Setting Up the Partition option.

You can now select FREE SPACE again (if there is free space left, of course) to create another partition. When you have finished partitioning, click the Finish Partitioning and Write Changes to Disk option.

Configuring a User

The next part of the installation routine configures a user for the computer. This user role is important as it not only can be used as a normal user but also has the ability to use sudo to perform system administrator tasks.

You are first asked to enter a full name for the user (such as Alan Clement). Next you are asked for a username, or one will be picked for you from your full name (such as alanc). If you want another username, enter it there. Finally, you are asked to enter a password for the user and asked to repeat the password for verification.

Finishing Up

At this point, the installation routine can now go away and install the system for you. After this, the computer will reboot, and the installation is complete.

  • + Share This
  • 🔖 Save To Your Account