Guest User

Untitled

a guest
Jul 9th, 2019
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 13.75 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. insmod part_gpt
  10. insmod part_msdos
  11. if [ -s $prefix/grubenv ]; then
  12.   load_env
  13. fi
  14. if [ "${next_entry}" ] ; then
  15.    set default="${next_entry}"
  16.    set next_entry=
  17.    save_env next_entry
  18.    set boot_once=true
  19. else
  20.    set default="${saved_entry}"
  21. fi
  22.  
  23. if [ x"${feature_menuentry_id}" = xy ]; then
  24.   menuentry_id_option="--id"
  25. else
  26.   menuentry_id_option=""
  27. fi
  28.  
  29. export menuentry_id_option
  30.  
  31. if [ "${prev_saved_entry}" ]; then
  32.   set saved_entry="${prev_saved_entry}"
  33.   save_env saved_entry
  34.   set prev_saved_entry=
  35.   save_env prev_saved_entry
  36.   set boot_once=true
  37. fi
  38.  
  39. function savedefault {
  40.   if [ -z "${boot_once}" ]; then
  41.     saved_entry="${chosen}"
  42.     save_env saved_entry
  43.   fi
  44. }
  45.  
  46. function load_video {
  47.   if [ x$feature_all_video_module = xy ]; then
  48.     insmod all_video
  49.   else
  50.     insmod efi_gop
  51.     insmod efi_uga
  52.     insmod ieee1275_fb
  53.     insmod vbe
  54.     insmod vga
  55.     insmod video_bochs
  56.     insmod video_cirrus
  57.   fi
  58. }
  59.  
  60. set menu_color_normal=light-gray/black
  61. set menu_color_highlight=green/black
  62.  
  63. if [ x$feature_default_font_path = xy ] ; then
  64.    font=unicode
  65. else
  66. insmod part_gpt
  67. insmod ext2
  68. if [ x$feature_platform_search_hint = xy ]; then
  69.   search --no-floppy --fs-uuid --set=root  a0b36360-345a-4a2d-a5f0-f4e52da9e53e
  70. else
  71.   search --no-floppy --fs-uuid --set=root a0b36360-345a-4a2d-a5f0-f4e52da9e53e
  72. fi
  73.     font="/usr/share/grub/unicode.pf2"
  74. fi
  75.  
  76. if loadfont $font ; then
  77.   set gfxmode=auto
  78.   load_video
  79.   insmod gfxterm
  80.   set locale_dir=$prefix/locale
  81.   set lang=de_DE
  82.   insmod gettext
  83. fi
  84. terminal_input console
  85. terminal_output gfxterm
  86. insmod part_gpt
  87. insmod ext2
  88. if [ x$feature_platform_search_hint = xy ]; then
  89.   search --no-floppy --fs-uuid --set=root  a0b36360-345a-4a2d-a5f0-f4e52da9e53e
  90. else
  91.   search --no-floppy --fs-uuid --set=root a0b36360-345a-4a2d-a5f0-f4e52da9e53e
  92. fi
  93. insmod png
  94. background_image -m stretch /usr/share/grub/background.png
  95. if [ x$feature_timeout_style = xy ] ; then
  96.   set timeout_style=menu
  97.   set timeout=5
  98. # Fallback normal timeout code in case the timeout_style feature is
  99. # unavailable.
  100. else
  101.   set timeout=5
  102. fi
  103. ### END /etc/grub.d/00_header ###
  104.  
  105. ### BEGIN /etc/grub.d/01_menu_auto_hide ###
  106. if [ "${boot_success}" = "1" -o "${boot_indeterminate}" = "1" ]; then
  107.   set last_boot_ok=1
  108. else
  109.   set last_boot_ok=0
  110. fi
  111.  
  112. # Reset boot_indeterminate after a successful boot
  113. if [ "${boot_success}" = "1" ] ; then
  114.   set boot_indeterminate=0
  115. # Avoid boot_indeterminate causing the menu to be hidden more then once
  116. elif [ "${boot_indeterminate}" = "1" ]; then
  117.   set boot_indeterminate=2
  118. fi
  119. set boot_success=0
  120. save_env boot_success boot_indeterminate
  121.  
  122. if [ x$feature_timeout_style = xy ] ; then
  123.   if [ "${menu_show_once}" ]; then
  124.     unset menu_show_once
  125.     save_env menu_show_once
  126.     set timeout_style=menu
  127.     set timeout=60
  128.   elif [ "${menu_auto_hide}" -a "${last_boot_ok}" = "1" ]; then
  129.     set orig_timeout_style=${timeout_style}
  130.     set orig_timeout=${timeout}
  131.     if [ "${fastboot}" = "1" ]; then
  132.       # timeout_style=menu + timeout=0 avoids the countdown code keypress check
  133.       set timeout_style=menu
  134.       set timeout=0
  135.     else
  136.       set timeout_style=hidden
  137.       set timeout=1
  138.     fi
  139.   fi
  140. fi
  141. ### END /etc/grub.d/01_menu_auto_hide ###
  142.  
  143. ### BEGIN /etc/grub.d/10_linux ###
  144. menuentry 'Manjaro Linux' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-a0b36360-345a-4a2d-a5f0-f4e52da9e53e' {
  145.     savedefault
  146.     load_video
  147.     set gfxpayload=keep
  148.     insmod gzio
  149.     insmod part_gpt
  150.     insmod ext2
  151.     if [ x$feature_platform_search_hint = xy ]; then
  152.       search --no-floppy --fs-uuid --set=root  a0b36360-345a-4a2d-a5f0-f4e52da9e53e
  153.     else
  154.       search --no-floppy --fs-uuid --set=root a0b36360-345a-4a2d-a5f0-f4e52da9e53e
  155.     fi
  156.     linux   /boot/vmlinuz-4.14-x86_64 root=UUID=a0b36360-345a-4a2d-a5f0-f4e52da9e53e rw  quiet
  157.     initrd  /boot/intel-ucode.img /boot/initramfs-4.14-x86_64.img
  158. }
  159. submenu 'Advanced options for Manjaro Linux' $menuentry_id_option 'gnulinux-advanced-a0b36360-345a-4a2d-a5f0-f4e52da9e53e' {
  160.     menuentry 'Manjaro Linux (Kernel: 4.14.130-1-MANJARO x64)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.14.130-1-MANJARO x64-advanced-a0b36360-345a-4a2d-a5f0-f4e52da9e53e' {
  161.     savedefault
  162.         load_video
  163.         set gfxpayload=keep
  164.         insmod gzio
  165.         insmod part_gpt
  166.         insmod ext2
  167.         if [ x$feature_platform_search_hint = xy ]; then
  168.           search --no-floppy --fs-uuid --set=root  a0b36360-345a-4a2d-a5f0-f4e52da9e53e
  169.         else
  170.           search --no-floppy --fs-uuid --set=root a0b36360-345a-4a2d-a5f0-f4e52da9e53e
  171.         fi
  172.         linux   /boot/vmlinuz-4.14-x86_64 root=UUID=a0b36360-345a-4a2d-a5f0-f4e52da9e53e rw  quiet
  173.         initrd  /boot/intel-ucode.img /boot/initramfs-4.14-x86_64.img
  174.     }
  175.     menuentry 'Manjaro Linux (Kernel: 4.14.130-1-MANJARO x64 - fallback initramfs)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.14.130-1-MANJARO x64-fallback-a0b36360-345a-4a2d-a5f0-f4e52da9e53e' {
  176.         load_video
  177.         set gfxpayload=keep
  178.         insmod gzio
  179.         insmod part_gpt
  180.         insmod ext2
  181.         if [ x$feature_platform_search_hint = xy ]; then
  182.           search --no-floppy --fs-uuid --set=root  a0b36360-345a-4a2d-a5f0-f4e52da9e53e
  183.         else
  184.           search --no-floppy --fs-uuid --set=root a0b36360-345a-4a2d-a5f0-f4e52da9e53e
  185.         fi
  186.         linux   /boot/vmlinuz-4.14-x86_64 root=UUID=a0b36360-345a-4a2d-a5f0-f4e52da9e53e rw  quiet
  187.         initrd  /boot/initramfs-4.14-x86_64-fallback.img
  188.     }
  189.     menuentry 'Manjaro Linux (Kernel: 4.9.183-1-MANJARO x64)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.183-1-MANJARO x64-advanced-a0b36360-345a-4a2d-a5f0-f4e52da9e53e' {
  190.     savedefault
  191.         load_video
  192.         set gfxpayload=keep
  193.         insmod gzio
  194.         insmod part_gpt
  195.         insmod ext2
  196.         if [ x$feature_platform_search_hint = xy ]; then
  197.           search --no-floppy --fs-uuid --set=root  a0b36360-345a-4a2d-a5f0-f4e52da9e53e
  198.         else
  199.           search --no-floppy --fs-uuid --set=root a0b36360-345a-4a2d-a5f0-f4e52da9e53e
  200.         fi
  201.         linux   /boot/vmlinuz-4.9-x86_64 root=UUID=a0b36360-345a-4a2d-a5f0-f4e52da9e53e rw  quiet
  202.         initrd  /boot/intel-ucode.img /boot/initramfs-4.9-x86_64.img
  203.     }
  204.     menuentry 'Manjaro Linux (Kernel: 4.9.183-1-MANJARO x64 - fallback initramfs)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.183-1-MANJARO x64-fallback-a0b36360-345a-4a2d-a5f0-f4e52da9e53e' {
  205.         load_video
  206.         set gfxpayload=keep
  207.         insmod gzio
  208.         insmod part_gpt
  209.         insmod ext2
  210.         if [ x$feature_platform_search_hint = xy ]; then
  211.           search --no-floppy --fs-uuid --set=root  a0b36360-345a-4a2d-a5f0-f4e52da9e53e
  212.         else
  213.           search --no-floppy --fs-uuid --set=root a0b36360-345a-4a2d-a5f0-f4e52da9e53e
  214.         fi
  215.         linux   /boot/vmlinuz-4.9-x86_64 root=UUID=a0b36360-345a-4a2d-a5f0-f4e52da9e53e rw  quiet
  216.         initrd  /boot/initramfs-4.9-x86_64-fallback.img
  217.     }
  218.     menuentry 'Manjaro Linux (Kernel: 4.4.183-1-MANJARO x64)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.183-1-MANJARO x64-advanced-a0b36360-345a-4a2d-a5f0-f4e52da9e53e' {
  219.     savedefault
  220.         load_video
  221.         set gfxpayload=keep
  222.         insmod gzio
  223.         insmod part_gpt
  224.         insmod ext2
  225.         if [ x$feature_platform_search_hint = xy ]; then
  226.           search --no-floppy --fs-uuid --set=root  a0b36360-345a-4a2d-a5f0-f4e52da9e53e
  227.         else
  228.           search --no-floppy --fs-uuid --set=root a0b36360-345a-4a2d-a5f0-f4e52da9e53e
  229.         fi
  230.         linux   /boot/vmlinuz-4.4-x86_64 root=UUID=a0b36360-345a-4a2d-a5f0-f4e52da9e53e rw  quiet
  231.         initrd  /boot/intel-ucode.img /boot/initramfs-4.4-x86_64.img
  232.     }
  233.     menuentry 'Manjaro Linux (Kernel: 4.4.183-1-MANJARO x64 - fallback initramfs)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.183-1-MANJARO x64-fallback-a0b36360-345a-4a2d-a5f0-f4e52da9e53e' {
  234.         load_video
  235.         set gfxpayload=keep
  236.         insmod gzio
  237.         insmod part_gpt
  238.         insmod ext2
  239.         if [ x$feature_platform_search_hint = xy ]; then
  240.           search --no-floppy --fs-uuid --set=root  a0b36360-345a-4a2d-a5f0-f4e52da9e53e
  241.         else
  242.           search --no-floppy --fs-uuid --set=root a0b36360-345a-4a2d-a5f0-f4e52da9e53e
  243.         fi
  244.         linux   /boot/vmlinuz-4.4-x86_64 root=UUID=a0b36360-345a-4a2d-a5f0-f4e52da9e53e rw  quiet
  245.         initrd  /boot/initramfs-4.4-x86_64-fallback.img
  246.     }
  247.     menuentry 'Manjaro Linux (Kernel: 3.16.69-1-MANJARO x64)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.69-1-MANJARO x64-advanced-a0b36360-345a-4a2d-a5f0-f4e52da9e53e' {
  248.     savedefault
  249.         load_video
  250.         set gfxpayload=keep
  251.         insmod gzio
  252.         insmod part_gpt
  253.         insmod ext2
  254.         if [ x$feature_platform_search_hint = xy ]; then
  255.           search --no-floppy --fs-uuid --set=root  a0b36360-345a-4a2d-a5f0-f4e52da9e53e
  256.         else
  257.           search --no-floppy --fs-uuid --set=root a0b36360-345a-4a2d-a5f0-f4e52da9e53e
  258.         fi
  259.         linux   /boot/vmlinuz-3.16-x86_64 root=UUID=a0b36360-345a-4a2d-a5f0-f4e52da9e53e rw  quiet
  260.         initrd  /boot/intel-ucode.img /boot/initramfs-3.16-x86_64.img
  261.     }
  262.     menuentry 'Manjaro Linux (Kernel: 3.16.69-1-MANJARO x64 - fallback initramfs)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.69-1-MANJARO x64-fallback-a0b36360-345a-4a2d-a5f0-f4e52da9e53e' {
  263.         load_video
  264.         set gfxpayload=keep
  265.         insmod gzio
  266.         insmod part_gpt
  267.         insmod ext2
  268.         if [ x$feature_platform_search_hint = xy ]; then
  269.           search --no-floppy --fs-uuid --set=root  a0b36360-345a-4a2d-a5f0-f4e52da9e53e
  270.         else
  271.           search --no-floppy --fs-uuid --set=root a0b36360-345a-4a2d-a5f0-f4e52da9e53e
  272.         fi
  273.         linux   /boot/vmlinuz-3.16-x86_64 root=UUID=a0b36360-345a-4a2d-a5f0-f4e52da9e53e rw  quiet
  274.         initrd  /boot/initramfs-3.16-x86_64-fallback.img
  275.     }
  276. }
  277.  
  278. ### END /etc/grub.d/10_linux ###
  279.  
  280. ### BEGIN /etc/grub.d/20_linux_xen ###
  281. ### END /etc/grub.d/20_linux_xen ###
  282.  
  283. ### BEGIN /etc/grub.d/30_os-prober ###
  284. menuentry 'Arch Linux (on /dev/nvme1n1p2)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-2188190f-6ef3-4818-9832-0129a4497d1a' {
  285.     savedefault
  286.     insmod part_gpt
  287.     insmod fat
  288.     if [ x$feature_platform_search_hint = xy ]; then
  289.       search --no-floppy --fs-uuid --set=root  5642-43FC
  290.     else
  291.       search --no-floppy --fs-uuid --set=root 5642-43FC
  292.     fi
  293.     linux /vmlinuz-linux root=UUID=2188190f-6ef3-4818-9832-0129a4497d1a rw quiet
  294.     initrd /initramfs-linux.img
  295. }
  296. submenu 'Advanced options for Arch Linux (on /dev/nvme1n1p2)' $menuentry_id_option 'osprober-gnulinux-advanced-2188190f-6ef3-4818-9832-0129a4497d1a' {
  297.     menuentry 'Arch Linux (on /dev/nvme1n1p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-linux--2188190f-6ef3-4818-9832-0129a4497d1a' {
  298.         savedefault
  299.         insmod part_gpt
  300.         insmod fat
  301.         if [ x$feature_platform_search_hint = xy ]; then
  302.           search --no-floppy --fs-uuid --set=root  5642-43FC
  303.         else
  304.           search --no-floppy --fs-uuid --set=root 5642-43FC
  305.         fi
  306.         linux /vmlinuz-linux root=UUID=2188190f-6ef3-4818-9832-0129a4497d1a rw quiet
  307.         initrd /initramfs-linux.img
  308.     }
  309.     menuentry 'Arch Linux, with Linux linux (on /dev/nvme1n1p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-linux--2188190f-6ef3-4818-9832-0129a4497d1a' {
  310.         savedefault
  311.         insmod part_gpt
  312.         insmod fat
  313.         if [ x$feature_platform_search_hint = xy ]; then
  314.           search --no-floppy --fs-uuid --set=root  5642-43FC
  315.         else
  316.           search --no-floppy --fs-uuid --set=root 5642-43FC
  317.         fi
  318.         linux /vmlinuz-linux root=UUID=2188190f-6ef3-4818-9832-0129a4497d1a rw quiet
  319.         initrd /initramfs-linux.img
  320.     }
  321.     menuentry 'Arch Linux, with Linux linux (fallback initramfs) (on /dev/nvme1n1p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-linux--2188190f-6ef3-4818-9832-0129a4497d1a' {
  322.         savedefault
  323.         insmod part_gpt
  324.         insmod fat
  325.         if [ x$feature_platform_search_hint = xy ]; then
  326.           search --no-floppy --fs-uuid --set=root  5642-43FC
  327.         else
  328.           search --no-floppy --fs-uuid --set=root 5642-43FC
  329.         fi
  330.         linux /vmlinuz-linux root=UUID=2188190f-6ef3-4818-9832-0129a4497d1a rw quiet
  331.         initrd /initramfs-linux-fallback.img
  332.     }
  333. }
  334.  
  335. menuentry 'Windows 10 (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-2EB2A81AB2A7E515' {
  336.     savedefault
  337.     insmod part_msdos
  338.     insmod ntfs
  339.     set root='hd0,msdos1'
  340.     if [ x$feature_platform_search_hint = xy ]; then
  341.       search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  2EB2A81AB2A7E515
  342.     else
  343.       search --no-floppy --fs-uuid --set=root 2EB2A81AB2A7E515
  344.     fi
  345.     parttool ${root} hidden-
  346.     drivemap -s (hd0) ${root}
  347.     chainloader +1
  348. }
  349. # Other OS found, undo autohiding of menu unless menu_auto_hide=2
  350. if [ "${orig_timeout_style}" -a "${menu_auto_hide}" != "2" ]; then
  351.   set timeout_style=${orig_timeout_style}
  352.   set timeout=${orig_timeout}
  353. fi
  354. ### END /etc/grub.d/30_os-prober ###
  355.  
  356. ### BEGIN /etc/grub.d/40_custom ###
  357. # This file provides an easy way to add custom menu entries.  Simply type the
  358. # menu entries you want to add after this comment.  Be careful not to change
  359. # the 'exec tail' line above.
  360. ### END /etc/grub.d/40_custom ###
  361.  
  362. ### BEGIN /etc/grub.d/41_custom ###
  363. if [ -f  ${config_directory}/custom.cfg ]; then
  364.   source ${config_directory}/custom.cfg
  365. elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  366.   source $prefix/custom.cfg;
  367. fi
  368. ### END /etc/grub.d/41_custom ###
  369.  
  370. ### BEGIN /etc/grub.d/60_memtest86+ ###
  371. if [ "${grub_platform}" == "pc" ]; then
  372.     menuentry "Memory Tester (memtest86+)" --class memtest86 --class gnu --class tool {
  373.         search --fs-uuid --no-floppy --set=root  a0b36360-345a-4a2d-a5f0-f4e52da9e53e
  374.         linux16 /boot/memtest86+/memtest.bin
  375.     }
  376. fi
  377. ### END /etc/grub.d/60_memtest86+ ###
Advertisement
Add Comment
Please, Sign In to add comment