Linux-Mandrake:
User Guide and
Reference Manual

MandrakeSoft

 
 
January 2000
http://www.linux-mandrake.com


Next : Glossary
Previous : Command Line Utilities
Up

(Back to the table of contents)

Chapter 3 : Installation in text mode


Although using the new DrakX graphical installation is the recommended (and easiest) way to install Linux-Mandrake, a text-based installation option is also available.

The text-based install requires you to create a bootable floppy-disk if you are unable to boot directly from the CDROM. Instructions for creating a bootable floppy are contained in the Install guide.

When you run the program from a disk, you should obtain the screen displayed in figure 275.1.

Text mode install welcome screen
Figure 275.1 Text mode install welcome screen

Simply press Enter. The introduction screen then appears, like it is in figure 23.2.

Introduction screen to the installation procedure
Figure 23.2 Introduction screen to the installation procedure

Press Enter again: the installation itself should then start to run.

Handling the interface in text mode

Before going any further, it will be useful for you to learn some keyboard shortcuts so that you can manage the text interface. That way, you will not have to remember them all the time throughout this manual:

Choice of language and keyboard type

Installation begins as with DrakX: you have to select the default language for the system. This will also be the language for installation, and this choice is displayed figure 23.3.

Choice of the language
Figure 23.3 Choice of the language

Select the language you want and then validate (OK). Then comes the type of keyboard you have (figure 23.4).

Choice of the type of keyboard
Figure 23.4 Choice of the type of keyboard

Press OK again to validate.

Installation method

You will then be asked for the type of media the distribution files are located on. The usual choice is CDROM as shown in figure 23.5.

Choice of the installation media
Figure 23.5 Choice of the installation media

After this, the installation program will ask you to insert the Linux-Mandrake CD (if you have not already done so), then validate.

Installation or upgrade

After initializing the CDROM, you will be asked to choose between installing and upgrading. If you are updating a previous version of Linux-Mandrake choose the Upgrade option. To install a new system, choose Install (figure 23.6).

Install or upgrade?
Figure 23.6 Install or upgrade?

Installation class

The program will then ask (as shown in figure 23.7) for the installation class desired. These are the options:

Workstation, server, or custom installation?
Figure 23.7 Workstation, server, or custom installation?

SCSI adapters

The installation program will then ask you if you have a SCSI card, as in figure 23.8.

SCSI configuration
Figure 23.8 SCSI configuration

If you reply Yes, a search for a PCI adapter will be carried out. If such a card is found, the corresponding driver will be installed. If, on the other hand, you have an ISA card or a PCI card which is not known to the installation program, you will have to tell the installation program which driver to use, as in figure 23.9.

Choice of the SCSI driver
Figure 23.9 Choice of the SCSI driver

After selecting the driver, the program will ask for parameters for the driver. You can decide not to submit any: the driver will then try to find the adapter itself. Autodetection rarely fails, but if it does, do not forget the information you found in the Install guide: it will again be useful to you here.

Mount points

To continue with the Custom installation, select Disk Druid from the next screen as shown in figure 23.10. If you have already partitioned the hard drive, the Disk Druid program will let you specify mount points for the partitions. If you still need to create or modify partitions you may also perform that here.

Disk setup
Figure 23.10 Disk setup

You will then see the display of figure 23.11.

Disk setup
Figure 23.11 Disk setup

The graphic in figure 23.12 shows the minimum partitions and types needed for installation. To navigate through this window use the TAB and cursor keys.

Root mount point
Figure 23.12 Root mount point

Then press Enter. If you want to find out more about the mount points, refer to the Reference manual.

Then use the TAB key to move to the OK button, then validate.

Formatting the partitions

Now that the disk has been partitioned and the mount points allocated, the installation program will format these partitions, which means it will write a filesystem on the partitions. Firstly, the swap space is formatted (figure 23.13).

Active swap space
Figure 23.13 Active swap space

Selecting Check for bad blocks during format is recommended for older, error-prone hard drives; any bad blocks detected will be marked "unusable". Note that enabling this option will dramatically add time to the process. Then comes the formatting of the Linux data partitions (if you have several), as displayed in figure 23.14.

Formatting the data partitions
Figure 23.14 Formatting the data partitions

Here too, the procedure and options are the same. If you have several partitions to format, scroll down the list and select each of the partitions that you wish to format, using the spacebar.

Selection of packages

Next you will be asked to choose the software packages to be installed on your machine.

You may select entire groups of software from this list; or, by checking Select packages individually, you will be given the opportunity to choose individual applications (figure 23.15).

Components to install
Figure 23.15 Components to install

If you have asked to select the packages individually, you will see the window of figure 23.16.

Select the packages individually
Figure 23.16 Select the packages individually

All the groups are organized as a tree, and in each branch you will find the applications attached to this group. A + in front of a group means that the tree below this group has been collapsed, a - means that it has been expanded, and that you can see each of the packages below this group. You can press the spacebar to open or close a group.

A group marked with a o means that a few packages in this group are currently selected, but not all.

A group marked with a * means that all the packages in this group are currently selected. A space means that no application has been selected.

You can select or deselect a package using the spacebar. If you want to obtain information on a package, you simply have to highlight it and press F1.

After you have made your choices select the Done button and press Return. The partitions you selected are then formatted and the packages are now installed on your system.

Mouse detection

After package selection, the installation program will try to detect your mouse. You will then see a message similar to the one in figure 23.17.

Mouse detect
Figure 23.17 Mouse detect

This is a PS/2 mouse. If you have a serial mouse, the message looks like this:

Probing found some type of serial mouse on port ttyS0

In this example, the serial port ttyS0 is the equivalent of the DOS COM1. Press Enter to validate and the program will ask you the exact sort of mouse you have: it selects a generic type by default, but this may not be the one you want (figure 23.18).

Configuration of the type of the mouse
Figure 23.18 Configuration of the type of the mouse

Look through the list and see if it contains one of the types of mouse corresponding to yours. If you have no idea, choose a generic mouse with two or three buttons.

Warning: Many Linux applications depend on a three button mouse. If you have a two button mouse it is possible to emulate a third by selecting Emulate three buttons from this window. To use this "third" button, press both mouse buttons at the same time.

Configuring a local network

This screen enables you to connect up to an existing local network (by Ethernet, not an Internet connection by modem). If you are not on a network, choose No.

If you answer Yes, the installation program will look for a network card. If it finds one, it will install the driver. If it doesn't find one, a list of drivers will be displayed from which you will have to choose one. Here you may apply any information received from a Windows installation about your network card: just as when you configured an SCSI adapter, you will have to give the parameters to the driver so that it can find the card if autodetection fails.

Once the network card has been configured, you will have to configure its IP address (figure 23.19).

IP address setup
Figure 23.19 IP address setup

Normally, you will have a static IP address, unless you were part of an existing network and you were given a different method by the administrator. A static IP address is configured as in figure 23.20.

IP address configuration
Figure 23.20 IP address configuration

If you are part of an existing network, the network administrator will also have specified the parameters. If you are in a private network, do not forget to take a private network address class!

Similarly, do not enter a default gateway or name server (unless you have configured one) if your network is not connected to the Internet (don't forget that Internet connections by modem do not come under this section). Then you will have to configure the name of your machine (figure 23.21).

Configure the name of the machine
Figure 23.21 Configure the name of the machine

Choose whichever you like if you are on a private network. Otherwise, here too, the network administrator will have given you the name of the machine.

Configuring the clock

Configuring the clock
Figure 23.22 Configuring the clock

This tab is used to specify your time zone. Choose yours from the list displayed (figure 23.22).

Unless you know otherwise, do not select the Hardware clock set to GMT option; this would mean that your BIOS uses GMT time which isn't likely considering Windows does not support GMT.

Configuring services

During the startup process, a certain number of services will be started automatically. From the screen of figure 23.23 you can choose which services to enable during startup. If you're not sure, it's okay to leave the default selections. To view descriptions, select a service using the cursor keys and hit F1.

Services to start automatically
Figure 23.23 Services to start automatically

If you do not know to what these services correspond, leave the screen as it is.

Configuring a printer

If you want to configure a printer, pay attention to the screen of figure 23.24.

Configuring the printer
Figure 23.24 Configuring the printer

A printer is configured in exactly the same as in the case of DrakX. You may refer to that section in the Install guide for more information.

root password

Next you'll be prompted to enter a password for the root account. You will have to type it twice to ensure that you haven't made a mistake, and you must type it blindly, in the two boxes of figure 23.25.

root password
Figure 23.25 root password

The root password is a crucial part of the security of your system. root is the account normally held by a system administrator who has the power to modify all system settings. Choose your root password carefully!

Adding a non-privileged user

You'll then be asked to add a non-privileged user to the system. This is the account you will use to login for normal, everyday activity. It is strongly advised that you not normally use the root account as it is very easy to make a mistake that will harm the entire system.

Add unprivileged user
Figure 23.26 Add unprivileged user

First you will have to choose a login name: this is the name under which the user will log into the system. The user's real name is not mandatory. You will then have to choose a password for this new user, and here too you will have to type it in twice, blindly, to ensure that you have not made a mistake. If you want a different shell from Bash, choose one from the list offered.

Configuring authentification

Here you have to decide on the user authentication mechanisms for the machine (figure 23.27).

The default choices are generally what you need. However, if you are part of an existing network, you may have to use NIS. Ask your network administrator in this case.

Authentification configuration
Figure 23.27 Authentification configuration

Boot disk

The program will then ask you, as in figure 23.28, if you want to create a boot disk.

Bootdisk
Figure 23.28 Bootdisk

You should answer Yes for various reasons:

You will need to insert a disk which, if it is not empty, must not contain data which you may need...

Installing the boot loader

You can now install the Linux boot loader, LILO.

LILO installation
Figure 23.29 LILO installation

If you want to use LILO instead, reply Master Boot Record: this will name the boot sector. The program will then ask you to send the options to LILO where necessary, but you shouldn't need to (figure 23.30).

Special options for LILO
Figure 23.30 Special options for LILO

Configuring X

You now have to configure X Window System, the heart of the Linux graphical interface. If you have a recent card, it should normally be detected automatically. Otherwise, you will have to choose it from a list.

Next you have to choose a monitor. Here, too, you will be given a list of choices. If your monitor is not in it, choose Custom in the screen of figure 23.31.

You will then have to choose between several typical configurations: choose the one which corresponds to yours. But be careful not to choose one which is too high -- it could damage your system.

Monitor setup
Figure 23.31 Monitor setup

In some cases, you will also have to enter the amount of video memory on the card. The installation program will then start X to try to find the available video modes, and will suggest a default mode which you can accept or not. Finally, after the mode choices, X will start up and you will be able to judge the result.

Completed

System installation is now completed, and you now simply have to read through the rest of the manual :)


Next : Glossary
Previous : Command Line Utilities
Up

Copyright � 2000 MandrakeSoft