3.1. Overview of the Installation Process

First, just a note about re-installations. With Ubuntu, a circumstance that will require a complete re-installation of your system is very rare; perhaps mechanical failure of the hard disk would be the most common case.

Many common operating systems may require a complete installation to be performed when critical failures take place or for upgrades to new OS versions. Even if a completely new installation isn't required, often the programs you use must be re-installed to operate properly in the new OS.

Under Ubuntu, it is much more likely that your OS can be repaired rather than replaced if things go wrong. Upgrades never require a wholesale installation; you can always upgrade in-place. And the programs are almost always compatible with successive OS releases. If a new program version requires newer supporting software, the Ubuntu packaging system ensures that all the necessary software is automatically identified and installed. The point is, much effort has been put into avoiding the need for re-installation, so think of it as your very last option. The installer is not designed to re-install over an existing system.

Here's a road map for the steps you will take during the installation process.

  1. Gather information about your computer and any needed documentation, before starting the installation.

  2. Back up any existing data or documents on the hard disk where you plan to install.

  3. Create partition-able space for Ubuntu on your hard disk.

  4. Locate and/or download the installer software and any specialized driver files your machine requires (except Ubuntu CD users).

  5. Set up boot tapes/floppies/USB sticks, or place boot files (most Ubuntu CD users can boot from one of the CDs).

  6. Boot the installation system.

  7. Select installation language.

  8. Activate the ethernet network connection, if available.

  9. Create and mount the partitions on which Ubuntu will be installed.

  10. Watch the automatic download/install/setup of the base system.

  11. Install a boot loader which can start up Ubuntu and/or your existing system.

  12. Load the newly installed system for the first time, and make some initial system settings.

  13. Install additional software (tasks and/or packages), at your discretion.

If you have problems during the installation, it helps to know which packages are involved in which steps. Introducing the leading software actors in this installation drama:

The installer software, debian-installer, is the primary concern of this manual. It detects hardware and loads appropriate drivers, uses dhcp-client to set up the network connection, and runs debootstrap to install the base system packages. Many more actors play smaller parts in this process, but debian-installer has completed its task when you load the new system for the first time.

Upon loading the new base system, base-config supervises adding users, setting a time zone (via tzsetup), and setting up the package installation system (using apt-setup. It then launches tasksel which can be used to select large groups of related programs, and in turn can run aptitude which allows you to choose individual software packages.

When debian-installer finishes, before the first system load, you have only a very basic command line driven system. The graphical interface which displays windows on your monitor will be installed later using aptitude. If you're installing a server or want to take care of all the package selection yourself for some other reason, type custom at the boot:.

Just be aware that the X system is completely separate from debian-installer, and in fact is much more complicated. Installation and trouble shooting of the X window installation is not within the scope of this manual.