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 | color blue/green yellow/red white/magenta white/magenta |
---|
7 | timeout 30 |
---|
8 | default /default |
---|
9 | |
---|
10 | title find and load NTLDR of Windows NT/2K/XP |
---|
11 | fallback 1 |
---|
12 | find --set-root --ignore-floppies --ignore-cd /ntldr |
---|
13 | map () (hd0) |
---|
14 | map (hd0) () |
---|
15 | map --rehook |
---|
16 | find --set-root --ignore-floppies --ignore-cd /ntldr |
---|
17 | chainloader /ntldr |
---|
18 | savedefault --wait=2 |
---|
19 | |
---|
20 | title find and load BOOTMGR of Windows VISTA |
---|
21 | fallback 2 |
---|
22 | find --set-root --ignore-floppies --ignore-cd /bootmgr |
---|
23 | map () (hd0) |
---|
24 | map (hd0) () |
---|
25 | map --rehook |
---|
26 | find --set-root --ignore-floppies --ignore-cd /bootmgr |
---|
27 | chainloader /bootmgr |
---|
28 | savedefault --wait=2 |
---|
29 | |
---|
30 | title find and load CMLDR, the Recovery Console of Windows NT/2K/XP |
---|
31 | fallback 3 |
---|
32 | find --set-root --ignore-floppies --ignore-cd /cmldr |
---|
33 | map () (hd0) |
---|
34 | map (hd0) () |
---|
35 | map --rehook |
---|
36 | find --set-root --ignore-floppies --ignore-cd /cmldr |
---|
37 | chainloader /cmldr |
---|
38 | ##################################################################### |
---|
39 | # write string "cmdcons" to memory 0000:7C03 in 2 steps: |
---|
40 | ##################################################################### |
---|
41 | # step 1. Write 4 chars "cmdc" at 0000:7C03 |
---|
42 | write 0x7C03 0x63646D63 |
---|
43 | # step 2. Write 3 chars "ons" and an ending null at 0000:7C07 |
---|
44 | write 0x7C07 0x00736E6F |
---|
45 | savedefault --wait=2 |
---|
46 | |
---|
47 | title find and load IO.SYS of Windows 9x/Me |
---|
48 | fallback 4 |
---|
49 | find --set-root /io.sys |
---|
50 | chainloader /io.sys |
---|
51 | savedefault --wait=2 |
---|
52 | |
---|
53 | title find and boot 0PE.ISO |
---|
54 | fallback 5 |
---|
55 | find --set-root /0PE/0PE.ISO |
---|
56 | map /0PE/0PE.ISO (0xff) || map --mem /0PE/0PE.ISO (0xff) |
---|
57 | map --hook |
---|
58 | chainloader (0xff) |
---|
59 | savedefault --wait=2 |
---|
60 | |
---|
61 | title find and boot MicroPE.ISO |
---|
62 | fallback 6 |
---|
63 | find --set-root /boot/MicroPE.ISO |
---|
64 | map /boot/MicroPE.ISO (0xff) || map --mem /boot/MicroPE.ISO (0xff) |
---|
65 | map --hook |
---|
66 | chainloader (0xff) |
---|
67 | savedefault --wait=2 |
---|
68 | |
---|
69 | title Parted Magic ISO |
---|
70 | fallback 7 |
---|
71 | find --set-root /pmagic.iso |
---|
72 | map /pmagic.iso (0xff) || map --mem /pmagic.iso (0xff) |
---|
73 | map --hook |
---|
74 | chainloader (0xff) |
---|
75 | savedefault --wait=2 |
---|
76 | |
---|
77 | title Ultimate Boot CD ISO |
---|
78 | fallback 8 |
---|
79 | find --set-root /ubcd.iso |
---|
80 | map /ubcd.iso (0xff) || map --mem /ubcd.iso (0xff) |
---|
81 | map --hook |
---|
82 | chainloader (0xff) |
---|
83 | savedefault --wait=2 |
---|
84 | |
---|
85 | title commandline |
---|
86 | commandline |
---|
87 | |
---|
88 | title floppy (fd0) |
---|
89 | chainloader (fd0)+1 |
---|
90 | rootnoverify (fd0) |
---|
91 | |
---|
92 | title back to dos |
---|
93 | quit |
---|
94 | |
---|
95 | title reboot |
---|
96 | reboot |
---|
97 | |
---|
98 | title halt |
---|
99 | halt |
---|
100 | |
---|
101 | title MAXDOS.IMG |
---|
102 | find --set-root --ignore-floppies /boot/MAXDOS.IMG |
---|
103 | map --mem /boot/MAXDOS.IMG (fd0) |
---|
104 | map --hook |
---|
105 | chainloader (fd0)+1 |
---|
106 | rootnoverify (fd0) |
---|
107 | |
---|
108 | |
---|