Board logo

标题: 请教:syslinux启动菜单边框如何调整 [打印本页]

作者: fddds     时间: 2008-4-8 16:51    标题: 请教:syslinux启动菜单边框如何调整

各位达人们,请问如何调整syslinux启动菜单的边框(范围、颜色)?
谢谢!
作者: wsfyoo8     时间: 2008-9-24 23:57


  Quote:
Originally posted by fddds at 2008-4-8 04:51 PM:
各位达人们,请问如何调整syslinux启动菜单的边框(范围、颜色)?
谢谢!

也想知道,那位高手能否注解一下这个配置,尤其是边框和颜色方面的

  Quote:
PROMPT 0
TIMEOUT 90
DEFAULT /boot/vesamenu.c32
MENU BACKGROUND /boot/slax.png

MENU WIDTH 36
MENU MARGIN 0
MENU ROWS 7
MENU HELPMSGROW 14
MENU TIMEOUTROW 22
MENU TABMSGROW 24
MENU CMDLINEROW 24
MENU HSHIFT 40
MENU VSHIFT 2

        menu color screen        37;40      #00000000 #00000000 none
       menu color border        30;44      #00000000 #00000000 none
        menu color title        1;36;44    #00000000 #00000000 none
       menu color unsel        37;44      #ff60CA00 #00000000 none
        menu color hotkey        1;37;44    #ff60CA00 #00000000 none
        menu color sel                7;37;40    #ffffffff #ff60CA00 none
        menu color hotsel        1;7;37;40  #ff808080 #ff60CA00 none
        menu color scrollbar        30;44      #00000000 #00000000 none

        menu color tabmsg        31;40      #aaaaaaaa #00000000 none
        menu color cmdmark        1;36;40    #ffff0000 #00000000 none
        menu color cmdline        37;40      #aaaaaaaa #00000000 none
        menu color pwdborder        30;47      #ffff0000 #00000000 std
        menu color pwdheader        31;47      #ffff0000 #00000000 std
        menu color pwdentry        30;47      #ffff0000 #00000000 std
        menu color timeout_msg        37;40      #aaaaaaaa #00000000 none
        menu color timeout        1;37;40    #ffaaaaff #00000000 none
        menu color help                37;40      #aaaaaa00 #00000000 none
        menu color msg07        37;40      #90ffffff #00000000 std


LABEL xconf
MENU LABEL Slax Graphics mode (KDE)
KERNEL /boot/vmlinuz
APPEND initrd=/boot/initrd.gz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;telinit~4 changes=/slax/
TEXT HELP
                                          More about currently selected:

                                          Run Slax the best way we can.
                                          Try to autoconfigure graphics
                                          card and use the maximum
                                          allowed resolution
ENDTEXT


LABEL fresh
MENU LABEL Slax Always Fresh
KERNEL /boot/vmlinuz
APPEND initrd=/boot/initrd.gz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;telinit~4
TEXT HELP
                                          More about currently selected:

                                          Normally Slax saves all changes
                                          to the /slax/changes/ directory
                                          on the boot media (if writable)
                                          and restores them next time.
                                          Use this option to start fresh
                                          system, no changes are neither
                                          read nor written anywhere
ENDTEXT

LABEL cp2ram
MENU LABEL Slax Copy To RAM
KERNEL /boot/vmlinuz
APPEND initrd=/boot/initrd.gz ramdisk_size=6666 root=/dev/ram0 rw copy2ram autoexec=xconf;telinit~4
TEXT HELP
                                          More about currently selected:

                                          Run Slax the same like above,
                                          but first copy all data to RAM
                                          to get huge speed (needs >300MB)
ENDTEXT

LABEL startx
MENU LABEL Slax Graphics VESA mode
KERNEL /boot/vmlinuz
APPEND initrd=/boot/initrd.gz ramdisk_size=6666 root=/dev/ram0 rw autoexec=telinit~4 changes=/slax/
TEXT HELP
                                          More about currently selected:

                                          Run Slax with KDE, but skip
                                          gfx-card config. Force 1024x768
                                          using standard VESA driver
ENDTEXT

LABEL slax
MENU LABEL Slax Text mode
KERNEL /boot/vmlinuz
APPEND initrd=/boot/initrd.gz ramdisk_size=6666 root=/dev/ram0 rw changes=/slax/
TEXT HELP
                                          More about currently selected:

                                          Run Slax in textmode and start
                                          command prompt only
ENDTEXT


MENU SEPARATOR

LABEL memtest86
MENU LABEL Run Memtest utility
KERNEL /boot/mt86p
TEXT HELP
                                          More about currently selected:

                                          Don't start Slax at all, but
                                          rather run the MemTest utility
                                          to diagnose your computer's RAM
                                          for possible errors
ENDTEXT

[ Last edited by wsfyoo8 on 2008-9-24 at 11:58 PM ]