Advertisement
SaintAnd

menu.lst-adata32

Jul 29th, 2020
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.17 KB | None | 0 0
  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.  
  9. color yellow/green yellow/brown brown/magenta brown/magenta
  10. timeout 30
  11. ## menu border color
  12. color border=0xff8f00
  13. ## set vbe mode
  14. graphicsmode -1 640:800 480:600 24:32 || graphicsmode -1 -1 -1 24:32
  15. ## loading splashimage
  16. splashimage /boot/grub/splashimage.xpm || splashimage /boot/grub/splashimage.bmp
  17. default /default
  18. ## Menu AutoNumber
  19. write 0x8274 0x2001
  20.  
  21. title SYSLINUX
  22. find --set-root /ldlinux.bin
  23. chainloader +2
  24.  
  25. title SYSLINUX
  26. find --set-root --ignore-floppies /syslinux/LDLINUX.SYS
  27. chainloader +1
  28.  
  29. title BOOT syslinux
  30. chainloader /syslinux.bin
  31.  
  32. title porteus
  33. configfile /menu.lstaaa/porteus.lst
  34.  
  35. title Switch to GRUB2 core.img for booting Linux (Ubuntu, etc)
  36. fallback +1
  37. find --set-root --ignore-floppies --ignore-cd /boot/grub/i386-pc/core.img
  38. kernel /boot/grub/i386-pc/core.img
  39.  
  40. title android
  41. configfile /menu.lstaaa/android.lst
  42.  
  43. title LiveCD_Seven+LEX.ISO
  44. ls /iso/LiveCD_Seven+LEX.ISO && partnew (hd0,3) 0x00 /iso/LiveCD_Seven+LEX.ISO
  45. map /iso/LiveCD_Seven+LEX.ISO (0xff)
  46. echo -e \r\n
  47. map --hook
  48. root (0xff)
  49. chainloader (0xff)
  50.  
  51. title LiveSeven 7
  52. chainloader /BOOTMGR
  53.  
  54. title LEX LIVE STARTLEX
  55. chainloader /ILEX/SETUPLDR.BIN
  56.  
  57. title LiveCD-LEX
  58. configfile /PEMENU/MENU.LST
  59.  
  60. title find and load NTLDR of Windows NT/2K/XP\n find and load NTLDR of Windows NT/2K/XP
  61. fallback +1
  62. find --set-root --ignore-floppies --ignore-cd /ntldr
  63. map () (hd0)
  64. map (hd0) ()
  65. map --rehook
  66. find --set-root --ignore-floppies --ignore-cd /ntldr
  67. chainloader /ntldr
  68. savedefault --wait=2
  69.  
  70. #iftitle only show when command in [] returns true
  71. # set a variable named bootmgr where /bootmgr is found.
  72. iftitle [find --set-root --devices=h /bootmgr && call set bootmgr=%@root^%] load BOOTMGR of Windows VISTA/WIN7/WIN2008 on %bootmgr%
  73. fallback +1
  74. chainloader %bootmgr%/bootmgr
  75. savedefault --wait=2
  76.  
  77. title find and load CMLDR, the Recovery Console of Windows NT/2K/XP
  78. fallback +1
  79. find --set-root --ignore-floppies --ignore-cd /cmldr
  80. map () (hd0)
  81. map (hd0) ()
  82. map --rehook
  83. find --set-root --ignore-floppies --ignore-cd /cmldr
  84. chainloader /cmldr
  85. #####################################################################
  86. # write string "cmdcons" to memory 0000:7C03 in 2 steps:
  87. #####################################################################
  88. # step 1. Write 4 chars "cmdc" at 0000:7C03
  89. #write 0x7C03 0x63646D63
  90. # step 2. Write 3 chars "ons" and an ending null at 0000:7C07
  91. #write 0x7C07 0x00736E6F
  92.  
  93. # or.
  94. #write --offset=3 (md)0x3e+1 cmdcons\0
  95. # or
  96. calc *0x7c03=0x00736E6F63646D63
  97.  
  98. savedefault --wait=2
  99.  
  100. title Chainload IO.SYS for booting MS-DOS/Windows 9x/Me
  101. fallback +1
  102. find --set-root --ignore-floppies --ignore-cd /io.sys
  103. chainloader /io.sys
  104. savedefault --wait=2
  105. #
  106. # Or in this way:
  107. #
  108. # find --set-root --ignore-floppies --ignore-cd chainloader /io.sys
  109. # boot
  110. #
  111. # The above boot command is needed in this case.
  112. # See "Delimitors or comments between titles" in grub4dos_readme.txt.
  113.  
  114. title find /boot/grub/menu.lst for booting Linux (Mageia, Mandriva, etc)
  115. fallback +1
  116. find --set-root --ignore-floppies --ignore-cd /boot/grub/menu.lst
  117. configfile /boot/grub/menu.lst
  118.  
  119.  
  120. title commandline
  121. commandline
  122.  
  123. title 0PE LiveISO
  124. find --set-root --ignore-floppies --ignore-cd /0PE.ISO
  125. map /0PE.ISO (0xff)
  126. map --hook
  127. chainloader (0xff)
  128. savedefault --wait=2
  129.  
  130. title MicroPE LiveISO
  131. find --set-root --ignore-floppies --ignore-cd /boot/MicroPE.ISO
  132. map /boot/MicroPE.ISO (0xff)
  133. map --hook
  134. chainloader (0xff)
  135. savedefault --wait=2
  136.  
  137. title Parted Magic LiveISO
  138. find --set-root --ignore-floppies --ignore-cd /pmagic.iso
  139. map /pmagic.iso (0xff)
  140. map --hook
  141. chainloader (0xff)
  142. savedefault --wait=2
  143.  
  144. title Ultimate Boot CD LiveISO
  145. find --set-root --ignore-floppies --ignore-cd /ubcd.iso
  146. map /ubcd.iso (0xff)
  147. map --hook
  148. chainloader (0xff)
  149. savedefault --wait=2
  150.  
  151. title SliTaz LiveISO
  152. find --set-root --ignore-floppies --ignore-cd /slitaz.iso
  153. map /slitaz.iso (0xff)
  154. map --hook
  155. chainloader (0xff)
  156.  
  157. title Mageia Installation ISO
  158. find --set-root --ignore-floppies --ignore-cd /Mageia-2-x86_64-DVD.iso
  159. map /Mageia-2-x86_64-DVD.iso (0xff)
  160. map --hook
  161. chainloader (0xff)
  162.  
  163. title reboot (重启)
  164. reboot
  165.  
  166. title halt (关机)
  167. halt
  168.  
  169. title MAXDOS.IMG
  170. find --set-root --ignore-floppies --ignore-cd /boot/MAXDOS.IMG
  171. map --mem /boot/MAXDOS.IMG (fd0)
  172. map --hook
  173. chainloader (fd0)+1
  174. rootnoverify (fd0)
  175.  
  176. # In the end, font lines for unicode chars in unifont.hex format.
  177. # It should include all unicode chars used in the above menu code.
  178. # Surely normal ASCII chars are not necessary to be included here.
  179.  
  180. 5173:10100810082000003FF8010001000100FFFE010002800280044008203018C006
  181. 542F:010000801FFC1004100410041FFC10001000100017FC24042404440487FC0404
  182. 673A:100011F011101110FD10111031103910551055109110111211121212120E1400
  183. 91CD:001000F83F000100FFFE01001FF011101FF011101FF001003FF80100FFFE0000
  184.  
  185.  
  186.  
  187.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement