source: client/shared/lib/grub4dos/grub4dos-0.4.6a/sample/menu.lst @ 7f83dcb

918-git-images-111dconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacion
Last change on this file since 7f83dcb was bb474498, checked in by Ramón M. Gómez <ramongomez@…>, 5 years ago

#935: New Grub4Dos binaries.

  • Property mode set to 100755
File size: 4.5 KB
Line 
1# This is a sample menu.lst file. You should make some changes to it.
2# The old install method of booting via the stage-files has been removed.
3# Please install GRLDR boot strap code to MBR with the bootlace.com
4# utility under DOS/Win9x or Linux.
5#
6# It must be UTF-8 encoding for multi-lingual support. Font lines can be
7# appended to the file. The font lines should be in the unifont.hex format.
8
9color blue/green yellow/red white/magenta white/magenta
10timeout 30
11## menu border color
12color border=0xEEFFEE
13## set vbe mode
14graphicsmode -1 640:800 480:600 24:32 || graphicsmode -1 -1 -1 24:32
15## loading splashimage
16splashimage /boot/grub/splashimage.xpm || splashimage /boot/grub/splashimage.bmp
17default /default
18## Menu AutoNumber
19write 0x8274 0x2001
20
21title find and load NTLDR of Windows NT/2K/XP\n find and load NTLDR of Windows NT/2K/XP
22fallback +1
23find --set-root --ignore-floppies --ignore-cd /ntldr
24map () (hd0)
25map (hd0) ()
26map --rehook
27find --set-root --ignore-floppies --ignore-cd /ntldr
28chainloader /ntldr
29savedefault --wait=2
30
31#iftitle only show when command in [] returns true
32# set a variable named bootmgr where /bootmgr is found.
33iftitle [find --set-root --devices=h /bootmgr && call set bootmgr=%@root^%] load BOOTMGR of Windows VISTA/WIN7/WIN2008 on %bootmgr%
34fallback +1
35chainloader %bootmgr%/bootmgr
36savedefault --wait=2
37
38title find and load CMLDR, the Recovery Console of Windows NT/2K/XP
39fallback +1
40find --set-root --ignore-floppies --ignore-cd /cmldr
41map () (hd0)
42map (hd0) ()
43map --rehook
44find --set-root --ignore-floppies --ignore-cd /cmldr
45chainloader /cmldr
46#####################################################################
47# write string "cmdcons" to memory 0000:7C03 in 2 steps:
48#####################################################################
49# step 1. Write 4 chars "cmdc" at 0000:7C03
50#write 0x7C03 0x63646D63
51# step 2. Write 3 chars "ons" and an ending null at 0000:7C07
52#write 0x7C07 0x00736E6F
53
54#       or.
55#write --offset=3 (md)0x3e+1 cmdcons\0
56#       or
57calc *0x7c03=0x00736E6F63646D63
58
59savedefault --wait=2
60
61title Chainload IO.SYS for booting MS-DOS/Windows 9x/Me
62fallback +1
63find --set-root --ignore-floppies --ignore-cd /io.sys
64chainloader /io.sys
65savedefault --wait=2
66#
67# Or in this way:
68#
69# find --set-root --ignore-floppies --ignore-cd chainloader /io.sys
70# boot
71#
72# The above boot command is needed in this case.
73# See "Delimitors or comments between titles" in grub4dos_readme.txt.
74
75title find /boot/grub/menu.lst for booting Linux (Mageia, Mandriva, etc)
76fallback +1
77find --set-root --ignore-floppies --ignore-cd /boot/grub/menu.lst
78configfile /boot/grub/menu.lst
79
80title Switch to GRUB2 core.img for booting Linux (Ubuntu, etc)
81fallback +1
82find --set-root --ignore-floppies --ignore-cd /boot/grub/i386-pc/core.img
83kernel /boot/grub/i386-pc/core.img
84
85title commandline
86commandline
87
88title 0PE LiveISO
89find --set-root --ignore-floppies --ignore-cd /0PE.ISO
90map /0PE.ISO (0xff)
91map --hook
92chainloader (0xff)
93savedefault --wait=2
94
95title MicroPE LiveISO
96find --set-root --ignore-floppies --ignore-cd /boot/MicroPE.ISO
97map /boot/MicroPE.ISO (0xff)
98map --hook
99chainloader (0xff)
100savedefault --wait=2
101
102title Parted Magic LiveISO
103find --set-root --ignore-floppies --ignore-cd /pmagic.iso
104map /pmagic.iso (0xff)
105map --hook
106chainloader (0xff)
107savedefault --wait=2
108
109title Ultimate Boot CD LiveISO
110find --set-root --ignore-floppies --ignore-cd /ubcd.iso
111map /ubcd.iso (0xff)
112map --hook
113chainloader (0xff)
114savedefault --wait=2
115
116title SliTaz LiveISO
117find --set-root --ignore-floppies --ignore-cd /slitaz.iso
118map /slitaz.iso (0xff)
119map --hook
120chainloader (0xff)
121
122title Mageia Installation ISO
123find --set-root --ignore-floppies --ignore-cd /Mageia-2-x86_64-DVD.iso
124map /Mageia-2-x86_64-DVD.iso (0xff)
125map --hook
126chainloader (0xff)
127
128title reboot (重启)
129reboot
130
131title halt (关机)
132halt
133
134title MAXDOS.IMG
135find --set-root --ignore-floppies --ignore-cd /boot/MAXDOS.IMG
136map --mem /boot/MAXDOS.IMG (fd0)
137map --hook
138chainloader (fd0)+1
139rootnoverify (fd0)
140
141# In the end, font lines for unicode chars in unifont.hex format.
142# It should include all unicode chars used in the above menu code.
143# Surely normal ASCII chars are not necessary to be included here.
144
1455173:10100810082000003FF8010001000100FFFE010002800280044008203018C006
146542F:010000801FFC1004100410041FFC10001000100017FC24042404440487FC0404
147673A:100011F011101110FD10111031103910551055109110111211121212120E1400
14891CD:001000F83F000100FFFE01001FF011101FF011101FF001003FF80100FFFE0000
149
150
151
Note: See TracBrowser for help on using the repository browser.