Advertisement
Guest User

Untitled

a guest
Feb 28th, 2016
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.36 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="0"
  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. if [ x$feature_default_font_path = xy ] ; then
  61. font=unicode
  62. else
  63. insmod part_msdos
  64. insmod lvm
  65. insmod ext2
  66. set root='lvmid/6ufnxX-fF5O-mr97-GmZW-BYJ2-x0QS-mWx7IK/U972SS-2V1p-zyWN-zeUl-nLPy-v0Nh-WCdCGW'
  67. if [ x$feature_platform_search_hint = xy ]; then
  68. search --no-floppy --fs-uuid --set=root --hint='lvmid/6ufnxX-fF5O-mr97-GmZW-BYJ2-x0QS-mWx7IK/U972SS-2V1p-zyWN-zeUl-nLPy-v0Nh-WCdCGW' ef4ebd4d-6f72-4b41-8591-71390ff406c7
  69. else
  70. search --no-floppy --fs-uuid --set=root ef4ebd4d-6f72-4b41-8591-71390ff406c7
  71. fi
  72. font="/usr/share/grub/unicode.pf2"
  73. fi
  74.  
  75. if loadfont $font ; then
  76. set gfxmode=auto
  77. load_video
  78. insmod gfxterm
  79. set locale_dir=$prefix/locale
  80. set lang=en_US
  81. insmod gettext
  82. fi
  83. terminal_input console
  84. terminal_output gfxterm
  85. if [ x$feature_timeout_style = xy ] ; then
  86. set timeout_style=menu
  87. set timeout=5
  88. # Fallback normal timeout code in case the timeout_style feature is
  89. # unavailable.
  90. else
  91. set timeout=5
  92. fi
  93. ### END /etc/grub.d/00_header ###
  94.  
  95. ### BEGIN /etc/grub.d/10_linux ###
  96. menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-ef4ebd4d-6f72-4b41-8591-71390ff406c7' {
  97. load_video
  98. set gfxpayload=keep
  99. insmod gzio
  100. insmod part_msdos
  101. insmod ext2
  102. set root='hd0,msdos1'
  103. if [ x$feature_platform_search_hint = xy ]; then
  104. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 f38db12b-51a4-48ad-8337-a742d1724ee6
  105. else
  106. search --no-floppy --fs-uuid --set=root f38db12b-51a4-48ad-8337-a742d1724ee6
  107. fi
  108. echo 'Loading Linux linux ...'
  109. linux /vmlinuz-linux root=UUID=ef4ebd4d-6f72-4b41-8591-71390ff406c7 rw quiet
  110. echo 'Loading initial ramdisk ...'
  111. initrd /initramfs-linux.img
  112. }
  113. submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-ef4ebd4d-6f72-4b41-8591-71390ff406c7' {
  114. menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-ef4ebd4d-6f72-4b41-8591-71390ff406c7' {
  115. load_video
  116. set gfxpayload=keep
  117. insmod gzio
  118. insmod part_msdos
  119. insmod ext2
  120. set root='hd0,msdos1'
  121. if [ x$feature_platform_search_hint = xy ]; then
  122. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 f38db12b-51a4-48ad-8337-a742d1724ee6
  123. else
  124. search --no-floppy --fs-uuid --set=root f38db12b-51a4-48ad-8337-a742d1724ee6
  125. fi
  126. echo 'Loading Linux linux ...'
  127. linux /vmlinuz-linux root=UUID=ef4ebd4d-6f72-4b41-8591-71390ff406c7 rw quiet
  128. echo 'Loading initial ramdisk ...'
  129. initrd /initramfs-linux.img
  130. }
  131. menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-ef4ebd4d-6f72-4b41-8591-71390ff406c7' {
  132. load_video
  133. set gfxpayload=keep
  134. insmod gzio
  135. insmod part_msdos
  136. insmod ext2
  137. set root='hd0,msdos1'
  138. if [ x$feature_platform_search_hint = xy ]; then
  139. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 f38db12b-51a4-48ad-8337-a742d1724ee6
  140. else
  141. search --no-floppy --fs-uuid --set=root f38db12b-51a4-48ad-8337-a742d1724ee6
  142. fi
  143. echo 'Loading Linux linux ...'
  144. linux /vmlinuz-linux root=UUID=ef4ebd4d-6f72-4b41-8591-71390ff406c7 rw quiet
  145. echo 'Loading initial ramdisk ...'
  146. initrd /initramfs-linux-fallback.img
  147. }
  148. }
  149.  
  150. ### END /etc/grub.d/10_linux ###
  151.  
  152. ### BEGIN /etc/grub.d/20_linux_xen ###
  153. ### END /etc/grub.d/20_linux_xen ###
  154.  
  155. ### BEGIN /etc/grub.d/30_os-prober ###
  156. ### END /etc/grub.d/30_os-prober ###
  157.  
  158. ### BEGIN /etc/grub.d/40_custom ###
  159. # This file provides an easy way to add custom menu entries. Simply type the
  160. # menu entries you want to add after this comment. Be careful not to change
  161. # the 'exec tail' line above.
  162. ### END /etc/grub.d/40_custom ###
  163.  
  164. ### BEGIN /etc/grub.d/41_custom ###
  165. if [ -f ${config_directory}/custom.cfg ]; then
  166. source ${config_directory}/custom.cfg
  167. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  168. source $prefix/custom.cfg;
  169. fi
  170. ### END /etc/grub.d/41_custom ###
  171.  
  172. ### BEGIN /etc/grub.d/60_memtest86+ ###
  173. ### END /etc/grub.d/60_memtest86+ ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement