Hello,
the Debian Installer at the current daily squeeze build asks for the
parameter "keyboard-configuration/variant".
I have added the following line to my preseed config, but it would be
nice if those changes would be mentioned at the preseed_example.txt on
http://www.debian.org/releases/testing/example-preseed.txt.
keyboard-configuration keyboard-configuration/variant select Deutschland
Regards, Dennis
Yes, apparently, there's no example about keyboard-configuration in
the pressed documentation in the Installation Guide.
I'm unsure where the example-preseed.txt file which you mention comes
from, though. At least it is not in the installation guide.
I have added some the other day.
Dennis, can you confirm that
d-i console-keymaps-at/keymap select us
d-i keyboard-configuration/xkb-keymap select us
is enough?
> I'm unsure where the example-preseed.txt file which you mention comes
> from, though. At least it is not in the installation guide.
It's generated from the installation guide:
./build/buildweb.sh: ./preseed.pl -r $manual_release $PRESEED >$destination/example-preseed.txt
That just needs to get done to update the file mentioned above.
Samuel
--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Am 20.01.2011 01:44, schrieb Samuel Thibault:
> Christian PERRIER, le Wed 19 Jan 2011 18:29:33 +0100, a écrit :
>> Quoting Dennis Hoppe (dennis...@credativ.de):
>>> the Debian Installer at the current daily squeeze build asks for the
>>> parameter "keyboard-configuration/variant".
>>>
>>> I have added the following line to my preseed config, but it would be
>>> nice if those changes would be mentioned at the preseed_example.txt on
>>> http://www.debian.org/releases/testing/example-preseed.txt.
>>>
>>> keyboard-configuration keyboard-configuration/variant select Deutschland
>>
>> Yes, apparently, there's no example about keyboard-configuration in
>> the pressed documentation in the Installation Guide.
>
> I have added some the other day.
>
> Dennis, can you confirm that
>
> d-i console-keymaps-at/keymap select us
> d-i keyboard-configuration/xkb-keymap select us
>
> is enough?
unfortunately that is not enough. The parmeter "d-i
keyboard-configuration/variant select Deutschland" is necessary.
The following config works for me.
#### Contents of the preconfiguration file (for squeeze)
### Localization
# Preseeding only locale sets language, country and locale.
d-i debian-installer/locale string de_DE.UTF-8
d-i keyboard-configuration/variant select Deutschland
d-i keyboard-configuration/xkb-keymap select de
# The values can also be preseeded individually for greater flexibility.
#d-i debian-installer/language string en
#d-i debian-installer/country string NL
#d-i debian-installer/locale string en_GB.UTF-8
# Optionally specify additional locales to be generated.
#d-i localechooser/supported-locales en_US.UTF-8, nl_NL.UTF-8
# Keyboard selection.
#d-i console-tools/archs select at
d-i console-keymaps-at/keymap select de-latin1-nodeadkeys
# Example for a different keyboard architecture
#d-i console-keymaps-usb/keymap select mac-usb-us
...
Regards, Dennis
But the problem is that it shouldn't be needed, because xkb-keymap
provides a value for layout and sets it as seen.
And it is indeed not needed for me in my tests. What I'm doing is
booting with the following parameter given on the kernel command line:
keyboard-configuration/xkb-keymap=de
I never get asked for the variant. Could you perhaps post your whole
preseed file (with passwords replaced with foobar), so I can test with
exactly the same parameters?
I'm still unable to reproduce the issue
- I've added
d-i keyboard-configuration/xkb-keymap select de
to your file
- I've added it as /preseed.cfg to the initrd from the squeezerc2 businesscard
image for i386
- I've booted the initrd and kernel. It all installs by itself without
asking a single question.
Where is the difference with your tests?
Am 24.01.2011 02:27, schrieb Samuel Thibault:
> Dennis Hoppe, le Fri 21 Jan 2011 16:35:56 +0100, a écrit :
>> Am 20.01.2011 18:47, schrieb Samuel Thibault:
>>> And it is indeed not needed for me in my tests. What I'm doing is
>>> booting with the following parameter given on the kernel command line:
>>>
>>> keyboard-configuration/xkb-keymap=de
>>>
>>> I never get asked for the variant. Could you perhaps post your whole
>>> preseed file (with passwords replaced with foobar), so I can test with
>>> exactly the same parameters?
>>
>> of course. Here ist my little config.
>
> I'm still unable to reproduce the issue
>
> - I've added
>
> d-i keyboard-configuration/xkb-keymap select de
>
> to your file
>
> - I've added it as /preseed.cfg to the initrd from the squeezerc2 businesscard
> image for i386
> - I've booted the initrd and kernel. It all installs by itself without
> asking a single question.
>
> Where is the difference with your tests?
i think there is a litte misunderstanding, here.
My "preseed" config works, because it already includes the parameter
"keyboard-configuration/variant select Deutschland". You asked me, if
there are any problems when i only use the parameter
"keyboard-configuration/xkb-keymap select de". In my tests the parameter
"keyboard-configuration/variant select Deutschland" was necessary.
If you like, i can retry the installation with and without the
concerning parameter and send you the logs.
Regards, Dennis
Dennis Hoppe, le Mon 24 Jan 2011 18:06:00 +0100, a écrit :
> My "preseed" config works, because it already includes the parameter
> "keyboard-configuration/variant select Deutschland".
Ah. But usually, in bug reports, you're supposed to provide what is
supposed to work but doesn't, not only the workaround that happens to
work.
> You asked me, if
> there are any problems when i only use the parameter
> "keyboard-configuration/xkb-keymap select de". In my tests the parameter
> "keyboard-configuration/variant select Deutschland" was necessary.
In my tests it was not. Here is the preseed file I've used today: I've
j st changed the mirror and defined xkb-keymap only. I have added it as
/preseed.cfg to the gtk initrd of squeeze rc2 businesscard i386, booted
with the kernel, it all installs by itself.
Samuel
Am 27.01.2011 11:59, schrieb Samuel Thibault:
> Dennis Hoppe, le Thu 27 Jan 2011 11:49:52 +0100, a écrit :
>> i did some tests and used the daily and rc2 iso of squeeze, but i am
>> always getting asked for the keyboard layout.
>
> Which iso do you use? How do you feed it with the preseed file?
i am using the following two images:
http://cdimage.debian.org/cdimage/squeeze_di_rc2/i386/iso-cd/debian-squeeze-di-rc2-i386-netinst.iso
I also added the following line to "isolinux/txt.cfg" and remastered the
image to save some typing.
label basic
menu label ^Install (basic)
kernel /install.386/vmlinuz
append auto=true priority=critical vga=791
file=/cdrom/preseed/basic.cfg initrd=/install.386/initrd.gz
DEBCONF_DEBUG=5 -- quiet
Regards, Dennis
Which iso do you use? How do you feed it with the preseed file?
Samuel
Dennis Hoppe, le Thu 27 Jan 2011 12:05:40 +0100, a écrit :
> i am using the following two images:
>
> http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/multi-arch/iso-cd/debian-testing-amd64-i386-netinst.iso
>
> http://cdimage.debian.org/cdimage/squeeze_di_rc2/i386/iso-cd/debian-squeeze-di-rc2-i386-netinst.iso
>
> I also added the following line to "isolinux/txt.cfg" and remastered the
> image to save some typing.
>
> label basic
> menu label ^Install (basic)
> kernel /install.386/vmlinuz
> append auto=true priority=critical vga=791
> file=/cdrom/preseed/basic.cfg initrd=/install.386/initrd.gz
> DEBCONF_DEBUG=5 -- quiet
Ok, it helps a lot to have an idea what it might be happening when
you give more details. Since you were talking about console-setup
configuration I thought you were using the gtk image (which uses
console-setup for keyboard configuration instead of kbdchooser), and was
thus testing that, which would actually prevent the bug from happening.
According to your screenshot, the question is actually asked by the
_installed_ keyboard-configuration, which doesn't get enough information
from d-i to know which variant to choose.
That being said, I'm still unable to reproduce the issue.
I have
- taken http://cdimage.debian.org/cdimage/squeeze_di_rc2/i386/iso-cd/debian-squeeze-di-rc2-i386-netinst.iso ,
- put your basic.cfg into preseed/ ,
- appended file=/cdrom/preseed/basic.cfg to the kernel command line in txt.cfg ,
- rebuilt the image using genisoimage,
- booted it,
- chosen the text installer,
- chosen German
- chosen Deutschland
- chosen Deutsch keyboard
From then on everything happens up to rebooting into a freshly installed
system. I have also tried with english/US/german, and english/US/USA,
still the same. Where is the difference? (Maybe you could upload the
image you have produced, to make sure we have at least the same image).