Other Help Topics :: boot with the right keyboard from live-cd



maybe you can find a french KNOPPIX3.4 and is it posible to create a bootfloppy from it to try and if t works put it in your cd
your last post made me think about the german.kbd file i found in the cd boot/isolinux dir.
so i took my french KNOPPIX3.4 cd and went to the same dir.
i found that german.kbd was not there, but there was a bootkey.map file.
After a quick comparison beetween the 2 in scite, i found that it was the same kind of file, but with a different layout.
so i tried and replaced german.kbd by bootkey.map after renaming the last one.
but that still didn't solve my problem.
comparing the isolinux.cfg of both cd, i saw a reference to bootkey.map (kbdmap bootkey.map) in the knoppix one, and no reference to german.kbd in the dsl one.

i think that adding kbdmap followed by the name of the keyboard map file to isolinux.cfg should do the trick (if not, i really don't understand how linux work (but i will keep trying))

any idea if it can work this way ? and if not, why ?

i'm now wondering about the german.kbd usefullness the way things are configured now ...

well... i'll have to try something else
adding kbdmap bootkey.map to isolinux.cfg and putting bootkey.map inside the isolinux dir did not seem to do anything at all...
this is very confusing to me, as i expected something to change (in either a good or a bad way, that's not the problem) and my tinkering with these files seems not to be seen at all by the computer on startup. ???
after checking, the changes in the files are here, but it doesn't seem to affect anything...

ypx, you need to create a keyboard map with
/usr/sbin/keytab-lilo fr > fr.kbd
, place it into your boot/isolinux directory, and then modify your boot/isolinux/isolinux.cfg file by adding the line KBDMAP fr.kbd below the TIMEOUT 300 line.  Also change the lang=en to lang=fr.  The first 4 lines of my isolinux.cfc file looked like this:
Code Sample
DEFAULT linux24
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=minirt24.gz nomce noapic quiet BOOT_IMAGE=knoppix
TIMEOUT 300
KBDMAP fr.kbd


I did this and I did get the azerty keyboard when I entered things at the boot menu.

At first I thought resources were your problem, so I came up with this neat way to remaster with a minimum of memory and no hard drive.  The key is to use multisession CD burning, and the -x switch for mkisofs.  It's OK as long as the boot sector is in that first burn.  You would need to modify the -C and -M switches based on you values from cdrecord -scanbus and cdrecord -msinfo.

Code Sample
mkdir newcd
cp -Rp /cdrom/boot newcd
scite newcd/boot/isolinux/isolinux.cfg
    < add a line KBDMAP fr.kbd
      and change lang=en to lang=fr>
/usr/sbin/keytab-lilo fr > fr.kbd
mv fr.kbd newcd/boot/isolinux/fr.kbd
mkisofs -no-pad -l -r -J -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -hide-rr-moved -o mydsl.iso newcd
rm -rf newcd
rm -f fr.kbd
cdrecord -v blank=fast dev=0,1,0
cdrecord -multi -v dev=0,1,0 mydsl.iso
rm mydsl.iso
cdrecord -msinfo dev=0,1,0
mkisofs -J -r -C 0,12326 -M 0,1,0 -o second.iso -x /cdrom/boot /cdrom
cdrecord -multi -v dev=0,1,0 second.iso


Don't try to add this to a multisession CD you've already made, because the boot will look at the boot sector it made the first time you burned it.  Blank the CD if you can (CD-rw) or use a new CD if you can't.

i'm now understanding why my attempt failed as i was trying to modify things by using multisession.

will your instructions work if i boot with the toram option (to be able to burn the new cd from within dsl as the computer i'm working on will only boot dsl cd from my cd burner and not from my dvd reader) ?

excuse me if my questions seem dumb, but i'm really new to the linux world, and tried things like mkisofs and cdrecord yet. i'm really happy to have found such a responsive and friendly user forum :D

by the way a script allowing to remaster without touching the hard drive would be a very neat addition to future dsl version, as it would make it more standalone :cool:

Next Page...
original here.