Advertisement
Guest User

Untitled

a guest
May 23rd, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.75 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 btrfs
  63. set root='hd0,gpt3'
  64. if [ x$feature_platform_search_hint = xy ]; then
  65. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3
  66. --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 9bffc581-bb88-4aa3-b8da-1a6
  67. a1054bd0a
  68. else
  69. search --no-floppy --fs-uuid --set=root
  70. 9bffc581-bb88-4aa3-b8da-1a6a1054bd0a
  71. fi
  72. font="/@snapshots/36/snapshot/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=5
  90. # Fallback normal timeout code in case the timeout_style feature is
  91. # unavailable.
  92. else
  93. set timeout=5
  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=cyan/blue
  100. set menu_color_highlight=white/blue
  101. ### END /etc/grub.d/05_debian_theme ###
  102.  
  103. ### BEGIN /etc/grub.d/10_linux ###
  104. function gfxmode {
  105. set gfxpayload="${1}"
  106. }
  107. set linux_gfx_mode=
  108. export linux_gfx_mode
  109. menuentry 'Proxmox Virtual Environment GNU/Linux' --class proxmox
  110. --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-s
  111. imple-9bffc581-bb88-4aa3-b8da-1a6a1054bd0a' {
  112. load_video
  113. insmod gzio
  114. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  115. insmod part_gpt
  116. insmod btrfs
  117. set root='hd0,gpt3'
  118. if [ x$feature_platform_search_hint = xy ]; then
  119. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3
  120. --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 9bffc581-bb88-4aa3-
  121. b8da-1a6a1054bd0a
  122. else
  123. search --no-floppy --fs-uuid --set=root
  124. 9bffc581-bb88-4aa3-b8da-1a6a1054bd0a
  125. fi
  126. echo 'Linux 4.15.18-14-pve wird geladen …'
  127. linux /@snapshots/36/snapshot/boot/vmlinuz-4.15.18-14-pve
  128. root=UUID=9bffc581-bb88-4aa3-b8da-1a6a1054bd0a ro
  129. echo 'Initiale Ramdisk wird geladen …'
  130. initrd /@snapshots/36/snapshot/boot/initrd.img-4.15.18-14-pve
  131. }
  132. submenu 'Erweiterte Optionen für Proxmox Virtual Environment GNU/Linux'
  133. $menuentry_id_option 'gnulinux-advanced-9bffc581-bb88-4aa3-b8da-1a6
  134. a1054bd0a' {
  135. menuentry 'Proxmox Virtual Environment GNU/Linux, mit Linux
  136. 4.15.18-14-pve' --class proxmox --class gnu-linux --class gnu --class o
  137. s $menuentry_id_option
  138. 'gnulinux-4.15.18-14-pve-advanced-9bffc581-bb88-4aa3-b8da-1a6a1054bd0a' {
  139. load_video
  140. insmod gzio
  141. if [ x$grub_platform = xxen ]; then insmod xzio; insmod
  142. lzopio; fi
  143. insmod part_gpt
  144. insmod btrfs
  145. set root='hd0,gpt3'
  146. if [ x$feature_platform_search_hint = xy ]; then
  147. search --no-floppy --fs-uuid --set=root
  148. --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3
  149. 9bffc581-bb
  150. 88-4aa3-b8da-1a6a1054bd0a
  151. else
  152. search --no-floppy --fs-uuid --set=root
  153. 9bffc581-bb88-4aa3-b8da-1a6a1054bd0a
  154. fi
  155. echo 'Linux 4.15.18-14-pve wird geladen …'
  156. linux
  157. /@snapshots/36/snapshot/boot/vmlinuz-4.15.18-14-pve
  158. root=UUID=9bffc581-bb88-4aa3-b8da-1a6a1054bd0a ro
  159. echo 'Initiale Ramdisk wird geladen …'
  160. initrd
  161. /@snapshots/36/snapshot/boot/initrd.img-4.15.18-14-pve
  162. }
  163. }
  164.  
  165. ### END /etc/grub.d/10_linux ###
  166.  
  167. ### BEGIN /etc/grub.d/20_linux_xen ###
  168.  
  169. ### END /etc/grub.d/20_linux_xen ###
  170.  
  171. ### BEGIN /etc/grub.d/30_os-prober ###
  172. ### END /etc/grub.d/30_os-prober ###
  173.  
  174. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  175. menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
  176. fwsetup
  177. }
  178. ### END /etc/grub.d/30_uefi-firmware ###
  179.  
  180. ### BEGIN /etc/grub.d/40_custom ###
  181. # This file provides an easy way to add custom menu entries. Simply
  182. type the
  183. # menu entries you want to add after this comment. Be careful not to change
  184. # the 'exec tail' line above.
  185. ### END /etc/grub.d/40_custom ###
  186.  
  187. ### BEGIN /etc/grub.d/41_custom ###
  188. if [ -f ${config_directory}/custom.cfg ]; then
  189. source ${config_directory}/custom.cfg
  190. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  191. source $prefix/custom.cfg;
  192. fi
  193. ### END /etc/grub.d/41_custom ###
  194.  
  195. ### BEGIN /etc/grub.d/41_snapshots-btrfs ###
  196. submenu 'Debian Snapshots' {
  197. configfile "/@snapshots/36/snapshot/boot/grub/grub-btrfs.cfg"
  198. }
  199. ### END /etc/grub.d/41_snapshots-btrfs ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement