Advertisement
Guest User

Untitled

a guest
Mar 30th, 2014
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.39 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="0"
  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 [ x$feature_default_font_path = xy ] ; then
  59. font=unicode
  60. else
  61. insmod part_gpt
  62. insmod ext2
  63. set root='hd0,gpt2'
  64. if [ x$feature_platform_search_hint = xy ]; then
  65. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 ec080513-54ed-43ad-8986-a5b24cce0a62
  66. else
  67. search --no-floppy --fs-uuid --set=root ec080513-54ed-43ad-8986-a5b24cce0a62
  68. fi
  69. font="/usr/share/grub/unicode.pf2"
  70. fi
  71.  
  72. if loadfont $font ; then
  73. set gfxmode=auto
  74. load_video
  75. insmod gfxterm
  76. set locale_dir=$prefix/locale
  77. set lang=en_US
  78. insmod gettext
  79. fi
  80. terminal_output gfxterm
  81. if sleep --interruptible 0 ; then
  82. set timeout=10
  83. fi
  84. ### END /etc/grub.d/00_header ###
  85.  
  86. ### BEGIN /etc/grub.d/10_linux ###
  87. menuentry 'Gentoo GNU/Linux' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-ec080513-54ed-43ad-8986-a5b24cce0a62' {
  88. load_video
  89. insmod gzio
  90. insmod part_gpt
  91. insmod fat
  92. set root='hd0,gpt3'
  93. if [ x$feature_platform_search_hint = xy ]; then
  94. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 E0D0-3527
  95. else
  96. search --no-floppy --fs-uuid --set=root E0D0-3527
  97. fi
  98. echo 'Loading Linux ne ...'
  99. linux /kernel-gentoo root=/dev/sda2 ro
  100. }
  101. submenu 'Advanced options for Gentoo GNU/Linux' $menuentry_id_option 'gnulinux-advanced-ec080513-54ed-43ad-8986-a5b24cce0a62' {
  102. menuentry 'Gentoo GNU/Linux, with Linux ne' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-ne-advanced-ec080513-54ed-43ad-8986-a5b24cce0a62' {
  103. load_video
  104. insmod gzio
  105. insmod part_gpt
  106. insmod fat
  107. set root='hd0,gpt3'
  108. if [ x$feature_platform_search_hint = xy ]; then
  109. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 E0D0-3527
  110. else
  111. search --no-floppy --fs-uuid --set=root E0D0-3527
  112. fi
  113. echo 'Loading Linux ne ...'
  114. linux /kernel-ne root=/dev/sda2 ro
  115. }
  116. menuentry 'Gentoo GNU/Linux, with Linux ne (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-ne-recovery-ec080513-54ed-43ad-8986-a5b24cce0a62' {
  117. load_video
  118. insmod gzio
  119. insmod part_gpt
  120. insmod fat
  121. set root='hd0,gpt3'
  122. if [ x$feature_platform_search_hint = xy ]; then
  123. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 E0D0-3527
  124. else
  125. search --no-floppy --fs-uuid --set=root E0D0-3527
  126. fi
  127. echo 'Loading Linux ne ...'
  128. linux /kernel-ne root=/dev/sda2 ro single
  129. }
  130. }
  131.  
  132. ### END /etc/grub.d/10_linux ###
  133.  
  134. ### BEGIN /etc/grub.d/20_linux_xen ###
  135. ### END /etc/grub.d/20_linux_xen ###
  136.  
  137. ### BEGIN /etc/grub.d/30_os-prober ###
  138. ### END /etc/grub.d/30_os-prober ###
  139.  
  140. ### BEGIN /etc/grub.d/40_custom ###
  141. # This file provides an easy way to add custom menu entries. Simply type the
  142. # menu entries you want to add after this comment. Be careful not to change
  143. # the 'exec tail' line above.
  144. ### END /etc/grub.d/40_custom ###
  145.  
  146. ### BEGIN /etc/grub.d/41_custom ###
  147. if [ -f ${config_directory}/custom.cfg ]; then
  148. source ${config_directory}/custom.cfg
  149. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  150. source $prefix/custom.cfg;
  151. fi
  152. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement