Advertisement
Guest User

Untitled

a guest
May 22nd, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.21 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="Manjaro Linux"
  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. set root='hd0,gpt2'
  69. if [ x$feature_platform_search_hint = xy ]; then
  70. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 ee1a9114-6e9c-4192-b3cb-c166c596d0a5
  71. else
  72. search --no-floppy --fs-uuid --set=root ee1a9114-6e9c-4192-b3cb-c166c596d0a5
  73. fi
  74. font="/usr/share/grub/unicode.pf2"
  75. fi
  76.  
  77. if loadfont $font ; then
  78. set gfxmode=1366x768
  79. load_video
  80. insmod gfxterm
  81. set locale_dir=$prefix/locale
  82. set lang=en_US
  83. insmod gettext
  84. fi
  85. terminal_input console
  86. terminal_output gfxterm
  87. if [ x$feature_timeout_style = xy ] ; then
  88. set timeout_style=menu
  89. set timeout=0
  90. # Fallback normal timeout code in case the timeout_style feature is
  91. # unavailable.
  92. else
  93. set timeout=0
  94. fi
  95. ### END /etc/grub.d/00_header ###
  96.  
  97. ### BEGIN /etc/grub.d/06_grub-customizer_menu_color_helper ###
  98. ### END /etc/grub.d/06_grub-customizer_menu_color_helper ###
  99.  
  100. ### BEGIN /etc/grub.d/10_linux ###
  101. menuentry 'Manjaro Linux' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-ee1a9114-6e9c-4192-b3cb-c166c596d0a5' {
  102. load_video
  103. set gfxpayload=keep
  104. insmod gzio
  105. insmod part_gpt
  106. insmod ext2
  107. set root='hd0,gpt2'
  108. if [ x$feature_platform_search_hint = xy ]; then
  109. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 ee1a9114-6e9c-4192-b3cb-c166c596d0a5
  110. else
  111. search --no-floppy --fs-uuid --set=root ee1a9114-6e9c-4192-b3cb-c166c596d0a5
  112. fi
  113. #echo 'Loading Linux 4.14.40-1-MANJARO x64 ...'
  114. linux /boot/vmlinuz-4.14-x86_64 root=UUID=ee1a9114-6e9c-4192-b3cb-c166c596d0a5 rw i8042.nomux i8042.notimeout resume=UUID=c7a16cba-dc8b-4d14-a734-ad20a6530a3a
  115. #echo 'Loading initial ramdisk ...'
  116. initrd /boot/intel-ucode.img /boot/initramfs-4.14-x86_64.img
  117. }
  118. submenu 'Advanced options for Manjaro Linux' $menuentry_id_option 'gnulinux-advanced-ee1a9114-6e9c-4192-b3cb-c166c596d0a5' {
  119. menuentry 'Manjaro Linux (Kernel: 4.14.40-1-MANJARO x64)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.14.40-1-MANJARO x64-advanced-ee1a9114-6e9c-4192-b3cb-c166c596d0a5' {
  120. load_video
  121. set gfxpayload=keep
  122. insmod gzio
  123. insmod part_gpt
  124. insmod ext2
  125. set root='hd0,gpt2'
  126. if [ x$feature_platform_search_hint = xy ]; then
  127. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 ee1a9114-6e9c-4192-b3cb-c166c596d0a5
  128. else
  129. search --no-floppy --fs-uuid --set=root ee1a9114-6e9c-4192-b3cb-c166c596d0a5
  130. fi
  131. echo 'Loading Linux 4.14.40-1-MANJARO x64 ...'
  132. linux /boot/vmlinuz-4.14-x86_64 root=UUID=ee1a9114-6e9c-4192-b3cb-c166c596d0a5 rw i8042.nomux i8042.notimeout resume=UUID=c7a16cba-dc8b-4d14-a734-ad20a6530a3a
  133. echo 'Loading initial ramdisk ...'
  134. initrd /boot/intel-ucode.img /boot/initramfs-4.14-x86_64.img
  135. }
  136. menuentry 'Manjaro Linux (Kernel: 4.14.40-1-MANJARO x64 - fallback initramfs)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.14.40-1-MANJARO x64-fallback-ee1a9114-6e9c-4192-b3cb-c166c596d0a5' {
  137. load_video
  138. set gfxpayload=keep
  139. insmod gzio
  140. insmod part_gpt
  141. insmod ext2
  142. set root='hd0,gpt2'
  143. if [ x$feature_platform_search_hint = xy ]; then
  144. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 ee1a9114-6e9c-4192-b3cb-c166c596d0a5
  145. else
  146. search --no-floppy --fs-uuid --set=root ee1a9114-6e9c-4192-b3cb-c166c596d0a5
  147. fi
  148. echo 'Loading Linux 4.14.40-1-MANJARO x64 ...'
  149. linux /boot/vmlinuz-4.14-x86_64 root=UUID=ee1a9114-6e9c-4192-b3cb-c166c596d0a5 rw i8042.nomux i8042.notimeout resume=UUID=c7a16cba-dc8b-4d14-a734-ad20a6530a3a
  150. echo 'Loading initial ramdisk ...'
  151. initrd /boot/initramfs-4.14-x86_64-fallback.img
  152. }
  153. }
  154.  
  155. ### END /etc/grub.d/10_linux ###
  156.  
  157. ### BEGIN /etc/grub.d/20_linux_xen ###
  158. ### END /etc/grub.d/20_linux_xen ###
  159.  
  160. ### BEGIN /etc/grub.d/30_os-prober ###
  161. ### END /etc/grub.d/30_os-prober ###
  162.  
  163. ### BEGIN /etc/grub.d/40_custom ###
  164. # This file provides an easy way to add custom menu entries. Simply type the
  165. # menu entries you want to add after this comment. Be careful not to change
  166. # the 'exec tail' line above.
  167. ### END /etc/grub.d/40_custom ###
  168.  
  169. ### BEGIN /etc/grub.d/41_custom ###
  170. if [ -f ${config_directory}/custom.cfg ]; then
  171. source ${config_directory}/custom.cfg
  172. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  173. source $prefix/custom.cfg;
  174. fi
  175. ### END /etc/grub.d/41_custom ###
  176.  
  177. ### BEGIN /etc/grub.d/60_memtest86+ ###
  178. if [ "${grub_platform}" == "pc" ]; then
  179. menuentry "Memory Tester (memtest86+)" --class memtest86 --class gnu --class tool {
  180. search --fs-uuid --no-floppy --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 ee1a9114-6e9c-4192-b3cb-c166c596d0a5
  181. linux16 /boot/memtest86+/memtest.bin
  182. }
  183. fi
  184. ### END /etc/grub.d/60_memtest86+ ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement