updated on Sun Jan 22 16:00:49 UTC 2012
[aur-mirror.git] / grub4dos / menu.lst
blobda5f39511cb3aa9d8030988e7c81339d985d5c0f
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.
6 color blue/green yellow/red white/magenta white/magenta
7 timeout 30
8 default /grub/default
10 # support unicode menu 支援萬國碼
11 graphicsmode -1 640:800
12 font /grub/unifont.hex.gz
14 #  We can use uuid or label to assign root file system, too
15 #kernel /boot/vmlinu-linux root=/dev/disk/by-uuid/... ro
16 #kernel /boot/vmlinu-linux root=/dev/disk/by-label/... ro
18 title Arch Linux 3.x
19 kernel /boot/vmlinuz-linux root=/dev/sda1 ro
20 initrd /boot/initramfs-linux.img
21 savedefault --wait=0
23 title  Arch Linux 3.x fallback
24 find --set-root --ignore-floppies --ignore-cd /u40_2012.tag
25 kernel /boot/vmlinuz-linux root=/dev/sda1 ro
26 initrd /boot/initramfs-linux-fallback.img
28 title  Arch Linux 2.x LTS
29 find --set-root --ignore-floppies --ignore-cd /u40_2012.tag
30 kernel /boot/vmlinuz26-lts root=/dev/sda1 ro
31 initrd /boot/kernel26-lts.img
32 savedefault --wait=0
34 title  Arch Linux 2.x LTS fallback
35 find --set-root --ignore-floppies --ignore-cd /u40_2012.tag
36 kernel /boot/vmlinuz26-lts root=/dev/sda1 ro
37 initrd /boot/kernel26-lts-fallback.img
39 title  Parted Magic (恢復光碟)
40 kernel /pmagic/bzImage edd=off load_ramdisk=1 prompt_ramdisk=0 rw vga=normal loglevel=9 max_loop=256 vmalloc=256MiB zh_TW
41 initrd /pmagic/initrd.img
42 savedefault --wait=0
44 title find and load NTLDR of Windows NT/2K/XP
45 fallback 1
46 find --set-root --ignore-floppies --ignore-cd /ntldr
47 map () (hd0)
48 map (hd0) ()
49 map --rehook
50 find --set-root --ignore-floppies --ignore-cd /ntldr
51 chainloader /ntldr
52 savedefault --wait=2
54 title find and load BOOTMGR of Windows VISTA
55 fallback 2
56 find --set-root --ignore-floppies --ignore-cd /bootmgr
57 map () (hd0)
58 map (hd0) ()
59 map --rehook
60 find --set-root --ignore-floppies --ignore-cd /bootmgr
61 chainloader /bootmgr
62 savedefault --wait=2
64 #title find and load CMLDR, the Recovery Console of Windows NT/2K/XP
65 #fallback 3
66 #find --set-root --ignore-floppies --ignore-cd /cmldr
67 #map () (hd0)
68 #map (hd0) ()
69 #map --rehook
70 #find --set-root --ignore-floppies --ignore-cd /cmldr
71 #chainloader /cmldr
72 ######################################################################
73 ## write string "cmdcons" to memory 0000:7C03 in 2 steps:
74 ######################################################################
75 ## step 1. Write 4 chars "cmdc" at 0000:7C03
76 #write 0x7C03 0x63646D63
77 ## step 2. Write 3 chars "ons" and an ending null at 0000:7C07
78 #write 0x7C07 0x00736E6F
79 #savedefault --wait=2
81 #title find and load IO.SYS of Windows 9x/Me
82 #fallback 4
83 #find --set-root /io.sys
84 #chainloader /io.sys
85 #savedefault --wait=2
87 #title find and boot 0PE.ISO
88 #fallback 5
89 #find --set-root /0PE/0PE.ISO
90 #map /0PE/0PE.ISO (0xff) || map --mem /0PE/0PE.ISO (0xff)
91 #map --hook
92 #chainloader (0xff)
93 #savedefault --wait=2
95 #title find and boot MicroPE.ISO
96 #fallback 6
97 #find --set-root /boot/MicroPE.ISO
98 #map /boot/MicroPE.ISO (0xff) || map --mem /boot/MicroPE.ISO (0xff)
99 #map --hook
100 #chainloader (0xff)
101 #savedefault --wait=2
103 #title Parted Magic ISO
104 #fallback 7
105 #find --set-root /pmagic.iso
106 #map /pmagic.iso (0xff) || map --mem /pmagic.iso (0xff)
107 #map --hook
108 #chainloader (0xff)
109 #savedefault --wait=2
111 #title Ultimate Boot CD ISO
112 #fallback 8
113 #find --set-root /ubcd.iso
114 #map /ubcd.iso (0xff) || map --mem /ubcd.iso (0xff)
115 #map --hook
116 #chainloader (0xff)
117 #savedefault --wait=2
119 #title commandline
120 #commandline
122 #title floppy (fd0)
123 #chainloader (fd0)+1
124 #rootnoverify (fd0)
126 #title back to dos
127 #quit
129 #title halt
130 #halt
132 #title MAXDOS.IMG
133 #find --set-root --ignore-floppies /boot/MAXDOS.IMG
134 #map --mem /boot/MAXDOS.IMG (fd0)
135 #map --hook
136 #chainloader (fd0)+1
137 #rootnoverify (fd0)
139 title reboot
140 reboot