Advertisement
slazerezals

Untitled

Apr 30th, 2016
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VIM 7.32 KB | None | 0 0
  1. #
  2. # DO NOT EDIT THIS FILE
  3. #
  4. # It is automatically generated by grub2-mkconfig using templates
  5. # from /etc/grub.d and settings from /etc/default/grub
  6. #
  7.  
  8. ### BEGIN /etc/grub.d/00_header ###
  9. set pager=1
  10.  
  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. terminal_output console
  61. if [ x$feature_timeout_style = xy ] ; then
  62.   set timeout_style=menu
  63.   set timeout=5
  64. # Fallback normal timeout code in case the timeout_style feature is
  65. # unavailable.
  66. else
  67.   set timeout=5
  68. fi
  69. ### END /etc/grub.d/00_header ###
  70.  
  71. ### BEGIN /etc/grub.d/01_users ###
  72. if [ -f ${prefix}/user.cfg ]; then
  73.   source ${prefix}/user.cfg
  74.   if [ -n "${GRUB2_PASSWORD}" ]; then
  75.     set superusers="root"
  76.     export superusers
  77.     password_pbkdf2 root ${GRUB2_PASSWORD}
  78.   fi
  79. fi
  80. ### END /etc/grub.d/01_users ###
  81.  
  82. ### BEGIN /etc/grub.d/10_linux ###
  83. menuentry 'Fedora (4.4.8-300.fc23.x86_64) 23 (Workstation Edition)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.4.8-300.fc23.x86_64-advanced-d43f46bc-7649-44ca-b02d-7599d115a8e8' {
  84.     load_video
  85.     set gfxpayload=keep
  86.     insmod gzio
  87.     insmod part_gpt
  88.     insmod ext2
  89.     set root='hd0,gpt6'
  90.     if [ x$feature_platform_search_hint = xy ]; then
  91.       search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  440e2ced-56a2-432f-95e0-c5f1c33941a9
  92.     else
  93.       search --no-floppy --fs-uuid --set=root 440e2ced-56a2-432f-95e0-c5f1c33941a9
  94.     fi
  95.     linuxefi /vmlinuz-4.4.8-300.fc23.x86_64 root=UUID=d43f46bc-7649-44ca-b02d-7599d115a8e8 ro rootflags=subvol=root00 rhgb quiet
  96.     initrdefi /initramfs-4.4.8-300.fc23.x86_64.img
  97. }
  98. menuentry 'Fedora (0-rescue-1dccfd914c254de687a4ba1c13e159a9) 23 (Workstation Edition)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-1dccfd914c254de687a4ba1c13e159a9-advanced-d43f46bc-7649-44ca-b02d-7599d115a8e8' {
  99.     load_video
  100.     insmod gzio
  101.     insmod part_gpt
  102.     insmod ext2
  103.     set root='hd0,gpt6'
  104.     if [ x$feature_platform_search_hint = xy ]; then
  105.       search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  440e2ced-56a2-432f-95e0-c5f1c33941a9
  106.     else
  107.       search --no-floppy --fs-uuid --set=root 440e2ced-56a2-432f-95e0-c5f1c33941a9
  108.     fi
  109.     linuxefi /vmlinuz-0-rescue-1dccfd914c254de687a4ba1c13e159a9 root=UUID=d43f46bc-7649-44ca-b02d-7599d115a8e8 ro rootflags=subvol=root00 rhgb quiet
  110.     initrdefi /initramfs-0-rescue-1dccfd914c254de687a4ba1c13e159a9.img
  111. }
  112. if [ "x$default" = 'Fedora (4.4.8-300.fc23.x86_64) 23 (Workstation Edition)' ]; then default='Advanced options for Fedora>Fedora (4.4.8-300.fc23.x86_64) 23 (Workstation Edition)'; fi;
  113. ### END /etc/grub.d/10_linux ###
  114.  
  115. ### BEGIN /etc/grub.d/20_linux_xen ###
  116.  
  117. ### END /etc/grub.d/20_linux_xen ###
  118.  
  119. ### BEGIN /etc/grub.d/20_ppc_terminfo ###
  120. ### END /etc/grub.d/20_ppc_terminfo ###
  121.  
  122. ### BEGIN /etc/grub.d/30_os-prober ###
  123.  
  124. ### END /etc/grub.d/30_os-prober ###
  125.  
  126. ### BEGIN /etc/grub.d/40_custom ###
  127. # This file provides an easy way to add custom menu entries.  Simply type the
  128. # menu entries you want to add after this comment.  Be careful not to change
  129. # the 'exec tail' line above.
  130. menuentry 'Qubes, with Xen hypervisor' --class qubes --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-simple-6e934da1-b43d-434b-83b2-878d454fb6bd' {
  131.     insmod part_gpt
  132.     insmod ext2
  133.     set root='hd0,gpt2'
  134.     if [ x$feature_platform_search_hint = xy ]; then
  135.       search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd0,gpt2'  9c6e43e7-856f-4840-a04f-6936735f5835
  136.     else
  137.       search --no-floppy --fs-uuid --set=root 9c6e43e7-856f-4840-a04f-6936735f5835
  138.     fi
  139.     echo    'Loading Xen 4.6.0 ...'
  140.         if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
  141.             xen_rm_opts=
  142.         else
  143.             xen_rm_opts="no-real-mode edd=off"
  144.         fi
  145.     multiboot   /xen-4.6.0.gz placeholder  console=none dom0_mem=min:1024M dom0_mem=max:4096M ${xen_rm_opts}
  146.     echo    'Loading Linux 4.1.13-9.pvops.qubes.x86_64 ...'
  147.     module  /vmlinuz-4.1.13-9.pvops.qubes.x86_64 placeholder root=UUID=6e934da1-b43d-434b-83b2-878d454fb6bd ro rootflags=subvol=root i915.preliminary_hw_support=1 vconsole.font=latarcyrheb-sun16 rhgb quiet
  148.     echo    'Loading initial ramdisk ...'
  149.     module  /initramfs-4.1.13-9.pvops.qubes.x86_64.img
  150. }
  151. submenu 'Advanced options for Qubes (with Xen hypervisor)' $menuentry_id_option 'gnulinux-advanced-6e934da1-b43d-434b-83b2-878d454fb6bd' {
  152.     submenu 'Xen hypervisor, version 4.6.0' $menuentry_id_option 'xen-hypervisor-4.6.0-6e934da1-b43d-434b-83b2-878d454fb6bd' {
  153.         menuentry 'Qubes, with Xen 4.6.0 and Linux 4.1.13-9.pvops.qubes.x86_64' --class qubes --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.1.13-9.pvops.qubes.x86_64-advanced-6e934da1-b43d-434b-83b2-878d454fb6bd' {
  154.             insmod part_gpt
  155.             insmod ext2
  156.             set root='hd0,gpt2'
  157.             if [ x$feature_platform_search_hint = xy ]; then
  158.               search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd0,gpt2'  9c6e43e7-856f-4840-a04f-6936735f5835
  159.             else
  160.               search --no-floppy --fs-uuid --set=root 9c6e43e7-856f-4840-a04f-6936735f5835
  161.             fi
  162.             echo    'Loading Xen 4.6.0 ...'
  163.                 if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
  164.                     xen_rm_opts=
  165.                 else
  166.                     xen_rm_opts="no-real-mode edd=off"
  167.                 fi
  168.             multiboot   /xen-4.6.0.gz placeholder  console=none dom0_mem=min:1024M dom0_mem=max:4096M ${xen_rm_opts}
  169.             echo    'Loading Linux 4.1.13-9.pvops.qubes.x86_64 ...'
  170.             module  /vmlinuz-4.1.13-9.pvops.qubes.x86_64 placeholder root=UUID=6e934da1-b43d-434b-83b2-878d454fb6bd ro rootflags=subvol=root i915.preliminary_hw_support=1 vconsole.font=latarcyrheb-sun16 rhgb quiet
  171.             echo    'Loading initial ramdisk ...'
  172.             module  /initramfs-4.1.13-9.pvops.qubes.x86_64.img
  173.         }
  174.     }
  175. }
  176. ### END /etc/grub.d/40_custom ###
  177.  
  178. ### BEGIN /etc/grub.d/40_custom.backup ###
  179. # This file provides an easy way to add custom menu entries.  Simply type the
  180. # menu entries you want to add after this comment.  Be careful not to change
  181. # the 'exec tail' line above.
  182. ### END /etc/grub.d/40_custom.backup ###
  183.  
  184. ### BEGIN /etc/grub.d/41_custom ###
  185. if [ -f  ${config_directory}/custom.cfg ]; then
  186.   source ${config_directory}/custom.cfg
  187. elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  188.   source $prefix/custom.cfg;
  189. fi
  190. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement