Advertisement
Guest User

Untitled

a guest
Jul 30th, 2014
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.59 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 lvm
  67. insmod ext2
  68. set root='lvmid/mHwcg1-ThGd-ePAi-x8Nf-Tatq-wIj6-u6PR9l/APKTfh-mzga-y2X6-vGzu-Lua2-YwT6-uqOymI'
  69. if [ x$feature_platform_search_hint = xy ]; then
  70. search --no-floppy --fs-uuid --set=root --hint='lvmid/mHwcg1-ThGd-ePAi-x8Nf-Tatq-wIj6-u6PR9l/APKTfh-mzga-y2X6-vGzu-Lua2-YwT6-uqOymI' 20e4d0f2-ea14-422c-b4f6-9cd3bdfce5e7
  71. else
  72. search --no-floppy --fs-uuid --set=root 20e4d0f2-ea14-422c-b4f6-9cd3bdfce5e7
  73. fi
  74. font="/usr/share/grub/unicode.pf2"
  75. fi
  76.  
  77. if loadfont $font ; then
  78. set gfxmode=auto
  79. load_video
  80. insmod gfxterm
  81. set locale_dir=$prefix/locale
  82. set lang=C
  83. insmod gettext
  84. fi
  85. terminal_output gfxterm
  86. if [ "${recordfail}" = 1 ] ; then
  87. set timeout=-1
  88. else
  89. if [ x$feature_timeout_style = xy ] ; then
  90. set timeout_style=menu
  91. set timeout=2
  92. # Fallback normal timeout code in case the timeout_style feature is
  93. # unavailable.
  94. else
  95. set timeout=2
  96. fi
  97. fi
  98. ### END /etc/grub.d/00_header ###
  99.  
  100. ### BEGIN /etc/grub.d/05_debian_theme ###
  101. set menu_color_normal=white/black
  102. set menu_color_highlight=black/light-gray
  103. ### END /etc/grub.d/05_debian_theme ###
  104.  
  105. ### BEGIN /etc/grub.d/10_linux ###
  106. function gfxmode {
  107. set gfxpayload="${1}"
  108. if [ "${1}" = "keep" ]; then
  109. set vt_handoff=vt.handoff=7
  110. else
  111. set vt_handoff=
  112. fi
  113. }
  114. if [ "${recordfail}" != 1 ]; then
  115. if [ -e ${prefix}/gfxblacklist.txt ]; then
  116. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  117. if [ ${match} = 0 ]; then
  118. set linux_gfx_mode=keep
  119. else
  120. set linux_gfx_mode=text
  121. fi
  122. else
  123. set linux_gfx_mode=text
  124. fi
  125. else
  126. set linux_gfx_mode=keep
  127. fi
  128. else
  129. set linux_gfx_mode=text
  130. fi
  131. export linux_gfx_mode
  132. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-20e4d0f2-ea14-422c-b4f6-9cd3bdfce5e7' {
  133. recordfail
  134. load_video
  135. gfxmode $linux_gfx_mode
  136. insmod gzio
  137. insmod part_msdos
  138. insmod lvm
  139. insmod ext2
  140. set root='lvmid/mHwcg1-ThGd-ePAi-x8Nf-Tatq-wIj6-u6PR9l/APKTfh-mzga-y2X6-vGzu-Lua2-YwT6-uqOymI'
  141. if [ x$feature_platform_search_hint = xy ]; then
  142. search --no-floppy --fs-uuid --set=root --hint='lvmid/mHwcg1-ThGd-ePAi-x8Nf-Tatq-wIj6-u6PR9l/APKTfh-mzga-y2X6-vGzu-Lua2-YwT6-uqOymI' 20e4d0f2-ea14-422c-b4f6-9cd3bdfce5e7
  143. else
  144. search --no-floppy --fs-uuid --set=root 20e4d0f2-ea14-422c-b4f6-9cd3bdfce5e7
  145. fi
  146. linux /boot/vmlinuz-3.13.0-32-generic root=/dev/mapper/leonardo-root ro
  147. }
  148. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-20e4d0f2-ea14-422c-b4f6-9cd3bdfce5e7' {
  149. menuentry 'Ubuntu, with Linux 3.13.0-32-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-32-generic-advanced-20e4d0f2-ea14-422c-b4f6-9cd3bdfce5e7' {
  150. recordfail
  151. load_video
  152. gfxmode $linux_gfx_mode
  153. insmod gzio
  154. insmod part_msdos
  155. insmod lvm
  156. insmod ext2
  157. set root='lvmid/mHwcg1-ThGd-ePAi-x8Nf-Tatq-wIj6-u6PR9l/APKTfh-mzga-y2X6-vGzu-Lua2-YwT6-uqOymI'
  158. if [ x$feature_platform_search_hint = xy ]; then
  159. search --no-floppy --fs-uuid --set=root --hint='lvmid/mHwcg1-ThGd-ePAi-x8Nf-Tatq-wIj6-u6PR9l/APKTfh-mzga-y2X6-vGzu-Lua2-YwT6-uqOymI' 20e4d0f2-ea14-422c-b4f6-9cd3bdfce5e7
  160. else
  161. search --no-floppy --fs-uuid --set=root 20e4d0f2-ea14-422c-b4f6-9cd3bdfce5e7
  162. fi
  163. echo 'Loading Linux 3.13.0-32-generic ...'
  164. linux /boot/vmlinuz-3.13.0-32-generic root=/dev/mapper/leonardo-root ro
  165. }
  166. menuentry 'Ubuntu, with Linux 3.13.0-32-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-32-generic-recovery-20e4d0f2-ea14-422c-b4f6-9cd3bdfce5e7' {
  167. recordfail
  168. load_video
  169. insmod gzio
  170. insmod part_msdos
  171. insmod lvm
  172. insmod ext2
  173. set root='lvmid/mHwcg1-ThGd-ePAi-x8Nf-Tatq-wIj6-u6PR9l/APKTfh-mzga-y2X6-vGzu-Lua2-YwT6-uqOymI'
  174. if [ x$feature_platform_search_hint = xy ]; then
  175. search --no-floppy --fs-uuid --set=root --hint='lvmid/mHwcg1-ThGd-ePAi-x8Nf-Tatq-wIj6-u6PR9l/APKTfh-mzga-y2X6-vGzu-Lua2-YwT6-uqOymI' 20e4d0f2-ea14-422c-b4f6-9cd3bdfce5e7
  176. else
  177. search --no-floppy --fs-uuid --set=root 20e4d0f2-ea14-422c-b4f6-9cd3bdfce5e7
  178. fi
  179. echo 'Loading Linux 3.13.0-32-generic ...'
  180. linux /boot/vmlinuz-3.13.0-32-generic root=/dev/mapper/leonardo-root ro recovery nomodeset
  181. }
  182. }
  183.  
  184. ### END /etc/grub.d/10_linux ###
  185.  
  186. ### BEGIN /etc/grub.d/20_linux_xen ###
  187.  
  188. ### END /etc/grub.d/20_linux_xen ###
  189.  
  190. ### BEGIN /etc/grub.d/20_memtest86+ ###
  191. ### END /etc/grub.d/20_memtest86+ ###
  192.  
  193. ### BEGIN /etc/grub.d/30_os-prober ###
  194. menuentry 'Ubuntu 14.04.1 LTS (14.04) (on /dev/mapper/leonardo-root)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-20e4d0f2-ea14-422c-b4f6-9cd3bdfce5e7' {
  195. insmod part_msdos
  196. insmod lvm
  197. insmod ext2
  198. set root='lvmid/mHwcg1-ThGd-ePAi-x8Nf-Tatq-wIj6-u6PR9l/APKTfh-mzga-y2X6-vGzu-Lua2-YwT6-uqOymI'
  199. if [ x$feature_platform_search_hint = xy ]; then
  200. search --no-floppy --fs-uuid --set=root --hint='lvmid/mHwcg1-ThGd-ePAi-x8Nf-Tatq-wIj6-u6PR9l/APKTfh-mzga-y2X6-vGzu-Lua2-YwT6-uqOymI' 20e4d0f2-ea14-422c-b4f6-9cd3bdfce5e7
  201. else
  202. search --no-floppy --fs-uuid --set=root 20e4d0f2-ea14-422c-b4f6-9cd3bdfce5e7
  203. fi
  204. linux /vmlinuz root=/dev/mapper/leonardo-root
  205. }
  206. submenu 'Advanced options for Ubuntu 14.04.1 LTS (14.04) (on /dev/mapper/leonardo-root)' $menuentry_id_option 'osprober-gnulinux-advanced-20e4d0f2-ea14-422c-b4f6-9cd3bdfce5e7' {
  207. menuentry 'Ubuntu 14.04.1 LTS (14.04) (on /dev/mapper/leonardo-root)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--20e4d0f2-ea14-422c-b4f6-9cd3bdfce5e7' {
  208. insmod part_msdos
  209. insmod lvm
  210. insmod ext2
  211. set root='lvmid/mHwcg1-ThGd-ePAi-x8Nf-Tatq-wIj6-u6PR9l/APKTfh-mzga-y2X6-vGzu-Lua2-YwT6-uqOymI'
  212. if [ x$feature_platform_search_hint = xy ]; then
  213. search --no-floppy --fs-uuid --set=root --hint='lvmid/mHwcg1-ThGd-ePAi-x8Nf-Tatq-wIj6-u6PR9l/APKTfh-mzga-y2X6-vGzu-Lua2-YwT6-uqOymI' 20e4d0f2-ea14-422c-b4f6-9cd3bdfce5e7
  214. else
  215. search --no-floppy --fs-uuid --set=root 20e4d0f2-ea14-422c-b4f6-9cd3bdfce5e7
  216. fi
  217. linux /vmlinuz root=/dev/mapper/leonardo-root
  218. }
  219. menuentry 'Ubuntu 14.04.1 LTS (14.04) (on /dev/mapper/leonardo-root)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.13.0-32-generic--20e4d0f2-ea14-422c-b4f6-9cd3bdfce5e7' {
  220. insmod part_msdos
  221. insmod lvm
  222. insmod ext2
  223. set root='lvmid/mHwcg1-ThGd-ePAi-x8Nf-Tatq-wIj6-u6PR9l/APKTfh-mzga-y2X6-vGzu-Lua2-YwT6-uqOymI'
  224. if [ x$feature_platform_search_hint = xy ]; then
  225. search --no-floppy --fs-uuid --set=root --hint='lvmid/mHwcg1-ThGd-ePAi-x8Nf-Tatq-wIj6-u6PR9l/APKTfh-mzga-y2X6-vGzu-Lua2-YwT6-uqOymI' 20e4d0f2-ea14-422c-b4f6-9cd3bdfce5e7
  226. else
  227. search --no-floppy --fs-uuid --set=root 20e4d0f2-ea14-422c-b4f6-9cd3bdfce5e7
  228. fi
  229. linux /boot/vmlinuz-3.13.0-32-generic root=/dev/mapper/leonardo-root
  230. }
  231. menuentry 'Ubuntu 14.04.1 LTS (14.04) (on /dev/mapper/leonardo-root)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--20e4d0f2-ea14-422c-b4f6-9cd3bdfce5e7' {
  232. insmod part_msdos
  233. insmod lvm
  234. insmod ext2
  235. set root='lvmid/mHwcg1-ThGd-ePAi-x8Nf-Tatq-wIj6-u6PR9l/APKTfh-mzga-y2X6-vGzu-Lua2-YwT6-uqOymI'
  236. if [ x$feature_platform_search_hint = xy ]; then
  237. search --no-floppy --fs-uuid --set=root --hint='lvmid/mHwcg1-ThGd-ePAi-x8Nf-Tatq-wIj6-u6PR9l/APKTfh-mzga-y2X6-vGzu-Lua2-YwT6-uqOymI' 20e4d0f2-ea14-422c-b4f6-9cd3bdfce5e7
  238. else
  239. search --no-floppy --fs-uuid --set=root 20e4d0f2-ea14-422c-b4f6-9cd3bdfce5e7
  240. fi
  241. linux /vmlinuz root=/dev/mapper/leonardo-root
  242. }
  243. }
  244.  
  245. set timeout_style=menu
  246. if [ "${timeout}" = 0 ]; then
  247. set timeout=10
  248. fi
  249. ### END /etc/grub.d/30_os-prober ###
  250.  
  251. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  252. ### END /etc/grub.d/30_uefi-firmware ###
  253.  
  254. ### BEGIN /etc/grub.d/40_custom ###
  255. # This file provides an easy way to add custom menu entries. Simply type the
  256. # menu entries you want to add after this comment. Be careful not to change
  257. # the 'exec tail' line above.
  258. ### END /etc/grub.d/40_custom ###
  259.  
  260. ### BEGIN /etc/grub.d/41_custom ###
  261. if [ -f ${config_directory}/custom.cfg ]; then
  262. source ${config_directory}/custom.cfg
  263. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  264. source $prefix/custom.cfg;
  265. fi
  266. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement