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 >
henk1955 Offline





Group: Members
Posts: 249
Joined: June 2004
Posted: Sep. 08 2004,11:22 QUOTE

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

--------------
You have a Q or just want to chat?
Come to #damnsmalllinux on irc.freenode.net!
Open 24/7

dell latitude c640 p4@1.6Ghz 256Mb DSL0.9.1-remaster
asus p4p800-vm p4@2.8Ghz HT / celeron@2.4Ghz 512Mb DSL0.9.1-remaster (alsadebs.dsl)
ABit BE6 celeron@466 256Mb DSL0.9.1-remaster (xawtv)
Back to top
Profile PM WEB MSN 
ypx Offline





Group: Members
Posts: 81
Joined: July 2004
Posted: Sep. 08 2004,13:15 QUOTE

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 ...


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





Group: Members
Posts: 81
Joined: July 2004
Posted: Sep. 08 2004,14:51 QUOTE

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...


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





Group: Members
Posts: 570
Joined: June 2004
Posted: Sep. 08 2004,15:01 QUOTE

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





Group: Members
Posts: 81
Joined: July 2004
Posted: Sep. 08 2004,15:43 QUOTE

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:


--------------
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