Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (7) </ 1 2 3 4 [5] 6 7 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: boot with the right keyboard from live-cd, without using boot parameter that is...< Next Oldest | Next Newest >
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: Sep. 08 2004,16:50 QUOTE

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.
Back to top
Profile PM 
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: Sep. 08 2004,20:49 QUOTE

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
Back to top
Profile PM 
ypx Offline





Group: Members
Posts: 81
Joined: July 2004
Posted: Sep. 09 2004,07:50 QUOTE

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


--------------
French Linux Newbie in learning
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Sep. 09 2004,14:02 QUOTE

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..
Back to top
Profile PM WEB 
ypx Offline





Group: Members
Posts: 81
Joined: July 2004
Posted: Sep. 09 2004,17:05 QUOTE

wow ! i'm impressed with your reactivity to user demands !
really.
i'm downloading it now and will give feedback soon.


--------------
French Linux Newbie in learning
Back to top
Profile PM 
31 replies since Sep. 07 2004,14:45 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (7) </ 1 2 3 4 [5] 6 7 >/
reply to topic new topic new poll
Quick Reply: boot with the right keyboard from live-cd

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code