Advertisement
Guest User

grub.cfg.new

a guest
Jul 17th, 2023
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.33 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 [ "${initrdfail}" = 2 ]; then
  14. set initrdfail=
  15. elif [ "${initrdfail}" = 1 ]; then
  16. set next_entry="${prev_entry}"
  17. set prev_entry=
  18. save_env prev_entry
  19. if [ "${next_entry}" ]; then
  20. set initrdfail=2
  21. fi
  22. fi
  23. if [ "${next_entry}" ] ; then
  24. set default="${next_entry}"
  25. set next_entry=
  26. save_env next_entry
  27. set boot_once=true
  28. else
  29. set default="0"
  30. fi
  31.  
  32. if [ x"${feature_menuentry_id}" = xy ]; then
  33. menuentry_id_option="--id"
  34. else
  35. menuentry_id_option=""
  36. fi
  37.  
  38. export menuentry_id_option
  39.  
  40. if [ "${prev_saved_entry}" ]; then
  41. set saved_entry="${prev_saved_entry}"
  42. save_env saved_entry
  43. set prev_saved_entry=
  44. save_env prev_saved_entry
  45. set boot_once=true
  46. fi
  47.  
  48. function savedefault {
  49. if [ -z "${boot_once}" ]; then
  50. saved_entry="${chosen}"
  51. save_env saved_entry
  52. fi
  53. }
  54. function initrdfail {
  55. if [ -n "${have_grubenv}" ]; then if [ -n "${partuuid}" ]; then
  56. if [ -z "${initrdfail}" ]; then
  57. set initrdfail=1
  58. if [ -n "${boot_once}" ]; then
  59. set prev_entry="${default}"
  60. save_env prev_entry
  61. fi
  62. fi
  63. save_env initrdfail
  64. fi; fi
  65. }
  66. function recordfail {
  67. set recordfail=1
  68. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  69. }
  70. function load_video {
  71. if [ x$feature_all_video_module = xy ]; then
  72. insmod all_video
  73. else
  74. insmod efi_gop
  75. insmod efi_uga
  76. insmod ieee1275_fb
  77. insmod vbe
  78. insmod vga
  79. insmod video_bochs
  80. insmod video_cirrus
  81. fi
  82. }
  83.  
  84. if [ x$feature_default_font_path = xy ] ; then
  85. font=unicode
  86. else
  87. insmod part_gpt
  88. insmod ext2
  89. set root='hd0,gpt6'
  90. if [ x$feature_platform_search_hint = xy ]; then
  91. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  92. else
  93. search --no-floppy --fs-uuid --set=root a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  94. fi
  95. font="/usr/share/grub/unicode.pf2"
  96. fi
  97.  
  98. if loadfont $font ; then
  99. set gfxmode=auto
  100. load_video
  101. insmod gfxterm
  102. set locale_dir=$prefix/locale
  103. set lang=en_GB
  104. insmod gettext
  105. fi
  106. terminal_output gfxterm
  107. if [ "${recordfail}" = 1 ] ; then
  108. set timeout=30
  109. else
  110. if [ x$feature_timeout_style = xy ] ; then
  111. set timeout_style=hidden
  112. set timeout=0
  113. # Fallback hidden-timeout code in case the timeout_style feature is
  114. # unavailable.
  115. elif sleep --interruptible 0 ; then
  116. set timeout=0
  117. fi
  118. fi
  119. ### END /etc/grub.d/00_header ###
  120.  
  121. ### BEGIN /etc/grub.d/05_debian_theme ###
  122. set menu_color_normal=white/black
  123. set menu_color_highlight=black/light-gray
  124. ### END /etc/grub.d/05_debian_theme ###
  125.  
  126. ### BEGIN /etc/grub.d/10_linux ###
  127. function gfxmode {
  128. set gfxpayload="${1}"
  129. if [ "${1}" = "keep" ]; then
  130. set vt_handoff=vt.handoff=7
  131. else
  132. set vt_handoff=
  133. fi
  134. }
  135. if [ "${recordfail}" != 1 ]; then
  136. if [ -e ${prefix}/gfxblacklist.txt ]; then
  137. if [ ${grub_platform} != pc ]; then
  138. set linux_gfx_mode=keep
  139. elif hwmatch ${prefix}/gfxblacklist.txt 3; then
  140. if [ ${match} = 0 ]; then
  141. set linux_gfx_mode=keep
  142. else
  143. set linux_gfx_mode=text
  144. fi
  145. else
  146. set linux_gfx_mode=text
  147. fi
  148. else
  149. set linux_gfx_mode=keep
  150. fi
  151. else
  152. set linux_gfx_mode=text
  153. fi
  154. export linux_gfx_mode
  155. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7' {
  156. recordfail
  157. load_video
  158. gfxmode $linux_gfx_mode
  159. insmod gzio
  160. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  161. insmod part_gpt
  162. insmod ext2
  163. set root='hd0,gpt6'
  164. if [ x$feature_platform_search_hint = xy ]; then
  165. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  166. else
  167. search --no-floppy --fs-uuid --set=root a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  168. fi
  169. linux /boot/vmlinuz-6.2.0-25-generic root=UUID=a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7 ro quiet splash $vt_handoff
  170. initrd /boot/initrd.img-6.2.0-25-generic
  171. }
  172. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7' {
  173. menuentry 'Ubuntu, with Linux 6.2.0-25-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.2.0-25-generic-advanced-a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7' {
  174. recordfail
  175. load_video
  176. gfxmode $linux_gfx_mode
  177. insmod gzio
  178. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  179. insmod part_gpt
  180. insmod ext2
  181. set root='hd0,gpt6'
  182. if [ x$feature_platform_search_hint = xy ]; then
  183. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  184. else
  185. search --no-floppy --fs-uuid --set=root a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  186. fi
  187. echo 'Loading Linux 6.2.0-25-generic ...'
  188. linux /boot/vmlinuz-6.2.0-25-generic root=UUID=a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7 ro quiet splash $vt_handoff
  189. echo 'Loading initial ramdisk ...'
  190. initrd /boot/initrd.img-6.2.0-25-generic
  191. }
  192. menuentry 'Ubuntu, with Linux 6.2.0-25-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.2.0-25-generic-recovery-a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7' {
  193. recordfail
  194. load_video
  195. insmod gzio
  196. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  197. insmod part_gpt
  198. insmod ext2
  199. set root='hd0,gpt6'
  200. if [ x$feature_platform_search_hint = xy ]; then
  201. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  202. else
  203. search --no-floppy --fs-uuid --set=root a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  204. fi
  205. echo 'Loading Linux 6.2.0-25-generic ...'
  206. linux /boot/vmlinuz-6.2.0-25-generic root=UUID=a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7 ro recovery nomodeset dis_ucode_ldr
  207. echo 'Loading initial ramdisk ...'
  208. initrd /boot/initrd.img-6.2.0-25-generic
  209. }
  210. menuentry 'Ubuntu, with Linux 6.2.0-24-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.2.0-24-generic-advanced-a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7' {
  211. recordfail
  212. load_video
  213. gfxmode $linux_gfx_mode
  214. insmod gzio
  215. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  216. insmod part_gpt
  217. insmod ext2
  218. set root='hd0,gpt6'
  219. if [ x$feature_platform_search_hint = xy ]; then
  220. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  221. else
  222. search --no-floppy --fs-uuid --set=root a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  223. fi
  224. echo 'Loading Linux 6.2.0-24-generic ...'
  225. linux /boot/vmlinuz-6.2.0-24-generic root=UUID=a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7 ro quiet splash $vt_handoff
  226. echo 'Loading initial ramdisk ...'
  227. initrd /boot/initrd.img-6.2.0-24-generic
  228. }
  229. menuentry 'Ubuntu, with Linux 6.2.0-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.2.0-24-generic-recovery-a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7' {
  230. recordfail
  231. load_video
  232. insmod gzio
  233. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  234. insmod part_gpt
  235. insmod ext2
  236. set root='hd0,gpt6'
  237. if [ x$feature_platform_search_hint = xy ]; then
  238. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  239. else
  240. search --no-floppy --fs-uuid --set=root a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  241. fi
  242. echo 'Loading Linux 6.2.0-24-generic ...'
  243. linux /boot/vmlinuz-6.2.0-24-generic root=UUID=a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7 ro recovery nomodeset dis_ucode_ldr
  244. echo 'Loading initial ramdisk ...'
  245. initrd /boot/initrd.img-6.2.0-24-generic
  246. }
  247. menuentry 'Ubuntu, with Linux 5.15.0-76-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-76-generic-advanced-a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7' {
  248. recordfail
  249. load_video
  250. gfxmode $linux_gfx_mode
  251. insmod gzio
  252. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  253. insmod part_gpt
  254. insmod ext2
  255. set root='hd0,gpt6'
  256. if [ x$feature_platform_search_hint = xy ]; then
  257. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  258. else
  259. search --no-floppy --fs-uuid --set=root a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  260. fi
  261. echo 'Loading Linux 5.15.0-76-generic ...'
  262. linux /boot/vmlinuz-5.15.0-76-generic root=UUID=a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7 ro quiet splash $vt_handoff
  263. echo 'Loading initial ramdisk ...'
  264. initrd /boot/initrd.img-5.15.0-76-generic
  265. }
  266. menuentry 'Ubuntu, with Linux 5.15.0-76-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-76-generic-recovery-a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7' {
  267. recordfail
  268. load_video
  269. insmod gzio
  270. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  271. insmod part_gpt
  272. insmod ext2
  273. set root='hd0,gpt6'
  274. if [ x$feature_platform_search_hint = xy ]; then
  275. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  276. else
  277. search --no-floppy --fs-uuid --set=root a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  278. fi
  279. echo 'Loading Linux 5.15.0-76-generic ...'
  280. linux /boot/vmlinuz-5.15.0-76-generic root=UUID=a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7 ro recovery nomodeset dis_ucode_ldr
  281. echo 'Loading initial ramdisk ...'
  282. initrd /boot/initrd.img-5.15.0-76-generic
  283. }
  284. }
  285.  
  286. ### END /etc/grub.d/10_linux ###
  287.  
  288. ### BEGIN /etc/grub.d/10_linux_proxy ###
  289.  
  290. function gfxmode {
  291. set gfxpayload="${1}"
  292. if [ "${1}" = "keep" ]; then
  293. set vt_handoff=vt.handoff=7
  294. else
  295. set vt_handoff=
  296. fi
  297. }
  298. if [ "${recordfail}" != 1 ]; then
  299. if [ -e ${prefix}/gfxblacklist.txt ]; then
  300. if [ ${grub_platform} != pc ]; then
  301. set linux_gfx_mode=keep
  302. elif hwmatch ${prefix}/gfxblacklist.txt 3; then
  303. if [ ${match} = 0 ]; then
  304. set linux_gfx_mode=keep
  305. else
  306. set linux_gfx_mode=text
  307. fi
  308. else
  309. set linux_gfx_mode=text
  310. fi
  311. else
  312. set linux_gfx_mode=keep
  313. fi
  314. else
  315. set linux_gfx_mode=text
  316. fi
  317. export linux_gfx_mode
  318.  
  319.  
  320.  
  321. menuentry "Ubuntu" --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7' {
  322. recordfail
  323. load_video
  324. gfxmode $linux_gfx_mode
  325. insmod gzio
  326. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  327. insmod part_gpt
  328. insmod ext2
  329. set root='hd0,gpt6'
  330. if [ x$feature_platform_search_hint = xy ]; then
  331. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  332. else
  333. search --no-floppy --fs-uuid --set=root a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  334. fi
  335. linux /boot/vmlinuz-6.2.0-25-generic root=UUID=a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7 ro quiet splash $vt_handoff
  336. initrd /boot/initrd.img-6.2.0-25-generic
  337. }
  338. submenu "Advanced options for Ubuntu"{
  339. menuentry "Ubuntu, with Linux 6.2.0-25-generic" --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.2.0-25-generic-advanced-a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7' {
  340. recordfail
  341. load_video
  342. gfxmode $linux_gfx_mode
  343. insmod gzio
  344. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  345. insmod part_gpt
  346. insmod ext2
  347. set root='hd0,gpt6'
  348. if [ x$feature_platform_search_hint = xy ]; then
  349. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  350. else
  351. search --no-floppy --fs-uuid --set=root a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  352. fi
  353. echo 'Loading Linux 6.2.0-25-generic ...'
  354. linux /boot/vmlinuz-6.2.0-25-generic root=UUID=a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7 ro quiet splash $vt_handoff
  355. echo 'Loading initial ramdisk ...'
  356. initrd /boot/initrd.img-6.2.0-25-generic
  357. }
  358. menuentry "Ubuntu, with Linux 6.2.0-25-generic (recovery mode)" --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.2.0-25-generic-recovery-a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7' {
  359. recordfail
  360. load_video
  361. insmod gzio
  362. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  363. insmod part_gpt
  364. insmod ext2
  365. set root='hd0,gpt6'
  366. if [ x$feature_platform_search_hint = xy ]; then
  367. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  368. else
  369. search --no-floppy --fs-uuid --set=root a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  370. fi
  371. echo 'Loading Linux 6.2.0-25-generic ...'
  372. linux /boot/vmlinuz-6.2.0-25-generic root=UUID=a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7 ro recovery nomodeset dis_ucode_ldr
  373. echo 'Loading initial ramdisk ...'
  374. initrd /boot/initrd.img-6.2.0-25-generic
  375. }
  376. menuentry "Ubuntu, with Linux 6.2.0-24-generic" --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.2.0-24-generic-advanced-a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7' {
  377. recordfail
  378. load_video
  379. gfxmode $linux_gfx_mode
  380. insmod gzio
  381. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  382. insmod part_gpt
  383. insmod ext2
  384. set root='hd0,gpt6'
  385. if [ x$feature_platform_search_hint = xy ]; then
  386. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  387. else
  388. search --no-floppy --fs-uuid --set=root a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  389. fi
  390. echo 'Loading Linux 6.2.0-24-generic ...'
  391. linux /boot/vmlinuz-6.2.0-24-generic root=UUID=a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7 ro quiet splash $vt_handoff
  392. echo 'Loading initial ramdisk ...'
  393. initrd /boot/initrd.img-6.2.0-24-generic
  394. }
  395. menuentry "Ubuntu, with Linux 6.2.0-24-generic (recovery mode)" --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.2.0-24-generic-recovery-a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7' {
  396. recordfail
  397. load_video
  398. insmod gzio
  399. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  400. insmod part_gpt
  401. insmod ext2
  402. set root='hd0,gpt6'
  403. if [ x$feature_platform_search_hint = xy ]; then
  404. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  405. else
  406. search --no-floppy --fs-uuid --set=root a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  407. fi
  408. echo 'Loading Linux 6.2.0-24-generic ...'
  409. linux /boot/vmlinuz-6.2.0-24-generic root=UUID=a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7 ro recovery nomodeset dis_ucode_ldr
  410. echo 'Loading initial ramdisk ...'
  411. initrd /boot/initrd.img-6.2.0-24-generic
  412. }
  413. menuentry "Ubuntu, with Linux 5.15.0-76-generic" --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-76-generic-advanced-a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7' {
  414. recordfail
  415. load_video
  416. gfxmode $linux_gfx_mode
  417. insmod gzio
  418. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  419. insmod part_gpt
  420. insmod ext2
  421. set root='hd0,gpt6'
  422. if [ x$feature_platform_search_hint = xy ]; then
  423. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  424. else
  425. search --no-floppy --fs-uuid --set=root a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  426. fi
  427. echo 'Loading Linux 5.15.0-76-generic ...'
  428. linux /boot/vmlinuz-5.15.0-76-generic root=UUID=a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7 ro quiet splash $vt_handoff
  429. echo 'Loading initial ramdisk ...'
  430. initrd /boot/initrd.img-5.15.0-76-generic
  431. }
  432. menuentry "Ubuntu, with Linux 5.15.0-76-generic (recovery mode)" --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-76-generic-recovery-a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7' {
  433. recordfail
  434. load_video
  435. insmod gzio
  436. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  437. insmod part_gpt
  438. insmod ext2
  439. set root='hd0,gpt6'
  440. if [ x$feature_platform_search_hint = xy ]; then
  441. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  442. else
  443. search --no-floppy --fs-uuid --set=root a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  444. fi
  445. echo 'Loading Linux 5.15.0-76-generic ...'
  446. linux /boot/vmlinuz-5.15.0-76-generic root=UUID=a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7 ro recovery nomodeset dis_ucode_ldr
  447. echo 'Loading initial ramdisk ...'
  448. initrd /boot/initrd.img-5.15.0-76-generic
  449. }
  450. }
  451. ### END /etc/grub.d/10_linux_proxy ###
  452.  
  453. ### BEGIN /etc/grub.d/10_linux_zfs ###
  454. ### END /etc/grub.d/10_linux_zfs ###
  455.  
  456. ### BEGIN /etc/grub.d/20_linux_xen ###
  457.  
  458. ### END /etc/grub.d/20_linux_xen ###
  459.  
  460. ### BEGIN /etc/grub.d/30_os-prober ###
  461. ### END /etc/grub.d/30_os-prober ###
  462.  
  463. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  464. ### END /etc/grub.d/30_uefi-firmware ###
  465.  
  466. ### BEGIN /etc/grub.d/40_custom ###
  467. # This file provides an easy way to add custom menu entries. Simply type the
  468. # menu entries you want to add after this comment. Be careful not to change
  469. # the 'exec tail' line above.
  470. ### END /etc/grub.d/40_custom ###
  471.  
  472. ### BEGIN /etc/grub.d/40_custom_proxy ###
  473. menuentry "$LABEL" \$menuentry_id_option 'uefi-firmware' {
  474. fwsetup
  475. menuentry '$LABEL' \$menuentry_id_option 'uefi-firmware' {
  476. fwsetup
  477. submenu "Advanced options for Ubuntu"{
  478. menuentry "Ubuntu, with Linux 6.2.0-25-generic" --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.2.0-25-generic-advanced-a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7' {
  479. recordfail
  480. savedefault
  481. load_video
  482. gfxmode $linux_gfx_mode
  483. insmod gzio
  484. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  485. insmod part_gpt
  486. insmod ext2
  487. set root='hd0,gpt6'
  488. if [ x$feature_platform_search_hint = xy ]; then
  489. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  490. else
  491. search --no-floppy --fs-uuid --set=root a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  492. fi
  493. echo 'Loading Linux 6.2.0-25-generic ...'
  494. linux /boot/vmlinuz-6.2.0-25-generic root=UUID=a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7 ro
  495. echo 'Loading initial ramdisk ...'
  496. initrd /boot/initrd.img-6.2.0-25-generic
  497. }
  498. menuentry "Ubuntu, with Linux 6.2.0-25-generic (recovery mode)" --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.2.0-25-generic-recovery-a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7' {
  499. recordfail
  500. load_video
  501. insmod gzio
  502. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  503. insmod part_gpt
  504. insmod ext2
  505. set root='hd0,gpt6'
  506. if [ x$feature_platform_search_hint = xy ]; then
  507. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  508. else
  509. search --no-floppy --fs-uuid --set=root a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  510. fi
  511. echo 'Loading Linux 6.2.0-25-generic ...'
  512. linux /boot/vmlinuz-6.2.0-25-generic root=UUID=a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7 ro recovery nomodeset dis_ucode_ldr
  513. echo 'Loading initial ramdisk ...'
  514. initrd /boot/initrd.img-6.2.0-25-generic
  515. }
  516. menuentry "Ubuntu, with Linux 6.2.0-24-generic" --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.2.0-24-generic-advanced-a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7' {
  517. recordfail
  518. savedefault
  519. load_video
  520. gfxmode $linux_gfx_mode
  521. insmod gzio
  522. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  523. insmod part_gpt
  524. insmod ext2
  525. set root='hd0,gpt6'
  526. if [ x$feature_platform_search_hint = xy ]; then
  527. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  528. else
  529. search --no-floppy --fs-uuid --set=root a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  530. fi
  531. echo 'Loading Linux 6.2.0-24-generic ...'
  532. linux /boot/vmlinuz-6.2.0-24-generic root=UUID=a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7 ro
  533. echo 'Loading initial ramdisk ...'
  534. initrd /boot/initrd.img-6.2.0-24-generic
  535. }
  536. menuentry "Ubuntu, with Linux 6.2.0-24-generic (recovery mode)" --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.2.0-24-generic-recovery-a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7' {
  537. recordfail
  538. load_video
  539. insmod gzio
  540. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  541. insmod part_gpt
  542. insmod ext2
  543. set root='hd0,gpt6'
  544. if [ x$feature_platform_search_hint = xy ]; then
  545. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  546. else
  547. search --no-floppy --fs-uuid --set=root a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  548. fi
  549. echo 'Loading Linux 6.2.0-24-generic ...'
  550. linux /boot/vmlinuz-6.2.0-24-generic root=UUID=a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7 ro recovery nomodeset dis_ucode_ldr
  551. echo 'Loading initial ramdisk ...'
  552. initrd /boot/initrd.img-6.2.0-24-generic
  553. }
  554. }
  555. submenu "Advanced options for Ubuntu"{
  556. menuentry "Ubuntu, with Linux 6.2.0-25-generic" --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.2.0-25-generic-advanced-a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7' {
  557. recordfail
  558. savedefault
  559. load_video
  560. gfxmode $linux_gfx_mode
  561. insmod gzio
  562. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  563. insmod part_gpt
  564. insmod ext2
  565. set root='hd0,gpt6'
  566. if [ x$feature_platform_search_hint = xy ]; then
  567. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  568. else
  569. search --no-floppy --fs-uuid --set=root a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  570. fi
  571. echo 'Loading Linux 6.2.0-25-generic ...'
  572. linux /boot/vmlinuz-6.2.0-25-generic root=UUID=a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7 ro
  573. echo 'Loading initial ramdisk ...'
  574. initrd /boot/initrd.img-6.2.0-25-generic
  575. }
  576. menuentry "Ubuntu, with Linux 6.2.0-25-generic (recovery mode)" --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.2.0-25-generic-recovery-a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7' {
  577. recordfail
  578. load_video
  579. insmod gzio
  580. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  581. insmod part_gpt
  582. insmod ext2
  583. set root='hd0,gpt6'
  584. if [ x$feature_platform_search_hint = xy ]; then
  585. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  586. else
  587. search --no-floppy --fs-uuid --set=root a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  588. fi
  589. echo 'Loading Linux 6.2.0-25-generic ...'
  590. linux /boot/vmlinuz-6.2.0-25-generic root=UUID=a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7 ro recovery nomodeset dis_ucode_ldr
  591. echo 'Loading initial ramdisk ...'
  592. initrd /boot/initrd.img-6.2.0-25-generic
  593. }
  594. menuentry "Ubuntu, with Linux 6.2.0-24-generic" --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.2.0-24-generic-advanced-a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7' {
  595. recordfail
  596. savedefault
  597. load_video
  598. gfxmode $linux_gfx_mode
  599. insmod gzio
  600. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  601. insmod part_gpt
  602. insmod ext2
  603. set root='hd0,gpt6'
  604. if [ x$feature_platform_search_hint = xy ]; then
  605. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  606. else
  607. search --no-floppy --fs-uuid --set=root a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  608. fi
  609. echo 'Loading Linux 6.2.0-24-generic ...'
  610. linux /boot/vmlinuz-6.2.0-24-generic root=UUID=a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7 ro
  611. echo 'Loading initial ramdisk ...'
  612. initrd /boot/initrd.img-6.2.0-24-generic
  613. }
  614. menuentry "Ubuntu, with Linux 6.2.0-24-generic (recovery mode)" --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.2.0-24-generic-recovery-a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7' {
  615. recordfail
  616. load_video
  617. insmod gzio
  618. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  619. insmod part_gpt
  620. insmod ext2
  621. set root='hd0,gpt6'
  622. if [ x$feature_platform_search_hint = xy ]; then
  623. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  624. else
  625. search --no-floppy --fs-uuid --set=root a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7
  626. fi
  627. echo 'Loading Linux 6.2.0-24-generic ...'
  628. linux /boot/vmlinuz-6.2.0-24-generic root=UUID=a74b61f2-5ef3-4e64-8c7b-befe82b9dcd7 ro recovery nomodeset dis_ucode_ldr
  629. echo 'Loading initial ramdisk ...'
  630. initrd /boot/initrd.img-6.2.0-24-generic
  631. }
  632. }
  633.  
  634. # This file provides an easy way to add custom menu entries. Simply type the
  635. # menu entries you want to add after this comment. Be careful not to change
  636. # the 'exec tail' line above.
  637.  
  638.  
  639.  
  640. # This file provides an easy way to add custom menu entries. Simply type the
  641. # menu entries you want to add after this comment. Be careful not to change
  642. # the 'exec tail' line above.
  643.  
  644.  
  645.  
  646. # This file provides an easy way to add custom menu entries. Simply type the
  647. # menu entries you want to add after this comment. Be careful not to change
  648. # the 'exec tail' line above.
  649.  
  650.  
  651. ### END /etc/grub.d/40_custom_proxy ###
  652.  
  653. ### BEGIN /etc/grub.d/41_custom ###
  654. if [ -f ${config_directory}/custom.cfg ]; then
  655. source ${config_directory}/custom.cfg
  656. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  657. source $prefix/custom.cfg
  658. fi
  659. ### END /etc/grub.d/41_custom ###
  660.  
  661. ### BEGIN /etc/grub.d/41_os-prober_proxy ###
  662. ### END /etc/grub.d/41_os-prober_proxy ###
  663.  
  664. ### BEGIN /etc/grub.d/42_linux_proxy ###
  665. ### END /etc/grub.d/42_linux_proxy ###
  666.  
  667. ### BEGIN /etc/grub.d/44_linux_zfs ###
  668. ### END /etc/grub.d/44_linux_zfs ###
  669.  
  670. ### BEGIN /etc/grub.d/45_linux_xen ###
  671.  
  672. ### END /etc/grub.d/45_linux_xen ###
  673.  
  674. ### BEGIN /etc/grub.d/46_memtest86+ ###
  675. ### END /etc/grub.d/46_memtest86+ ###
  676.  
  677. ### BEGIN /etc/grub.d/48_os-prober_proxy ###
  678.  
  679. ### END /etc/grub.d/48_os-prober_proxy ###
  680.  
  681. ### BEGIN /etc/grub.d/49_uefi-firmware ###
  682. ### END /etc/grub.d/49_uefi-firmware ###
  683.  
  684. ### BEGIN /etc/grub.d/50_fwupd ###
  685. ### END /etc/grub.d/50_fwupd ###
  686.  
  687. ### BEGIN /etc/grub.d/52_custom_proxy ###
  688.  
  689. # This file provides an easy way to add custom menu entries. Simply type the
  690. # menu entries you want to add after this comment. Be careful not to change
  691. # the 'exec tail' line above.
  692.  
  693.  
  694. ### END /etc/grub.d/52_custom_proxy ###
  695.  
  696. ### BEGIN /etc/grub.d/53_custom ###
  697. if [ -f ${config_directory}/custom.cfg ]; then
  698. source ${config_directory}/custom.cfg
  699. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  700. source $prefix/custom.cfg
  701. fi
  702. ### END /etc/grub.d/53_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement