Results 1 to 7 of 7

Thread: boot.img: deeper customization...

  1. #1
    Junior Member registered user
    Join Date
    Mar 2003
    Posts
    17

    boot.img: deeper customization...

    I want to customize boot process, so I had mounted boot.img. I've succesfully customized LOGO16 and SYSLINUX.CFG. When I opened F2 and BOOT.MSG files I saw they are not plain text file as syslinux.cfg. As exemple F2 appears like:

    17 12ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿³ 1a>>> 1eCHEATCODES FOR KNOPPIX V3.2 (hit F1 to get back to the main screen) 1a<<<12 ³ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ17
    1bThe KNOPPIX autoconfiguration scripts accept the following kernel options17

    and so on. I don't want to mess up anything so: how do I have to treat these strange characters ???

    Second question: where can I find or generate a proper keyboard file ??? How can I set it as default instead of german.kbd one ?

    Third: Where can I customize messages that comes after boot process ?? I mean "Welcome to Knoppix Live CD" and so on...

    Thank you !

  2. #2
    Senior Member registered user
    Join Date
    Apr 2003
    Posts
    220
    1. use hex editor

    2. look at /etc/init.d/knx-autoconfig

    3. I think you must change kernel for that - look in /usr/src/

  3. #3
    Junior Member registered user
    Join Date
    Mar 2003
    Posts
    17
    Quote Originally Posted by Ghandalfar
    1. use hex editor

    2. look at /etc/init.d/knx-autoconfig

    3. I think you must change kernel for that - look in /usr/src/
    1. It's the same !
    2. I'm referring to keyboard file that comes with boot.img. Why should I look at /etc/init.d/knx-autoconfig ?
    3. This means recompile kernel or something like this ??? GULP!

    Bye !

  4. #4
    Senior Member registered user
    Join Date
    Apr 2003
    Posts
    220
    1. Yes, just change the text around those hex numbers that mean color (see appendix)

    2. Sorry.

    3. I'm afraid so.

    Appendix:
    from syslinux doc file:

    ++++ DISPLAY FILE FORMAT ++++

    DISPLAY and function-key help files are text files in either DOS or UNIX
    format (with or without <CR>). In addition, the following special codes
    are interpreted:

    <FF> <FF> = <Ctrl-L> = ASCII 12
    Clear the screen, home the cursor. Note that the screen is
    filled with the current display color.

    <SI><bg><fg> <SI> = <Ctrl-O> = ASCII 15
    Set the display colors to the specified background and
    foreground colors, where <bg> and <fg> are hex digits,
    corresponding to the standard PC display attributes:

    0 = black 8 = dark grey
    1 = dark blue 9 = bright blue
    2 = dark green a = bright green
    3 = dark cyan b = bright cyan
    4 = dark red c = bright red
    5 = dark purple d = bright purple
    6 = brown e = yellow
    7 = light grey f = white

    Picking a bright color (8-f) for the background results in the
    corresponding dark color (0-7), with the foreground flashing.

    Colors are not visible over the serial console.

    <CAN>filename<newline> <CAN> = <Ctrl-X> = ASCII 24
    If a VGA display is present, enter graphics mode and display
    the graphic included in the specified file. The file format
    is an ad hoc format called LSS16; the included Perl program
    "ppmtolss16" can be used to produce these images. This Perl
    program also includes the file format specification.

    The image is displayed in 640x480 16-color mode. Once in
    graphics mode, the display attributes (set by <SI> code
    sequences) work slightly differently: the background color is
    ignored, and the foreground colors are the 16 colors specified
    in the image file. For that reason, ppmtolss16 allows you to
    specify that certain colors should be assigned to specific
    color indicies.

    Color indicies 0 and 7, in particular, should be chosen with
    care: 0 is the background color, and 7 is the color used for
    the text printed by SYSLINUX itself.

    [i] [i] = <Ctrl-Y> = ASCII 25
    If we are currently in graphics mode, return to text mode.

    <DLE>..<ETB> <Ctrl-P>..<Ctrl-W> = ASCII 16-23
    These codes can be used to select which modes to print a
    certain part of the message file in. Each of these control
    characters select a specific set of modes (text screen,
    graphics screen, serial port) for which the output is actually
    displayed:

    Character Text Graph Serial
    ------------------------------------------------------
    <DLE> = <Ctrl-P> = ASCII 16 No No No
    <DC1> = <Ctrl-Q> = ASCII 17 Yes No No
    <DC2> = <Ctrl-R> = ASCII 18 No Yes No
    <DC3> = <Ctrl-S> = ASCII 19 Yes Yes No
    <DC4> = <Ctrl-T> = ASCII 20 No No Yes
    <NAK> = <Ctrl-U> = ASCII 21 Yes No Yes
    <SYN> = <Ctrl-V> = ASCII 22 No Yes Yes
    <ETB> = <Ctrl-W> = ASCII 23 Yes Yes Yes

    For example:

    <DC1>Text mode<DC2>Graphics mode<DC4>Serial port<ETB>

    ... will actually print out which mode the console is in!

    <SUB> <SUB> = <Ctrl-Z> = ASCII 26
    End of file (DOS convention).

  5. #5
    Junior Member registered user
    Join Date
    Mar 2003
    Posts
    17
    ok, thank you !

  6. #6
    Junior Member
    Join Date
    Feb 2004
    Location
    Belgium
    Posts
    6

    So you mean there is no Editor?

    I also want to edit that F2 screen, is there really no editor whom can give me a screen preview?



    There must be one out there!

    Xilinx

  7. #7
    Junior Member registered user
    Join Date
    Jun 2004
    Posts
    14
    apt-get install tetradraw

    tetradraw is an easy to use drawing utility that gives you an ease access to
    the high characters like smileys, card signs and the well known single and
    double frame line characters but much more. Also the changing of foreground
    and background colors is not hard to do.
    .
    tetraview is the viewer for such produced images.

    You have to use it from a terminal, not an emulated terminal (like xterm or konsole)

Similar Threads

  1. kde menu customization
    By stclaus in forum Customising & Remastering
    Replies: 9
    Last Post: 03-13-2006, 01:27 AM
  2. router customization
    By dwatkins in forum Networking
    Replies: 1
    Last Post: 12-21-2004, 04:08 PM
  3. Can I do a customization CD of knoppix for myself?
    By windinrain in forum General Support
    Replies: 1
    Last Post: 12-09-2003, 07:25 AM
  4. Not just another Knoppix customization
    By MattT in forum The Lounge
    Replies: 0
    Last Post: 04-18-2003, 05:55 AM
  5. hdinstall-customization
    By my2cents in forum Customising & Remastering
    Replies: 2
    Last Post: 02-27-2003, 08:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Juniper Networks EX3300-48P 48-Port PoE+ 4x SFP+ Network Switch w/ Power Cord picture

Juniper Networks EX3300-48P 48-Port PoE+ 4x SFP+ Network Switch w/ Power Cord

$43.95



lot of 10 Juniper EX-SFP-10GE-SR Compatible 10GBASE-SR SFP+ 850nm 300m DOM -J499 picture

lot of 10 Juniper EX-SFP-10GE-SR Compatible 10GBASE-SR SFP+ 850nm 300m DOM -J499

$220.00



JUNIPER EX3400-48P 48x 1GB PoE+ RJ-45 4x 10GB SFP+ 2x 40GB QSFP+, DUAL AC POWER picture

JUNIPER EX3400-48P 48x 1GB PoE+ RJ-45 4x 10GB SFP+ 2x 40GB QSFP+, DUAL AC POWER

$210.00



Juniper Networks EX2200-C-12P-2G 12 Port Gigabit PoE 2 T/SFP 1G Network Switch picture

Juniper Networks EX2200-C-12P-2G 12 Port Gigabit PoE 2 T/SFP 1G Network Switch

$129.00



Juniper EX3300-48P, 48 Port PoE+ Gigabit Network Switch w/ Power cord picture

Juniper EX3300-48P, 48 Port PoE+ Gigabit Network Switch w/ Power cord

$54.99



EX2300-24P Juniper 24-port 10/100/1000BASE-T PoE+ 4 x 1/10GbE SFP/SFP+ UNCLAIMED picture

EX2300-24P Juniper 24-port 10/100/1000BASE-T PoE+ 4 x 1/10GbE SFP/SFP+ UNCLAIMED

$450.00



Juniper Networks EX3300 EX3300-48P 48-Port Gigabit PoE+ Switch picture

Juniper Networks EX3300 EX3300-48P 48-Port Gigabit PoE+ Switch

$41.43



Juniper EX3400-48P 48-Ports PoE+ 4x SFP+ and 2x QSFP+ Managed Switch Tested picture

Juniper EX3400-48P 48-Ports PoE+ 4x SFP+ and 2x QSFP+ Managed Switch Tested

$205.00



Juniper QFX5100-48T-AFI   48 100M/1G/10G Base-T 6 QSFP AFI picture

Juniper QFX5100-48T-AFI 48 100M/1G/10G Base-T 6 QSFP AFI

$485.00



JUNIPER EX4550-32F-AFO 32-PORT ETHERNET SWITCH 2x POWER SUPPLY - TESTED picture

JUNIPER EX4550-32F-AFO 32-PORT ETHERNET SWITCH 2x POWER SUPPLY - TESTED

$299.99