以下为我修改出来的引导代码,:
--------------------------
PROMPT 0
TIMEOUT 90
DEFAULT /boot/vesamenu.c32
MENU BACKGROUND /boot/slax.jpg
MENU TITLE Slax-Remix-v07
MENU WIDTH 28
MENU MARGIN 2
MENU ROWS 9
MENU HELPMSGROW 17
MENU TIMEOUTROW 28
MENU TABMSGROW 15
MENU CMDLINEROW 23
MENU HSHIFT 4
MENU VSHIFT 5
menu color screen 37;40 #00000000 #00000000 none
menu color border 30;44 #00000000 #00000000 none
menu color title 1;36;44 #ffa0ffa0 #30003f07 none
menu color unsel 37;44 #ff27d087 #00000000 none
menu color hotkey 1;37;44 #ff8037b7 #00000000 none
menu color sel 7;37;40 #ffffff70 #003f7fbf none
menu color hotsel 1;7;37;40 #ffaf67f7 #003f7fbf none
menu color scrollbar 30;44 #00000000 #00000000 none
menu color tabmsg 31;40 #ffffff70 #00000000 none
menu color cmdmark 1;36;40 #ffff0000 #00000000 none
menu color cmdline 37;40 #ffffffff #ff000000 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 #ff809aef #00000000 none
menu color timeout 1;37;40 #ffb72f9f #00000000 none
menu color help 37;40 #ffa0ffa0 #00000000 none
menu color msg07 37;40 #90ffffff #00000000 std
LABEL WINPE2003
LINUX memdisk
INITRD /WINPE03.ISO
APPEND iso raw
LABEL MAX DOS
LINUX memdisk
INITRD /img/MaxDOS.IMG
APPEND IMG raw
LABEL fresh
MENU LABEL Always Fresh
KERNEL /boot/vmlinuz
APPEND initrd=/boot/initrd.lz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;telinit~4
TEXT HELP
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 Copy To RAM
KERNEL /boot/vmlinuz
APPEND initrd=/boot/initrd.lz ramdisk_size=6666 root=/dev/ram0 rw vga=791 splash=silent quiet copy2ram autoexec=xconf;telinit~4
TEXT HELP
Run Slax the same like above,
but first copy all data to RAM
to get huge speed (needs >300MB)
ENDTEXT
LABEL USB2.0
LINUX memdisk
INITRD /img/plpbt.bin
APPEND bin raw
LABEL slax
MENU LABEL Text mode
KERNEL /boot/vmlinuz
APPEND initrd=/boot/initrd.lz ramdisk_size=6666 root=/dev/ram0 rw changes=/slax/
TEXT HELP
Run Slax in textmode and start
command prompt only
ENDTEXT
LABEL pxe
MENU LABEL Slax as PXE server
KERNEL /boot/vmlinuz
APPEND initrd=/boot/initrd.lz ramdisk_size=6666 root=/dev/ram0 rw autoexec=/boot/pxelinux.cfg/start;/boot/pxelinux.cfg/web/start;xconf;telinit~4
TEXT HELP
Run Slax as usual, but also
initialize PXE server.
This will allow you to boot Slax
on other computers over network
ENDTEXT
MENU SEPARATOR
LABEL memtest86
MENU LABEL Run Memtest utility
KERNEL /boot/mt86p
TEXT HELP
Don't start Slax at all, but
rather run the MemTest utility
to diagnose your computer's RAM
for possible errors
ENDTEXT
[ 本帖最后由 siemens 于 2011-3-11 19:20 编辑 ]作者: 2010guren777 时间: 2011-3-11 20:14 LABEL runISO
MENU LABEL -- 加载 ISO 镜像
LINUX memdisk
INITRD /imgs/.iso
APPEND iso raw
LABEL IMA
MENU LABEL -- 加载 IMA 镜像
kernel /boot/ISOLINUX/memdisk
append initrd=/imgs/.IMA