Advertisement
Guest User

Untitled

a guest
Jan 18th, 2015
284
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.29 KB | None | 0 0
  1. #
  2. # DO NOT EDIT THIS FILE
  3. #
  4. # It is automatically generated by grub-mkconfig using templates
  5. # from /etc/grub.d and settings from /etc/default/grub
  6. #
  7.  
  8. ### BEGIN /etc/grub.d/00_header ###
  9. if [ -s $prefix/grubenv ]; then
  10. set have_grubenv=true
  11. load_env
  12. fi
  13. if [ "${next_entry}" ] ; then
  14. set default="${next_entry}"
  15. set next_entry=
  16. save_env next_entry
  17. set boot_once=true
  18. else
  19. set default="0"
  20. fi
  21.  
  22. if [ x"${feature_menuentry_id}" = xy ]; then
  23. menuentry_id_option="--id"
  24. else
  25. menuentry_id_option=""
  26. fi
  27.  
  28. export menuentry_id_option
  29.  
  30. if [ "${prev_saved_entry}" ]; then
  31. set saved_entry="${prev_saved_entry}"
  32. save_env saved_entry
  33. set prev_saved_entry=
  34. save_env prev_saved_entry
  35. set boot_once=true
  36. fi
  37.  
  38. function savedefault {
  39. if [ -z "${boot_once}" ]; then
  40. saved_entry="${chosen}"
  41. save_env saved_entry
  42. fi
  43. }
  44. function recordfail {
  45. set recordfail=1
  46. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  47. }
  48. function load_video {
  49. if [ x$feature_all_video_module = xy ]; then
  50. insmod all_video
  51. else
  52. insmod efi_gop
  53. insmod efi_uga
  54. insmod ieee1275_fb
  55. insmod vbe
  56. insmod vga
  57. insmod video_bochs
  58. insmod video_cirrus
  59. fi
  60. }
  61.  
  62. if [ x$feature_default_font_path = xy ] ; then
  63. font=unicode
  64. else
  65. insmod part_msdos
  66. insmod ext2
  67. set root='hd0,msdos7'
  68. if [ x$feature_platform_search_hint = xy ]; then
  69. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 2defc352-f7ea-4de8-979b-a0400817dff1
  70. else
  71. search --no-floppy --fs-uuid --set=root 2defc352-f7ea-4de8-979b-a0400817dff1
  72. fi
  73. font="/usr/share/grub/unicode.pf2"
  74. fi
  75.  
  76. if loadfont $font ; then
  77. set gfxmode=auto
  78. load_video
  79. insmod gfxterm
  80. set locale_dir=$prefix/locale
  81. set lang=hu_HU
  82. insmod gettext
  83. fi
  84. terminal_output gfxterm
  85. if [ "${recordfail}" = 1 ] ; then
  86. set timeout=-1
  87. else
  88. if [ x$feature_timeout_style = xy ] ; then
  89. set timeout_style=menu
  90. set timeout=10
  91. # Fallback normal timeout code in case the timeout_style feature is
  92. # unavailable.
  93. else
  94. set timeout=10
  95. fi
  96. fi
  97. ### END /etc/grub.d/00_header ###
  98.  
  99. ### BEGIN /etc/grub.d/05_debian_theme ###
  100. set menu_color_normal=white/black
  101. set menu_color_highlight=black/light-gray
  102. ### END /etc/grub.d/05_debian_theme ###
  103.  
  104. ### BEGIN /etc/grub.d/06_mint_theme ###
  105. set menu_color_normal=white/black
  106. set menu_color_highlight=white/light-gray
  107. ### END /etc/grub.d/06_mint_theme ###
  108.  
  109. ### BEGIN /etc/grub.d/10_linux ###
  110. function gfxmode {
  111. set gfxpayload="$1"
  112. if [ "$1" = "keep" ]; then
  113. set vt_handoff=vt.handoff=7
  114. else
  115. set vt_handoff=
  116. fi
  117. }
  118. if [ ${recordfail} != 1 ]; then
  119. if [ -e ${prefix}/gfxblacklist.txt ]; then
  120. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  121. if [ ${match} = 0 ]; then
  122. set linux_gfx_mode=keep
  123. else
  124. set linux_gfx_mode=text
  125. fi
  126. else
  127. set linux_gfx_mode=text
  128. fi
  129. else
  130. set linux_gfx_mode=keep
  131. fi
  132. else
  133. set linux_gfx_mode=text
  134. fi
  135. export linux_gfx_mode
  136. if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
  137. menuentry 'Javitott Linux Mint 17.1 Cinnamon 64-bit, 3.13.0-37-generic (/dev/sdb7)' --class ubuntu --class gnu-linux --class gnu --class os {
  138. recordfail
  139. gfxmode $linux_gfx_mode
  140. insmod gzio
  141. insmod part_msdos
  142. insmod ext2
  143. set root='hd0,msdos7'
  144. if [ x$feature_platform_search_hint = xy ]; then
  145. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 2defc352-f7ea-4de8-979b-a0400817dff1
  146. else
  147. search --no-floppy --fs-uuid --set=root 2defc352-f7ea-4de8-979b-a0400817dff1
  148. fi
  149. # linux /boot/vmlinuz-3.13.0-37-generic root=UUID=2defc352-f7ea-4de8-979b-a0400817dff1 ro quiet splash $vt_handoff
  150. linux /boot/vmlinuz-3.13.0-37-generic root=LABEL=MINT_LINUX ro quiet splash $vt_handoff
  151. initrd /boot/initrd.img-3.13.0-37-generic
  152. }
  153. menuentry 'Linux Mint 17.1 Cinnamon 64-bit, 3.13.0-37-generic (/dev/sdb7)' --class ubuntu --class gnu-linux --class gnu --class os {
  154. recordfail
  155. gfxmode $linux_gfx_mode
  156. insmod gzio
  157. insmod part_msdos
  158. insmod ext2
  159. set root='hd0,msdos7'
  160. if [ x$feature_platform_search_hint = xy ]; then
  161. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci1,msdos7 2defc352-f7ea-4de8-979b-a0400817dff1
  162. else
  163. search --no-floppy --fs-uuid --set=root 2defc352-f7ea-4de8-979b-a0400817dff1
  164. fi
  165. linux /boot/vmlinuz-3.13.0-37-generic root=UUID=2defc352-f7ea-4de8-979b-a0400817dff1 ro quiet splash $vt_handoff
  166. initrd /boot/initrd.img-3.13.0-37-generic
  167. }
  168. menuentry 'Linux Mint 17.1 Cinnamon 64-bit, 3.13.0-37-generic (/dev/sdb7) -- recovery mode' --class ubuntu --class gnu-linux --class gnu --class os {
  169. recordfail
  170. insmod gzio
  171. insmod part_msdos
  172. insmod ext2
  173. set root='hd0,msdos7'
  174. if [ x$feature_platform_search_hint = xy ]; then
  175. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci1,msdos7 2defc352-f7ea-4de8-979b-a0400817dff1
  176. else
  177. search --no-floppy --fs-uuid --set=root 2defc352-f7ea-4de8-979b-a0400817dff1
  178. fi
  179. echo 'Linux 3.13.0-37-generic betöltése…'
  180. linux /boot/vmlinuz-3.13.0-37-generic root=LABEL=MINT_LINUX ro recovery nomodeset
  181. # linux /boot/vmlinuz-3.13.0-37-generic root=UUID=2defc352-f7ea-4de8-979b-a0400817dff1 ro recovery nomodeset
  182. echo 'Kiinduló ramdisk betöltése…'
  183. initrd /boot/initrd.img-3.13.0-37-generic
  184. }
  185. ### END /etc/grub.d/10_linux ###
  186.  
  187. ### BEGIN /etc/grub.d/10_lupin ###
  188. ### END /etc/grub.d/10_lupin ###
  189.  
  190. ### BEGIN /etc/grub.d/20_linux_xen ###
  191.  
  192. ### END /etc/grub.d/20_linux_xen ###
  193.  
  194. ### BEGIN /etc/grub.d/20_memtest86+ ###
  195. menuentry 'Memory test (memtest86+)' {
  196. insmod part_msdos
  197. insmod ext2
  198. set root='hd0,msdos7'
  199. if [ x$feature_platform_search_hint = xy ]; then
  200. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci1,msdos7 2defc352-f7ea-4de8-979b-a0400817dff1
  201. else
  202. search --no-floppy --fs-uuid --set=root 2defc352-f7ea-4de8-979b-a0400817dff1
  203. fi
  204. knetbsd /boot/memtest86+.elf
  205. }
  206. menuentry 'Memory test (memtest86+, serial console 115200)' {
  207. insmod part_msdos
  208. insmod ext2
  209. set root='hd0,msdos7'
  210. if [ x$feature_platform_search_hint = xy ]; then
  211. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci1,msdos7 2defc352-f7ea-4de8-979b-a0400817dff1
  212. else
  213. search --no-floppy --fs-uuid --set=root 2defc352-f7ea-4de8-979b-a0400817dff1
  214. fi
  215. linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  216. }
  217. ### END /etc/grub.d/20_memtest86+ ###
  218.  
  219. ### BEGIN /etc/grub.d/30_os-prober ###
  220.  
  221. ### END /etc/grub.d/30_os-prober ###
  222.  
  223. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  224. ### END /etc/grub.d/30_uefi-firmware ###
  225.  
  226. ### BEGIN /etc/grub.d/40_custom ###
  227. # This file provides an easy way to add custom menu entries. Simply type the
  228. # menu entries you want to add after this comment. Be careful not to change
  229. # the 'exec tail' line above.
  230. ### END /etc/grub.d/40_custom ###
  231.  
  232. ### BEGIN /etc/grub.d/41_custom ###
  233. if [ -f ${config_directory}/custom.cfg ]; then
  234. source ${config_directory}/custom.cfg
  235. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  236. source $prefix/custom.cfg;
  237. fi
  238. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement