[mkinitcpio] locale.conf command not found (résolu)

Questions et astuces concernant l'installation et la configuration d'archlinux
gile
Daikyu
Messages : 80
Inscription : sam. 06 avr. 2013, 13:31
Localisation : Fribourg (Suisse)

[mkinitcpio] locale.conf command not found (résolu)

Message par gile »

Bonjour,

Je suis sur l'installation d'un nouveau portable (un why!).

Code : Tout sélectionner

# cat /etc/vconsole.conf
KEYMAP=fr_CH-latin1

# cat /etc/locale.conf
fr_CH.UTF-8

# grep -e '^HOOKS=' /etc/mkinitcpio.conf
HOOKS=(base udev autodetect modconf block filesystems keyboard keymap fsck shutdown)

# mkinitcpio -p linux
[snip]
-> Running build hook: [keymap]
/etc/locale.conf: line1: fr_CH.UTF-8: command not found
[snip]
Et je ne comprend pas trop pourquoi il n'accepte pas ma locale.

Cela m'importe car j'aimerais par la suite passer à une installation entièrement chiffrée. Mais là, j'ai suivit, il me semble à la lettre, la page Installation

J'ai chercher, je teste depuis 6h ce matin... mais je ne trouve pas...

Un très gros merci de m'avoir lu.
Dernière modification par gile le mar. 27 août 2019, 12:14, modifié 1 fois.
Gile Dey
laurent85
Elfe
Messages : 954
Inscription : mar. 16 oct. 2018, 21:05

Re: [mkinitcpio] locale.conf command not found

Message par laurent85 »

Bonjour,
gile a écrit : mar. 27 août 2019, 11:49

Code : Tout sélectionner

# cat /etc/locale.conf
fr_CH.UTF-8
Mets LANG=fr_CH.UTF-8
gile
Daikyu
Messages : 80
Inscription : sam. 06 avr. 2013, 13:31
Localisation : Fribourg (Suisse)

Re: [mkinitcpio] locale.conf command not found (résolu)

Message par gile »

Ben oui, Un très gros merci.

C'est la bonne solution. Je devais trop avoir la tête dans le gidon...
Gile Dey
Répondre