Advertisement
Guest User

Untitled

a guest
Jul 30th, 2014
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.00 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. initrd /boot/initrd.img-3.13.0-32-generic
  148. }
  149. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-20e4d0f2-ea14-422c-b4f6-9cd3bdfce5e7' {
  150. 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' {
  151. recordfail
  152. load_video
  153. gfxmode $linux_gfx_mode
  154. insmod gzio
  155. insmod part_msdos
  156. insmod lvm
  157. insmod ext2
  158. set root='lvmid/mHwcg1-ThGd-ePAi-x8Nf-Tatq-wIj6-u6PR9l/APKTfh-mzga-y2X6-vGzu-Lua2-YwT6-uqOymI'
  159. if [ x$feature_platform_search_hint = xy ]; then
  160. 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
  161. else
  162. search --no-floppy --fs-uuid --set=root 20e4d0f2-ea14-422c-b4f6-9cd3bdfce5e7
  163. fi
  164. echo 'Loading Linux 3.13.0-32-generic ...'
  165. linux /boot/vmlinuz-3.13.0-32-generic root=/dev/mapper/leonardo-root ro
  166. echo 'Loading initial ramdisk ...'
  167. initrd /boot/initrd.img-3.13.0-32-generic
  168. }
  169. 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' {
  170. recordfail
  171. load_video
  172. insmod gzio
  173. insmod part_msdos
  174. insmod lvm
  175. insmod ext2
  176. set root='lvmid/mHwcg1-ThGd-ePAi-x8Nf-Tatq-wIj6-u6PR9l/APKTfh-mzga-y2X6-vGzu-Lua2-YwT6-uqOymI'
  177. if [ x$feature_platform_search_hint = xy ]; then
  178. 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
  179. else
  180. search --no-floppy --fs-uuid --set=root 20e4d0f2-ea14-422c-b4f6-9cd3bdfce5e7
  181. fi
  182. echo 'Loading Linux 3.13.0-32-generic ...'
  183. linux /boot/vmlinuz-3.13.0-32-generic root=/dev/mapper/leonardo-root ro recovery nomodeset
  184. echo 'Loading initial ramdisk ...'
  185. initrd /boot/initrd.img-3.13.0-32-generic
  186. }
  187. }
  188.  
  189. ### END /etc/grub.d/10_linux ###
  190.  
  191. ### BEGIN /etc/grub.d/20_linux_xen ###
  192.  
  193. ### END /etc/grub.d/20_linux_xen ###
  194.  
  195. ### BEGIN /etc/grub.d/20_memtest86+ ###
  196. ### END /etc/grub.d/20_memtest86+ ###
  197.  
  198. ### BEGIN /etc/grub.d/30_os-prober ###
  199. 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' {
  200. insmod part_msdos
  201. insmod lvm
  202. insmod ext2
  203. set root='lvmid/mHwcg1-ThGd-ePAi-x8Nf-Tatq-wIj6-u6PR9l/APKTfh-mzga-y2X6-vGzu-Lua2-YwT6-uqOymI'
  204. if [ x$feature_platform_search_hint = xy ]; then
  205. 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
  206. else
  207. search --no-floppy --fs-uuid --set=root 20e4d0f2-ea14-422c-b4f6-9cd3bdfce5e7
  208. fi
  209. linux /boot/vmlinuz-3.13.0-32-generic root=/dev/mapper/leonardo-root ro
  210. }
  211. 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' {
  212. menuentry 'Ubuntu (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' {
  213. insmod part_msdos
  214. insmod lvm
  215. insmod ext2
  216. set root='lvmid/mHwcg1-ThGd-ePAi-x8Nf-Tatq-wIj6-u6PR9l/APKTfh-mzga-y2X6-vGzu-Lua2-YwT6-uqOymI'
  217. if [ x$feature_platform_search_hint = xy ]; then
  218. 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
  219. else
  220. search --no-floppy --fs-uuid --set=root 20e4d0f2-ea14-422c-b4f6-9cd3bdfce5e7
  221. fi
  222. linux /boot/vmlinuz-3.13.0-32-generic root=/dev/mapper/leonardo-root ro
  223. }
  224. menuentry 'Ubuntu, with Linux 3.13.0-32-generic (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' {
  225. insmod part_msdos
  226. insmod lvm
  227. insmod ext2
  228. set root='lvmid/mHwcg1-ThGd-ePAi-x8Nf-Tatq-wIj6-u6PR9l/APKTfh-mzga-y2X6-vGzu-Lua2-YwT6-uqOymI'
  229. if [ x$feature_platform_search_hint = xy ]; then
  230. 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
  231. else
  232. search --no-floppy --fs-uuid --set=root 20e4d0f2-ea14-422c-b4f6-9cd3bdfce5e7
  233. fi
  234. linux /boot/vmlinuz-3.13.0-32-generic root=/dev/mapper/leonardo-root ro
  235. }
  236. menuentry 'Ubuntu, with Linux 3.13.0-32-generic (recovery mode) (on /dev/mapper/leonardo-root)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.13.0-32-generic-root=/dev/mapper/leonardo-root ro recovery nomodeset-20e4d0f2-ea14-422c-b4f6-9cd3bdfce5e7' {
  237. insmod part_msdos
  238. insmod lvm
  239. insmod ext2
  240. set root='lvmid/mHwcg1-ThGd-ePAi-x8Nf-Tatq-wIj6-u6PR9l/APKTfh-mzga-y2X6-vGzu-Lua2-YwT6-uqOymI'
  241. if [ x$feature_platform_search_hint = xy ]; then
  242. 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
  243. else
  244. search --no-floppy --fs-uuid --set=root 20e4d0f2-ea14-422c-b4f6-9cd3bdfce5e7
  245. fi
  246. linux /boot/vmlinuz-3.13.0-32-generic root=/dev/mapper/leonardo-root ro recovery nomodeset
  247. }
  248. }
  249.  
  250. set timeout_style=menu
  251. if [ "${timeout}" = 0 ]; then
  252. set timeout=10
  253. fi
  254. ### END /etc/grub.d/30_os-prober ###
  255.  
  256. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  257. ### END /etc/grub.d/30_uefi-firmware ###
  258.  
  259. ### BEGIN /etc/grub.d/40_custom ###
  260. # This file provides an easy way to add custom menu entries. Simply type the
  261. # menu entries you want to add after this comment. Be careful not to change
  262. # the 'exec tail' line above.
  263. ### END /etc/grub.d/40_custom ###
  264.  
  265. ### BEGIN /etc/grub.d/41_custom ###
  266. if [ -f ${config_directory}/custom.cfg ]; then
  267. source ${config_directory}/custom.cfg
  268. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  269. source $prefix/custom.cfg;
  270. fi
  271. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement