Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2015
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.14 KB | None | 0 0
  1. #
  2. # DO NOT EDIT THIS FILE
  3. #
  4. # It is automatically generated by grub2-mkconfig using templates
  5. # from /etc/grub.d and settings from /etc/default/grub
  6. #
  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="2"
  19. fi
  20.  
  21. if [ x"${feature_menuentry_id}" = xy ]; then
  22. menuentry_id_option="--id"
  23. else
  24. menuentry_id_option=""
  25. fi
  26.  
  27. export menuentry_id_option
  28.  
  29. if [ "${prev_saved_entry}" ]; then
  30. set saved_entry="${prev_saved_entry}"
  31. save_env saved_entry
  32. set prev_saved_entry=
  33. save_env prev_saved_entry
  34. set boot_once=true
  35. fi
  36.  
  37. function savedefault {
  38. if [ -z "${boot_once}" ]; then
  39. saved_entry="${chosen}"
  40. save_env saved_entry
  41. fi
  42. }
  43.  
  44. function load_video {
  45. if [ x$feature_all_video_module = xy ]; then
  46. insmod all_video
  47. else
  48. insmod efi_gop
  49. insmod efi_uga
  50. insmod ieee1275_fb
  51. insmod vbe
  52. insmod vga
  53. insmod video_bochs
  54. insmod video_cirrus
  55. fi
  56. }
  57.  
  58. if loadfont unicode ; then
  59. set gfxmode=auto
  60. load_video
  61. insmod gfxterm
  62. fi
  63. terminal_output gfxterm
  64. if [ x$feature_timeout_style = xy ] ; then
  65. set timeout_style=menu
  66. set timeout=5
  67. # Fallback normal timeout code in case the timeout_style feature is
  68. # unavailable.
  69. else
  70. set timeout=5
  71. fi
  72. ### END /etc/grub.d/00_header ###
  73.  
  74. ### BEGIN /etc/grub.d/10_linux ###
  75. menuentry 'Gentoo GNU/Linux' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-cf421ca8-4ea3-4b4f-aaba-60e415651915' {
  76. load_video
  77. if [ "x$grub_platform" = xefi ]; then
  78. set gfxpayload=keep
  79. fi
  80. insmod gzio
  81. insmod part_gpt
  82. insmod ext2
  83. set root='hd0,gpt2'
  84. if [ x$feature_platform_search_hint = xy ]; then
  85. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 9c1a1ed7-be2e-49f6-9d8f-c0352e1c5c88
  86. else
  87. search --no-floppy --fs-uuid --set=root 9c1a1ed7-be2e-49f6-9d8f-c0352e1c5c88
  88. fi
  89. echo 'Loading Linux 3.17.7-gentoo ...'
  90. linux /vmlinuz-3.17.7-gentoo root=/dev/sda4 ro
  91. }
  92. submenu 'Advanced options for Gentoo GNU/Linux' $menuentry_id_option 'gnulinux-advanced-cf421ca8-4ea3-4b4f-aaba-60e415651915' {
  93. menuentry 'Gentoo GNU/Linux, with Linux 3.17.7-gentoo' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.17.7-gentoo-advanced-cf421ca8-4ea3-4b4f-aaba-60e415651915' {
  94. load_video
  95. if [ "x$grub_platform" = xefi ]; then
  96. set gfxpayload=keep
  97. fi
  98. insmod gzio
  99. insmod part_gpt
  100. insmod ext2
  101. set root='hd0,gpt2'
  102. if [ x$feature_platform_search_hint = xy ]; then
  103. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 9c1a1ed7-be2e-49f6-9d8f-c0352e1c5c88
  104. else
  105. search --no-floppy --fs-uuid --set=root 9c1a1ed7-be2e-49f6-9d8f-c0352e1c5c88
  106. fi
  107. echo 'Loading Linux 3.17.7-gentoo ...'
  108. linux /vmlinuz-3.17.7-gentoo root=/dev/sda4 ro
  109. }
  110. menuentry 'Gentoo GNU/Linux, with Linux 3.17.7-gentoo (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.17.7-gentoo-recovery-cf421ca8-4ea3-4b4f-aaba-60e415651915' {
  111. load_video
  112. if [ "x$grub_platform" = xefi ]; then
  113. set gfxpayload=keep
  114. fi
  115. insmod gzio
  116. insmod part_gpt
  117. insmod ext2
  118. set root='hd0,gpt2'
  119. if [ x$feature_platform_search_hint = xy ]; then
  120. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 9c1a1ed7-be2e-49f6-9d8f-c0352e1c5c88
  121. else
  122. search --no-floppy --fs-uuid --set=root 9c1a1ed7-be2e-49f6-9d8f-c0352e1c5c88
  123. fi
  124. echo 'Loading Linux 3.17.7-gentoo ...'
  125. linux /vmlinuz-3.17.7-gentoo root=/dev/sda4 ro single
  126. }
  127. menuentry 'Gentoo GNU/Linux, with Linux 3.17.7-gentoo.old' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.17.7-gentoo.old-advanced-cf421ca8-4ea3-4b4f-aaba-60e415651915' {
  128. load_video
  129. if [ "x$grub_platform" = xefi ]; then
  130. set gfxpayload=keep
  131. fi
  132. insmod gzio
  133. insmod part_gpt
  134. insmod ext2
  135. set root='hd0,gpt2'
  136. if [ x$feature_platform_search_hint = xy ]; then
  137. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 9c1a1ed7-be2e-49f6-9d8f-c0352e1c5c88
  138. else
  139. search --no-floppy --fs-uuid --set=root 9c1a1ed7-be2e-49f6-9d8f-c0352e1c5c88
  140. fi
  141. echo 'Loading Linux 3.17.7-gentoo.old ...'
  142. linux /vmlinuz-3.17.7-gentoo.old root=/dev/sda4 ro
  143. }
  144. menuentry 'Gentoo GNU/Linux, with Linux 3.17.7-gentoo.old (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.17.7-gentoo.old-recovery-cf421ca8-4ea3-4b4f-aaba-60e415651915' {
  145. load_video
  146. if [ "x$grub_platform" = xefi ]; then
  147. set gfxpayload=keep
  148. fi
  149. insmod gzio
  150. insmod part_gpt
  151. insmod ext2
  152. set root='hd0,gpt2'
  153. if [ x$feature_platform_search_hint = xy ]; then
  154. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 9c1a1ed7-be2e-49f6-9d8f-c0352e1c5c88
  155. else
  156. search --no-floppy --fs-uuid --set=root 9c1a1ed7-be2e-49f6-9d8f-c0352e1c5c88
  157. fi
  158. echo 'Loading Linux 3.17.7-gentoo.old ...'
  159. linux /vmlinuz-3.17.7-gentoo.old root=/dev/sda4 ro single
  160. }
  161. }
  162.  
  163. ### END /etc/grub.d/10_linux ###
  164.  
  165. ### BEGIN /etc/grub.d/20_linux_xen ###
  166. ### END /etc/grub.d/20_linux_xen ###
  167.  
  168. ### BEGIN /etc/grub.d/30_os-prober ###
  169. ### END /etc/grub.d/30_os-prober ###
  170.  
  171. ### BEGIN /etc/grub.d/40_custom ###
  172. # This file provides an easy way to add custom menu entries. Simply type the
  173. # menu entries you want to add after this comment. Be careful not to change
  174. # the 'exec tail' line above.
  175. menuentry "Windows 7" {
  176. insmod part_msdos
  177. insmod ntfs
  178. set root='(hd1,msdos1)'
  179. chainloader +1
  180. }
  181. ### END /etc/grub.d/40_custom ###
  182.  
  183. ### BEGIN /etc/grub.d/41_custom ###
  184. if [ -f ${config_directory}/custom.cfg ]; then
  185. source ${config_directory}/custom.cfg
  186. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  187. source $prefix/custom.cfg;
  188. fi
  189. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement