clacker
Group: Members
Posts: 570
Joined: June 2004 |
|
Posted: Sep. 08 2004,20:49 |
|
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 |
|