Guest User

Untitled

a guest
Oct 9th, 2013
457
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.76 KB | None | 0 0
  1. #insmod gpt
  2. #insmod pc
  3. #insmod gfxmenu
  4. #
  5. #insmod videotest
  6. insmod tga
  7. insmod png
  8. insmod gfxterm
  9. insmod lspci
  10. #insmod vbeinfo
  11. insmod vbe
  12. insmod ntfs
  13. insmod chain
  14. insmod biosdisk
  15. insmod font
  16. #http://grub.enbug.org/ThemeFormat
  17. #http://grub.gibibit.com/Theme_format#colors
  18. #http://code.google.com/p/burg/wiki/InstallUbuntu
  19. #http://code.google.com/p/burg/downloads/list
  20. #http://ubuntuforums.org/showthread.php?t=1195275
  21. #pour acces a grub2 du bootloader principal modifier dans fichier: /etc/default/grub
  22. #GRUB_HIDDEN_TIMEOUT=10 #0 par defaut
  23. #GRUB_HIDDEN_TIMEOUT_QUIET=false #true d'origine
  24. #sudo update-grub
  25. #echo -n "Press ESC to see the menu... "
  26. #if sleep --verbose --interruptible 5 ; then
  27. #set timeout=0
  28. #fi
  29. set default=0
  30. set timeout=30
  31. set fallback=1
  32. search --no-floppy --fs-uuid --set=root 5994-1583
  33. set root=${root}
  34. #http://grub.enbug.org/gfxterm
  35. if loadfont /boot/polices/unicode.pf2 ; then
  36. set gfxmode=640x480
  37. if terminal_output gfxterm ; then true ; else
  38. # For backward compatibility with versions of terminal.mod that don't
  39. # understand terminal_output
  40. terminal gfxterm
  41. #set gfxmode=auto
  42. #set gfxpayload=keep
  43. fi
  44. fi
  45. #set locale_dir=/boot/grub/locale
  46. #set lang=en
  47. #insmod gettext
  48. if background_image /boot/splash/splash.png ; then
  49. #text no sel/fond ecran
  50. set color_normal=white/black #1
  51. #text sel/fond ecran sel
  52. set color_highlight=green/white #1
  53. else
  54. set menu_color_normal=white/black #2
  55. set menu_color_highlight=green/white #2
  56. set color_normal=white/magenta #2
  57. set color_highlight=green/white #2
  58. fi
  59. #set gfxpayload="1280x1024,1024x768,800x600,640x480"
  60. #set gfxpayload=keep
  61. #Ne supprimez pas ce marqueur! / Do not remove this marker!
  62. #MULTISYSTEM_START
  63. #MULTISYSTEM_MENU_DEBUT|03-10-2013-03:20:05-222728346|ubuntu2|multisystem-ubuntu|3240Mio|
  64. menuentry "(generic) Linux4games-rel18-basd-Ubuntu-13.09-Mint14.3-krnl3.10+3.5-64bit-LiveUSB+Install+NET4.iso" {
  65. linux /ubuntu2/casper/vmlinuz live-media-path=/ubuntu2/casper root=UUID=5994-1583 file=/cdrom/ubuntu2/preseed/custom.seed debian-installer/language=ru keyboard-configuration/layoutcode=us boot=casper showmounts ignore_uuid noprompt quiet splash --
  66. initrd /ubuntu2/casper/initrd.gz
  67. }
  68. #MULTISYSTEM_MENU_FIN|03-10-2013-03:20:05-222728346|ubuntu2|multisystem-ubuntu|3240Mio|
  69. #MULTISYSTEM_MENU_DEBUT|01-10-2013-22:47:45-052327166|runtu-lite-12.04.2_20130408.iso|multisystem-ubuntu|399Mio|
  70. menuentry "(generic) runtu-lite-12.04.2_20130408.iso" {
  71. search --set -f "/runtu-lite-12.04.2_20130408.iso"
  72. loopback loop "/runtu-lite-12.04.2_20130408.iso"
  73. linux (loop)/casper/vmlinuz root=UUID=5994-1583 debian-installer/language=ru keyboard-configuration/layoutcode=us iso-scan/filename=/runtu-lite-12.04.2_20130408.iso boot=casper noprompt quiet splash --
  74. initrd (loop)/casper/initrd.lz
  75. }
  76. #MULTISYSTEM_MENU_FIN|01-10-2013-22:47:45-052327166|runtu-lite-12.04.2_20130408.iso|multisystem-ubuntu|399Mio|
  77. #MULTISYSTEM_MENU_DEBUT|03-10-2013-06:36:11-650270391|ubuntu3|multisystem-ubuntu|830Mio|
  78. menuentry "(generic) Ubuntu12.04-Mate1.6-x32-Compiz-BaaTLT.iso" {
  79. linux /ubuntu3/casper/vmlinuz live-media-path=/ubuntu3/casper root=UUID=5994-1583 file=/cdrom/ubuntu3/preseed/custom.seed debian-installer/language=ru keyboard-configuration/layoutcode=us boot=casper showmounts ignore_uuid noprompt quiet splash --
  80. initrd /ubuntu3/casper/initrd.gz
  81. }
  82. #MULTISYSTEM_MENU_FIN|03-10-2013-06:36:11-650270391|ubuntu3|multisystem-ubuntu|830Mio|
  83. #MULTISYSTEM_MENU_DEBUT|01-10-2013-22:51:24-844120134|ubuntu1|multisystem-ubuntu|3262Mio|
  84. menuentry "(generic) Linux4games-rel17-based-Ubuntu-13.08-Mint14.2-krnl3.10+3.5-64bit-LiveUSB+Install+NET40Fmw.iso" {
  85. linux /ubuntu1/casper/vmlinuz live-media-path=/ubuntu1/casper root=UUID=5994-1583 file=/cdrom/ubuntu1/preseed/custom.seed debian-installer/language=ru keyboard-configuration/layoutcode=us boot=casper showmounts ignore_uuid noprompt quiet splash --
  86. initrd /ubuntu1/casper/initrd.gz
  87. }
  88. #MULTISYSTEM_MENU_FIN|01-10-2013-22:51:24-844120134|ubuntu1|multisystem-ubuntu|3262Mio|
  89. #MULTISYSTEM_STOP
  90. #Ne supprimez pas ce marqueur! / Do not remove this marker!
  91. #Windows 8 x86-x64
  92. menuentry "Windows 8 Install" {
  93. insmod chain
  94. insmod ntfs
  95. set root=(hd0,3)
  96. chainloader +1
  97. }
  98. #Windows 8 x86-x64 0-2
  99. menuentry "Windows 8 Install" {
  100. insmod chain
  101. insmod ntfs
  102. set root=(hd0,2)
  103. chainloader +1
  104. }
  105. menuentry "______________Grub4Dos______________" {
  106. echo
  107. }
  108. #http://grub4dos.sourceforge.net/
  109. #http://grub4dos.sourceforge.net/wiki/index.php/Grub4dos_tutorial
  110. menuentry "Grub4Dos" {
  111. linux /boot/grub.exe --config-file=/boot/grub/menu.lst
  112. }
  113. menuentry "______________Syslinux______________" {
  114. echo
  115. }
  116. #solution tordue, mais qui passe partout ...
  117. #menuentry "Syslinux" {
  118. #search --set -f /boot/syslinux/redir.img
  119. # linux16 /boot/syslinux/memdisk
  120. # initrd16 /boot/syslinux/redir.img
  121. #}
  122. #http://syslinux.zytor.com
  123. menuentry "Syslinux" {
  124. search --set -f "/boot/syslinux/ldlinux.sys"
  125. drivemap -s (hd0) $root
  126. chainloader +1
  127. }
  128. #Autre solution pour chainer Syslinux via une copie du mbr
  129. #dd if=/dev/sd?1 of=/media/multisystem/boot/img/syslinux.mbr bs=512 count=1
  130. #menuentry "Syslinux" {
  131. #search --set -f "/boot/img/syslinux.mbr"
  132. #drivemap -s (hd0) $root
  133. #chainloader /boot/img/syslinux.mbr
  134. #}
  135. menuentry "______________UTIL______________" {
  136. echo
  137. }
  138. ## for debugging set debug=efi
  139. #menuentry "0-testfakebios" {
  140. # hexdump -s 0xc0000 (mem)
  141. # fakebios
  142. # hexdump -s 0xc0000 (mem)
  143. ## deliberate error to get wait for key
  144. # xxx
  145. #}
  146. #How to test GRUB 2 on Macbook
  147. #http://grub.enbug.org/TestingOnMacbook
  148. #
  149. #http://wiki.gentoo.org/wiki/GRUB2
  150. #
  151. #menuentry "Windows 7 BIOS/MBR" {
  152. # insmod part_msdos
  153. # insmod ntldr
  154. # insmod ntfs
  155. # ntldr (hd0,msdos1)/bootmgr
  156. #}
  157. #menuentry "Windows XP BIOS/MBR" {
  158. # insmod part_msdos
  159. # insmod ntldr
  160. # insmod ntfs
  161. # ntldr (hd0,msdos1)/ntldr
  162. #}
  163. #
  164. #chainer un autre grub
  165. #menuentry "grub.cfg auf /dev/sdb1" {
  166. # configfile (hd1,1)/boot/grub/grub.cfg
  167. #}
  168. #menuentry "Chain other configfile" {
  169. #configfile /boot/grub/grub-xxx.cfg
  170. #}
  171. #
  172. #menuentry "Return default menu" {
  173. #chainloader /boot/grub/boot.img
  174. #}
  175. #chainer win ou autre OS
  176. #menuentry "Chainer UUID de la partition" {
  177. #insmod=ntfs
  178. #set root=(hd0,1)
  179. #search --no-floppy --fs-uuid --set=root xxx-xxx
  180. # drivemap -s (hd0) $root
  181. # chainloader +1
  182. #}
  183. #http://www.plop.at/en/bootmanagerdl.html
  184. menuentry "PLoP Boot Manager" {
  185. linux16 /boot/img/plpbt
  186. }
  187. #http://www.supergrubdisk.org/
  188. #http://developer.berlios.de/project/showfiles.php?group_id=10921
  189. #SG2D (Floppy, CD & USB in one)
  190. #super_grub_disk_hybrid-1.98s1.iso
  191. menuentry "Super Grub2 Disk" {
  192. search --set -f /boot/img/sgdh.iso
  193. linux16 /boot/syslinux/memdisk
  194. initrd16 /boot/img/sgdh.iso
  195. }
  196. menuentry "Super Grub Disk" {
  197. search --set -f /boot/img/sgdfr.img
  198. linux16 /boot/syslinux/memdisk
  199. initrd16 /boot/img/sgdfr.img
  200. }
  201. menuentry "Smart Boot Manager" {
  202. search --set -f /boot/img/sbootmgr.dsk
  203. linux16 /boot/syslinux/memdisk
  204. initrd16 /boot/img/sbootmgr.dsk
  205. }
  206. #Site: http://boot.kernel.org/index.html
  207. #Téléchargement: http://boot.kernel.org/gpxe_images/gpxe.lkrn
  208. menuentry "BKO (boot.kernel.org)" {
  209. search --set -f /boot/img/gpxe.lkrn
  210. linux16 /boot/img/gpxe.lkrn
  211. }
  212. #http://www.memtest.org/#downiso
  213. menuentry "memtest86+" {
  214. linux16 /boot/img/memtest86+.bin
  215. }
  216. menuentry "vbeinfo" {
  217. vbeinfo
  218. read
  219. }
  220. menuentry "lspci" {
  221. lspci
  222. read
  223. }
  224. menuentry "gfxpayload 640x480" {
  225. set gfxpayload=640x480
  226. echo gfxpayload=${gfxpayload} press enter
  227. read
  228. }
  229. menuentry "gfxpayload 800x600" {
  230. set gfxpayload=800x600
  231. echo gfxpayload=${gfxpayload} press enter
  232. read
  233. }
  234. menuentry "gfxpayload 1024x768" {
  235. set gfxpayload=1024x768
  236. echo gfxpayload=${gfxpayload} press enter
  237. read
  238. }
  239. menuentry "gfxpayload 1280x1024" {
  240. set gfxpayload=1280x1024
  241. echo gfxpayload=${gfxpayload} press enter
  242. read
  243. }
  244. menuentry "Reboot" {
  245. insmod reboot
  246. reboot
  247. }
Advertisement
Add Comment
Please, Sign In to add comment