Advertisement
Guest User

Untitled

a guest
Aug 4th, 2019
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.48 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_msdos
  62. insmod ext2
  63. set root='hd1,msdos1'
  64. if [ x$feature_platform_search_hint = xy ]; then
  65. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 01a579d4-17aa-420f-9995-83492c2457ae
  66. else
  67. search --no-floppy --fs-uuid --set=root 01a579d4-17aa-420f-9995-83492c2457ae
  68. fi
  69. font="/usr/share/grub/unicode.pf2"
  70. fi
  71.  
  72. if loadfont $font ; then
  73. set gfxmode=auto
  74. load_video
  75. insmod gfxterm
  76. set locale_dir=$prefix/locale
  77. set lang=ru_RU
  78. insmod gettext
  79. fi
  80. terminal_output gfxterm
  81. if [ "${recordfail}" = 1 ] ; then
  82. set timeout=30
  83. else
  84. if [ x$feature_timeout_style = xy ] ; then
  85. set timeout_style=menu
  86. set timeout=5
  87. # Fallback normal timeout code in case the timeout_style feature is
  88. # unavailable.
  89. else
  90. set timeout=5
  91. fi
  92. fi
  93. ### END /etc/grub.d/00_header ###
  94.  
  95. ### BEGIN /etc/grub.d/05_debian_theme ###
  96. insmod part_msdos
  97. insmod ext2
  98. set root='hd1,msdos1'
  99. if [ x$feature_platform_search_hint = xy ]; then
  100. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 01a579d4-17aa-420f-9995-83492c2457ae
  101. else
  102. search --no-floppy --fs-uuid --set=root 01a579d4-17aa-420f-9995-83492c2457ae
  103. fi
  104. insmod png
  105. if background_image /usr/share/desktop-base/futureprototype-theme/grub/grub-4x3.png; then
  106. set color_normal=white/black
  107. set color_highlight=black/white
  108. else
  109. set menu_color_normal=cyan/blue
  110. set menu_color_highlight=white/blue
  111. fi
  112. ### END /etc/grub.d/05_debian_theme ###
  113.  
  114. ### BEGIN /etc/grub.d/10_linux ###
  115. function gfxmode {
  116. set gfxpayload="${1}"
  117. }
  118. set linux_gfx_mode=
  119. export linux_gfx_mode
  120. menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-01a579d4-17aa-420f-9995-83492c2457ae' {
  121. load_video
  122. insmod gzio
  123. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  124. insmod part_msdos
  125. insmod ext2
  126. set root='hd1,msdos1'
  127. if [ x$feature_platform_search_hint = xy ]; then
  128. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 01a579d4-17aa-420f-9995-83492c2457ae
  129. else
  130. search --no-floppy --fs-uuid --set=root 01a579d4-17aa-420f-9995-83492c2457ae
  131. fi
  132. echo 'Загружается Linux 4.19.0-5-amd64 …'
  133. linux /boot/vmlinuz-4.19.0-5-amd64 root=/dev/sdb1 ro quiet
  134. echo 'Загружается начальный виртуальный диск …'
  135. initrd /boot/initrd.img-4.19.0-5-amd64
  136. }
  137. submenu 'Дополнительные параметры для Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-01a579d4-17aa-420f-9995-83492c2457ae' {
  138. menuentry 'Debian GNU/Linux, с 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-01a579d4-17aa-420f-9995-83492c2457ae' {
  139. load_video
  140. insmod gzio
  141. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  142. insmod part_msdos
  143. insmod ext2
  144. set root='hd1,msdos1'
  145. if [ x$feature_platform_search_hint = xy ]; then
  146. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 01a579d4-17aa-420f-9995-83492c2457ae
  147. else
  148. search --no-floppy --fs-uuid --set=root 01a579d4-17aa-420f-9995-83492c2457ae
  149. fi
  150. echo 'Загружается Linux 4.19.0-5-amd64 …'
  151. linux /boot/vmlinuz-4.19.0-5-amd64 root=/dev/sdb1 ro quiet
  152. echo 'Загружается начальный виртуальный диск …'
  153. initrd /boot/initrd.img-4.19.0-5-amd64
  154. }
  155. 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-01a579d4-17aa-420f-9995-83492c2457ae' {
  156. load_video
  157. insmod gzio
  158. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  159. insmod part_msdos
  160. insmod ext2
  161. set root='hd1,msdos1'
  162. if [ x$feature_platform_search_hint = xy ]; then
  163. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 01a579d4-17aa-420f-9995-83492c2457ae
  164. else
  165. search --no-floppy --fs-uuid --set=root 01a579d4-17aa-420f-9995-83492c2457ae
  166. fi
  167. echo 'Загружается Linux 4.19.0-5-amd64 …'
  168. linux /boot/vmlinuz-4.19.0-5-amd64 root=/dev/sdb1 ro single
  169. echo 'Загружается начальный виртуальный диск …'
  170. initrd /boot/initrd.img-4.19.0-5-amd64
  171. }
  172. }
  173.  
  174. ### END /etc/grub.d/10_linux ###
  175.  
  176. ### BEGIN /etc/grub.d/20_linux_xen ###
  177.  
  178. ### END /etc/grub.d/20_linux_xen ###
  179.  
  180. ### BEGIN /etc/grub.d/30_os-prober ###
  181. ### END /etc/grub.d/30_os-prober ###
  182.  
  183. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  184. ### END /etc/grub.d/30_uefi-firmware ###
  185.  
  186. ### BEGIN /etc/grub.d/40_custom ###
  187. # This file provides an easy way to add custom menu entries. Simply type the
  188. # menu entries you want to add after this comment. Be careful not to change
  189. # the 'exec tail' line above.
  190. ### END /etc/grub.d/40_custom ###
  191.  
  192. ### BEGIN /etc/grub.d/41_custom ###
  193. if [ -f ${config_directory}/custom.cfg ]; then
  194. source ${config_directory}/custom.cfg
  195. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  196. source $prefix/custom.cfg;
  197. fi
  198. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement