Advertisement
barjac

maingrub grub.cfg

May 8th, 2011
422
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.81 KB | None | 0 0
  1.  
  2. set default="0"
  3.  
  4. function load_video {
  5. insmod vbe
  6. insmod vga
  7. insmod video_bochs
  8. insmod video_cirrus
  9. }
  10.  
  11. insmod part_msdos
  12. insmod ext2
  13. search --no-floppy --label --set=root maingrub
  14.  
  15. if loadfont /unicode.pf2 ; then
  16. load_video
  17. set gfxmode=1024x768x32
  18. # set gfxmode=640x480x16
  19. insmod gfxterm
  20. fi
  21.  
  22. terminal_output gfxterm
  23. insmod gfxmenu
  24. insmod png
  25.  
  26.  
  27. set locale_dir=($root)/boot/grub2/locale
  28. set lang=en
  29. insmod gettext
  30. set timeout=5
  31.  
  32. #set theme=/themes/mandy/theme.txt
  33. set menu_color_normal=cyan/blue
  34. set menu_color_highlight=yellow/blue
  35.  
  36. menuentry 'Mageia' {
  37. search --no-floppy --label --set=root mageia_b2
  38. chainloader +1
  39. }
  40.  
  41. menuentry 'Mageia multi' {
  42. search --no-floppy --label --set=root mageia_b2
  43. multiboot /boot/grub2/core.img
  44. }
  45.  
  46. menuentry 'Mageia Alpha' {
  47. search --no-floppy --label --set=root mageia_root
  48. chainloader +1
  49. }
  50.  
  51. menuentry 'Mageia Alpha multi' {
  52. search --no-floppy --label --set=root mageia_root
  53. multiboot /boot/grub2/core.img
  54. }
  55.  
  56. menuentry 'Mageia Beta 1' {
  57. search --no-floppy --label --set=root mageia_beta1
  58. linux /boot/vmlinuz
  59. initrd /boot/initrd.img
  60. }
  61.  
  62. menuentry 'Mageia2 (Beta 1)' {
  63. search --no-floppy --label --set=root mageia2
  64. linux /boot/vmlinuz
  65. initrd /boot/initrd.img
  66. }
  67.  
  68. menuentry 'Maggytest' {
  69. set root=(hd1,msdos11)
  70. chainloader +1
  71. }
  72. menuentry 'Fedora 15 beta' {
  73. search --no-floppy --label --set=root f15b
  74. chainloader +1
  75. }
  76.  
  77.  
  78. menuentry 'Mandriva 2009.0' {
  79. search --no-floppy --label --set=root 2009_0_root
  80. linux /boot/vmlinuz
  81. initrd /boot/initrd.img
  82. }
  83.  
  84. menuentry 'Mandriva 2009.1' {
  85. search --no-floppy --label --set=root 2009_1_root
  86. linux /boot/vmlinuz
  87. initrd /boot/initrd.img
  88. }
  89.  
  90.  
  91. menuentry 'Mandriva 2010.0' {
  92. search --no-floppy --label --set=root 2010_0_root
  93. linux /boot/vmlinuz
  94. initrd /boot/initrd.img
  95. }
  96.  
  97. menuentry 'Mandriva 2010.2 direct' {
  98. search --no-floppy --label --set=root 2010_1_root
  99. linux /boot/vmlinuz
  100. initrd /boot/initrd.img
  101. }
  102.  
  103. menuentry 'Mandriva 2010.2 multiboot' {
  104. search --no-floppy --label --set=root 2010_1_root
  105. multiboot /boot/grub2/core.img
  106. }
  107.  
  108. menuentry 'Mandriva 2010.2 chain-legacy' {
  109. search --no-floppy --label --set=root 2010_1_root
  110. chainloader +1
  111. }
  112.  
  113. menuentry 'Mandriva 2010.2 x86-64' {
  114. search --no-floppy --label --set=root 2010_1_64_root
  115. linux /boot/vmlinuz
  116. initrd /boot/initrd.img
  117. }
  118.  
  119. menuentry 'Mandriva 2010.2 x86-64 multi' {
  120. search --no-floppy --label --set=root 2010_1_64_root
  121. multiboot /boot/grub2/core.img
  122. }
  123.  
  124. menuentry 'Mandriva 2011.0 (Cooker)' {
  125. search --no-floppy --label --set=root cooker_root
  126. linux /boot/vmlinuz
  127. initrd /boot/initrd.img
  128. }
  129.  
  130. menuentry 'Mandriva 2011.0 Multi (Cooker)' {
  131. search --no-floppy --label --set=root cooker_root
  132. multiboot /boot/grub2/core.img
  133. }
  134.  
  135. menuentry 'Mandriva 2011.0 x86_64 Beta 1' {
  136. search --no-floppy --label --set=root 2011_0_64_root
  137. linux /boot/vmlinuz
  138. initrd /boot/initrd.img
  139. }
  140.  
  141. menuentry 'PCLinuxOS' {
  142. search --no-floppy --label --set=root pclos_root
  143. linux /boot/vmlinuz
  144. initrd /boot/initrd.img
  145. }
  146.  
  147. menuentry 'PCLinuxOS for live' {
  148. search --no-floppy --label --set=root pclos_for_live
  149. linux /boot/vmlinuz
  150. initrd /boot/initrd.img
  151. }
  152.  
  153. menuentry 'Ubuntu 10.04' {
  154. search --no-floppy --label --set=root ubuntu
  155. multiboot /boot/grub/core.img
  156. }
  157.  
  158. menuentry 'Ubuntu ZM' {
  159. search --no-floppy --label --set=root ZM
  160. multiboot /boot/grub/core.img
  161. }
  162.  
  163. menuentry 'Slackware 13' {
  164. search --no-floppy --label --set=root slack
  165. #linux (hd0,23)/boot/vmlinuz root=/dev/sda23 ro vga=788
  166. linux /boot/vmlinuz root=/dev/sda23 ro
  167. #linux /boot/vmlinuz root=label=slack ro vga=788
  168. #linux /boot/vmlinuz ro vga=788
  169. }
  170.  
  171. #menuentry 'PCLOS Live orig' {
  172. #linux (hd0,1)/isolinux/vmlinuz vga=788 livecd=livecd fromusb root=/dev/sda1 acpi=on fstab=rw,noauto
  173. #initrd (hd0,1)/isolinux/initrd.gz
  174. #}
  175.  
  176. menuentry 'PCLOS Live' {
  177. search --no-floppy --label --set=root maingrub
  178. linux /isolinux/vmlinuz vga=788 livecd=livecd fromusb root=label=maingrub acpi=on fstab=rw,noauto
  179. initrd /isolinux/initrd.gz
  180. }
  181.  
  182. menuentry 'HD Installer mdv i586' {
  183. search --no-floppy --label --set=root maingrub
  184. linux /mandriva/i586/vmlinuz-all BOOT_IMAGE=all-install root=/dev/ram3 ramdisk_size=32000 vga=791
  185. initrd /mandriva/i586/all.rdz
  186. }
  187.  
  188. menuentry 'HD Installer mdv x86_64' {
  189. search --no-floppy --label --set=root maingrub
  190. linux /mandriva/x86_64/vmlinuz-all BOOT_IMAGE=all-install root=/dev/ram3 ramdisk_size=32000 vga=791
  191. initrd /mandriva/x86_64/all.rdz
  192. }
  193.  
  194. menuentry 'HD Installer mga i586' {
  195. search --no-floppy --label --set=root maingrub
  196. linux /mageia/i586/vmlinuz BOOT_IMAGE=all-install root=/dev/ram3 ramdisk_size=32000 vga=791
  197. initrd /mageia/i586/all.rdz
  198. }
  199.  
  200. menuentry 'HD Installer mga x86_64' {
  201. search --no-floppy --label --set=root maingrub
  202. linux /mageia/x86_64/vmlinuz BOOT_IMAGE=all-install root=/dev/ram3 ramdisk_size=32000 vga=791
  203. initrd /mageia/x86_64/all.rdz
  204. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement