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