Advertisement
Jeoxs

grub.cfg

Feb 11th, 2016
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.06 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_msdos
  67. insmod ext2
  68. set root='hd0,msdos7'
  69. if [ x$feature_platform_search_hint = xy ]; then
  70. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 3b62e0d3-d5c8-490e-b5b2-089475ebdfc9
  71. else
  72. search --no-floppy --fs-uuid --set=root 3b62e0d3-d5c8-490e-b5b2-089475ebdfc9
  73. fi
  74. font="/usr/share/grub/unicode.pf2"
  75. fi
  76.  
  77. if loadfont $font ; then
  78. set gfxmode=auto
  79. load_video
  80. insmod gfxterm
  81. set locale_dir=$prefix/locale
  82. set lang=es_ES
  83. insmod gettext
  84. fi
  85. terminal_input console
  86. terminal_output gfxterm
  87. insmod part_msdos
  88. insmod ext2
  89. set root='hd0,msdos7'
  90. if [ x$feature_platform_search_hint = xy ]; then
  91. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 3b62e0d3-d5c8-490e-b5b2-089475ebdfc9
  92. else
  93. search --no-floppy --fs-uuid --set=root 3b62e0d3-d5c8-490e-b5b2-089475ebdfc9
  94. fi
  95. insmod png
  96. background_image -m stretch /usr/share/grub/background.png
  97. if [ x$feature_timeout_style = xy ] ; then
  98. set timeout_style=menu
  99. set timeout=5
  100. # Fallback normal timeout code in case the timeout_style feature is
  101. # unavailable.
  102. else
  103. set timeout=5
  104. fi
  105. ### END /etc/grub.d/00_header ###
  106.  
  107. ### BEGIN /etc/grub.d/10_linux ###
  108. menuentry 'Manjaro Linux' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-3b62e0d3-d5c8-490e-b5b2-089475ebdfc9' {
  109. savedefault
  110. load_video
  111. set gfxpayload=keep
  112. insmod gzio
  113. insmod part_msdos
  114. insmod ext2
  115. set root='hd0,msdos7'
  116. if [ x$feature_platform_search_hint = xy ]; then
  117. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 3b62e0d3-d5c8-490e-b5b2-089475ebdfc9
  118. else
  119. search --no-floppy --fs-uuid --set=root 3b62e0d3-d5c8-490e-b5b2-089475ebdfc9
  120. fi
  121. echo 'Cargando Linux 4.1.17-1-MANJARO x64...'
  122. linux /boot/vmlinuz-4.1-x86_64 root=UUID=3b62e0d3-d5c8-490e-b5b2-089475ebdfc9 rw quiet splash resume=UUID=bbf981bb-3660-44c1-afe5-5056f030eea4
  123. echo 'Cargando imagen de memoria inicial...'
  124. initrd /boot/intel-ucode.img /boot/initramfs-4.1-x86_64.img
  125. }
  126. submenu 'Opciones avanzadas para Manjaro Linux' $menuentry_id_option 'gnulinux-advanced-3b62e0d3-d5c8-490e-b5b2-089475ebdfc9' {
  127. menuentry 'Manjaro Linux (Kernel: 4.1.17-1-MANJARO x64)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.1.17-1-MANJARO x64-advanced-3b62e0d3-d5c8-490e-b5b2-089475ebdfc9' {
  128. savedefault
  129. load_video
  130. set gfxpayload=keep
  131. insmod gzio
  132. insmod part_msdos
  133. insmod ext2
  134. set root='hd0,msdos7'
  135. if [ x$feature_platform_search_hint = xy ]; then
  136. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 3b62e0d3-d5c8-490e-b5b2-089475ebdfc9
  137. else
  138. search --no-floppy --fs-uuid --set=root 3b62e0d3-d5c8-490e-b5b2-089475ebdfc9
  139. fi
  140. echo 'Cargando Linux 4.1.17-1-MANJARO x64...'
  141. linux /boot/vmlinuz-4.1-x86_64 root=UUID=3b62e0d3-d5c8-490e-b5b2-089475ebdfc9 rw quiet splash resume=UUID=bbf981bb-3660-44c1-afe5-5056f030eea4
  142. echo 'Cargando imagen de memoria inicial...'
  143. initrd /boot/intel-ucode.img /boot/initramfs-4.1-x86_64.img
  144. }
  145. menuentry 'Manjaro Linux (Kernel: 4.1.17-1-MANJARO x64 - fallback initramfs)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.1.17-1-MANJARO x64-fallback-3b62e0d3-d5c8-490e-b5b2-089475ebdfc9' {
  146. load_video
  147. set gfxpayload=keep
  148. insmod gzio
  149. insmod part_msdos
  150. insmod ext2
  151. set root='hd0,msdos7'
  152. if [ x$feature_platform_search_hint = xy ]; then
  153. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 3b62e0d3-d5c8-490e-b5b2-089475ebdfc9
  154. else
  155. search --no-floppy --fs-uuid --set=root 3b62e0d3-d5c8-490e-b5b2-089475ebdfc9
  156. fi
  157. echo 'Cargando Linux 4.1.17-1-MANJARO x64...'
  158. linux /boot/vmlinuz-4.1-x86_64 root=UUID=3b62e0d3-d5c8-490e-b5b2-089475ebdfc9 rw quiet splash resume=UUID=bbf981bb-3660-44c1-afe5-5056f030eea4
  159. echo 'Cargando imagen de memoria inicial...'
  160. initrd /boot/intel-ucode.img /boot/initramfs-4.1-x86_64-fallback.img
  161. }
  162. }
  163.  
  164. ### END /etc/grub.d/10_linux ###
  165.  
  166. ### BEGIN /etc/grub.d/20_linux_xen ###
  167. ### END /etc/grub.d/20_linux_xen ###
  168.  
  169. ### BEGIN /etc/grub.d/30_os-prober ###
  170. menuentry 'Windows 7 (loader) (en /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-04F64F7FF64F6FCA' {
  171. savedefault
  172. insmod part_msdos
  173. insmod ntfs
  174. set root='hd0,msdos1'
  175. if [ x$feature_platform_search_hint = xy ]; then
  176. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 04F64F7FF64F6FCA
  177. else
  178. search --no-floppy --fs-uuid --set=root 04F64F7FF64F6FCA
  179. fi
  180. parttool ${root} hidden-
  181. chainloader +1
  182. }
  183. ### END /etc/grub.d/30_os-prober ###
  184.  
  185. ### BEGIN /etc/grub.d/40_custom ###
  186. # This file provides an easy way to add custom menu entries. Simply type the
  187. # menu entries you want to add after this comment. Be careful not to change
  188. # the 'exec tail' line above.
  189. ### END /etc/grub.d/40_custom ###
  190.  
  191. ### BEGIN /etc/grub.d/41_custom ###
  192. if [ -f ${config_directory}/custom.cfg ]; then
  193. source ${config_directory}/custom.cfg
  194. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  195. source $prefix/custom.cfg;
  196. fi
  197. ### END /etc/grub.d/41_custom ###
  198.  
  199. ### BEGIN /etc/grub.d/60_memtest86+ ###
  200. if [ "${grub_platform}" == "pc" ]; then
  201. menuentry "Memory Tester (memtest86+)" --class memtest86 --class gnu --class tool {
  202. search --fs-uuid --no-floppy --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 3b62e0d3-d5c8-490e-b5b2-089475ebdfc9
  203. linux16 /boot/memtest86+/memtest.bin
  204. }
  205. fi
  206. ### END /etc/grub.d/60_memtest86+ ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement