Advertisement
Guest User

Untitled

a guest
Sep 30th, 2014
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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 loadfont unicode ; then
  63. set gfxmode=auto
  64. load_video
  65. insmod gfxterm
  66. set locale_dir=$prefix/locale
  67. set lang=en_GB
  68. insmod gettext
  69. fi
  70. terminal_output gfxterm
  71. if [ "${recordfail}" = 1 ] ; then
  72. set timeout=-1
  73. else
  74. if [ x$feature_timeout_style = xy ] ; then
  75. set timeout_style=hidden
  76. set timeout=0
  77. # Fallback hidden-timeout code in case the timeout_style feature is
  78. # unavailable.
  79. elif sleep --interruptible 0 ; then
  80. set timeout=0
  81. fi
  82. fi
  83. ### END /etc/grub.d/00_header ###
  84.  
  85. ### BEGIN /etc/grub.d/05_debian_theme ###
  86. set menu_color_normal=white/black
  87. set menu_color_highlight=black/light-gray
  88. ### END /etc/grub.d/05_debian_theme ###
  89.  
  90. ### BEGIN /etc/grub.d/10_linux ###
  91. function gfxmode {
  92. set gfxpayload="${1}"
  93. if [ "${1}" = "keep" ]; then
  94. set vt_handoff=vt.handoff=7
  95. else
  96. set vt_handoff=
  97. fi
  98. }
  99. set linux_gfx_mode=auto
  100. export linux_gfx_mode
  101. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-598389d0-ee58-4ab6-91d9-7aac37131ab7' {
  102. recordfail
  103. load_video
  104. gfxmode $linux_gfx_mode
  105. insmod gzio
  106. insmod part_msdos
  107. insmod ext2
  108. set root='hd1,msdos1'
  109. if [ x$feature_platform_search_hint = xy ]; then
  110. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 b80cb14b-6e5d-4896-8750-44f4a19be3de
  111. else
  112. search --no-floppy --fs-uuid --set=root b80cb14b-6e5d-4896-8750-44f4a19be3de
  113. fi
  114. linux /vmlinuz-3.13.0-36-generic root=/dev/mapper/xubuntu--vg-root ro quiet splash plymouth:force-drm $vt_handoff
  115. initrd /initrd.img-3.13.0-36-generic
  116. }
  117. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-598389d0-ee58-4ab6-91d9-7aac37131ab7' {
  118. menuentry 'Ubuntu, with Linux 3.13.0-36-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-36-generic-advanced-598389d0-ee58-4ab6-91d9-7aac37131ab7' {
  119. recordfail
  120. load_video
  121. gfxmode $linux_gfx_mode
  122. insmod gzio
  123. insmod part_msdos
  124. insmod ext2
  125. set root='hd1,msdos1'
  126. if [ x$feature_platform_search_hint = xy ]; then
  127. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 b80cb14b-6e5d-4896-8750-44f4a19be3de
  128. else
  129. search --no-floppy --fs-uuid --set=root b80cb14b-6e5d-4896-8750-44f4a19be3de
  130. fi
  131. echo 'Loading Linux 3.13.0-36-generic ...'
  132. linux /vmlinuz-3.13.0-36-generic root=/dev/mapper/xubuntu--vg-root ro quiet splash $vt_handoff
  133. echo 'Loading initial ramdisk ...'
  134. initrd /initrd.img-3.13.0-36-generic
  135. }
  136. menuentry 'Ubuntu, with Linux 3.13.0-36-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-36-generic-recovery-598389d0-ee58-4ab6-91d9-7aac37131ab7' {
  137. recordfail
  138. load_video
  139. insmod gzio
  140. insmod part_msdos
  141. insmod ext2
  142. set root='hd1,msdos1'
  143. if [ x$feature_platform_search_hint = xy ]; then
  144. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 b80cb14b-6e5d-4896-8750-44f4a19be3de
  145. else
  146. search --no-floppy --fs-uuid --set=root b80cb14b-6e5d-4896-8750-44f4a19be3de
  147. fi
  148. echo 'Loading Linux 3.13.0-36-generic ...'
  149. linux /vmlinuz-3.13.0-36-generic root=/dev/mapper/xubuntu--vg-root ro recovery nomodeset
  150. echo 'Loading initial ramdisk ...'
  151. initrd /initrd.img-3.13.0-36-generic
  152. }
  153. 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-598389d0-ee58-4ab6-91d9-7aac37131ab7' {
  154. recordfail
  155. load_video
  156. gfxmode $linux_gfx_mode
  157. insmod gzio
  158. insmod part_msdos
  159. insmod ext2
  160. set root='hd1,msdos1'
  161. if [ x$feature_platform_search_hint = xy ]; then
  162. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 b80cb14b-6e5d-4896-8750-44f4a19be3de
  163. else
  164. search --no-floppy --fs-uuid --set=root b80cb14b-6e5d-4896-8750-44f4a19be3de
  165. fi
  166. echo 'Loading Linux 3.13.0-32-generic ...'
  167. linux /vmlinuz-3.13.0-32-generic root=/dev/mapper/xubuntu--vg-root ro quiet splash $vt_handoff
  168. echo 'Loading initial ramdisk ...'
  169. initrd /initrd.img-3.13.0-32-generic
  170. }
  171. 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-598389d0-ee58-4ab6-91d9-7aac37131ab7' {
  172. recordfail
  173. load_video
  174. insmod gzio
  175. insmod part_msdos
  176. insmod ext2
  177. set root='hd1,msdos1'
  178. if [ x$feature_platform_search_hint = xy ]; then
  179. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 b80cb14b-6e5d-4896-8750-44f4a19be3de
  180. else
  181. search --no-floppy --fs-uuid --set=root b80cb14b-6e5d-4896-8750-44f4a19be3de
  182. fi
  183. echo 'Loading Linux 3.13.0-32-generic ...'
  184. linux /vmlinuz-3.13.0-32-generic root=/dev/mapper/xubuntu--vg-root ro recovery nomodeset
  185. echo 'Loading initial ramdisk ...'
  186. initrd /initrd.img-3.13.0-32-generic
  187. }
  188. }
  189.  
  190. ### END /etc/grub.d/10_linux ###
  191.  
  192. ### BEGIN /etc/grub.d/20_linux_xen ###
  193.  
  194. ### END /etc/grub.d/20_linux_xen ###
  195.  
  196. ### BEGIN /etc/grub.d/20_memtest86+ ###
  197. menuentry 'Memory test (memtest86+)' {
  198. insmod part_msdos
  199. insmod ext2
  200. set root='hd1,msdos1'
  201. if [ x$feature_platform_search_hint = xy ]; then
  202. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 b80cb14b-6e5d-4896-8750-44f4a19be3de
  203. else
  204. search --no-floppy --fs-uuid --set=root b80cb14b-6e5d-4896-8750-44f4a19be3de
  205. fi
  206. knetbsd /memtest86+.elf
  207. }
  208. menuentry 'Memory test (memtest86+, serial console 115200)' {
  209. insmod part_msdos
  210. insmod ext2
  211. set root='hd1,msdos1'
  212. if [ x$feature_platform_search_hint = xy ]; then
  213. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 b80cb14b-6e5d-4896-8750-44f4a19be3de
  214. else
  215. search --no-floppy --fs-uuid --set=root b80cb14b-6e5d-4896-8750-44f4a19be3de
  216. fi
  217. linux16 /memtest86+.bin console=ttyS0,115200n8
  218. }
  219. ### END /etc/grub.d/20_memtest86+ ###
  220.  
  221. ### BEGIN /etc/grub.d/30_os-prober ###
  222. ### END /etc/grub.d/30_os-prober ###
  223.  
  224. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  225. ### END /etc/grub.d/30_uefi-firmware ###
  226.  
  227. ### BEGIN /etc/grub.d/40_custom ###
  228. # This file provides an easy way to add custom menu entries. Simply type the
  229. # menu entries you want to add after this comment. Be careful not to change
  230. # the 'exec tail' line above.
  231. ### END /etc/grub.d/40_custom ###
  232.  
  233. ### BEGIN /etc/grub.d/41_custom ###
  234. if [ -f ${config_directory}/custom.cfg ]; then
  235. source ${config_directory}/custom.cfg
  236. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  237. source $prefix/custom.cfg;
  238. fi
  239. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement