syslinux的gfxboot配置 http://bbs.wuyou.com/forum.php?mod=viewthread&tid=160655 (出处: 无忧启动论坛)
1 ; Sections are read in the order given in base::layout, with section 'base' 2 ; implicitly added at the end. If a config value is given more than once, 3 ; the first entry wins. 4 ; 5 ; If a screen resolution can't be set, 640x480 is used as fallback (and 6 ; section '640x480' added to the layout list). 7 ; 8 ; If the penguin screen is active, section 'penguin' is automatically added 9 ; to the layout list. 10 ; 11 ; Setting livecd=1 implicitly adds section 'live' to the layout list. 12 ; 13 ; Color values: 24 bit RGB (e.g. 0xff0000 = red). 14 ; 15 16 [base] 17 ; theme name 18 theme=openSUSE 19 ; other sections to read 20 layout=1024x768,live 21 ; penguin theme likelihood (in percent, -1 = auto) 22 ; penguin=100开启动画,-1为自动,0为关闭 23 penguin=-1 24 ; activate speech output 25 talk=0 26 ; sound volume (0..100) 27 volume=70 28 ; menu background transparency (0..255) 29 menu.transparency=0x20 30 ; default font 31 font.normal=16x16.fnt 32 ; main menu font 33 font.large=16x16.fnt 34 ; background image 35 background=back.jpg 36 ; max. visible main menu items 37 ; mainmenu.entries=16 设置菜单条数为16 38 mainmenu.entries=16 39 ; minimal main menu selection bar width 40 mainmenu.bar.minwidth=300 41 ; main menu selection bar transparency (0..255) 42 mainmenu.bar.transparency=150 43 ; main menu colors 44 ; mainmenu.bar.color=0xFF0000 菜单选定条颜色 45 mainmenu.bar.color=0xffffff 46 ; mainmenu.normal.fg=0xFF0000 未选定菜单文字颜色 47 mainmenu.normal.fg=0xEEC900 48 ; mainmenu.selected.fg=0xFF0000 选定菜单文字颜色 49 mainmenu.selected.fg=0xFF0000 50 ; boot option colors 启动选项颜色 51 bootopt.label.fg=0xFF0000 52 bootopt.text.fg=0xFF0000 53 ; progress bar color 54 progress.bar.color=0x295202 55 ; menu colors 56 menu.normal.bg=0xd8deed 57 menu.normal.fg=0xEE30A7 58 menu.selected.bg=0x6c6c6c 59 menu.selected.fg=0xffffff 60 ; window colors 61 window.bg=0xd8deed 62 window.fg=0x000000 63 window.title.bg=0x217b05 64 window.title.fg=0xffffff 65 window.title.error.bg=0xc00000 66 ; help system colors 67 help.link.fg=0x0000a0 68 help.link.selected.fg=0xffffff 69 help.link.selected.bg=0x0000a0 70 help.highlight.fg=0x009000 71 ; panel colors 72 panel.fg=0xEE30A7 73 ; panel.title.fg 底下“语言”等文字的颜色 74 panel.title.fg=0xffffff 75 ; FX的颜色 76 panel.f-key.fg=0xFF0000 77 ; default keymap (e.g. de-latin1-nodeadkeys or cz-lat2-us) 78 keymap= 79 ; replace underscores ('_') with space in menu entries 80 _2space=1 81 82 [1024x768] 83 ; screen size 84 screen.size=1024,768 85 ; upper left corner, if x = -1, center horizontally 86 ; mainmenu.pos=120,80 调整菜单的水平向左位置为120,垂直向下为80 87 mainmenu.pos=120,80 88 ; boot option input field position 89 ; bootopt.pos=120,510调整启动项的水平向左位置为120,垂直向下为505 90 bootopt.pos=120,500 91 92 [800x600] 93 ; screen size 94 screen.size=800,600 95 ; upper left corner, if x = -1, center horizontally 96 ; mainmenu.pos=100,80 调整菜单的水平向左位置为100,垂直向下为80 97 mainmenu.pos=100,80 98 ; boot option input field position 99 ; bootopt.pos=100,500调整启动项的水平向左位置为180,垂直向下为500 100 bootopt.pos=180,500 101 102 [640x480] 103 ; screen size 104 screen.size=640,480 105 ; upper left corner, if x = -1, center horizontally 106 mainmenu.pos=120,80 107 ; boot option input field position 108 bootopt.pos=120,380 109 110 [penguin] 111 ; upper left corner, if x = -1, center horizontally 112 mainmenu.pos=220,163 113 ; main menu selection bar transparency (0..255) 114 mainmenu.bar.transparency=120 115 ; boot option input field position 116 bootopt.pos=263,490 117 ; background image 118 background=pback.jpg 119 120 [live] 121 welcome=1 122 ; set livecd flag 123 livecd=1 124 ; move down one menu entry the first time an F-key is used 125 autodown=0 126 ; F-key assignments, see install section for doc 127 key.F2=lang 128 key.F3=video 129 key.F4= 130 key.F5= 131 key.F6= 132 key.F7= 133 key.F8= 134 key.F11=reboot 135 key.F12=poweroff 136 ; add 'lang' option with current locale 137 addopt.lang=1 138 ; add 'keytable' option with current keymap 139 addopt.keytable=1 复制代码 2、syslinux.cfg示例: 140 default TangoPE 141 implicit 1 142 ui /boot/syslinux/gfxboot.c32 /boot/syslinux/message 143 prompt 1 144 timeout 300 145 label harddisk 146 localboot 0x80 147 label TangoPE 148 boot /boot/bin/TANGOPE.bin 149 label 66369 150 boot /BOOT/06PE.BIN 151 label MaxDOS 152 kernel /boot/syslinux/memdisk 153 append initrd=/boot/img/MaxDOS.img 154 label grub4dos 155 kernel /boot/bin/ldntldr 156 append initrd=/boot/bin/grldr.bin 157 label syslinux 158 config /boot/syslinux/sys_zh.cfg 159 # label reboot 160 # kernel /boot/syslinux/reboot.c32 161 # label Power_off 162 # kernel /boot/syslinux/poweroff.com 163 164 label XXXPE 165 boot /boot/bin/XXXPE.bin 166 label XXXIMG 167 kernel /boot/syslinux/memdisk 168 append initrd=/boot/img/XXX.img 复制代码 169 3、translations.zh_CN 170 ※※※※※※※主菜单※※※※※※※ 171 harddisk 172 【01】 从硬盘启动 173 TangoPE 174 【02】 启动无忧启动论坛TangoPE 175 66369 176 【03】 启动无忧启动论坛我心如水PE 177 MaxDOS 178 【04】 启动迈思DOS工具箱加强版 179 grub4dos 180 【05】 切换至GRUB4DOS菜单 181 syslinux 182 【06】 切换至SYSLINUX菜单 183 XXXPE 184 【XX】 启动X X WINDOWS PE 185 XXXIMG 186 【XX】 启动XXX IMG 187 reboot 188 【10】 重新启动 189 Power_off 190 【11】 关闭电脑 191 ※※※※※※※※※※※※※※※※※ 192 ※※※※※※※※※※※※※※※※※ 复制代码
中对应的translations.zh_CN、换相关背景图>>>修改gfxboot.cfg设置菜单字体颜色和位置>>>重新压缩 |
syslinux的gfxboot配置
最新推荐文章于 2024-07-30 15:40:41 发布