Projet

Général

Profil

Boot d'installation avec console ssh » Historique » Version 1

Thierry Bertrand, 24/02/2016 07:39

1 1 Thierry Bertrand
h1. Boot d'installation avec console ssh
2 1 Thierry Bertrand
3 1 Thierry Bertrand
Pour avoir plus facilement des informations qu’en console VNC, nous pouvons démarrer une installation avec une console SSH.
4 1 Thierry Bertrand
5 1 Thierry Bertrand
h3. Démarrage de l’installation ISO avec une console SSH
6 1 Thierry Bertrand
7 1 Thierry Bertrand
# Au menu de démarrage de l’ISO, aller sur la ligne d’installation *@eCDL@*
8 1 Thierry Bertrand
# Appuyer sur la touche *@F6@* pour afficher le menu avancé et la ligne *@Options d’amorçage@*
9 1 Thierry Bertrand
# Appuyer sur la touche *@ECHAP@* pour faire disparaitre le menu et conserver la ligne *@Options d’amorçage@*
10 1 Thierry Bertrand
# Déplacer le curseur juste après le signe égal de *@classes=@*
11 1 Thierry Bertrand
# Saisir *@net/console;@*
12 1 Thierry Bertrand
# Appuyer sur *@ENTRER@* pour démarrer l’installation
13 1 Thierry Bertrand
14 1 Thierry Bertrand
La procédure se déroule normalement juqu’au menu de paramétrage de la console SSH
15 1 Thierry Bertrand
16 1 Thierry Bertrand
h3. Activation de la console SSH
17 1 Thierry Bertrand
18 1 Thierry Bertrand
# Saisir un *@Mot de passe pour l’installation à distance@*
19 1 Thierry Bertrand
# Mémoriser les informations de connexions affichés à l’écran
20 1 Thierry Bertrand
# Continuer l’installation en validant *@Continuer@*
21 1 Thierry Bertrand
22 1 Thierry Bertrand
h3. Accès SSH pour faciliter le debug de l’installation
23 1 Thierry Bertrand
24 1 Thierry Bertrand
Pendant l’installation, une connexion SSH est possible avec les paramètres notés plus haut :
25 1 Thierry Bertrand
26 1 Thierry Bertrand
# Exécuter la commande *@ssh installer@<IP>@* noté plus haut
27 1 Thierry Bertrand
# Choisir *@Ouvrir une ligne de commande interactive@* dans le menu qui est affiché
28 1 Thierry Bertrand
29 1 Thierry Bertrand
Les logs de l’installation sont dans *@/var/log/syslog@*
30 1 Thierry Bertrand
31 1 Thierry Bertrand
<pre>
32 1 Thierry Bertrand
~# tail -n 50 /var/log/syslog
33 1 Thierry Bertrand
Feb 23 11:21:06 in-target: Lecture des listes de paquets…
34 1 Thierry Bertrand
Feb 23 11:21:06 in-target: 
35 1 Thierry Bertrand
Feb 23 11:21:06 in-target: Construction de l'arbre des dépendances…
36 1 Thierry Bertrand
Feb 23 11:21:06 in-target: 
37 1 Thierry Bertrand
Feb 23 11:21:06 in-target: Lecture des informations d'état…
38 1 Thierry Bertrand
Feb 23 11:21:06 in-target: 
39 1 Thierry Bertrand
Feb 23 11:21:06 in-target: Certains paquets ne peuvent être installés. Ceci peut signifier
40 1 Thierry Bertrand
Feb 23 11:21:06 in-target: que vous avez demandé l'impossible, ou bien, si vous utilisez
41 1 Thierry Bertrand
Feb 23 11:21:06 in-target: la distribution unstable, que certains paquets n'ont pas encore
42 1 Thierry Bertrand
Feb 23 11:21:06 in-target: été créés ou ne sont pas sortis d'Incoming.
43 1 Thierry Bertrand
Feb 23 11:21:06 in-target: L'information suivante devrait vous aider à résoudre la situation : 
44 1 Thierry Bertrand
Feb 23 11:21:06 in-target: 
45 1 Thierry Bertrand
Feb 23 11:21:06 in-target: Les paquets suivants contiennent des dépendances non satisfaites :
46 1 Thierry Bertrand
Feb 23 11:21:06 in-target:  eole-ecdl-all : Dépend: eole-ecdl-module mais ne sera pas installé
47 1 Thierry Bertrand
Feb 23 11:21:06 in-target: E
48 1 Thierry Bertrand
Feb 23 11:21:06 in-target: : 
49 1 Thierry Bertrand
Feb 23 11:21:06 in-target: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l'état ».
50 1 Thierry Bertrand
Feb 23 11:21:06 in-target: 
51 1 Thierry Bertrand
[...]
52 1 Thierry Bertrand
</pre>