|
8#
楼主 |
发表于 2007-5-3 12:59:45
|
只看该作者
我使用SYSLINUX引导U盘启动多重菜单时,
SYSLINUS.CFG配置文件内容:
--------------------------------------(不含此横线)
DEFAULT /boot/syslinux/vesamenu.c32
PROMPT 0
TIMEOUT 200
#MENU BACKGROUND **.jpg
menu color screen 37;40 #80ffffff #00000000 none
menu color border 30;44 #FFFFFFFF #00FFFFFF none
menu color title 1;36;44 #FFFFFFFF #00000000 none
menu color unsel 37;44 #FFFFFFFF #00000000 none
menu color hotkey 1;37;44 #FFFFFFFF #00000000 none
menu color sel 7;37;40 #ffFF0000 #00ffffff none
menu color hotsel 1;7;37;40 #ffFF0000 #00ffffff none
menu color scrollbar 30;44 #ff000000 #00000000 std
menu color tabmsg 31;40 #00000000 #00000000 none
menu color cmdmark 1;36;40 #FFFFFFFF #00000000 std
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 TITLE SysLinux Boot menu by hzghgz
MENU WIDTH 80
MENU MARGIN 14
MENU ROWS 15
MENU TABMSGROW 20
MENU CMDLINEROW 21
MENU ENDROW 24
MENU TIMEOUTROW 22
# Boot from hd
LABEL HD
MENU LABEL [^1] Boot from HDD
kernel chain.c32
append hd0
# cancel and try next boot device
LABEL QUIT
MENU LABEL [^2] Boot Form Next Boot Device
localboot -1
# Windows XPE Loader
LABEL XPE
MENU LABEL [^3] Windows XPE
KERNEL /boot/grub/grub.exe
append --config-file="find --set-root /winnt.xpe;configfile /boot/grub/menu.lst"
# MS-DOS Loader
LABEL DOSTOOLS1
MENU DEFAULT
MENU LABEL [^4] DOSTOOLS
KERNEL boot/syslinux/MEMDISK.SYS
APPEND initrd=boot/bootimg/dostools.zip floppy
--------------------------------------(不含此横线)
SYSLINUX有关文件: |
|