Advertisement
Guest User

grub.cfg

a guest
Feb 9th, 2016
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.53 KB | None | 0 0
  1. [root@manjaro /]# cat /boot/grub/grub.cfg
  2. #
  3. # DO NOT EDIT THIS FILE
  4. #
  5. # It is automatically generated by grub-mkconfig using templates
  6. # from /etc/grub.d and settings from /etc/default/grub
  7. #
  8.  
  9. ### BEGIN /etc/grub.d/00_header ###
  10. insmod part_gpt
  11. insmod part_msdos
  12. if [ -s $prefix/grubenv ]; then
  13. load_env
  14. fi
  15. if [ "${next_entry}" ] ; then
  16. set default="${next_entry}"
  17. set next_entry=
  18. save_env next_entry
  19. set boot_once=true
  20. else
  21. set default="${saved_entry}"
  22. fi
  23.  
  24. if [ x"${feature_menuentry_id}" = xy ]; then
  25. menuentry_id_option="--id"
  26. else
  27. menuentry_id_option=""
  28. fi
  29.  
  30. export menuentry_id_option
  31.  
  32. if [ "${prev_saved_entry}" ]; then
  33. set saved_entry="${prev_saved_entry}"
  34. save_env saved_entry
  35. set prev_saved_entry=
  36. save_env prev_saved_entry
  37. set boot_once=true
  38. fi
  39.  
  40. function savedefault {
  41. if [ -z "${boot_once}" ]; then
  42. saved_entry="${chosen}"
  43. save_env saved_entry
  44. fi
  45. }
  46.  
  47. function load_video {
  48. if [ x$feature_all_video_module = xy ]; then
  49. insmod all_video
  50. else
  51. insmod efi_gop
  52. insmod efi_uga
  53. insmod ieee1275_fb
  54. insmod vbe
  55. insmod vga
  56. insmod video_bochs
  57. insmod video_cirrus
  58. fi
  59. }
  60.  
  61. set menu_color_normal=light-gray/black
  62. set menu_color_highlight=green/black
  63.  
  64. if [ x$feature_default_font_path = xy ] ; then
  65. font=unicode
  66. else
  67. insmod part_msdos
  68. insmod ext2
  69. set root='hd1,msdos2'
  70. if [ x$feature_platform_search_hint = xy ]; then
  71. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 4eafbd96-60f5-4c57-9cdc-544d26398658
  72. else
  73. search --no-floppy --fs-uuid --set=root 4eafbd96-60f5-4c57-9cdc-544d26398658
  74. fi
  75. font="/usr/share/grub/unicode.pf2"
  76. fi
  77.  
  78. if loadfont $font ; then
  79. set gfxmode=auto
  80. load_video
  81. insmod gfxterm
  82. set locale_dir=$prefix/locale
  83. set lang=en_US
  84. insmod gettext
  85. fi
  86. terminal_input console
  87. terminal_output gfxterm
  88. insmod part_msdos
  89. insmod ext2
  90. set root='hd1,msdos2'
  91. if [ x$feature_platform_search_hint = xy ]; then
  92. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 4eafbd96-60f5-4c57-9cdc-544d26398658
  93. else
  94. search --no-floppy --fs-uuid --set=root 4eafbd96-60f5-4c57-9cdc-544d26398658
  95. fi
  96. insmod png
  97. background_image -m stretch /usr/share/grub/background.png
  98. if [ x$feature_timeout_style = xy ] ; then
  99. set timeout_style=menu
  100. set timeout=5
  101. # Fallback normal timeout code in case the timeout_style feature is
  102. # unavailable.
  103. else
  104. set timeout=5
  105. fi
  106. ### END /etc/grub.d/00_header ###
  107.  
  108. ### BEGIN /etc/grub.d/10_linux ###
  109. menuentry 'Manjaro Linux' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-4eafbd96-60f5-4c57-9cdc-544d26398658' {
  110. savedefault
  111. load_video
  112. set gfxpayload=keep
  113. insmod gzio
  114. insmod part_msdos
  115. insmod ext2
  116. set root='hd1,msdos1'
  117. if [ x$feature_platform_search_hint = xy ]; then
  118. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 f583f0a2-2ded-4275-8ba2-41717c881de2
  119. else
  120. search --no-floppy --fs-uuid --set=root f583f0a2-2ded-4275-8ba2-41717c881de2
  121. fi
  122. echo 'Loading Linux 4.1.15-1-MANJARO x64 ...'
  123. linux /vmlinuz-4.1-x86_64 root=UUID=4eafbd96-60f5-4c57-9cdc-544d26398658 rw resume=UUID=6069cd8e-3075-4dc6-9ba7-a25c74bc8289 quiet splash
  124. echo 'Loading initial ramdisk ...'
  125. initrd /intel-ucode.img /initramfs-4.1-x86_64.img
  126. }
  127. submenu 'Advanced options for Manjaro Linux' $menuentry_id_option 'gnulinux-advanced-4eafbd96-60f5-4c57-9cdc-544d26398658' {
  128. menuentry 'Manjaro Linux (Kernel: 4.1.15-1-MANJARO x64)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.1.15-1-MANJARO x64-advanced-4eafbd96-60f5-4c57-9cdc-544d26398658' {
  129. savedefault
  130. load_video
  131. set gfxpayload=keep
  132. insmod gzio
  133. insmod part_msdos
  134. insmod ext2
  135. set root='hd1,msdos1'
  136. if [ x$feature_platform_search_hint = xy ]; then
  137. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 f583f0a2-2ded-4275-8ba2-41717c881de2
  138. else
  139. search --no-floppy --fs-uuid --set=root f583f0a2-2ded-4275-8ba2-41717c881de2
  140. fi
  141. echo 'Loading Linux 4.1.15-1-MANJARO x64 ...'
  142. linux /vmlinuz-4.1-x86_64 root=UUID=4eafbd96-60f5-4c57-9cdc-544d26398658 rw resume=UUID=6069cd8e-3075-4dc6-9ba7-a25c74bc8289 quiet splash
  143. echo 'Loading initial ramdisk ...'
  144. initrd /intel-ucode.img /initramfs-4.1-x86_64.img
  145. }
  146. menuentry 'Manjaro Linux (Kernel: 4.1.15-1-MANJARO x64 - fallback initramfs)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.1.15-1-MANJARO x64-fallback-4eafbd96-60f5-4c57-9cdc-544d26398658' {
  147. load_video
  148. set gfxpayload=keep
  149. insmod gzio
  150. insmod part_msdos
  151. insmod ext2
  152. set root='hd1,msdos1'
  153. if [ x$feature_platform_search_hint = xy ]; then
  154. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 f583f0a2-2ded-4275-8ba2-41717c881de2
  155. else
  156. search --no-floppy --fs-uuid --set=root f583f0a2-2ded-4275-8ba2-41717c881de2
  157. fi
  158. echo 'Loading Linux 4.1.15-1-MANJARO x64 ...'
  159. linux /vmlinuz-4.1-x86_64 root=UUID=4eafbd96-60f5-4c57-9cdc-544d26398658 rw resume=UUID=6069cd8e-3075-4dc6-9ba7-a25c74bc8289 quiet splash
  160. echo 'Loading initial ramdisk ...'
  161. initrd /intel-ucode.img /initramfs-4.1-x86_64-fallback.img
  162. }
  163. }
  164.  
  165. ### END /etc/grub.d/10_linux ###
  166.  
  167. ### BEGIN /etc/grub.d/20_linux_xen ###
  168. ### END /etc/grub.d/20_linux_xen ###
  169.  
  170. ### BEGIN /etc/grub.d/30_os-prober ###
  171. ### END /etc/grub.d/30_os-prober ###
  172.  
  173. ### BEGIN /etc/grub.d/40_custom ###
  174. # This file provides an easy way to add custom menu entries. Simply type the
  175. # menu entries you want to add after this comment. Be careful not to change
  176. # the 'exec tail' line above.
  177. ### END /etc/grub.d/40_custom ###
  178.  
  179. ### BEGIN /etc/grub.d/41_custom ###
  180. if [ -f ${config_directory}/custom.cfg ]; then
  181. source ${config_directory}/custom.cfg
  182. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  183. source $prefix/custom.cfg;
  184. fi
  185. ### END /etc/grub.d/41_custom ###
  186.  
  187. ### BEGIN /etc/grub.d/60_memtest86+ ###
  188. if [ "${grub_platform}" == "pc" ]; then
  189. menuentry "Memory Tester (memtest86+)" --class memtest86 --class gnu --class tool {
  190. search --fs-uuid --no-floppy --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 f583f0a2-2ded-4275-8ba2-41717c881de2
  191. linux16 /memtest86+/memtest.bin
  192. }
  193. fi
  194. ### END /etc/grub.d/60_memtest86+ ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement