1

Topic: Why am I asked for keymap? Change default in ISO image possible?

When I boot the LiveCD I am asked at first for the policy for handling keymaps.

I selected "Don't touch keymap"

which means from my point of view: There is a default keymap (=english) but it should not be changed. I hit OK.

But then I am prompted for a keymap (again):
"Looking for a keymap to install. Which language do you prefer?"

What makes this for a sense?
I told GParted to use the default keymap english!! So why bothering me again?

Assume I want to change the default keymap. Can I open (extract) the ISO image edit a certain file and repack the whole ISO image and burn it?
If yes: which file do I have to modifiy?

Peter

2

Re: Why am I asked for keymap? Change default in ISO image possible?

Hello Peter,

pstein wrote:

Assume I want to change the default keymap. Can I open (extract) the ISO image edit a certain file and repack the whole ISO image and burn it?

yes. in principle. Most Windows packer programs are able to extract ISO images (e.g. peazip). You further need a burner program, which creates bootable CDROMs (e.g. Nero). The boot sector code is contained as file on the ISO image (/boot.images/no_emul.00). With Linux, you can use "mkisofs" (not contained in "GParted") to create a bootable ISO-Image.

If yes: which file do I have to modifiy?

"isolinux.cfg"
Add the following parameters to the line, which starts with "append initrd= ..." (use your usual menu item) : keyb=us gl_kbd=us gl_lang=en_US gl_numlk=off gl_batch

The double keyboard configuration is necessary for the console window and the X-Graphical Interface. No more language selection- no more questions --> an unattended start !

Regards
cmdr

3

Re: Why am I asked for keymap? Change default in ISO image possible?

Would someone please let me know what this line would then look like?

Thanks

  append initrd=/live/initrd1.img boot=live union=aufs    noswap vga=791 ip=frommedia nolocales

4 (edited by cmdr 2009-03-10 20:23:39)

Re: Why am I asked for keymap? Change default in ISO image possible?

Hi,

it's quite simple :

append initrd=/live/initrd1.img boot=live union=aufs keyb=us gl_kbd=us gl_lang=en_US gl_numlk=off gl_batch noswap vga=791 ip=frommedia nolocales

The parameters' sequence doesn't matter; they are processed by a "case ... esac" routine in a loop. Parameters start here with "boot=live", because they belong to "initrd1.img" and not to "append".
"gl_"- parameters have effects in the graphical interface (numlk = NumLock; batch = stop, before graphical interface starts, is omitted), "keyb" in the console window.

Regards
cmdr

5

Re: Why am I asked for keymap? Change default in ISO image possible?

Thank you so much for replying so fast. Unlike myself who it took a couple of days to say thanks.

Copied and pasted the amended line and at first it didn't work, as I chose the 2nd option of the Menu. However, when I chose the 1st option on the menu, it worked just fine, but I just wonder whether there is time-out and it moves to the next prompt if there is no keyboard input!!

Again, thanks for replying so fast.
jc

cmdr wrote:

Hi,

it's quite simple :

append initrd=/live/initrd1.img boot=live union=aufs keyb=us gl_kbd=us gl_lang=en_US gl_numlk=off gl_batch noswap vga=791 ip=frommedia nolocales

The parameters' sequence doesn't matter; they are processed by a "case ... esac" routine in a loop. Parameters start here with "boot=live", because they belong to "initrd1.img" and not to "append".
"gl_"- parameters have effects in the graphical interface (numlk = NumLock; batch = stop, before graphical interface starts, is omitted), "keyb" in the console window.

Regards
cmdr