Advertisement
JensStutte

Untitled

Jun 24th, 2018
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.22 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_gpt
  66. insmod ext2
  67. if [ x$feature_platform_search_hint = xy ]; then
  68. search --no-floppy --fs-uuid --set=root 02e5c4c7-fdb1-4235-b727-89b6365039e7
  69. else
  70. search --no-floppy --fs-uuid --set=root 02e5c4c7-fdb1-4235-b727-89b6365039e7
  71. fi
  72. font="/usr/share/grub/unicode.pf2"
  73. fi
  74.  
  75. if loadfont $font ; then
  76. set gfxmode=auto
  77. load_video
  78. insmod gfxterm
  79. set locale_dir=$prefix/locale
  80. set lang=de_DE
  81. insmod gettext
  82. fi
  83. terminal_output gfxterm
  84. if [ "${recordfail}" = 1 ] ; then
  85. set timeout=30
  86. else
  87. if [ x$feature_timeout_style = xy ] ; then
  88. set timeout_style=menu
  89. set timeout=10
  90. # Fallback normal timeout code in case the timeout_style feature is
  91. # unavailable.
  92. else
  93. set timeout=10
  94. fi
  95. fi
  96. ### END /etc/grub.d/00_header ###
  97.  
  98. ### BEGIN /etc/grub.d/05_debian_theme ###
  99. set menu_color_normal=white/black
  100. set menu_color_highlight=black/light-gray
  101. if background_color 44,0,30,0; then
  102. clear
  103. fi
  104. ### END /etc/grub.d/05_debian_theme ###
  105.  
  106. ### BEGIN /etc/grub.d/10_linux ###
  107. function gfxmode {
  108. set gfxpayload="${1}"
  109. if [ "${1}" = "keep" ]; then
  110. set vt_handoff=vt.handoff=1
  111. else
  112. set vt_handoff=
  113. fi
  114. }
  115. if [ "${recordfail}" != 1 ]; then
  116. if [ -e ${prefix}/gfxblacklist.txt ]; then
  117. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  118. if [ ${match} = 0 ]; then
  119. set linux_gfx_mode=keep
  120. else
  121. set linux_gfx_mode=text
  122. fi
  123. else
  124. set linux_gfx_mode=text
  125. fi
  126. else
  127. set linux_gfx_mode=keep
  128. fi
  129. else
  130. set linux_gfx_mode=text
  131. fi
  132. export linux_gfx_mode
  133. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-02e5c4c7-fdb1-4235-b727-89b6365039e7' {
  134. recordfail
  135. load_video
  136. gfxmode $linux_gfx_mode
  137. insmod gzio
  138. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  139. insmod part_gpt
  140. insmod ext2
  141. if [ x$feature_platform_search_hint = xy ]; then
  142. search --no-floppy --fs-uuid --set=root 02e5c4c7-fdb1-4235-b727-89b6365039e7
  143. else
  144. search --no-floppy --fs-uuid --set=root 02e5c4c7-fdb1-4235-b727-89b6365039e7
  145. fi
  146. linux /boot/vmlinuz-4.17.2-041702-generic root=UUID=02e5c4c7-fdb1-4235-b727-89b6365039e7 ro quiet splash $vt_handoff
  147. initrd /boot/initrd.img-4.17.2-041702-generic
  148. }
  149. submenu 'Erweiterte Optionen für Ubuntu' $menuentry_id_option 'gnulinux-advanced-02e5c4c7-fdb1-4235-b727-89b6365039e7' {
  150. menuentry 'Ubuntu, mit Linux 4.17.2-041702-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.17.2-041702-generic-advanced-02e5c4c7-fdb1-4235-b727-89b6365039e7' {
  151. recordfail
  152. load_video
  153. gfxmode $linux_gfx_mode
  154. insmod gzio
  155. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  156. insmod part_gpt
  157. insmod ext2
  158. if [ x$feature_platform_search_hint = xy ]; then
  159. search --no-floppy --fs-uuid --set=root 02e5c4c7-fdb1-4235-b727-89b6365039e7
  160. else
  161. search --no-floppy --fs-uuid --set=root 02e5c4c7-fdb1-4235-b727-89b6365039e7
  162. fi
  163. echo 'Linux 4.17.2-041702-generic wird geladen …'
  164. linux /boot/vmlinuz-4.17.2-041702-generic root=UUID=02e5c4c7-fdb1-4235-b727-89b6365039e7 ro quiet splash $vt_handoff
  165. echo 'Initiale Ramdisk wird geladen …'
  166. initrd /boot/initrd.img-4.17.2-041702-generic
  167. }
  168. menuentry 'Ubuntu, mit Linux 4.17.2-041702-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.17.2-041702-generic-recovery-02e5c4c7-fdb1-4235-b727-89b6365039e7' {
  169. recordfail
  170. load_video
  171. insmod gzio
  172. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  173. insmod part_gpt
  174. insmod ext2
  175. if [ x$feature_platform_search_hint = xy ]; then
  176. search --no-floppy --fs-uuid --set=root 02e5c4c7-fdb1-4235-b727-89b6365039e7
  177. else
  178. search --no-floppy --fs-uuid --set=root 02e5c4c7-fdb1-4235-b727-89b6365039e7
  179. fi
  180. echo 'Linux 4.17.2-041702-generic wird geladen …'
  181. linux /boot/vmlinuz-4.17.2-041702-generic root=UUID=02e5c4c7-fdb1-4235-b727-89b6365039e7 ro recovery nomodeset
  182. echo 'Initiale Ramdisk wird geladen …'
  183. initrd /boot/initrd.img-4.17.2-041702-generic
  184. }
  185. menuentry 'Ubuntu, mit Linux 4.15.0-23-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-23-generic-advanced-02e5c4c7-fdb1-4235-b727-89b6365039e7' {
  186. recordfail
  187. load_video
  188. gfxmode $linux_gfx_mode
  189. insmod gzio
  190. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  191. insmod part_gpt
  192. insmod ext2
  193. if [ x$feature_platform_search_hint = xy ]; then
  194. search --no-floppy --fs-uuid --set=root 02e5c4c7-fdb1-4235-b727-89b6365039e7
  195. else
  196. search --no-floppy --fs-uuid --set=root 02e5c4c7-fdb1-4235-b727-89b6365039e7
  197. fi
  198. echo 'Linux 4.15.0-23-generic wird geladen …'
  199. linux /boot/vmlinuz-4.15.0-23-generic root=UUID=02e5c4c7-fdb1-4235-b727-89b6365039e7 ro quiet splash $vt_handoff
  200. echo 'Initiale Ramdisk wird geladen …'
  201. initrd /boot/initrd.img-4.15.0-23-generic
  202. }
  203. menuentry 'Ubuntu, mit Linux 4.15.0-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-23-generic-recovery-02e5c4c7-fdb1-4235-b727-89b6365039e7' {
  204. recordfail
  205. load_video
  206. insmod gzio
  207. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  208. insmod part_gpt
  209. insmod ext2
  210. if [ x$feature_platform_search_hint = xy ]; then
  211. search --no-floppy --fs-uuid --set=root 02e5c4c7-fdb1-4235-b727-89b6365039e7
  212. else
  213. search --no-floppy --fs-uuid --set=root 02e5c4c7-fdb1-4235-b727-89b6365039e7
  214. fi
  215. echo 'Linux 4.15.0-23-generic wird geladen …'
  216. linux /boot/vmlinuz-4.15.0-23-generic root=UUID=02e5c4c7-fdb1-4235-b727-89b6365039e7 ro recovery nomodeset
  217. echo 'Initiale Ramdisk wird geladen …'
  218. initrd /boot/initrd.img-4.15.0-23-generic
  219. }
  220. menuentry 'Ubuntu, mit Linux 4.15.0-22-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-22-generic-advanced-02e5c4c7-fdb1-4235-b727-89b6365039e7' {
  221. recordfail
  222. load_video
  223. gfxmode $linux_gfx_mode
  224. insmod gzio
  225. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  226. insmod part_gpt
  227. insmod ext2
  228. if [ x$feature_platform_search_hint = xy ]; then
  229. search --no-floppy --fs-uuid --set=root 02e5c4c7-fdb1-4235-b727-89b6365039e7
  230. else
  231. search --no-floppy --fs-uuid --set=root 02e5c4c7-fdb1-4235-b727-89b6365039e7
  232. fi
  233. echo 'Linux 4.15.0-22-generic wird geladen …'
  234. linux /boot/vmlinuz-4.15.0-22-generic root=UUID=02e5c4c7-fdb1-4235-b727-89b6365039e7 ro quiet splash $vt_handoff
  235. echo 'Initiale Ramdisk wird geladen …'
  236. initrd /boot/initrd.img-4.15.0-22-generic
  237. }
  238. menuentry 'Ubuntu, mit Linux 4.15.0-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-22-generic-recovery-02e5c4c7-fdb1-4235-b727-89b6365039e7' {
  239. recordfail
  240. load_video
  241. insmod gzio
  242. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  243. insmod part_gpt
  244. insmod ext2
  245. if [ x$feature_platform_search_hint = xy ]; then
  246. search --no-floppy --fs-uuid --set=root 02e5c4c7-fdb1-4235-b727-89b6365039e7
  247. else
  248. search --no-floppy --fs-uuid --set=root 02e5c4c7-fdb1-4235-b727-89b6365039e7
  249. fi
  250. echo 'Linux 4.15.0-22-generic wird geladen …'
  251. linux /boot/vmlinuz-4.15.0-22-generic root=UUID=02e5c4c7-fdb1-4235-b727-89b6365039e7 ro recovery nomodeset
  252. echo 'Initiale Ramdisk wird geladen …'
  253. initrd /boot/initrd.img-4.15.0-22-generic
  254. }
  255. }
  256.  
  257. ### END /etc/grub.d/10_linux ###
  258.  
  259. ### BEGIN /etc/grub.d/20_linux_xen ###
  260.  
  261. ### END /etc/grub.d/20_linux_xen ###
  262.  
  263. ### BEGIN /etc/grub.d/20_memtest86+ ###
  264. ### END /etc/grub.d/20_memtest86+ ###
  265.  
  266. ### BEGIN /etc/grub.d/30_os-prober ###
  267. menuentry 'Windows Boot Manager (auf /dev/nvme0n1p1)' --class windows --class os $menuentry_id_option 'osprober-efi-EC18-EB87' {
  268. insmod part_gpt
  269. insmod fat
  270. if [ x$feature_platform_search_hint = xy ]; then
  271. search --no-floppy --fs-uuid --set=root EC18-EB87
  272. else
  273. search --no-floppy --fs-uuid --set=root EC18-EB87
  274. fi
  275. chainloader /EFI/Microsoft/Boot/bootmgfw.efi
  276. }
  277. set timeout_style=menu
  278. if [ "${timeout}" = 0 ]; then
  279. set timeout=10
  280. fi
  281. ### END /etc/grub.d/30_os-prober ###
  282.  
  283. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  284. menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
  285. fwsetup
  286. }
  287. ### END /etc/grub.d/30_uefi-firmware ###
  288.  
  289. ### BEGIN /etc/grub.d/40_custom ###
  290. # This file provides an easy way to add custom menu entries. Simply type the
  291. # menu entries you want to add after this comment. Be careful not to change
  292. # the 'exec tail' line above.
  293. ### END /etc/grub.d/40_custom ###
  294.  
  295. ### BEGIN /etc/grub.d/41_custom ###
  296. if [ -f ${config_directory}/custom.cfg ]; then
  297. source ${config_directory}/custom.cfg
  298. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  299. source $prefix/custom.cfg;
  300. fi
  301. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement