NoPaste

grub.cfg

von ren22
Beschreibung:
neu generierte grub.cfg aus debootstrap
Snippet erstellt:
16.02.2019 14:33:43
Snippet wird automatisch gelöscht:
Niemals

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="Debian GNU/Linux, with Xen hypervisor"
  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='hd2,msdos7'
  64. if [ x$feature_platform_search_hint = xy ]; then
  65.   search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos7 --hint-efi=hd2,msdos7 --hint-baremetal=ahci2,msdos7  d496ab35-f0d7-4dc3-a4b5-b19dc3cde162
  66. else
  67.   search --no-floppy --fs-uuid --set=root d496ab35-f0d7-4dc3-a4b5-b19dc3cde162
  68. fi
  69.     font="/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=C
  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. set menu_color_normal=cyan/blue
  97. set menu_color_highlight=white/blue
  98. ### END /etc/grub.d/05_debian_theme ###
  99.  
  100. ### BEGIN /etc/grub.d/10_linux ###
  101. function gfxmode {
  102.         set gfxpayload="${1}"
  103. }
  104. set linux_gfx_mode=
  105. export linux_gfx_mode
  106.  
  107. ### END /etc/grub.d/10_linux ###
  108.  
  109. ### BEGIN /etc/grub.d/20_linux_xen ###
  110. ### END /etc/grub.d/20_linux_xen ###
  111.  
  112. ### BEGIN /etc/grub.d/30_os-prober ###
  113. menuentry 'Debian GNU/Linux 9 (stretch) (on /dev/sda1)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-39780ee6-e551-4bcb-b974-02c987aa55d0' {
  114.         insmod part_msdos
  115.         insmod ext2
  116.         set root='hd0,msdos1'
  117.         if [ x$feature_platform_search_hint = xy ]; then
  118.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  39780ee6-e551-4bcb-b974-02c987aa55d0
  119.         else
  120.           search --no-floppy --fs-uuid --set=root 39780ee6-e551-4bcb-b974-02c987aa55d0
  121.         fi
  122.         linux /boot/vmlinuz-4.9.0-8-amd64 root=UUID=39780ee6-e551-4bcb-b974-02c987aa55d0 ro quiet nomodeset
  123.         initrd /boot/initrd.img-4.9.0-8-amd64
  124. }
  125. submenu 'Advanced options for Debian GNU/Linux 9 (stretch) (on /dev/sda1)' $menuentry_id_option 'osprober-gnulinux-advanced-39780ee6-e551-4bcb-b974-02c987aa55d0' {
  126.         menuentry 'Debian GNU/Linux (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-8-amd64--39780ee6-e551-4bcb-b974-02c987aa55d0' {
  127.                 insmod part_msdos
  128.                 insmod ext2
  129.                 set root='hd0,msdos1'
  130.                 if [ x$feature_platform_search_hint = xy ]; then
  131.                   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  39780ee6-e551-4bcb-b974-02c987aa55d0
  132.                 else
  133.                   search --no-floppy --fs-uuid --set=root 39780ee6-e551-4bcb-b974-02c987aa55d0
  134.                 fi
  135.                 linux /boot/vmlinuz-4.9.0-8-amd64 root=UUID=39780ee6-e551-4bcb-b974-02c987aa55d0 ro quiet nomodeset
  136.                 initrd /boot/initrd.img-4.9.0-8-amd64
  137.         }
  138.         menuentry 'Debian GNU/Linux, mit Linux 4.9.0-8-amd64 (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-8-amd64--39780ee6-e551-4bcb-b974-02c987aa55d0' {
  139.                 insmod part_msdos
  140.                 insmod ext2
  141.                 set root='hd0,msdos1'
  142.                 if [ x$feature_platform_search_hint = xy ]; then
  143.                   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  39780ee6-e551-4bcb-b974-02c987aa55d0
  144.                 else
  145.                   search --no-floppy --fs-uuid --set=root 39780ee6-e551-4bcb-b974-02c987aa55d0
  146.                 fi
  147.                 linux /boot/vmlinuz-4.9.0-8-amd64 root=UUID=39780ee6-e551-4bcb-b974-02c987aa55d0 ro quiet nomodeset
  148.                 initrd /boot/initrd.img-4.9.0-8-amd64
  149.         }
  150.         menuentry 'Debian GNU/Linux, with Linux 4.9.0-8-amd64 (recovery mode) (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-8-amd64-root=UUID=39780ee6-e551-4bcb-b974-02c987aa55d0 ro single-39780ee6-e551-4bcb-b974-02c987aa55d0' {
  151.                 insmod part_msdos
  152.                 insmod ext2
  153.                 set root='hd0,msdos1'
  154.                 if [ x$feature_platform_search_hint = xy ]; then
  155.                   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  39780ee6-e551-4bcb-b974-02c987aa55d0
  156.                 else
  157.                   search --no-floppy --fs-uuid --set=root 39780ee6-e551-4bcb-b974-02c987aa55d0
  158.                 fi
  159.                 linux /boot/vmlinuz-4.9.0-8-amd64 root=UUID=39780ee6-e551-4bcb-b974-02c987aa55d0 ro single
  160.                 initrd /boot/initrd.img-4.9.0-8-amd64
  161.         }
  162. }
  163.  
  164. ### END /etc/grub.d/30_os-prober ###
  165.  
  166. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  167. ### END /etc/grub.d/30_uefi-firmware ###
  168.  
  169. ### BEGIN /etc/grub.d/40_custom ###
  170. # This file provides an easy way to add custom menu entries.  Simply type the
  171. # menu entries you want to add after this comment.  Be careful not to change
  172. # the 'exec tail' line above.
  173. ### END /etc/grub.d/40_custom ###
  174.  
  175. ### BEGIN /etc/grub.d/41_custom ###
  176. if [ -f  ${config_directory}/custom.cfg ]; then
  177.   source ${config_directory}/custom.cfg
  178. elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  179.   source $prefix/custom.cfg;
  180. fi
  181. ### 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.