|
原帖由 goodtime 于 2008-12-13 21:25 发表
测试结果不行, 真的不行, 我试了两天
我试过了,是可以的,菜单及效果如下:
主菜单:
PROMPT 0
TIMEOUT 100
DEFAULT vesamenu.c32
MENU BACKGROUND syslinux.png
FONT myfont.psf
MENU WIDTH 35
MENU MARGIN 2
MENU ROWS 15
MENU HELPMSGROW 19
MENU TABMSGROW 16
MENU CMDLINEROW 18
MENU ENDROW 40
MENU TIMEOUTROW 18
MENU HSHIFT 0
MENU VSHIFT 1
menu color screen 37;40 #80ffffff #00000000 none
menu color border 30;44 #00000000 #00000000 none
menu color title 1;36;44 #FF0000FF #00000000 none
menu color unsel 37;44 #ff00519C #00000000 none
menu color hotkey 1;37;44 #ff393839 #00000000 none
menu color sel 7;37;40 #FFFF0000 #00000000 none
menu color hotsel 1;7;37;40 #ffFF5D52 #00ffffff none
menu color scrollbar 30;44 #ff000000 #00000000 std
menu color tabmsg 31;40 #FF0000FF #00000000 none
menu color cmdmark 1;36;40 #ffffffff #00000000 none
menu color cmdline 37;40 #FFFF0000 #00000000 none
menu color pwdborder 30;47 #80ffffff #20ffffff std
menu color pwdheader 31;47 #80ff8080 #20ffffff std
menu color pwdentry 30;47 #80ffffff #20ffffff std
menu color timeout_msg 37;40 #FFFF0000 #00000000 none
menu color timeout 1;37;40 #FF0000FF #00000000 none
menu color help 37;40 #FFFF0000 #00000000 none
menu color msg07 37;40 #90ffffff #00000000 std
menu msgcolor #90ffffff #80ffffff std
MENU TITLE 超强工具盘
MENU AUTOBOOT # 秒后自动启动
MENU TABMSG 按[TAB]编辑选项
LABEL hd0
MENU LABEL >>> 启动硬盘第一分区
kernel chain.c32 hd0,1
ENDTEXT
LABEL prayaya-lde
MENU LABEL >>> 启动精简Ubuntu8.04.1
kernel /boot/linux/prayaya/vmlinuz
append mode=iso init=/sbin/init lang=cn quiet splash dir=/boot/linux/prayaya/iso fs_dir=/boot/linux/prayaya/ubuntu.fs ro_dir=/boot/linux/prayaya/ros initrd=/boot/linux/prayaya/initrd.gz
LABEL slax
MENU LABEL >>> 启动SLAX6.06
CONFIG /boot/linux/slax/slax.cfg
TEXT HELP
加载SLAX子菜单
ENDTEXT
LABEL cdlinux
MENU LABEL >>> 启动U盘版CDlinux 0.6.2
kernel /boot/linux/CDlinux/bzImage
append quiet CDL_DEV=/dev/sda CDL_LANG=zh_CN.UTF-8 CDL_AMOUNT=yes initrd=/boot/linux/CDlinux/initrd
LABEL GEEXBOX
MENU LABEL >>> 启动U盘版GEEXBOX 1.1
kernel /geexbox//boot/vmlinuz
append initrd=/geexbox/boot/initrd.gz root=/dev/ram0 rw init=linuxrc boot=sda lang=zh_CN remote=atiusb receiver=atiusb keymap=qwerty splash=silent vga=789 video=vesafb:ywrap,mtrr
LABEL pe
MENU LABEL >>> 启动迷你WINDOWS PE系统
kernel /boot/bin/ldntldr
append initrd=/boot/bin/pe1
TEXT HELP
OPE 128grldr
NANOPE_V2008 pe1
xiaoma pe2
wangmei pe3
ENDTEXT
LABEL yjghost.img
MENU LABEL >>> 启动一键备份与恢复
kernel /boot/syslinux/memdisk c=80 h=4 s=36 floppy
append initrd=/boot/img/ghost.img
MENU LABEL >>> 启动深山红叶DOS工具箱
kernel /boot/syslinux/memdisk c=94 h=8 s=36 floppy
append initrd=/boot/img/hydos.img
LABEL ardos5
MENU LABEL >>> 启动矮人DOS工具箱
kernel /boot/syslinux/memdisk c=160 h=2 s=36 floppy
append initrd=/boot/img/ar5.img
LABEL grldr
MENU LABEL >>> 启动GRUBDOS4.4
kernel /boot/bin/ldntldr
append initrd=/boot/bin/zh
TEXT HELP
zh en
ENDTEXT
LABEL reboot
MENU LABEL >>> 重新启动
kernel /boot/syslinux/reboot.c32
子菜单转化命令:
hzpsf -e GREEK.F16 -z chs16 -c slax.psf -i slax_zh.cfg -o slax.cfg
子菜单配置:
PROMPT 0
TIMEOUT 90
DEFAULT /boot/syslinux/vesamenu.c32
MENU BACKGROUND /boot/linux/slax/slax.png
FONT /boot/linux/slax/slax.psf
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
MENU TITLE SLAX6.09中文版
LABEL xconf
MENU LABEL Slax KDE图形模式1
KERNEL /boot/linux/slax/vmlinuz
APPEND initrd=/boot/linux/slax/initrd.gz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;telinit~4 changes=/slax/
TEXT HELP
Slax的最佳运行方式
自动调整显卡为最大分辨率
保存配置到/slax/
ENDTEXT
LABEL fresh
MENU LABEL Slax KDE图形模式2
KERNEL /boot/vmlinuz
APPEND initrd=/boot/initrd.gz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;telinit~4
TEXT HELP
不保存配置
ENDTEXT
LABEL cp2ram
MENU LABEL 在内存中运行SLAX
KERNEL /boot/vmlinuz
APPEND initrd=/boot/initrd.gz ramdisk_size=6666 root=/dev/ram0 rw copy2ram autoexec=xconf;telinit~4
TEXT HELP
在内存中运行 (内存 >300MB)
ENDTEXT
LABEL slax
MENU LABEL Slax文本模式
KERNEL /boot/vmlinuz
APPEND initrd=/boot/initrd.gz ramdisk_size=6666 root=/dev/ram0 rw changes=/slax/
TEXT HELP
Run Slax in textmode and start
command prompt only
ENDTEXT
[ 本帖最后由 网上飞鹰 于 2008-12-14 08:56 编辑 ] |
|