6.1. Asentimen toiminta

For this architecture the debian-installer supports two different user interfaces: a graphical one and a text-based one. The graphical interface is used by default unless you select an Install option in the boot menu. For more information about booting the graphical installer, please refer to Kohta 5.1.6, ”The Graphical Installer”.

Debianin asennin koostuu useista kunkin asennuksen toiminnon suorittavasta osasta. Kukin varta vasten kirjoitettu osa tekee työnsä kysyen käyttäjältä tarvittaessa. Kysymyksillä on tärkeysjärjestys, ja asentimen käynnistyessä säädetään jätetäänkö vähäpätöisemmät kysymykset kysymättä.

Oletusasennuksessa kysytään vain välttämättömät (korkea prioriteetti) kysymykset. Tällöin asennus on sangen automaattinen eikä käyttäjän tarvitse tehdä paljoakaan. Asentimen osat suoritetaan automaattisesti järjestyksessä; suoritettavat osat riippuvat käytetystä asennustavasta ja laitteistosta. Jos kysymystä ei kysytä, käytetään oletusarvoa.

Pulmatilanteessa käyttäjä näkee virheruudun ja mahdollisesti asentimen valikon, josta voidaan valita vaihtoehtoinen toiminto. Käyttäjä vastaa jokaisen osan kysmyksiin järjestyksessä, eikä näe valikkoa lainkaan jos pulmatilanteita ei tule. Ilmoitukset vakavista virheistä asetetaan kriittiselle prioriteetille, jotta ne näytettäisiin käyttäjälle aina.

Some of the defaults that the installer uses can be influenced by passing boot arguments when debian-installer is started. If, for example, you wish to force static network configuration (IPv6 autoconfiguration and DHCP are used by default if available), you could add the boot parameter netcfg/disable_autoconfig=true. See Kohta 5.3.2, ”Debianin asentimen parametrit” for available options.

Edistyneet käyttäjät saattavat käyttää mieluummin valikkoa, jolloin jokaisen vaiheen valitsee käyttäjä eikä asennin suorita vaiheita automaattisesti järjestyksessä. Valikon saa käyttöön tarkentimella priority=medium.

Mikäli ytimen moduuleille on asennettaessa annettava tarkentimia laitteistovaatimusten takia, on asennin käynnistettävä expert -tilassa. Tämä tehdään joko käynnistämällä asennin komennolla expert tai käyttämällä tarkenninta priority=low. Expert-tilassa debian-installer asentimen toiminta on täysin käyttäjän määrättävissä.

In the text-based environment the use of a mouse is not supported. Here are the keys you can use to navigate within the various dialogs. The Tab or right arrow keys move forward, and the Shift+Tab or left arrow keys move backward between displayed buttons and selections. The up and down arrow select different items within a scrollable list, and also scroll the list itself. In addition, in long lists, you can type a letter to cause the list to scroll directly to the section with items starting with the letter you typed and use Pg-Up and Pg-Down to scroll the list in sections. The space bar selects an item such as a checkbox. Use Enter to activate choices.

Joissakin valintaikkunoissa voi olla tarjolla lisäohjeita. Jos ohje on saatavilla, näkyy näytön alimmalla rivillä, että ohjeita saatavilla näppäilemällä F1.

Virheilmoitukset ja lokit ohjataan neljänteen konsoliin. Tähän konsoliin pääsee näppäinyhdistelmällä Vasen Alt+F4 (Pidä vasenta Alt-näppäintä painettuna samalla kun painat funktionäppäintä F4); asentimeen palataan painamalla Vasen Alt+F1.

Nämä viestit ovat myös tiedostossa /var/log/syslog. Tämä loki kopioidaan asennuksen jälkeen tiedostoon /var/log/installer/syslog asennetussa järjestelmässä. Muut asentimen ilmoitukset löytyvät asennuksen aikana hakemistosta /var/log/ ja tietokoneen käynnistettyä asennetun järjestelmän hakemistosta /var/log/installer/.

6.1.1. Using the graphical installer

The graphical installer basically works the same as the text-based installer and thus the rest of this manual can be used to guide you through the installation process.

If you prefer using the keyboard over the mouse, there are two things you need to know. To expand a collapsed list (used for example for the selection of countries within continents), you can use the + and - keys. For questions where more than one item can be selected (e.g. task selection), you first need to tab to the Continue button after making your selections; hitting enter will toggle a selection, not activate Continue.

If a dialog offers additional help information, a Help button will be displayed. The help information can be accessed either by activating the button or by pressing the F1 key.

To switch to another console, you will also need to use the Ctrl key, just as with the X Window System. For example, to switch to VT2 (the first debug shell) you would use: Ctrl+Left Alt+F2. The graphical installer itself runs on VT5, so you can use Left Alt+F5 to switch back.