The officially official Devuan Forum!

You are not logged in.

#1 2017-11-10 19:29:09

cardou
Member
Registered: 2017-11-10
Posts: 2  

(resolu) Kernel command line

Hello all
je suis francais, sujet traduit par google
I am french, subject translated by google

Est-ce que Devuan prend, accepte les Ligne de commande du noyau de debian ?
Does Devuan take, accept debian kernel command line?

Par exemple, ceci est il accepté ?
For example, is this accepted?

linux (loop)/live/vmlinuz live-config lang=fr_FR.UTF-8 locales=fr_FR.UTF-8 keyboard-layouts=fr timezone=Europe/Paris

Et pour ceci ?
And for this?

hooks=file:///lib/live/mount/medium/live/hooks/fix-lang.sh locales=fr_FR.UTF-8

Merci
thank you

Last edited by cardou (2017-11-11 18:05:47)

Offline

#2 2017-11-10 19:47:02

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,409  

Re: (resolu) Kernel command line

The second way is easier. The first way should work, but I can never do it correctly.

The devuan live isos are made with live-config and live-boot, same as debian, so the options are the same.

One thing different from the debian-live isos - the current (jessie) devuan-live isos have a pre-configured user, so you should not use "config" or "components" (live-config or live-components) on the command line. If you do use that option, you will only get the components that you named. (i.e. you must name every component that you want. See /var/log/live/config during a live session. That will show you which ones were used.)

If you use the hookscript, it will create a file, /etc/profile.d/zz_locale.sh (or maybe tt_locale.sh) which will contain:

export LANG=fr_FR.UTF-8
export LC_ALL=fr_FR.UTF-8

Every user on the system will get French. If you want only one user to have French, remove that file and put those lines in ~/.profile for that user.

Offline

#3 2017-11-11 18:04:32

cardou
Member
Registered: 2017-11-10
Posts: 2  

Re: (resolu) Kernel command line

re,
thank you for information, with this menu entry it's perfect

menuentry "devuan-live (i386)" {
set root='hd0,msdos1'		
set isofile="/isos/devuan_jessie_1.0.0_i386_desktop-live.iso"
loopback loop $isofile
linux (loop)/live/vmlinuz boot=live findiso=${isofile} username=devuan hooks=file:///lib/live/mount/medium/live/hooks/fix-lang.sh locales=fr_BE.UTF-8
initrd (loop)/live/initrd.img 
}
devuan@devuan:~$ cat /etc/profile.d/zz_locale.sh 
export LANG=fr_BE.UTF-8
export LC_ALL=fr_BE.UTF-8
devuan@devuan:~$ 

I go to resolu

Offline

Board footer