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_gpt
  56. insmod lvm
  57. insmod ext2
  58. set root='lvmid/4S1Q7D-MknX-6WCS-hMs2-Lt52-MSIU-Btphc3/IiIFGG-u5nU-ZyKX-NlVT-otM8-HVDJ-rmRsDT'
  59. if [ x$feature_platform_search_hint = xy ]; then
  60. search --no-floppy --fs-uuid --set=root --hint='lvmid/4S1Q7D-MknX-6WCS-hMs2-Lt52-MSIU-Btphc3/IiIFGG-u5nU-ZyKX-NlVT-otM8-HVDJ-rmRsDT' ba554044-774f-4f98-9cc3-edd76afb119f
  61. else
  62. search --no-floppy --fs-uuid --set=root ba554044-774f-4f98-9cc3-edd76afb119f
  63. fi
  64. font="/share/grub/unicode.pf2"
  65. fi
  66. if loadfont $font ; then
  67. set gfxmode=auto
  68. load_video
  69. insmod gfxterm
  70. set locale_dir=$prefix/locale
  71. set lang=en_US
  72. insmod gettext
  73. fi
  74. terminal_output gfxterm
  75. if [ x$feature_timeout_style = xy ] ; then
  76. set timeout_style=menu
  77. set timeout=5
  78. # Fallback normal timeout code in case the timeout_style feature is
  79. # unavailable.
  80. else
  81. set timeout=5
  82. fi
  83. ### END /etc/grub.d/00_header ###
  84. ### BEGIN /etc/grub.d/10_linux ###
  85. menuentry 'Gentoo GNU/Linux' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-59a7934d-4274-4a9a-9f5b-71fad1e1774f' {
  86. load_video
  87. if [ "x$grub_platform" = xefi ]; then
  88. set gfxpayload=keep
  89. fi
  90. insmod gzio
  91. insmod part_gpt
  92. insmod lvm
  93. insmod reiserfs
  94. set root='lvmid/4S1Q7D-MknX-6WCS-hMs2-Lt52-MSIU-Btphc3/Y35ZnN-b5XY-8zMJ-dGaF-Asq6-CP1V-Vje1R9'
  95. if [ x$feature_platform_search_hint = xy ]; then
  96. search --no-floppy --fs-uuid --set=root --hint='lvmid/4S1Q7D-MknX-6WCS-hMs2-Lt52-MSIU-Btphc3/Y35ZnN-b5XY-8zMJ-dGaF-Asq6-CP1V-Vje1R9' 59a7934d-4274-4a9a-9f5b-71fad1e1774f
  97. else
  98. search --no-floppy --fs-uuid --set=root 59a7934d-4274-4a9a-9f5b-71fad1e1774f
  99. fi
  100. echo 'Loading Linux x86_64-4.7.0-pf4 ...'
  101. linux /boot/kernel-genkernel-x86_64-4.7.0-pf4 root=/dev/mapper/ubuntu--vg-calculate_root ro dolvm
  102. echo 'Loading initial ramdisk ...'
  103. initrd /boot/initramfs-genkernel-x86_64-4.7.0-pf4
  104. }
  105. submenu 'Advanced options for Gentoo GNU/Linux' $menuentry_id_option 'gnulinux-advanced-59a7934d-4274-4a9a-9f5b-71fad1e1774f' {
  106. menuentry 'Gentoo GNU/Linux, with Linux x86_64-4.7.0-pf4' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86_64-4.7.0-pf4-advanced-59a7934d-4274-4a9a-9f5b-71fad1e1774f' {
  107. load_video
  108. if [ "x$grub_platform" = xefi ]; then
  109. set gfxpayload=keep
  110. fi
  111. insmod gzio
  112. insmod part_gpt
  113. insmod lvm
  114. insmod reiserfs
  115. set root='lvmid/4S1Q7D-MknX-6WCS-hMs2-Lt52-MSIU-Btphc3/Y35ZnN-b5XY-8zMJ-dGaF-Asq6-CP1V-Vje1R9'
  116. if [ x$feature_platform_search_hint = xy ]; then
  117. search --no-floppy --fs-uuid --set=root --hint='lvmid/4S1Q7D-MknX-6WCS-hMs2-Lt52-MSIU-Btphc3/Y35ZnN-b5XY-8zMJ-dGaF-Asq6-CP1V-Vje1R9' 59a7934d-4274-4a9a-9f5b-71fad1e1774f
  118. else
  119. search --no-floppy --fs-uuid --set=root 59a7934d-4274-4a9a-9f5b-71fad1e1774f
  120. fi
  121. echo 'Loading Linux x86_64-4.7.0-pf4 ...'
  122. linux /boot/kernel-genkernel-x86_64-4.7.0-pf4 root=/dev/mapper/ubuntu--vg-calculate_root ro dolvm
  123. echo 'Loading initial ramdisk ...'
  124. initrd /boot/initramfs-genkernel-x86_64-4.7.0-pf4
  125. }
  126. menuentry 'Gentoo GNU/Linux, with Linux x86_64-4.7.0-pf4 (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86_64-4.7.0-pf4-recovery-59a7934d-4274-4a9a-9f5b-71fad1e1774f' {
  127. load_video
  128. if [ "x$grub_platform" = xefi ]; then
  129. set gfxpayload=keep
  130. fi
  131. insmod gzio
  132. insmod part_gpt
  133. insmod lvm
  134. insmod reiserfs
  135. set root='lvmid/4S1Q7D-MknX-6WCS-hMs2-Lt52-MSIU-Btphc3/Y35ZnN-b5XY-8zMJ-dGaF-Asq6-CP1V-Vje1R9'
  136. if [ x$feature_platform_search_hint = xy ]; then
  137. search --no-floppy --fs-uuid --set=root --hint='lvmid/4S1Q7D-MknX-6WCS-hMs2-Lt52-MSIU-Btphc3/Y35ZnN-b5XY-8zMJ-dGaF-Asq6-CP1V-Vje1R9' 59a7934d-4274-4a9a-9f5b-71fad1e1774f
  138. else
  139. search --no-floppy --fs-uuid --set=root 59a7934d-4274-4a9a-9f5b-71fad1e1774f
  140. fi
  141. echo 'Loading Linux x86_64-4.7.0-pf4 ...'
  142. linux /boot/kernel-genkernel-x86_64-4.7.0-pf4 root=/dev/mapper/ubuntu--vg-calculate_root ro single dolvm
  143. echo 'Loading initial ramdisk ...'
  144. initrd /boot/initramfs-genkernel-x86_64-4.7.0-pf4
  145. }
  146. }
  147. ### END /etc/grub.d/10_linux ###
  148. ### BEGIN /etc/grub.d/20_linux_xen ###
  149. ### END /etc/grub.d/20_linux_xen ###
  150. ### BEGIN /etc/grub.d/30_os-prober ###
  151. ### END /etc/grub.d/30_os-prober ###
  152. ### BEGIN /etc/grub.d/39_memtest86 ###
  153. menuentry "MemTest86" {
  154. insmod part_gpt
  155. insmod lvm
  156. insmod reiserfs
  157. set root='lvmid/4S1Q7D-MknX-6WCS-hMs2-Lt52-MSIU-Btphc3/Y35ZnN-b5XY-8zMJ-dGaF-Asq6-CP1V-Vje1R9'
  158. if [ x$feature_platform_search_hint = xy ]; then
  159. search --no-floppy --fs-uuid --set=root --hint='lvmid/4S1Q7D-MknX-6WCS-hMs2-Lt52-MSIU-Btphc3/Y35ZnN-b5XY-8zMJ-dGaF-Asq6-CP1V-Vje1R9' 59a7934d-4274-4a9a-9f5b-71fad1e1774f
  160. else
  161. search --no-floppy --fs-uuid --set=root 59a7934d-4274-4a9a-9f5b-71fad1e1774f
  162. fi
  163. linux16 "/boot/memtest86/memtest"
  164. }
  165. ### END /etc/grub.d/39_memtest86 ###
  166. ### BEGIN /etc/grub.d/40_custom ###
  167. # This file provides an easy way to add custom menu entries. Simply type the
  168. # menu entries you want to add after this comment. Be careful not to change
  169. # the 'exec tail' line above.
  170. ### END /etc/grub.d/40_custom ###
  171. ### BEGIN /etc/grub.d/41_custom ###
  172. if [ -f ${config_directory}/custom.cfg ]; then
  173. source ${config_directory}/custom.cfg
  174. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  175. source $prefix/custom.cfg;
  176. fi
  177. ### END /etc/grub.d/41_custom ###
  178.