Advertisement
Guest User

Untitled

a guest
Aug 9th, 2019
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.42 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 load_video {
  45. if [ x$feature_all_video_module = xy ]; then
  46. insmod all_video
  47. else
  48. insmod efi_gop
  49. insmod efi_uga
  50. insmod ieee1275_fb
  51. insmod vbe
  52. insmod vga
  53. insmod video_bochs
  54. insmod video_cirrus
  55. fi
  56. }
  57.  
  58. if [ x$feature_default_font_path = xy ] ; then
  59. font=unicode
  60. else
  61. insmod part_gpt
  62. insmod part_gpt
  63. insmod diskfilter
  64. insmod mdraid1x
  65. insmod lvm
  66. insmod ext2
  67. set root='lvmid/MKvZ4A-m5Cb-TEqI-yq0A-n2ok-a0Nb-7x40yM/QEJB9Q-XW1U-79fg-Syfd-3xs9-yTvW-KLww1v'
  68. if [ x$feature_platform_search_hint = xy ]; then
  69. search --no-floppy --fs-uuid --set=root --hint='lvmid/MKvZ4A-m5Cb-TEqI-yq0A-n2ok-a0Nb-7x40yM/QEJB9Q-XW1U-79fg-Syfd-3xs9-yTvW-KLww1v' 4aea0113-a39c-4111-b710-0f894c453383
  70. else
  71. search --no-floppy --fs-uuid --set=root 4aea0113-a39c-4111-b710-0f894c453383
  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=en_US
  82. insmod gettext
  83. fi
  84. terminal_output gfxterm
  85. if [ "${recordfail}" = 1 ] ; then
  86. set timeout=30
  87. else
  88. if [ x$feature_timeout_style = xy ] ; then
  89. set timeout_style=menu
  90. set timeout=5
  91. # Fallback normal timeout code in case the timeout_style feature is
  92. # unavailable.
  93. else
  94. set timeout=5
  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=cyan/blue
  101. set menu_color_highlight=white/blue
  102. ### END /etc/grub.d/05_debian_theme ###
  103.  
  104. ### BEGIN /etc/grub.d/10_linux ###
  105. function gfxmode {
  106. set gfxpayload="${1}"
  107. }
  108. set linux_gfx_mode=
  109. export linux_gfx_mode
  110. menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-4aea0113-a39c-4111-b710-0f894c453383' {
  111. load_video
  112. insmod gzio
  113. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  114. insmod part_gpt
  115. insmod part_gpt
  116. insmod diskfilter
  117. insmod mdraid1x
  118. insmod lvm
  119. insmod ext2
  120. set root='lvmid/MKvZ4A-m5Cb-TEqI-yq0A-n2ok-a0Nb-7x40yM/QEJB9Q-XW1U-79fg-Syfd-3xs9-yTvW-KLww1v'
  121. if [ x$feature_platform_search_hint = xy ]; then
  122. search --no-floppy --fs-uuid --set=root --hint='lvmid/MKvZ4A-m5Cb-TEqI-yq0A-n2ok-a0Nb-7x40yM/QEJB9Q-XW1U-79fg-Syfd-3xs9-yTvW-KLww1v' 4aea0113-a39c-4111-b710-0f894c453383
  123. else
  124. search --no-floppy --fs-uuid --set=root 4aea0113-a39c-4111-b710-0f894c453383
  125. fi
  126. echo 'Loading Linux 4.19.0-5-amd64 ...'
  127. linux /boot/vmlinuz-4.19.0-5-amd64 root=/dev/mapper/vg0-lv1 ro quiet
  128. echo 'Loading initial ramdisk ...'
  129. initrd /boot/initrd.img-4.19.0-5-amd64
  130. }
  131. submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-4aea0113-a39c-4111-b710-0f894c453383' {
  132. menuentry 'Debian GNU/Linux, with Linux 4.19.0-5-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.0-5-amd64-advanced-4aea0113-a39c-4111-b710-0f894c453383' {
  133. load_video
  134. insmod gzio
  135. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  136. insmod part_gpt
  137. insmod part_gpt
  138. insmod diskfilter
  139. insmod mdraid1x
  140. insmod lvm
  141. insmod ext2
  142. set root='lvmid/MKvZ4A-m5Cb-TEqI-yq0A-n2ok-a0Nb-7x40yM/QEJB9Q-XW1U-79fg-Syfd-3xs9-yTvW-KLww1v'
  143. if [ x$feature_platform_search_hint = xy ]; then
  144. search --no-floppy --fs-uuid --set=root --hint='lvmid/MKvZ4A-m5Cb-TEqI-yq0A-n2ok-a0Nb-7x40yM/QEJB9Q-XW1U-79fg-Syfd-3xs9-yTvW-KLww1v' 4aea0113-a39c-4111-b710-0f894c453383
  145. else
  146. search --no-floppy --fs-uuid --set=root 4aea0113-a39c-4111-b710-0f894c453383
  147. fi
  148. echo 'Loading Linux 4.19.0-5-amd64 ...'
  149. linux /boot/vmlinuz-4.19.0-5-amd64 root=/dev/mapper/vg0-lv1 ro quiet
  150. echo 'Loading initial ramdisk ...'
  151. initrd /boot/initrd.img-4.19.0-5-amd64
  152. }
  153. menuentry 'Debian GNU/Linux, with Linux 4.19.0-5-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.0-5-amd64-recovery-4aea0113-a39c-4111-b710-0f894c453383' {
  154. load_video
  155. insmod gzio
  156. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  157. insmod part_gpt
  158. insmod part_gpt
  159. insmod diskfilter
  160. insmod mdraid1x
  161. insmod lvm
  162. insmod ext2
  163. set root='lvmid/MKvZ4A-m5Cb-TEqI-yq0A-n2ok-a0Nb-7x40yM/QEJB9Q-XW1U-79fg-Syfd-3xs9-yTvW-KLww1v'
  164. if [ x$feature_platform_search_hint = xy ]; then
  165. search --no-floppy --fs-uuid --set=root --hint='lvmid/MKvZ4A-m5Cb-TEqI-yq0A-n2ok-a0Nb-7x40yM/QEJB9Q-XW1U-79fg-Syfd-3xs9-yTvW-KLww1v' 4aea0113-a39c-4111-b710-0f894c453383
  166. else
  167. search --no-floppy --fs-uuid --set=root 4aea0113-a39c-4111-b710-0f894c453383
  168. fi
  169. echo 'Loading Linux 4.19.0-5-amd64 ...'
  170. linux /boot/vmlinuz-4.19.0-5-amd64 root=/dev/mapper/vg0-lv1 ro single
  171. echo 'Loading initial ramdisk ...'
  172. initrd /boot/initrd.img-4.19.0-5-amd64
  173. }
  174. menuentry 'Debian GNU/Linux, with Linux 4.9.0-8-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.0-8-amd64-advanced-4aea0113-a39c-4111-b710-0f894c453383' {
  175. load_video
  176. insmod gzio
  177. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  178. insmod part_gpt
  179. insmod part_gpt
  180. insmod diskfilter
  181. insmod mdraid1x
  182. insmod lvm
  183. insmod ext2
  184. set root='lvmid/MKvZ4A-m5Cb-TEqI-yq0A-n2ok-a0Nb-7x40yM/QEJB9Q-XW1U-79fg-Syfd-3xs9-yTvW-KLww1v'
  185. if [ x$feature_platform_search_hint = xy ]; then
  186. search --no-floppy --fs-uuid --set=root --hint='lvmid/MKvZ4A-m5Cb-TEqI-yq0A-n2ok-a0Nb-7x40yM/QEJB9Q-XW1U-79fg-Syfd-3xs9-yTvW-KLww1v' 4aea0113-a39c-4111-b710-0f894c453383
  187. else
  188. search --no-floppy --fs-uuid --set=root 4aea0113-a39c-4111-b710-0f894c453383
  189. fi
  190. echo 'Loading Linux 4.9.0-8-amd64 ...'
  191. linux /boot/vmlinuz-4.9.0-8-amd64 root=/dev/mapper/vg0-lv1 ro quiet
  192. echo 'Loading initial ramdisk ...'
  193. initrd /boot/initrd.img-4.9.0-8-amd64
  194. }
  195. menuentry 'Debian GNU/Linux, with Linux 4.9.0-8-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.0-8-amd64-recovery-4aea0113-a39c-4111-b710-0f894c453383' {
  196. load_video
  197. insmod gzio
  198. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  199. insmod part_gpt
  200. insmod part_gpt
  201. insmod diskfilter
  202. insmod mdraid1x
  203. insmod lvm
  204. insmod ext2
  205. set root='lvmid/MKvZ4A-m5Cb-TEqI-yq0A-n2ok-a0Nb-7x40yM/QEJB9Q-XW1U-79fg-Syfd-3xs9-yTvW-KLww1v'
  206. if [ x$feature_platform_search_hint = xy ]; then
  207. search --no-floppy --fs-uuid --set=root --hint='lvmid/MKvZ4A-m5Cb-TEqI-yq0A-n2ok-a0Nb-7x40yM/QEJB9Q-XW1U-79fg-Syfd-3xs9-yTvW-KLww1v' 4aea0113-a39c-4111-b710-0f894c453383
  208. else
  209. search --no-floppy --fs-uuid --set=root 4aea0113-a39c-4111-b710-0f894c453383
  210. fi
  211. echo 'Loading Linux 4.9.0-8-amd64 ...'
  212. linux /boot/vmlinuz-4.9.0-8-amd64 root=/dev/mapper/vg0-lv1 ro single
  213. echo 'Loading initial ramdisk ...'
  214. initrd /boot/initrd.img-4.9.0-8-amd64
  215. }
  216. }
  217.  
  218. ### END /etc/grub.d/10_linux ###
  219.  
  220. ### BEGIN /etc/grub.d/20_linux_xen ###
  221.  
  222. ### END /etc/grub.d/20_linux_xen ###
  223.  
  224. ### BEGIN /etc/grub.d/30_os-prober ###
  225.  
  226. ### END /etc/grub.d/30_os-prober ###
  227.  
  228. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  229. ### END /etc/grub.d/30_uefi-firmware ###
  230.  
  231. ### BEGIN /etc/grub.d/40_custom ###
  232. # This file provides an easy way to add custom menu entries. Simply type the
  233. # menu entries you want to add after this comment. Be careful not to change
  234. # the 'exec tail' line above.
  235. ### END /etc/grub.d/40_custom ###
  236.  
  237. ### BEGIN /etc/grub.d/41_custom ###
  238. if [ -f ${config_directory}/custom.cfg ]; then
  239. source ${config_directory}/custom.cfg
  240. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  241. source $prefix/custom.cfg;
  242. fi
  243. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement