Guest User

grub.cfg

a guest
Nov 17th, 2018
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.89 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="0"
  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. if [ x$feature_default_font_path = xy ] ; then
  61. font=unicode
  62. else
  63. insmod part_gpt
  64. insmod ext2
  65. if [ x$feature_platform_search_hint = xy ]; then
  66. search --no-floppy --fs-uuid --set=root 2ad8916f-087b-4fe5-be11-e9f9862a7e84
  67. else
  68. search --no-floppy --fs-uuid --set=root 2ad8916f-087b-4fe5-be11-e9f9862a7e84
  69. fi
  70. font="/usr/share/grub/unicode.pf2"
  71. fi
  72.  
  73. if loadfont $font ; then
  74. set gfxmode=auto
  75. load_video
  76. insmod gfxterm
  77. set locale_dir=$prefix/locale
  78. set lang=en_US
  79. insmod gettext
  80. fi
  81. terminal_input console
  82. terminal_output gfxterm
  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. ### END /etc/grub.d/00_header ###
  92.  
  93. ### BEGIN /etc/grub.d/10_linux ###
  94. menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-2ad8916f-087b-4fe5-be11-e9f9862a7e84' {
  95. load_video
  96. set gfxpayload=keep
  97. insmod gzio
  98. insmod part_gpt
  99. insmod ext2
  100. if [ x$feature_platform_search_hint = xy ]; then
  101. search --no-floppy --fs-uuid --set=root 2ad8916f-087b-4fe5-be11-e9f9862a7e84
  102. else
  103. search --no-floppy --fs-uuid --set=root 2ad8916f-087b-4fe5-be11-e9f9862a7e84
  104. fi
  105. echo 'Loading Linux linux ...'
  106. linux /boot/vmlinuz-linux root=UUID=2ad8916f-087b-4fe5-be11-e9f9862a7e84 rw quiet
  107. echo 'Loading initial ramdisk ...'
  108. initrd /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-linux.img
  109. }
  110. submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-2ad8916f-087b-4fe5-be11-e9f9862a7e84' {
  111. menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-2ad8916f-087b-4fe5-be11-e9f9862a7e84' {
  112. load_video
  113. set gfxpayload=keep
  114. insmod gzio
  115. insmod part_gpt
  116. insmod ext2
  117. if [ x$feature_platform_search_hint = xy ]; then
  118. search --no-floppy --fs-uuid --set=root 2ad8916f-087b-4fe5-be11-e9f9862a7e84
  119. else
  120. search --no-floppy --fs-uuid --set=root 2ad8916f-087b-4fe5-be11-e9f9862a7e84
  121. fi
  122. echo 'Loading Linux linux ...'
  123. linux /boot/vmlinuz-linux root=UUID=2ad8916f-087b-4fe5-be11-e9f9862a7e84 rw quiet
  124. echo 'Loading initial ramdisk ...'
  125. initrd /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-linux.img
  126. }
  127. menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-2ad8916f-087b-4fe5-be11-e9f9862a7e84' {
  128. load_video
  129. set gfxpayload=keep
  130. insmod gzio
  131. insmod part_gpt
  132. insmod ext2
  133. if [ x$feature_platform_search_hint = xy ]; then
  134. search --no-floppy --fs-uuid --set=root 2ad8916f-087b-4fe5-be11-e9f9862a7e84
  135. else
  136. search --no-floppy --fs-uuid --set=root 2ad8916f-087b-4fe5-be11-e9f9862a7e84
  137. fi
  138. echo 'Loading Linux linux ...'
  139. linux /boot/vmlinuz-linux root=UUID=2ad8916f-087b-4fe5-be11-e9f9862a7e84 rw quiet
  140. echo 'Loading initial ramdisk ...'
  141. initrd /boot/initramfs-linux-fallback.img
  142. }
  143. }
  144.  
  145. ### END /etc/grub.d/10_linux ###
  146.  
  147. ### BEGIN /etc/grub.d/20_linux_xen ###
  148. ### END /etc/grub.d/20_linux_xen ###
  149.  
  150. ### BEGIN /etc/grub.d/30_os-prober ###
  151. ### END /etc/grub.d/30_os-prober ###
  152.  
  153. ### BEGIN /etc/grub.d/40_custom ###
  154. # This file provides an easy way to add custom menu entries. Simply type the
  155. # menu entries you want to add after this comment. Be careful not to change
  156. # the 'exec tail' line above.
  157. ### END /etc/grub.d/40_custom ###
  158.  
  159. ### BEGIN /etc/grub.d/41_custom ###
  160. if [ -f ${config_directory}/custom.cfg ]; then
  161. source ${config_directory}/custom.cfg
  162. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  163. source $prefix/custom.cfg;
  164. fi
  165. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment