spacepaste

  1.  
  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. ### BEGIN /etc/grub.d/00_header ###
  9. if [ -s $prefix/grubenv ]; then
  10. load_env
  11. fi
  12. if [ "${next_entry}" ] ; then
  13. set default="${next_entry}"
  14. set next_entry=
  15. save_env next_entry
  16. set boot_once=true
  17. else
  18. set default="0"
  19. fi
  20. if [ x"${feature_menuentry_id}" = xy ]; then
  21. menuentry_id_option="--id"
  22. else
  23. menuentry_id_option=""
  24. fi
  25. export menuentry_id_option
  26. if [ "${prev_saved_entry}" ]; then
  27. set saved_entry="${prev_saved_entry}"
  28. save_env saved_entry
  29. set prev_saved_entry=
  30. save_env prev_saved_entry
  31. set boot_once=true
  32. fi
  33. function savedefault {
  34. if [ -z "${boot_once}" ]; then
  35. saved_entry="${chosen}"
  36. save_env saved_entry
  37. fi
  38. }
  39. function load_video {
  40. if [ x$feature_all_video_module = xy ]; then
  41. insmod all_video
  42. else
  43. insmod efi_gop
  44. insmod efi_uga
  45. insmod ieee1275_fb
  46. insmod vbe
  47. insmod vga
  48. insmod video_bochs
  49. insmod video_cirrus
  50. fi
  51. }
  52. if [ x$feature_default_font_path = xy ] ; then
  53. font=unicode
  54. else
  55. insmod part_msdos
  56. insmod btrfs
  57. set root='hd0,msdos7'
  58. if [ x$feature_platform_search_hint = xy ]; then
  59. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 4f0ff187-0797-43af-a9d2-95d9f6a0ffbd
  60. else
  61. search --no-floppy --fs-uuid --set=root 4f0ff187-0797-43af-a9d2-95d9f6a0ffbd
  62. fi
  63. font="/usr/share/grub/unicode.pf2"
  64. fi
  65. if loadfont $font ; then
  66. set gfxmode=1366x768x32
  67. load_video
  68. insmod gfxterm
  69. set locale_dir=$prefix/locale
  70. set lang=es_CL
  71. insmod gettext
  72. fi
  73. terminal_output gfxterm
  74. insmod part_msdos
  75. insmod ext2
  76. set root='hd0,msdos5'
  77. if [ x$feature_platform_search_hint = xy ]; then
  78. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 3cd7274a-fbca-492b-9355-829fb0446e34
  79. else
  80. search --no-floppy --fs-uuid --set=root 3cd7274a-fbca-492b-9355-829fb0446e34
  81. fi
  82. insmod tga
  83. background_image -m stretch /grub/gentoo.tga
  84. if [ x$feature_timeout_style = xy ] ; then
  85. set timeout_style=menu
  86. set timeout=15
  87. # Fallback normal timeout code in case the timeout_style feature is
  88. # unavailable.
  89. else
  90. set timeout=15
  91. fi
  92. ### END /etc/grub.d/00_header ###
  93. ### BEGIN /etc/grub.d/10_linux ###
  94. menuentry 'Gentoo GNU/Linux' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-4f0ff187-0797-43af-a9d2-95d9f6a0ffbd' {
  95. load_video
  96. set gfxpayload=keep
  97. insmod gzio
  98. insmod part_msdos
  99. insmod ext2
  100. set root='hd0,msdos5'
  101. if [ x$feature_platform_search_hint = xy ]; then
  102. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 3cd7274a-fbca-492b-9355-829fb0446e34
  103. else
  104. search --no-floppy --fs-uuid --set=root 3cd7274a-fbca-492b-9355-829fb0446e34
  105. fi
  106. echo 'Cargando Linux x86_64-4.12.5-gentoo...'
  107. linux /kernel-genkernel-x86_64-4.12.5-gentoo root=/dev/sda7 ro real_root=/dev/sda7 elevator=bfq dobtrfs usbcore.autosuspend=-1
  108. echo 'Cargando imagen de memoria inicial...'
  109. initrd /initramfs-genkernel-x86_64-4.12.5-gentoo
  110. }
  111. submenu 'Opciones avanzadas para Gentoo GNU/Linux' $menuentry_id_option 'gnulinux-advanced-4f0ff187-0797-43af-a9d2-95d9f6a0ffbd' {
  112. menuentry 'Gentoo GNU/Linux, con Linux x86_64-4.12.5-gentoo' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86_64-4.12.5-gentoo-advanced-4f0ff187-0797-43af-a9d2-95d9f6a0ffbd' {
  113. load_video
  114. set gfxpayload=keep
  115. insmod gzio
  116. insmod part_msdos
  117. insmod ext2
  118. set root='hd0,msdos5'
  119. if [ x$feature_platform_search_hint = xy ]; then
  120. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 3cd7274a-fbca-492b-9355-829fb0446e34
  121. else
  122. search --no-floppy --fs-uuid --set=root 3cd7274a-fbca-492b-9355-829fb0446e34
  123. fi
  124. echo 'Cargando Linux x86_64-4.12.5-gentoo...'
  125. linux /kernel-genkernel-x86_64-4.12.5-gentoo root=/dev/sda7 ro real_root=/dev/sda7 elevator=bfq dobtrfs usbcore.autosuspend=-1
  126. echo 'Cargando imagen de memoria inicial...'
  127. initrd /initramfs-genkernel-x86_64-4.12.5-gentoo
  128. }
  129. menuentry 'Gentoo GNU/Linux, con Linux x86_64-4.12.5-gentoo (modo de recuperaciĆ³n)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86_64-4.12.5-gentoo-recovery-4f0ff187-0797-43af-a9d2-95d9f6a0ffbd' {
  130. load_video
  131. set gfxpayload=keep
  132. insmod gzio
  133. insmod part_msdos
  134. insmod ext2
  135. set root='hd0,msdos5'
  136. if [ x$feature_platform_search_hint = xy ]; then
  137. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 3cd7274a-fbca-492b-9355-829fb0446e34
  138. else
  139. search --no-floppy --fs-uuid --set=root 3cd7274a-fbca-492b-9355-829fb0446e34
  140. fi
  141. echo 'Cargando Linux x86_64-4.12.5-gentoo...'
  142. linux /kernel-genkernel-x86_64-4.12.5-gentoo root=/dev/sda7 ro single real_root=/dev/sda7 elevator=bfq dobtrfs usbcore.autosuspend=-1
  143. echo 'Cargando imagen de memoria inicial...'
  144. initrd /initramfs-genkernel-x86_64-4.12.5-gentoo
  145. }
  146. menuentry 'Gentoo GNU/Linux, con Linux x86_64-4.9.34-gentoo' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86_64-4.9.34-gentoo-advanced-4f0ff187-0797-43af-a9d2-95d9f6a0ffbd' {
  147. load_video
  148. set gfxpayload=keep
  149. insmod gzio
  150. insmod part_msdos
  151. insmod ext2
  152. set root='hd0,msdos5'
  153. if [ x$feature_platform_search_hint = xy ]; then
  154. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 3cd7274a-fbca-492b-9355-829fb0446e34
  155. else
  156. search --no-floppy --fs-uuid --set=root 3cd7274a-fbca-492b-9355-829fb0446e34
  157. fi
  158. echo 'Cargando Linux x86_64-4.9.34-gentoo...'
  159. linux /kernel-genkernel-x86_64-4.9.34-gentoo root=/dev/sda7 ro real_root=/dev/sda7 elevator=bfq dobtrfs usbcore.autosuspend=-1
  160. echo 'Cargando imagen de memoria inicial...'
  161. initrd /initramfs-genkernel-x86_64-4.9.34-gentoo
  162. }
  163. menuentry 'Gentoo GNU/Linux, con Linux x86_64-4.9.34-gentoo (modo de recuperaciĆ³n)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86_64-4.9.34-gentoo-recovery-4f0ff187-0797-43af-a9d2-95d9f6a0ffbd' {
  164. load_video
  165. set gfxpayload=keep
  166. insmod gzio
  167. insmod part_msdos
  168. insmod ext2
  169. set root='hd0,msdos5'
  170. if [ x$feature_platform_search_hint = xy ]; then
  171. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 3cd7274a-fbca-492b-9355-829fb0446e34
  172. else
  173. search --no-floppy --fs-uuid --set=root 3cd7274a-fbca-492b-9355-829fb0446e34
  174. fi
  175. echo 'Cargando Linux x86_64-4.9.34-gentoo...'
  176. linux /kernel-genkernel-x86_64-4.9.34-gentoo root=/dev/sda7 ro single real_root=/dev/sda7 elevator=bfq dobtrfs usbcore.autosuspend=-1
  177. echo 'Cargando imagen de memoria inicial...'
  178. initrd /initramfs-genkernel-x86_64-4.9.34-gentoo
  179. }
  180. }
  181. ### END /etc/grub.d/10_linux ###
  182. ### BEGIN /etc/grub.d/20_linux_xen ###
  183. ### END /etc/grub.d/20_linux_xen ###
  184. ### BEGIN /etc/grub.d/30_os-prober ###
  185. menuentry 'Windows 7 (en /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-EC04B9A204B97066' {
  186. insmod part_msdos
  187. insmod ntfs
  188. set root='hd0,msdos1'
  189. if [ x$feature_platform_search_hint = xy ]; then
  190. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 EC04B9A204B97066
  191. else
  192. search --no-floppy --fs-uuid --set=root EC04B9A204B97066
  193. fi
  194. parttool ${root} hidden-
  195. chainloader +1
  196. }
  197. ### END /etc/grub.d/30_os-prober ###
  198. ### BEGIN /etc/grub.d/39_memtest86+ ###
  199. menuentry 'Memtest86+' {
  200. insmod part_msdos
  201. insmod ext2
  202. set root='hd0,msdos5'
  203. if [ x$feature_platform_search_hint = xy ]; then
  204. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 3cd7274a-fbca-492b-9355-829fb0446e34
  205. else
  206. search --no-floppy --fs-uuid --set=root 3cd7274a-fbca-492b-9355-829fb0446e34
  207. fi
  208. linux16 "/memtest86plus/memtest"
  209. }
  210. ### END /etc/grub.d/39_memtest86+ ###
  211. ### BEGIN /etc/grub.d/40_custom ###
  212. # This file provides an easy way to add custom menu entries. Simply type the
  213. # menu entries you want to add after this comment. Be careful not to change
  214. # the 'exec tail' line above.
  215. ### END /etc/grub.d/40_custom ###
  216. ### BEGIN /etc/grub.d/41_custom ###
  217. if [ -f ${config_directory}/custom.cfg ]; then
  218. source ${config_directory}/custom.cfg
  219. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  220. source $prefix/custom.cfg;
  221. fi
  222. ### END /etc/grub.d/41_custom ###
  223.