NoPaste

/boot/grub/grub.cfg

von willy4711

Dein Code:
  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. if [ x$feature_platform_search_hint = xy ]; then
  64.   search --no-floppy --fs-uuid --set=root  c7ef160f-b124-4aab-9480-a2b9b5055db2
  65. else
  66.   search --no-floppy --fs-uuid --set=root c7ef160f-b124-4aab-9480-a2b9b5055db2
  67. fi
  68.     font="/usr/share/grub/unicode.pf2"
  69. fi
  70.  
  71. if loadfont $font ; then
  72.   set gfxmode=auto
  73.   load_video
  74.   insmod gfxterm
  75.   set locale_dir=$prefix/locale
  76.   set lang=de_DE
  77.   insmod gettext
  78. fi
  79. terminal_output gfxterm
  80. if [ "${recordfail}" = 1 ] ; then
  81.   set timeout=30
  82. else
  83.   if [ x$feature_timeout_style = xy ] ; then
  84.     set timeout_style=menu
  85.     set timeout=5
  86.   # Fallback normal timeout code in case the timeout_style feature is
  87.   # unavailable.
  88.   else
  89.     set timeout=5
  90.   fi
  91. fi
  92. ### END /etc/grub.d/00_header ###
  93.  
  94. ### BEGIN /etc/grub.d/05_debian_theme ###
  95. insmod part_gpt
  96. insmod ext2
  97. if [ x$feature_platform_search_hint = xy ]; then
  98.   search --no-floppy --fs-uuid --set=root  c7ef160f-b124-4aab-9480-a2b9b5055db2
  99. else
  100.   search --no-floppy --fs-uuid --set=root c7ef160f-b124-4aab-9480-a2b9b5055db2
  101. fi
  102. insmod png
  103. if background_image /usr/share/desktop-base/futureprototype-theme/grub/grub-4x3.png; then
  104.   set color_normal=white/black
  105.   set color_highlight=black/white
  106. else
  107.   set menu_color_normal=cyan/blue
  108.   set menu_color_highlight=white/blue
  109. fi
  110. ### END /etc/grub.d/05_debian_theme ###
  111.  
  112. ### BEGIN /etc/grub.d/10_linux ###
  113. function gfxmode {
  114.         set gfxpayload="${1}"
  115. }
  116. set linux_gfx_mode=
  117. export linux_gfx_mode
  118. menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-c7ef160f-b124-4aab-9480-a2b9b5055db2' {
  119.         load_video
  120.         insmod gzio
  121.         if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  122.         insmod part_gpt
  123.         insmod ext2
  124.         if [ x$feature_platform_search_hint = xy ]; then
  125.           search --no-floppy --fs-uuid --set=root  c7ef160f-b124-4aab-9480-a2b9b5055db2
  126.         else
  127.           search --no-floppy --fs-uuid --set=root c7ef160f-b124-4aab-9480-a2b9b5055db2
  128.         fi
  129.         echo    'Loading Linux 5.7.0-1-amd64 ...'
  130.         linux   /boot/vmlinuz-5.7.0-1-amd64 root=UUID=c7ef160f-b124-4aab-9480-a2b9b5055db2 ro  quiet
  131.         echo    'Loading initial ramdisk ...'
  132.         initrd  /boot/initrd.img-5.7.0-1-amd64
  133. }
  134. submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-c7ef160f-b124-4aab-9480-a2b9b5055db2' {
  135.         menuentry 'Debian GNU/Linux, with Linux 5.7.0-1-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.7.0-1-amd64-advanced-c7ef160f-b124-4aab-9480-a2b9b5055db2' {
  136.                 load_video
  137.                 insmod gzio
  138.                 if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  139.                 insmod part_gpt
  140.                 insmod ext2
  141.                 if [ x$feature_platform_search_hint = xy ]; then
  142.                   search --no-floppy --fs-uuid --set=root  c7ef160f-b124-4aab-9480-a2b9b5055db2
  143.                 else
  144.                   search --no-floppy --fs-uuid --set=root c7ef160f-b124-4aab-9480-a2b9b5055db2
  145.                 fi
  146.                 echo    'Loading Linux 5.7.0-1-amd64 ...'
  147.                 linux   /boot/vmlinuz-5.7.0-1-amd64 root=UUID=c7ef160f-b124-4aab-9480-a2b9b5055db2 ro  quiet
  148.                 echo    'Loading initial ramdisk ...'
  149.                 initrd  /boot/initrd.img-5.7.0-1-amd64
  150.         }
  151.         menuentry 'Debian GNU/Linux, with Linux 5.7.0-1-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.7.0-1-amd64-recovery-c7ef160f-b124-4aab-9480-a2b9b5055db2' {
  152.                 load_video
  153.                 insmod gzio
  154.                 if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  155.                 insmod part_gpt
  156.                 insmod ext2
  157.                 if [ x$feature_platform_search_hint = xy ]; then
  158.                   search --no-floppy --fs-uuid --set=root  c7ef160f-b124-4aab-9480-a2b9b5055db2
  159.                 else
  160.                   search --no-floppy --fs-uuid --set=root c7ef160f-b124-4aab-9480-a2b9b5055db2
  161.                 fi
  162.                 echo    'Loading Linux 5.7.0-1-amd64 ...'
  163.                 linux   /boot/vmlinuz-5.7.0-1-amd64 root=UUID=c7ef160f-b124-4aab-9480-a2b9b5055db2 ro single
  164.                 echo    'Loading initial ramdisk ...'
  165.                 initrd  /boot/initrd.img-5.7.0-1-amd64
  166.         }
  167. }
  168.  
  169. ### END /etc/grub.d/10_linux ###
  170.  
  171. ### BEGIN /etc/grub.d/20_linux_xen ###
  172.  
  173. ### END /etc/grub.d/20_linux_xen ###
  174.  
  175. ### BEGIN /etc/grub.d/30_os-prober ###
  176. ### END /etc/grub.d/30_os-prober ###
  177.  
  178. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  179. ### END /etc/grub.d/30_uefi-firmware ###
  180.  
  181. ### BEGIN /etc/grub.d/40_custom ###
  182. # This file provides an easy way to add custom menu entries.  Simply type the
  183. # menu entries you want to add after this comment.  Be careful not to change
  184. # the 'exec tail' line above.
  185. menuentry "Debian Bullseye Mate" {
  186.         insmod chain
  187.         insmod ext2
  188.         search --no-floppy --fs-uuid --set=root  f8e37245-8f05-4fb5-93bc-e76299146c13
  189.         configfile /boot/grub/grub.cfg
  190.         chainloader +1
  191. }
  192. ### END /etc/grub.d/40_custom ###
  193.  
  194. ### BEGIN /etc/grub.d/41_custom ###
  195. if [ -f  ${config_directory}/custom.cfg ]; then
  196.   source ${config_directory}/custom.cfg
  197. elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  198.   source $prefix/custom.cfg;
  199. fi
  200. ### END /etc/grub.d/41_custom ###

Quellcode

Hier kannst du den Code kopieren und ihn in deinen bevorzugten Editor einfügen. Alternativ kannst du den gesamten Eintrag auch als Datei herunterladen.