Facebook
From Thundering Madrill, 1 Year ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 144
  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.   load_env
  11. fi
  12. if [ "${next_entry}" ] ; then
  13.    set default="${next_entry}"
  14.    set next_entry=
  15.    save_env next_entry
  16.    set boot_once=true
  17. else
  18.    set default="0"
  19. fi
  20.  
  21. if [ x"${feature_menuentry_id}" = xy ]; then
  22.   menuentry_id_option="--id"
  23. else
  24.   menuentry_id_option=""
  25. fi
  26.  
  27. export menuentry_id_option
  28.  
  29. if [ "${prev_saved_entry}" ]; then
  30.   set saved_entry="${prev_saved_entry}"
  31.   save_env saved_entry
  32.   set prev_saved_entry=
  33.   save_env prev_saved_entry
  34.   set boot_once=true
  35. fi
  36.  
  37. function savedefault {
  38.   if [ -z "${boot_once}" ]; then
  39.     saved_entry="${chosen}"
  40.     save_env saved_entry
  41.   fi
  42. }
  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 btrfs
  63. set root='hd1,gpt3'
  64. if [ x$feature_platform_search_hint = xy ]; then
  65.   search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  02ed2895-5a71-42cd-bd94-a8e8ac07fd46
  66. else
  67.   search --no-floppy --fs-uuid --set=root 02ed2895-5a71-42cd-bd94-a8e8ac07fd46
  68. fi
  69.     font="/usr/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 [ x$feature_timeout_style = xy ] ; then
  82.   set timeout_style=menu
  83.   set timeout=5
  84. # Fallback normal timeout code in case the timeout_style feature is
  85. # unavailable.
  86. else
  87.   set timeout=5
  88. fi
  89. ### END /etc/grub.d/00_header ###
  90.  
  91. ### BEGIN /etc/grub.d/10_linux ###
  92. menuentry 'Gentoo GNU/Linux' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-02ed2895-5a71-42cd-bd94-a8e8ac07fd46' {
  93.         load_video
  94.         if [ "x$grub_platform" = xefi ]; then
  95.                 set gfxpayload=keep
  96.         fi
  97.         insmod gzio
  98.         insmod part_gpt
  99.         insmod fat
  100.         set root='hd1,gpt1'
  101.         if [ x$feature_platform_search_hint = xy ]; then
  102.           search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  D150-81CD
  103.         else
  104.           search --no-floppy --fs-uuid --set=root D150-81CD
  105.         fi
  106.         echo    'Loading Linux 6.1.19-gentoo-x86_64 ...'
  107.         linux   /vmlinuz-6.1.19-gentoo-x86_64 root=UUID=02ed2895-5a71-42cd-bd94-a8e8ac07fd46 ro  
  108.         echo    'Loading initial ramdisk ...'
  109.         initrd  /initramfs-6.1.19-gentoo-x86_64.img
  110. }
  111. submenu 'Advanced options for Gentoo GNU/Linux' $menuentry_id_option 'gnulinux-advanced-02ed2895-5a71-42cd-bd94-a8e8ac07fd46' {
  112.         menuentry 'Gentoo GNU/Linux, with Linux 6.1.19-gentoo-x86_64' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.19-gentoo-x86_64-advanced-02ed2895-5a71-42cd-bd94-a8e8ac07fd46' {
  113.                 load_video
  114.                 if [ "x$grub_platform" = xefi ]; then
  115.                         set gfxpayload=keep
  116.                 fi
  117.                 insmod gzio
  118.                 insmod part_gpt
  119.                 insmod fat
  120.                 set root='hd1,gpt1'
  121.                 if [ x$feature_platform_search_hint = xy ]; then
  122.                   search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  D150-81CD
  123.                 else
  124.                   search --no-floppy --fs-uuid --set=root D150-81CD
  125.                 fi
  126.                 echo    'Loading Linux 6.1.19-gentoo-x86_64 ...'
  127.                 linux   /vmlinuz-6.1.19-gentoo-x86_64 root=UUID=02ed2895-5a71-42cd-bd94-a8e8ac07fd46 ro  
  128.                 echo    'Loading initial ramdisk ...'
  129.                 initrd  /initramfs-6.1.19-gentoo-x86_64.img
  130.         }
  131.         menuentry 'Gentoo GNU/Linux, with Linux 6.1.19-gentoo-x86_64 (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.19-gentoo-x86_64-recovery-02ed2895-5a71-42cd-bd94-a8e8ac07fd46' {
  132.                 load_video
  133.                 if [ "x$grub_platform" = xefi ]; then
  134.                         set gfxpayload=keep
  135.                 fi
  136.                 insmod gzio
  137.                 insmod part_gpt
  138.                 insmod fat
  139.                 set root='hd1,gpt1'
  140.                 if [ x$feature_platform_search_hint = xy ]; then
  141.                   search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  D150-81CD
  142.                 else
  143.                   search --no-floppy --fs-uuid --set=root D150-81CD
  144.                 fi
  145.                 echo    'Loading Linux 6.1.19-gentoo-x86_64 ...'
  146.                 linux   /vmlinuz-6.1.19-gentoo-x86_64 root=UUID=02ed2895-5a71-42cd-bd94-a8e8ac07fd46 ro single
  147.                 echo    'Loading initial ramdisk ...'
  148.                 initrd  /initramfs-6.1.19-gentoo-x86_64.img
  149.         }
  150.         menuentry 'Gentoo GNU/Linux, with Linux 6.1.19-gentoo-x86_64.old' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.19-gentoo-x86_64.old-advanced-02ed2895-5a71-42cd-bd94-a8e8ac07fd46' {
  151.                 load_video
  152.                 insmod gzio
  153.                 insmod part_gpt
  154.                 insmod fat
  155.                 set root='hd1,gpt1'
  156.                 if [ x$feature_platform_search_hint = xy ]; then
  157.                   search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  D150-81CD
  158.                 else
  159.                   search --no-floppy --fs-uuid --set=root D150-81CD
  160.                 fi
  161.                 echo    'Loading Linux 6.1.19-gentoo-x86_64.old ...'
  162.                 linux   /vmlinuz-6.1.19-gentoo-x86_64.old root=UUID=02ed2895-5a71-42cd-bd94-a8e8ac07fd46 ro  
  163.                 echo    'Loading initial ramdisk ...'
  164.                 initrd  /initramfs-6.1.19-gentoo-x86_64.img.old
  165.         }
  166.         menuentry 'Gentoo GNU/Linux, with Linux 6.1.19-gentoo-x86_64.old (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.19-gentoo-x86_64.old-recovery-02ed2895-5a71-42cd-bd94-a8e8ac07fd46' {
  167.                 load_video
  168.                 insmod gzio
  169.                 insmod part_gpt
  170.                 insmod fat
  171.                 set root='hd1,gpt1'
  172.                 if [ x$feature_platform_search_hint = xy ]; then
  173.                   search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  D150-81CD
  174.                 else
  175.                   search --no-floppy --fs-uuid --set=root D150-81CD
  176.                 fi
  177.                 echo    'Loading Linux 6.1.19-gentoo-x86_64.old ...'
  178.                 linux   /vmlinuz-6.1.19-gentoo-x86_64.old root=UUID=02ed2895-5a71-42cd-bd94-a8e8ac07fd46 ro single
  179.                 echo    'Loading initial ramdisk ...'
  180.                 initrd  /initramfs-6.1.19-gentoo-x86_64.img.old
  181.         }
  182. }
  183.  
  184. ### END /etc/grub.d/10_linux ###
  185.  
  186. ### BEGIN /etc/grub.d/20_linux_xen ###
  187.  
  188. ### END /etc/grub.d/20_linux_xen ###
  189.  
  190. ### BEGIN /etc/grub.d/30_os-prober ###
  191. ### END /etc/grub.d/30_os-prober ###
  192.  
  193. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  194. menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
  195.         fwsetup
  196. }
  197. ### END /etc/grub.d/30_uefi-firmware ###
  198.  
  199. ### BEGIN /etc/grub.d/40_custom ###
  200. # This file provides an easy way to add custom menu entries.  Simply type the
  201. # menu entries you want to add after this comment.  Be careful not to change
  202. # the 'exec tail' line above.
  203. ### END /etc/grub.d/40_custom ###
  204.  
  205. ### BEGIN /etc/grub.d/41_custom ###
  206. if [ -f  ${config_directory}/custom.cfg ]; then
  207.   source ${config_directory}/custom.cfg
  208. elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  209.   source $prefix/custom.cfg
  210. fi
  211. ### END /etc/grub.d/41_custom ###