Guest User

Untitled

a guest
May 2nd, 2023
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.26 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 ext2
  63. search --no-floppy --fs-uuid --set=root 8472b6f2-9fac-4807-aab1-d931191aaef0
  64. font="/usr/share/grub/unicode.pf2"
  65. fi
  66.  
  67. if loadfont $font ; then
  68. set gfxmode=1280x720,1280x800,auto
  69. load_video
  70. insmod gfxterm
  71. set locale_dir=$prefix/locale
  72. set lang=en_US
  73. insmod gettext
  74. fi
  75. terminal_output gfxterm
  76. insmod part_gpt
  77. insmod ext2
  78. search --no-floppy --fs-uuid --set=root 8472b6f2-9fac-4807-aab1-d931191aaef0
  79. insmod gfxmenu
  80. insmod png
  81. set theme=($root)/boot/grub/themes/kali/theme.txt
  82. export theme
  83. if [ "${recordfail}" = 1 ] ; then
  84. set timeout=30
  85. else
  86. if [ x$feature_timeout_style = xy ] ; then
  87. set timeout_style=menu
  88. set timeout=5
  89. # Fallback normal timeout code in case the timeout_style feature is
  90. # unavailable.
  91. else
  92. set timeout=5
  93. fi
  94. fi
  95. ### END /etc/grub.d/00_header ###
  96.  
  97. ### BEGIN /etc/grub.d/05_debian_theme ###
  98. insmod part_gpt
  99. insmod ext2
  100. search --no-floppy --fs-uuid --set=root 8472b6f2-9fac-4807-aab1-d931191aaef0
  101. insmod png
  102. if background_image /usr/share/grub/themes/kali/grub-16x9.png; then
  103. set color_normal=white/black
  104. set color_highlight=black/white
  105. else
  106. set menu_color_normal=cyan/blue
  107. set menu_color_highlight=white/blue
  108. fi
  109. ### END /etc/grub.d/05_debian_theme ###
  110.  
  111. ### BEGIN /etc/grub.d/10_linux ###
  112. function gfxmode {
  113. set gfxpayload="${1}"
  114. }
  115. set linux_gfx_mode=
  116. export linux_gfx_mode
  117. menuentry 'Kali GNU/Linux' --class kali --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-8472b6f2-9fac-4807-aab1-d931191aaef0' {
  118. load_video
  119. insmod gzio
  120. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  121. insmod part_gpt
  122. insmod ext2
  123. search --no-floppy --fs-uuid --set=root 8472b6f2-9fac-4807-aab1-d931191aaef0
  124. echo 'Loading Linux 6.1.0-kali7-amd64 ...'
  125. linux /boot/vmlinuz-6.1.0-kali7-amd64 root=UUID=8472b6f2-9fac-4807-aab1-d931191aaef0 ro quiet splash
  126. echo 'Loading initial ramdisk ...'
  127. initrd /boot/initrd.img-6.1.0-kali7-amd64
  128. }
  129. submenu 'Advanced options for Kali GNU/Linux' $menuentry_id_option 'gnulinux-advanced-8472b6f2-9fac-4807-aab1-d931191aaef0' {
  130. menuentry 'Kali GNU/Linux, with Linux 6.1.0-kali7-amd64' --class kali --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-kali7-amd64-advanced-8472b6f2-9fac-4807-aab1-d931191aaef0' {
  131. load_video
  132. insmod gzio
  133. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  134. insmod part_gpt
  135. insmod ext2
  136. search --no-floppy --fs-uuid --set=root 8472b6f2-9fac-4807-aab1-d931191aaef0
  137. echo 'Loading Linux 6.1.0-kali7-amd64 ...'
  138. linux /boot/vmlinuz-6.1.0-kali7-amd64 root=UUID=8472b6f2-9fac-4807-aab1-d931191aaef0 ro quiet splash
  139. echo 'Loading initial ramdisk ...'
  140. initrd /boot/initrd.img-6.1.0-kali7-amd64
  141. }
  142. menuentry 'Kali GNU/Linux, with Linux 6.1.0-kali7-amd64 (recovery mode)' --class kali --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-kali7-amd64-recovery-8472b6f2-9fac-4807-aab1-d931191aaef0' {
  143. load_video
  144. insmod gzio
  145. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  146. insmod part_gpt
  147. insmod ext2
  148. search --no-floppy --fs-uuid --set=root 8472b6f2-9fac-4807-aab1-d931191aaef0
  149. echo 'Loading Linux 6.1.0-kali7-amd64 ...'
  150. linux /boot/vmlinuz-6.1.0-kali7-amd64 root=UUID=8472b6f2-9fac-4807-aab1-d931191aaef0 ro single
  151. echo 'Loading initial ramdisk ...'
  152. initrd /boot/initrd.img-6.1.0-kali7-amd64
  153. }
  154. menuentry 'Kali GNU/Linux, with Linux 6.1.0-kali5-amd64' --class kali --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-kali5-amd64-advanced-8472b6f2-9fac-4807-aab1-d931191aaef0' {
  155. load_video
  156. insmod gzio
  157. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  158. insmod part_gpt
  159. insmod ext2
  160. search --no-floppy --fs-uuid --set=root 8472b6f2-9fac-4807-aab1-d931191aaef0
  161. echo 'Loading Linux 6.1.0-kali5-amd64 ...'
  162. linux /boot/vmlinuz-6.1.0-kali5-amd64 root=UUID=8472b6f2-9fac-4807-aab1-d931191aaef0 ro quiet splash
  163. echo 'Loading initial ramdisk ...'
  164. initrd /boot/initrd.img-6.1.0-kali5-amd64
  165. }
  166. menuentry 'Kali GNU/Linux, with Linux 6.1.0-kali5-amd64 (recovery mode)' --class kali --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-kali5-amd64-recovery-8472b6f2-9fac-4807-aab1-d931191aaef0' {
  167. load_video
  168. insmod gzio
  169. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  170. insmod part_gpt
  171. insmod ext2
  172. search --no-floppy --fs-uuid --set=root 8472b6f2-9fac-4807-aab1-d931191aaef0
  173. echo 'Loading Linux 6.1.0-kali5-amd64 ...'
  174. linux /boot/vmlinuz-6.1.0-kali5-amd64 root=UUID=8472b6f2-9fac-4807-aab1-d931191aaef0 ro single
  175. echo 'Loading initial ramdisk ...'
  176. initrd /boot/initrd.img-6.1.0-kali5-amd64
  177. }
  178. menuentry 'Kali GNU/Linux, with Linux 6.0.0-kali6-amd64' --class kali --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.0.0-kali6-amd64-advanced-8472b6f2-9fac-4807-aab1-d931191aaef0' {
  179. load_video
  180. insmod gzio
  181. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  182. insmod part_gpt
  183. insmod ext2
  184. search --no-floppy --fs-uuid --set=root 8472b6f2-9fac-4807-aab1-d931191aaef0
  185. echo 'Loading Linux 6.0.0-kali6-amd64 ...'
  186. linux /boot/vmlinuz-6.0.0-kali6-amd64 root=UUID=8472b6f2-9fac-4807-aab1-d931191aaef0 ro quiet splash
  187. echo 'Loading initial ramdisk ...'
  188. initrd /boot/initrd.img-6.0.0-kali6-amd64
  189. }
  190. menuentry 'Kali GNU/Linux, with Linux 6.0.0-kali6-amd64 (recovery mode)' --class kali --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.0.0-kali6-amd64-recovery-8472b6f2-9fac-4807-aab1-d931191aaef0' {
  191. load_video
  192. insmod gzio
  193. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  194. insmod part_gpt
  195. insmod ext2
  196. search --no-floppy --fs-uuid --set=root 8472b6f2-9fac-4807-aab1-d931191aaef0
  197. echo 'Loading Linux 6.0.0-kali6-amd64 ...'
  198. linux /boot/vmlinuz-6.0.0-kali6-amd64 root=UUID=8472b6f2-9fac-4807-aab1-d931191aaef0 ro single
  199. echo 'Loading initial ramdisk ...'
  200. initrd /boot/initrd.img-6.0.0-kali6-amd64
  201. }
  202. menuentry 'Kali GNU/Linux, with Linux 6.0.0-kali3-amd64' --class kali --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.0.0-kali3-amd64-advanced-8472b6f2-9fac-4807-aab1-d931191aaef0' {
  203. load_video
  204. insmod gzio
  205. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  206. insmod part_gpt
  207. insmod ext2
  208. search --no-floppy --fs-uuid --set=root 8472b6f2-9fac-4807-aab1-d931191aaef0
  209. echo 'Loading Linux 6.0.0-kali3-amd64 ...'
  210. linux /boot/vmlinuz-6.0.0-kali3-amd64 root=UUID=8472b6f2-9fac-4807-aab1-d931191aaef0 ro quiet splash
  211. echo 'Loading initial ramdisk ...'
  212. initrd /boot/initrd.img-6.0.0-kali3-amd64
  213. }
  214. menuentry 'Kali GNU/Linux, with Linux 6.0.0-kali3-amd64 (recovery mode)' --class kali --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.0.0-kali3-amd64-recovery-8472b6f2-9fac-4807-aab1-d931191aaef0' {
  215. load_video
  216. insmod gzio
  217. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  218. insmod part_gpt
  219. insmod ext2
  220. search --no-floppy --fs-uuid --set=root 8472b6f2-9fac-4807-aab1-d931191aaef0
  221. echo 'Loading Linux 6.0.0-kali3-amd64 ...'
  222. linux /boot/vmlinuz-6.0.0-kali3-amd64 root=UUID=8472b6f2-9fac-4807-aab1-d931191aaef0 ro single
  223. echo 'Loading initial ramdisk ...'
  224. initrd /boot/initrd.img-6.0.0-kali3-amd64
  225. }
  226. }
  227.  
  228. ### END /etc/grub.d/10_linux ###
  229.  
  230. ### BEGIN /etc/grub.d/20_linux_xen ###
  231.  
  232. ### END /etc/grub.d/20_linux_xen ###
  233.  
  234. ### BEGIN /etc/grub.d/30_os-prober ###
  235. menuentry 'Arch Linux (on /dev/nvme0n1p2)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-03fe2d83-9794-4d33-bac4-0faa15b61398' {
  236. insmod part_gpt
  237. insmod fat
  238. search --no-floppy --fs-uuid --set=root FE9C-79BE
  239. linux /vmlinuz-linux root=UUID=03fe2d83-9794-4d33-bac4-0faa15b61398 rw rootfstype=ext4 loglevel=3 quiet
  240. initrd /amd-ucode.img^/boot/initramfs-linux.img
  241. }
  242. submenu 'Advanced options for Arch Linux (on /dev/nvme0n1p2)' $menuentry_id_option 'osprober-gnulinux-advanced-03fe2d83-9794-4d33-bac4-0faa15b61398' {
  243. menuentry 'Arch Linux (on /dev/nvme0n1p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-linux--03fe2d83-9794-4d33-bac4-0faa15b61398' {
  244. insmod part_gpt
  245. insmod fat
  246. search --no-floppy --fs-uuid --set=root FE9C-79BE
  247. linux /vmlinuz-linux root=UUID=03fe2d83-9794-4d33-bac4-0faa15b61398 rw rootfstype=ext4 loglevel=3 quiet
  248. initrd /amd-ucode.img^/boot/initramfs-linux.img
  249. }
  250. menuentry 'Arch Linux, with Linux linux (on /dev/nvme0n1p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-linux--03fe2d83-9794-4d33-bac4-0faa15b61398' {
  251. insmod part_gpt
  252. insmod fat
  253. search --no-floppy --fs-uuid --set=root FE9C-79BE
  254. linux /vmlinuz-linux root=UUID=03fe2d83-9794-4d33-bac4-0faa15b61398 rw rootfstype=ext4 loglevel=3 quiet
  255. initrd /amd-ucode.img^/boot/initramfs-linux.img
  256. }
  257. menuentry 'Arch Linux, with Linux linux (fallback initramfs) (on /dev/nvme0n1p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-linux--03fe2d83-9794-4d33-bac4-0faa15b61398' {
  258. insmod part_gpt
  259. insmod fat
  260. search --no-floppy --fs-uuid --set=root FE9C-79BE
  261. linux /vmlinuz-linux root=UUID=03fe2d83-9794-4d33-bac4-0faa15b61398 rw rootfstype=ext4 loglevel=3 quiet
  262. initrd /amd-ucode.img^/boot/initramfs-linux-fallback.img
  263. }
  264. }
  265.  
  266. ### END /etc/grub.d/30_os-prober ###
  267.  
  268. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  269. menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
  270. fwsetup
  271. }
  272. ### END /etc/grub.d/30_uefi-firmware ###
  273.  
  274. ### BEGIN /etc/grub.d/40_custom ###
  275. # This file provides an easy way to add custom menu entries. Simply type the
  276. # menu entries you want to add after this comment. Be careful not to change
  277. # the 'exec tail' line above.
  278. ### END /etc/grub.d/40_custom ###
  279.  
  280. ### BEGIN /etc/grub.d/41_custom ###
  281. if [ -f ${config_directory}/custom.cfg ]; then
  282. source ${config_directory}/custom.cfg
  283. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  284. source $prefix/custom.cfg
  285. fi
  286. ### END /etc/grub.d/41_custom ###
  287.  
Advertisement
Add Comment
Please, Sign In to add comment