1 |
# Created by generate-pxe-menu! Do NOT edit unless you know what you are doing! |
2 |
# Keep those comment "MENU DEFAULT" and "MENU HIDE"! Do NOT remove them. |
3 |
# Note!!! If "serial" directive exists, it must be the first directive |
4 |
default vesamenu.c32 |
5 |
timeout 300 |
6 |
prompt 0 |
7 |
noescape 1 |
8 |
MENU MARGIN 5 |
9 |
MENU BACKGROUND ocswp.png |
10 |
# Set the color for unselected menu item and timout message |
11 |
MENU COLOR TITLE 1;32;41 #ffffffff #00000000 STD |
12 |
MENU COLOR UNSEL 7;32;41 #ff000000 #00000000 NONE |
13 |
MENU COLOR SEL 7;37;49 #ffffffff #fff78008 ALL |
14 |
MENU COLOR TIMEOUT_MSG 7;32;41 #ff000000 #00000000 NONE |
15 |
MENU COLOR TIMEOUT 1;32;41 #ffffffff #00000000 STD |
16 |
|
17 |
# MENU MASTER PASSWD |
18 |
|
19 |
say ********************************************************************** |
20 |
say Clonezilla, the OpenSource Clone System. |
21 |
say NCHC Free Software Labs, Taiwan. |
22 |
say clonezilla.org, clonezilla.nchc.org.tw |
23 |
say THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK! |
24 |
say ********************************************************************** |
25 |
|
26 |
# Allow client to edit the parameters |
27 |
ALLOWOPTIONS 1 |
28 |
|
29 |
# simple menu title |
30 |
MENU TITLE clonezilla.org, clonezilla.nchc.org.tw |
31 |
|
32 |
# Since no network setting in the squashfs image, therefore if ip=frommedia, the network is disabled. That's what we want. |
33 |
label clonezilla live with img img-new-sda |
34 |
MENU DEFAULT |
35 |
# MENU HIDE |
36 |
MENU LABEL clonezilla live with img img-new-sda (Default settings, VGA 1024x768) |
37 |
# MENU PASSWD |
38 |
kernel /live/vmlinuz1 |
39 |
append initrd=/live/initrd1.img boot=live live-config nomodeset nolocales noswap ocs_live_run="ocs-live-restore" ocs_live_extra_param="-g auto -e1 auto -e2 -c -r -j2 -p true restoredisk img-new-sda sda" ocs_live_keymap="NONE" ocs_live_batch="yes" ocs_lang="en_US.UTF-8" vga=791 ip=frommedia |
40 |
TEXT HELP |
41 |
* Clonezilla live version: img-new-sda. (C) 2003-2009, NCHC, Taiwan |
42 |
* Disclaimer: Clonezilla comes with ABSOLUTE NO WARRANTY |
43 |
ENDTEXT |
44 |
|
45 |
label clonezilla live with img img-new-sda 800x600 |
46 |
# MENU DEFAULT |
47 |
# MENU HIDE |
48 |
MENU LABEL clonezilla live with img img-new-sda (Default settings, VGA 800x600) |
49 |
# MENU PASSWD |
50 |
kernel /live/vmlinuz1 |
51 |
append initrd=/live/initrd1.img boot=live live-config nomodeset nolocales noswap ocs_live_run="ocs-live-restore" ocs_live_extra_param="-g auto -e1 auto -e2 -c -r -j2 -p true restoredisk img-new-sda sda" ocs_live_keymap="NONE" ocs_live_batch="yes" ocs_lang="en_US.UTF-8" vga=788 ip=frommedia |
52 |
TEXT HELP |
53 |
VGA mode 800x600. OK for most of VGA cards. |
54 |
ENDTEXT |
55 |
|
56 |
label clonezilla live with img img-new-sda 640x480 |
57 |
# MENU DEFAULT |
58 |
# MENU HIDE |
59 |
MENU LABEL clonezilla live with img img-new-sda (Default settings, VGA 640x480) |
60 |
# MENU PASSWD |
61 |
kernel /live/vmlinuz1 |
62 |
append initrd=/live/initrd1.img boot=live live-config nomodeset nolocales noswap noswap ocs_live_run="ocs-live-restore" ocs_live_extra_param="-g auto -e1 auto -e2 -c -r -j2 -p true restoredisk img-new-sda sda" ocs_live_keymap="NONE" ocs_live_batch="yes" ocs_lang="en_US.UTF-8" vga=785 ip=frommedia |
63 |
TEXT HELP |
64 |
VGA mode 640x480. OK for most of VGA cards. |
65 |
ENDTEXT |
66 |
|
67 |
label clonezilla live with img img-new-sda (To RAM) |
68 |
# MENU DEFAULT |
69 |
# MENU HIDE |
70 |
MENU LABEL clonezilla live with img img-new-sda (To RAM. Boot media can be removed later) |
71 |
# MENU PASSWD |
72 |
kernel /live/vmlinuz1 |
73 |
append initrd=/live/initrd1.img boot=live live-config nomodeset nolocales noswap ocs_live_run="ocs-live-restore" ocs_live_extra_param="-g auto -e1 auto -e2 -c -r -j2 -p true restoredisk img-new-sda sda" ocs_live_keymap="NONE" ocs_live_batch="yes" ocs_lang="en_US.UTF-8" noprompt vga=791 toram=filesystem.squashfs ip=frommedia |
74 |
TEXT HELP |
75 |
All the programs will be copied to RAM, so you can |
76 |
remove boot media (CD or USB flash drive) later |
77 |
ENDTEXT |
78 |
|
79 |
label clonezilla live with img img-new-sda without framebuffer |
80 |
# MENU DEFAULT |
81 |
# MENU HIDE |
82 |
MENU LABEL clonezilla live with img img-new-sda (Safe graphic settings, vga=normal) |
83 |
# MENU PASSWD |
84 |
kernel /live/vmlinuz1 |
85 |
append initrd=/live/initrd1.img boot=live live-config nomodeset nolocales noswap ocs_live_run="ocs-live-restore" ocs_live_extra_param="-g auto -e1 auto -e2 -c -r -j2 -p true restoredisk img-new-sda sda" ocs_live_keymap="NONE" ocs_live_batch="yes" ocs_lang="en_US.UTF-8" ip=frommedia vga=normal |
86 |
TEXT HELP |
87 |
Disable console frame buffer support |
88 |
ENDTEXT |
89 |
|
90 |
label clonezilla live with img img-new-sda failsafe mode |
91 |
# MENU DEFAULT |
92 |
# MENU HIDE |
93 |
MENU LABEL clonezilla live with img img-new-sda (Failsafe mode) |
94 |
# MENU PASSWD |
95 |
kernel /live/vmlinuz1 |
96 |
append initrd=/live/initrd1.img boot=live live-config nomodeset nolocales noswap ocs_live_run="ocs-live-restore" ocs_live_extra_param="-g auto -e1 auto -e2 -c -r -j2 -p true restoredisk img-new-sda sda" ocs_live_keymap="NONE" ocs_live_batch="yes" ocs_lang="en_US.UTF-8" acpi=off irqpoll noapic noapm nodma nomce nolapic nosmp ip=frommedia vga=normal |
97 |
TEXT HELP |
98 |
acpi=off irqpoll noapic noapm nodma nomce nolapic |
99 |
nosmp vga=normal |
100 |
ENDTEXT |
101 |
|
102 |
label local |
103 |
# MENU DEFAULT |
104 |
# MENU HIDE |
105 |
MENU LABEL Local operating system in harddrive (if available) |
106 |
# MENU PASSWD |
107 |
# 2 method to boot local device: |
108 |
# (1) For localboot 0, it is decided by boot order in BIOS, so uncomment the follow 1 line if you want this method: |
109 |
# localboot 0 |
110 |
|
111 |
# (2) For chain.c32, you can assign the boot device. |
112 |
# Ref: extlinux.doc from syslinux |
113 |
# Syntax: APPEND [hd|fd]<number> [<partition>] |
114 |
# [<partition>] is optional. |
115 |
# Ex: |
116 |
# Second partition (2) on the first hard disk (hd0); |
117 |
# Linux would *typically* call this /dev/hda2 or /dev/sda2, then it's "APPEND hd0 2" |
118 |
# |
119 |
kernel chain.c32 |
120 |
append hd0 |
121 |
TEXT HELP |
122 |
Boot local OS from first hard disk if it's available |
123 |
ENDTEXT |
124 |
|
125 |
MENU BEGIN Memtest & FreeDOS |
126 |
|
127 |
# Note! *.bin is specially purpose for syslinux, |
128 |
# Do NOT use memtest.bin, use memtest instead of memtest.bin |
129 |
label memtest |
130 |
# MENU DEFAULT |
131 |
# MENU HIDE |
132 |
MENU LABEL Memory test using Memtest86+ |
133 |
# MENU PASSWD |
134 |
kernel /live/memtest |
135 |
TEXT HELP |
136 |
Run memory test using Memtest86+ |
137 |
ENDTEXT |
138 |
|
139 |
label FreeDOS |
140 |
# MENU DEFAULT |
141 |
# MENU HIDE |
142 |
MENU LABEL FreeDOS |
143 |
# MENU PASSWD |
144 |
kernel memdisk |
145 |
append initrd=/live/freedos.img |
146 |
TEXT HELP |
147 |
Run FreeDOS |
148 |
ENDTEXT |
149 |
|
150 |
MENU END |
151 |
MENU BEGIN Network Boot |
152 |
|
153 |
label etherboot |
154 |
# MENU DEFAULT |
155 |
# MENU HIDE |
156 |
MENU LABEL Network boot via etherboot |
157 |
# MENU PASSWD |
158 |
kernel /live/eb.zli |
159 |
TEXT HELP |
160 |
Run Etherbot to enable network (PXE) boot |
161 |
ENDTEXT |
162 |
|
163 |
label gPXE |
164 |
# MENU DEFAULT |
165 |
# MENU HIDE |
166 |
MENU LABEL Network boot via gPXE |
167 |
# MENU PASSWD |
168 |
kernel /live/gpxe.lkn |
169 |
TEXT HELP |
170 |
Run gPXE to enable network (PXE) boot |
171 |
ENDTEXT |
172 |
|
173 |
MENU END |