Advertisement
Guest User

Untitled

a guest
Nov 18th, 2021
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.15 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,msdos5'
  64. if [ x$feature_platform_search_hint = xy ]; then
  65. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5 --hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5 --hint='hd1,msdos5' f78fe5b4-7695-4be4-b4ea-ab25e2cfd782
  66. else
  67. search --no-floppy --fs-uuid --set=root f78fe5b4-7695-4be4-b4ea-ab25e2cfd782
  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,msdos5'
  99. if [ x$feature_platform_search_hint = xy ]; then
  100. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5 --hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5 --hint='hd1,msdos5' f78fe5b4-7695-4be4-b4ea-ab25e2cfd782
  101. else
  102. search --no-floppy --fs-uuid --set=root f78fe5b4-7695-4be4-b4ea-ab25e2cfd782
  103. fi
  104. insmod png
  105. if background_image /usr/share/desktop-base/homeworld-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_proxy ###
  115.  
  116. function gfxmode {
  117. set gfxpayload="${1}"
  118. }
  119. set linux_gfx_mode=
  120. export linux_gfx_mode
  121.  
  122.  
  123.  
  124. menuentry "Debian GNU/Linux" --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-f78fe5b4-7695-4be4-b4ea-ab25e2cfd782' {
  125. load_video
  126. insmod gzio
  127. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  128. insmod part_msdos
  129. insmod ext2
  130. set root='hd1,msdos5'
  131. if [ x$feature_platform_search_hint = xy ]; then
  132. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5 --hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5 --hint='hd1,msdos5' f78fe5b4-7695-4be4-b4ea-ab25e2cfd782
  133. else
  134. search --no-floppy --fs-uuid --set=root f78fe5b4-7695-4be4-b4ea-ab25e2cfd782
  135. fi
  136. echo 'Loading Linux 5.14.0-4-amd64 ...'
  137. linux /boot/vmlinuz-5.14.0-4-amd64 root=UUID=f78fe5b4-7695-4be4-b4ea-ab25e2cfd782 ro quiet
  138. echo 'Loading initial ramdisk ...'
  139. initrd /boot/initrd.img-5.14.0-4-amd64
  140. }
  141. ### END /etc/grub.d/10_linux_proxy ###
  142.  
  143. ### BEGIN /etc/grub.d/30_os-prober_proxy ###
  144. menuentry "Windows 7 (on /dev/sda1)" --class windows --class os $menuentry_id_option 'osprober-chain-10F42F01F42EE8A4' {
  145. insmod part_msdos
  146. insmod ntfs
  147. set root='hd0,msdos1'
  148. if [ x$feature_platform_search_hint = xy ]; then
  149. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 10F42F01F42EE8A4
  150. else
  151. search --no-floppy --fs-uuid --set=root 10F42F01F42EE8A4
  152. fi
  153. parttool ${root} hidden-
  154. chainloader +1
  155. }
  156. ### END /etc/grub.d/30_os-prober_proxy ###
  157.  
  158. ### BEGIN /etc/grub.d/31_linux_proxy ###
  159. submenu "Advanced options for Debian GNU/Linux"{
  160. menuentry "Debian GNU/Linux 9 (stretch) (on /dev/sda4)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-13-amd64--affe0e8f-c365-4b61-9712-aba7c56fcadb' {
  161. insmod part_msdos
  162. insmod ext2
  163. set root='hd0,msdos4'
  164. if [ x$feature_platform_search_hint = xy ]; then
  165. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 --hint='hd0,msdos4' affe0e8f-c365-4b61-9712-aba7c56fcadb
  166. else
  167. search --no-floppy --fs-uuid --set=root affe0e8f-c365-4b61-9712-aba7c56fcadb
  168. fi
  169. linux /boot/vmlinuz-4.9.0-13-amd64 root=/dev/sda4
  170. initrd /boot/initrd.img-4.9.0-13-amd64
  171. }
  172. menuentry "Debian GNU/Linux, with Linux 5.14.0-4-amd64" --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.14.0-4-amd64-advanced-f78fe5b4-7695-4be4-b4ea-ab25e2cfd782' {
  173. load_video
  174. insmod gzio
  175. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  176. insmod part_msdos
  177. insmod ext2
  178. set root='hd1,msdos5'
  179. if [ x$feature_platform_search_hint = xy ]; then
  180. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5 --hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5 --hint='hd1,msdos5' f78fe5b4-7695-4be4-b4ea-ab25e2cfd782
  181. else
  182. search --no-floppy --fs-uuid --set=root f78fe5b4-7695-4be4-b4ea-ab25e2cfd782
  183. fi
  184. echo 'Loading Linux 5.14.0-4-amd64 ...'
  185. linux /boot/vmlinuz-5.14.0-4-amd64 root=UUID=f78fe5b4-7695-4be4-b4ea-ab25e2cfd782 ro quiet
  186. echo 'Loading initial ramdisk ...'
  187. initrd /boot/initrd.img-5.14.0-4-amd64
  188. }
  189. menuentry "Debian GNU/Linux, with Linux 5.14.0-4-amd64 (recovery mode)" --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.14.0-4-amd64-recovery-f78fe5b4-7695-4be4-b4ea-ab25e2cfd782' {
  190. load_video
  191. insmod gzio
  192. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  193. insmod part_msdos
  194. insmod ext2
  195. set root='hd1,msdos5'
  196. if [ x$feature_platform_search_hint = xy ]; then
  197. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5 --hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5 --hint='hd1,msdos5' f78fe5b4-7695-4be4-b4ea-ab25e2cfd782
  198. else
  199. search --no-floppy --fs-uuid --set=root f78fe5b4-7695-4be4-b4ea-ab25e2cfd782
  200. fi
  201. echo 'Loading Linux 5.14.0-4-amd64 ...'
  202. linux /boot/vmlinuz-5.14.0-4-amd64 root=UUID=f78fe5b4-7695-4be4-b4ea-ab25e2cfd782 ro single
  203. echo 'Loading initial ramdisk ...'
  204. initrd /boot/initrd.img-5.14.0-4-amd64
  205. }
  206. menuentry "Debian GNU/Linux, with Linux 5.10.0-8-amd64" --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-8-amd64-advanced-f78fe5b4-7695-4be4-b4ea-ab25e2cfd782' {
  207. load_video
  208. insmod gzio
  209. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  210. insmod part_msdos
  211. insmod ext2
  212. set root='hd1,msdos5'
  213. if [ x$feature_platform_search_hint = xy ]; then
  214. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5 --hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5 --hint='hd1,msdos5' f78fe5b4-7695-4be4-b4ea-ab25e2cfd782
  215. else
  216. search --no-floppy --fs-uuid --set=root f78fe5b4-7695-4be4-b4ea-ab25e2cfd782
  217. fi
  218. echo 'Loading Linux 5.10.0-8-amd64 ...'
  219. linux /boot/vmlinuz-5.10.0-8-amd64 root=UUID=f78fe5b4-7695-4be4-b4ea-ab25e2cfd782 ro quiet
  220. echo 'Loading initial ramdisk ...'
  221. initrd /boot/initrd.img-5.10.0-8-amd64
  222. }
  223. menuentry "Debian GNU/Linux, with Linux 5.10.0-8-amd64 (recovery mode)" --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-8-amd64-recovery-f78fe5b4-7695-4be4-b4ea-ab25e2cfd782' {
  224. load_video
  225. insmod gzio
  226. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  227. insmod part_msdos
  228. insmod ext2
  229. set root='hd1,msdos5'
  230. if [ x$feature_platform_search_hint = xy ]; then
  231. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5 --hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5 --hint='hd1,msdos5' f78fe5b4-7695-4be4-b4ea-ab25e2cfd782
  232. else
  233. search --no-floppy --fs-uuid --set=root f78fe5b4-7695-4be4-b4ea-ab25e2cfd782
  234. fi
  235. echo 'Loading Linux 5.10.0-8-amd64 ...'
  236. linux /boot/vmlinuz-5.10.0-8-amd64 root=UUID=f78fe5b4-7695-4be4-b4ea-ab25e2cfd782 ro single
  237. echo 'Loading initial ramdisk ...'
  238. initrd /boot/initrd.img-5.10.0-8-amd64
  239. }
  240. menuentry "Debian GNU/Linux, with Linux 5.10.0-7-amd64" --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-7-amd64-advanced-f78fe5b4-7695-4be4-b4ea-ab25e2cfd782' {
  241. load_video
  242. insmod gzio
  243. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  244. insmod part_msdos
  245. insmod ext2
  246. set root='hd1,msdos5'
  247. if [ x$feature_platform_search_hint = xy ]; then
  248. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5 --hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5 --hint='hd1,msdos5' f78fe5b4-7695-4be4-b4ea-ab25e2cfd782
  249. else
  250. search --no-floppy --fs-uuid --set=root f78fe5b4-7695-4be4-b4ea-ab25e2cfd782
  251. fi
  252. echo 'Loading Linux 5.10.0-7-amd64 ...'
  253. linux /boot/vmlinuz-5.10.0-7-amd64 root=UUID=f78fe5b4-7695-4be4-b4ea-ab25e2cfd782 ro quiet
  254. echo 'Loading initial ramdisk ...'
  255. initrd /boot/initrd.img-5.10.0-7-amd64
  256. }
  257. menuentry "Debian GNU/Linux, with Linux 5.10.0-7-amd64 (recovery mode)" --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-7-amd64-recovery-f78fe5b4-7695-4be4-b4ea-ab25e2cfd782' {
  258. load_video
  259. insmod gzio
  260. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  261. insmod part_msdos
  262. insmod ext2
  263. set root='hd1,msdos5'
  264. if [ x$feature_platform_search_hint = xy ]; then
  265. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5 --hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5 --hint='hd1,msdos5' f78fe5b4-7695-4be4-b4ea-ab25e2cfd782
  266. else
  267. search --no-floppy --fs-uuid --set=root f78fe5b4-7695-4be4-b4ea-ab25e2cfd782
  268. fi
  269. echo 'Loading Linux 5.10.0-7-amd64 ...'
  270. linux /boot/vmlinuz-5.10.0-7-amd64 root=UUID=f78fe5b4-7695-4be4-b4ea-ab25e2cfd782 ro single
  271. echo 'Loading initial ramdisk ...'
  272. initrd /boot/initrd.img-5.10.0-7-amd64
  273. }
  274. menuentry "Windows 7 (on /dev/sdb1)" --class windows --class os $menuentry_id_option 'osprober-chain-3020A509438FD23A' {
  275. insmod part_msdos
  276. insmod ntfs
  277. set root='hd1,msdos1'
  278. if [ x$feature_platform_search_hint = xy ]; then
  279. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 --hint='hd1,msdos1' 3020A509438FD23A
  280. else
  281. search --no-floppy --fs-uuid --set=root 3020A509438FD23A
  282. fi
  283. parttool ${root} hidden-
  284. chainloader +1
  285. }
  286. menuentry "Debian GNU/Linux 9 (stretch) (on /dev/sda4)" --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-affe0e8f-c365-4b61-9712-aba7c56fcadb' {
  287. insmod part_msdos
  288. insmod ext2
  289. set root='hd0,msdos4'
  290. if [ x$feature_platform_search_hint = xy ]; then
  291. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 --hint='hd0,msdos4' affe0e8f-c365-4b61-9712-aba7c56fcadb
  292. else
  293. search --no-floppy --fs-uuid --set=root affe0e8f-c365-4b61-9712-aba7c56fcadb
  294. fi
  295. linux /boot/vmlinuz-4.9.0-13-amd64 root=/dev/sda4
  296. initrd /boot/initrd.img-4.9.0-13-amd64
  297. }
  298. }
  299. ### END /etc/grub.d/31_linux_proxy ###
  300.  
  301. ### BEGIN /etc/grub.d/32_os-prober_proxy ###
  302. menuentry "Windows Recovery Environment (on /dev/sda3)" --class windows --class os $menuentry_id_option 'osprober-chain-4C707D37707D28BA' {
  303. insmod part_msdos
  304. insmod ntfs
  305. set root='hd0,msdos3'
  306. if [ x$feature_platform_search_hint = xy ]; then
  307. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint='hd0,msdos3' 4C707D37707D28BA
  308. else
  309. search --no-floppy --fs-uuid --set=root 4C707D37707D28BA
  310. fi
  311. parttool ${root} hidden-
  312. drivemap -s (hd0) ${root}
  313. chainloader +1
  314. }
  315. ### END /etc/grub.d/32_os-prober_proxy ###
  316.  
  317. ### BEGIN /etc/grub.d/33_linux_xen ###
  318.  
  319. ### END /etc/grub.d/33_linux_xen ###
  320.  
  321. ### BEGIN /etc/grub.d/34_os-prober_proxy ###
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329. ### END /etc/grub.d/34_os-prober_proxy ###
  330.  
  331. ### BEGIN /etc/grub.d/35_uefi-firmware ###
  332. ### END /etc/grub.d/35_uefi-firmware ###
  333.  
  334. ### BEGIN /etc/grub.d/40_custom ###
  335. # This file provides an easy way to add custom menu entries. Simply type the
  336. # menu entries you want to add after this comment. Be careful not to change
  337. # the 'exec tail' line above.
  338. ### END /etc/grub.d/40_custom ###
  339.  
  340. ### BEGIN /etc/grub.d/41_custom ###
  341. if [ -f ${config_directory}/custom.cfg ]; then
  342. source ${config_directory}/custom.cfg
  343. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  344. source $prefix/custom.cfg;
  345. fi
  346. ### END /etc/grub.d/41_custom ###
  347.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement