Seite 1 von 2

Boot Options (Solved)

Verfasst: 09 Dez 2015, 15:49
von djm79
When I add the lang=en to the boot menu options I get this error that stays up on the screen for 30 or 40 seconds then the goes away.

Code: Alles auswählen

Errno -2 no translation file found for domain: 'opsi-linux-bootimage'
It looks like it doesn't know how to translate the bootimage to English.

Re: Boot Options

Verfasst: 09 Dez 2015, 16:18
von m.radtke
it may depend on where you put the parameter

my append line looks like this

Code: Alles auswählen

append lang=en initrd=miniroot.bz2 video=vesa:ywrap,mtrr vga=791 quiet splash --no-log console=tty1 console=ttyS0 service=https://192.168.16.1:4447/rpc
and it does not show any error and shows every text intry in english

Cheers
Mathias

Re: Boot Options

Verfasst: 17 Dez 2015, 14:05
von djm79
Tried that and still the same thing. Is there a translation file that I can look at since that is what it seems to be complaining about?

Re: Boot Options

Verfasst: 18 Dez 2015, 08:32
von m.radtke
usually these kind of files are stored in

Code: Alles auswählen

/usr/share/locale
The master.py output itself is written in english, thus it shouldnt need any explicit translation. There are translations for german, italian, danish and french in the above folder

Re: Boot Options

Verfasst: 18 Dez 2015, 14:32
von djm79

Code: Alles auswählen

(57)      [3] [Dec 16 12:53:12] Locale not found: [Errno 2] No translation file found for domain: 'python-opsi' (UI.py|53)
(58)      [7] [Dec 16 12:53:12] Failed to set MAX LOG SIZE from config: [Errno 2] No such file or directory: '/etc/opsi/opsiconfd.conf' (Backend.py|89)
(59)      [3] [Dec 16 12:53:12] Locale not found: [Errno 2] No translation file found for domain: 'opsi-linux-bootimage' (master.py|81)
Here is what the log is saying. Further up in the log I can see where it sets the lang=en

Code: Alles auswählen

(0)       Dec 16 12:52:36 [opsiinit] opsi init script started
(1)       Dec 16 12:52:36 [opsiinit] opsi linux bootimage version: 20151125
(2)       Dec 16 12:52:36 [opsiinit] getBootParam(pwh): cmdline: lang=en initrd=miniroot.bz2 video=vesa:ywrap,mtrr vga=791 quiet splash --no-log console=tty1 console=ttyS0 dn=************* product=win7 hn=********** pckey=*** confidential *** service=https://10.10.10.254:4447/rpc BOOT_IMAGE=install 
(3)       Dec 16 12:52:36 [opsiinit] boot param pwh=
(4)       Dec 16 12:52:36 [opsiinit] getBootParam(nodhcp): cmdline: lang=en initrd=miniroot.bz2 video=vesa:ywrap,mtrr vga=791 quiet splash --no-log console=tty1 console=ttyS0 dn=************* product=win7 hn=*********pckey=*** confidential *** service=https://10.10.10.254:4447/rpc BOOT_IMAGE=install 
(5)       Dec 16 12:52:36 [opsiinit] boot param nodhcp=0
(6)       Dec 16 12:52:36 [opsiinit] getBootParam(hn): cmdline: lang=en initrd=miniroot.bz2 video=vesa:ywrap,mtrr vga=791 quiet splash --no-log console=tty1 console=ttyS0 dn=************ product=win7 hn=********** pckey=*** confidential *** service=https://10.10.10.254:4447/rpc BOOT_IMAGE=install 
(7)       Dec 16 12:52:36 [opsiinit] boot param hn=mbtlaptop2
(8)       Dec 16 12:52:36 [opsiinit] getBootParam(lang): cmdline: lang=en initrd=miniroot.bz2 video=vesa:ywrap,mtrr vga=791 quiet splash --no-log console=tty1 console=ttyS0 dn=************ product=win7 hn=*********** pckey=*** confidential *** service=https://10.10.10.254:4447/rpc BOOT_IMAGE=install 
(9)       Dec 16 12:52:36 [opsiinit] boot param lang=en
(10)      Dec 16 12:52:36 [opsiinit] loading keymap us
(11)      Dec 16 12:52:36 [opsiinit] setting language environment (LANG=en_US.UTF8, LANGUAGE=en, LC_ALL=en_US.UTF8)
Is there a problem with the Locale not be set or it can't figure out what it is?

Re: Boot Options

Verfasst: 21 Dez 2015, 20:16
von m.radtke
Please upload the full logs to some service you trust and post the link here.
I will take a look when I return from vacation.

Cheers
Mathias

Re: Boot Options

Verfasst: 31 Dez 2015, 15:34
von djm79
Here is a link to the a copy of a log from a machine with the error:

http://expirebox.com/download/b1a8d2e5a ... feb9b.html

Re: Boot Options

Verfasst: 05 Jan 2016, 14:09
von m.radtke
At which momend does the rror show up?
Right at the beginning or after the netboot product has been installed and the pc has to reboot?

Re: Boot Options

Verfasst: 05 Jan 2016, 15:16
von djm79
At the end of the net boot right before Windows starts up and starts installing.

Re: Boot Options

Verfasst: 05 Jan 2016, 15:37
von m.radtke
I think I might have a solution.

I will report back when I have a confirmation