source: client/shared/lib/grub4dos/grub4dos-0.4.5b/menu.lst @ 5d05b06

Last change on this file since 5d05b06 was d89a58f, checked in by adv <adv@…>, 13 years ago

1.0.2 #461 grub4dos version 0.4.5b - nsolo se incluye ficheros, no se activa, pero soluciona error con hp pro slimline -

git-svn-id: https://opengnsys.es/svn/branches/version1.0@2393 a21b9725-9963-47de-94b9-378ad31fedc9

  • Property mode set to 100644
File size: 3.3 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
6color blue/green yellow/red white/magenta white/magenta
7timeout 30
8## menu border color
9color border=0xEEFFEE
10## set vbe mode
11graphicsmode -1 640 480:800
12## loading splashimage
13splashimage /boot/grub/splashimage.xpm || splashimage /boot/grub/splashimage.bmp
14default /default
15## Menu AutoNumber
16write 0x8274 0x2001
17
18title find and load NTLDR of Windows NT/2K/XP\n find and load NTLDR of Windows NT/2K/XP
19fallback 1
20find --set-root --ignore-floppies --ignore-cd /ntldr
21map () (hd0)
22map (hd0) ()
23map --rehook
24find --set-root --ignore-floppies --ignore-cd /ntldr
25chainloader /ntldr
26savedefault --wait=2
27
28#iftitle only show when command in [] returns true
29# set a variable named bootmgr where /bootmgr is found.
30iftitle [find --set-root --devices=h /bootmgr && call set bootmgr=%@root^%] load BOOTMGR of Windows VISTA/WIN7/WIN2008 on %bootmgr%
31chainloader %bootmgr%/bootmgr
32savedefault --wait=2
33
34title find and load CMLDR, the Recovery Console of Windows NT/2K/XP
35fallback 3
36find --set-root --ignore-floppies --ignore-cd /cmldr
37map () (hd0)
38map (hd0) ()
39map --rehook
40find --set-root --ignore-floppies --ignore-cd /cmldr
41chainloader /cmldr
42#####################################################################
43# write string "cmdcons" to memory 0000:7C03 in 2 steps:
44#####################################################################
45# step 1. Write 4 chars "cmdc" at 0000:7C03
46#write 0x7C03 0x63646D63
47# step 2. Write 3 chars "ons" and an ending null at 0000:7C07
48#write 0x7C07 0x00736E6F
49
50#       or.
51#write --offset=3 (md)0x3e+1 cmdcons
52#       or
53calc *0x7c03=0x00736E6F63646D63
54
55savedefault --wait=2
56
57title find and load IO.SYS of Windows 9x/Me
58fallback 4
59find --set-root /io.sys
60chainloader /io.sys
61savedefault --wait=2
62# you can also use below commands.
63# find --set-root chainloader /io.sys
64# boot
65# the boot is necessary,
66# please see "Delimitors or comments between titles" in grub4dos_readme.txt.
67
68title find and boot 0PE.ISO
69fallback 5
70find --set-root /0PE/0PE.ISO
71map /0PE/0PE.ISO (0xff) || map --mem /0PE/0PE.ISO (0xff)
72map --hook
73chainloader (0xff)
74savedefault --wait=2
75
76title find and boot MicroPE.ISO
77fallback 6
78find --set-root /boot/MicroPE.ISO
79map /boot/MicroPE.ISO (0xff) || map --mem /boot/MicroPE.ISO (0xff)
80map --hook
81chainloader (0xff)
82savedefault --wait=2
83
84title Parted Magic ISO
85fallback 7
86find --set-root /pmagic.iso
87map /pmagic.iso (0xff) || map --mem /pmagic.iso (0xff)
88map --hook
89chainloader (0xff)
90savedefault --wait=2
91
92title Ultimate Boot CD ISO
93fallback 8
94find --set-root /ubcd.iso
95map /ubcd.iso (0xff) || map --mem /ubcd.iso (0xff)
96map --hook
97chainloader (0xff)
98savedefault --wait=2
99
100title SliTaz ISO
101find --set-root /slitaz.iso
102map /slitaz.iso (0xff) || map --mem /slitaz.iso (0xff)
103map --hook
104chainloader (0xff)
105
106title commandline
107commandline
108
109title floppy (fd0)
110chainloader (fd0)+1
111rootnoverify (fd0)
112# or use below commands.
113# rootnoverify (fd0)
114# chainloader +1
115
116title back to dos
117quit
118
119title reboot
120reboot
121
122title halt
123halt
124
125title MAXDOS.IMG
126find --set-root --ignore-floppies /boot/MAXDOS.IMG
127map --mem /boot/MAXDOS.IMG (fd0)
128map --hook
129chainloader (fd0)+1
130rootnoverify (fd0)
131
132
Note: See TracBrowser for help on using the repository browser.