NoPaste

Gibbies /boot/grub/grub.cfg

von SGibbi
SNIPPET_DESC:
Monitor- & Augenschonender steinzeitlicher Textmodus
SNIPPET_CREATION_TIME:
25.09.2021 07:11:43
SNIPPET_PRUNE_TIME:
24.03.2022 06:11:43

SNIPPET_TEXT:
  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. terminal_input console
  59. terminal_output console
  60. if [ "${recordfail}" = 1 ] ; then
  61.   set timeout=30
  62. else
  63.   if [ x$feature_timeout_style = xy ] ; then
  64.     set timeout_style=menu
  65.     set timeout=5
  66.   # Fallback normal timeout code in case the timeout_style feature is
  67.  # unavailable.
  68.  else
  69.     set timeout=5
  70.   fi
  71. fi
  72. ### END /etc/grub.d/00_header ###
  73.  
  74. ### BEGIN /etc/grub.d/05_debian_theme ###
  75. set menu_color_normal=cyan/blue
  76. set menu_color_highlight=white/blue
  77. ### END /etc/grub.d/05_debian_theme ###
  78.  
  79. ### BEGIN /etc/grub.d/06_dark_theme ###
  80. set menu_color_normal=white/black
  81. set menu_color_highlight=yellow/black
  82. set color_normal=white/black
  83. set color_highlight=yellow/black
  84. background_image
  85. ### END /etc/grub.d/06_dark_theme ###
  86.  
  87. ### BEGIN /etc/grub.d/10_linux ###
  88. function gfxmode {
  89.         set gfxpayload="${1}"
  90. }
  91. set linux_gfx_mode=text
  92. export linux_gfx_mode
  93. menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-85e05fa1-b3f2-4b25-ae05-5be30f43f5d0' {
  94.         gfxmode $linux_gfx_mode
  95.         insmod gzio
  96.         if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  97.         insmod part_msdos
  98.         insmod ext2
  99.         set root='hd0,msdos2'
  100.         if [ x$feature_platform_search_hint = xy ]; then
  101.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  85e05fa1-b3f2-4b25-ae05-5be30f43f5d0
  102.         else
  103.           search --no-floppy --fs-uuid --set=root 85e05fa1-b3f2-4b25-ae05-5be30f43f5d0
  104.         fi
  105.         echo    'Loading Linux 5.10.0-8-amd64 ...'
  106.         linux   /boot/vmlinuz-5.10.0-8-amd64 root=UUID=85e05fa1-b3f2-4b25-ae05-5be30f43f5d0 ro nomodeset quiet
  107.         echo    'Loading initial ramdisk ...'
  108.         initrd  /boot/initrd.img-5.10.0-8-amd64
  109. }
  110. submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-85e05fa1-b3f2-4b25-ae05-5be30f43f5d0' {
  111.         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-85e05fa1-b3f2-4b25-ae05-5be30f43f5d0' {
  112.                 gfxmode $linux_gfx_mode
  113.                 insmod gzio
  114.                 if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  115.                 insmod part_msdos
  116.                 insmod ext2
  117.                 set root='hd0,msdos2'
  118.                 if [ x$feature_platform_search_hint = xy ]; then
  119.                   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  85e05fa1-b3f2-4b25-ae05-5be30f43f5d0
  120.                 else
  121.                   search --no-floppy --fs-uuid --set=root 85e05fa1-b3f2-4b25-ae05-5be30f43f5d0
  122.                 fi
  123.                 echo    'Loading Linux 5.10.0-8-amd64 ...'
  124.                 linux   /boot/vmlinuz-5.10.0-8-amd64 root=UUID=85e05fa1-b3f2-4b25-ae05-5be30f43f5d0 ro nomodeset quiet
  125.                 echo    'Loading initial ramdisk ...'
  126.                 initrd  /boot/initrd.img-5.10.0-8-amd64
  127.         }
  128.         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-85e05fa1-b3f2-4b25-ae05-5be30f43f5d0' {
  129.                 gfxmode $linux_gfx_mode
  130.                 insmod gzio
  131.                 if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  132.                 insmod part_msdos
  133.                 insmod ext2
  134.                 set root='hd0,msdos2'
  135.                 if [ x$feature_platform_search_hint = xy ]; then
  136.                   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  85e05fa1-b3f2-4b25-ae05-5be30f43f5d0
  137.                 else
  138.                   search --no-floppy --fs-uuid --set=root 85e05fa1-b3f2-4b25-ae05-5be30f43f5d0
  139.                 fi
  140.                 echo    'Loading Linux 5.10.0-8-amd64 ...'
  141.                 linux   /boot/vmlinuz-5.10.0-8-amd64 root=UUID=85e05fa1-b3f2-4b25-ae05-5be30f43f5d0 ro single nomodeset
  142.                 echo    'Loading initial ramdisk ...'
  143.                 initrd  /boot/initrd.img-5.10.0-8-amd64
  144.         }
  145. }
  146.  
  147. ### END /etc/grub.d/10_linux ###
  148.  
  149. ### BEGIN /etc/grub.d/20_linux_xen ###
  150.  
  151. ### END /etc/grub.d/20_linux_xen ###
  152.  
  153. ### BEGIN /etc/grub.d/20_memtest86 ###
  154. menuentry "Memory test (memtest86)" {
  155.         linux16 /boot/memtest86.bin
  156. }
  157. ### END /etc/grub.d/20_memtest86 ###
  158.  
  159. ### BEGIN /etc/grub.d/20_memtest86+ ###
  160. ### END /etc/grub.d/20_memtest86+ ###
  161.  
  162. ### BEGIN /etc/grub.d/22_invaders ###
  163. menuentry "GRUB Invaders" {
  164.         insmod part_msdos
  165.         insmod ext2
  166.         set root='hd0,msdos2'
  167.         if [ x$feature_platform_search_hint = xy ]; then
  168.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  85e05fa1-b3f2-4b25-ae05-5be30f43f5d0
  169.         else
  170.           search --no-floppy --fs-uuid --set=root 85e05fa1-b3f2-4b25-ae05-5be30f43f5d0
  171.         fi
  172.         multiboot       /boot/invaders.exec
  173. }
  174. ### END /etc/grub.d/22_invaders ###
  175.  
  176. ### BEGIN /etc/grub.d/30_os-prober ###
  177. ### END /etc/grub.d/30_os-prober ###
  178.  
  179. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  180. ### END /etc/grub.d/30_uefi-firmware ###
  181.  
  182. ### BEGIN /etc/grub.d/40_custom ###
  183. # This file provides an easy way to add custom menu entries.  Simply type the
  184. # menu entries you want to add after this comment.  Be careful not to change
  185. # the 'exec tail' line above.
  186. ### END /etc/grub.d/40_custom ###
  187.  
  188. ### BEGIN /etc/grub.d/41_custom ###
  189. if [ -f  ${config_directory}/custom.cfg ]; then
  190.   source ${config_directory}/custom.cfg
  191. elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  192.   source $prefix/custom.cfg;
  193. fi
  194. ### END /etc/grub.d/41_custom ###
  195.  
  196. ### BEGIN /etc/grub.d/60_grub-imageboot ###
  197. ### END /etc/grub.d/60_grub-imageboot ###

Quellcode

Hier kannst du den Code kopieren und ihn in deinen bevorzugten Editor einfügen. PASTEBIN_DOWNLOAD_SNIPPET_EXPLAIN