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



I believe that's the case, athough I could be wrong.  I tried burning the entire cd as multisession and then overwriting the boot/isolinux/isolinux.cfg but that didn't work.  The method I outlined before definately works, though.  You need to read the dev values from cdrecord -scanbus and the multisession information after the first burn with cdrecord -msinfo dev=X,X,X to get the values for your system.
Here is the easiest, smallest, simplest procedure I could write for remastering with the French keyboard layout.  I stripped out all the multisession stuff, and wrote it to use minimum resources.  I think this should be relatively easy and clear.

First, you need to make some directories to work in.  sudo su changes you into the root user, the mkdir commands make directories, and the cp commands copy files and directories:

Code Sample

cd /home/dsl
sudo su
mkdir newcd
cp -Rp /cdrom/boot newcd
cp -Rp /cdrom/lost+found newcd
cp -p /cdrom/index.html newcd


Next create a keyboard map for the french keyboard, and edit your isolinux.cfg file.  I used scite for editing, but beaver works too.  Add a line KBDMAP fr.kbd and change lang=en to lang=fr.  The ln command in the last line below creates a link to the KNOPPIX directory (this saves a lot of space).

Code Sample
/usr/sbin/keytab-lilo fr > newcd/boot/isolinux/fr.kbd
scite newcd/boot/isolinux/isolinux.cfg
ln -s /cdrom/KNOPPIX newcd/KNOPPIX


Now create the iso file with mkisofs.  This might look like two commands lines, but it all gets typed on one long line.  The only difference here is the -f switch I used because the KNOPPIX directory was a link to the cdrom.  If you had room on another drive, you could mount it and rather than saving mydsl.iso, you could change it to /mnt/hda1/mystuff/mydsl.iso.  That way you would barely need any memory at all.

Code Sample
mkisofs -f -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


The last thing you need to do is to burn the iso to a cd.  There are a lot of ways to do it, I use cdrecord.  Since the last step yielded an iso file, any burning technique will work.  cdrecord -scanbus tells you what device number to use.  It's three coma separated numbers.  You can see that I use 0,1,0 because on my machine, that's what it was.

Code Sample
cdrecord -scanbus
cdrecord dev=0,1,0 mydsl.iso

real good work here.
even a linux complete newbie should be able to understand your procedure, as it's very clearly explained.
well done.
i'll try it as soon as i can (i'm really lacking of time)
thanks a lot

With the new 0.8.1 and the mkmydsl script, you can now easily create not only a custom cd with your myDSL extensions but also easily have your boot time options on the new cd without a complete remaster, and without manually editing any file..
wow ! i'm impressed with your reactivity to user demands !
really.
i'm downloading it now and will give feedback soon.

Next Page...
original here.