Guest User

Untitled

a guest
Jan 4th, 2015
168
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ cat /boot/grub2/grub.cfg
  2. #
  3. # DO NOT EDIT THIS FILE
  4. #
  5. # It is automatically generated by grub2-mkconfig using templates
  6. # from /etc/grub.d and settings from /etc/default/grub
  7. #
  8.  
  9. ### BEGIN /etc/grub.d/00_header ###
  10. set pager=1
  11.  
  12. if [ -s $prefix/grubenv ]; then
  13. load_env
  14. fi
  15. if [ "${next_entry}" ] ; then
  16. set default="${next_entry}"
  17. set next_entry=
  18. save_env next_entry
  19. set boot_once=true
  20. else
  21. set default="${saved_entry}"
  22. fi
  23.  
  24. if [ x"${feature_menuentry_id}" = xy ]; then
  25. menuentry_id_option="--id"
  26. else
  27. menuentry_id_option=""
  28. fi
  29.  
  30. export menuentry_id_option
  31.  
  32. if [ "${prev_saved_entry}" ]; then
  33. set saved_entry="${prev_saved_entry}"
  34. save_env saved_entry
  35. set prev_saved_entry=
  36. save_env prev_saved_entry
  37. set boot_once=true
  38. fi
  39.  
  40. function savedefault {
  41. if [ -z "${boot_once}" ]; then
  42. saved_entry="${chosen}"
  43. save_env saved_entry
  44. fi
  45. }
  46.  
  47. function load_video {
  48. if [ x$feature_all_video_module = xy ]; then
  49. insmod all_video
  50. else
  51. insmod efi_gop
  52. insmod efi_uga
  53. insmod ieee1275_fb
  54. insmod vbe
  55. insmod vga
  56. insmod video_bochs
  57. insmod video_cirrus
  58. fi
  59. }
  60.  
  61. terminal_output console
  62. if [ x$feature_timeout_style = xy ] ; then
  63. set timeout_style=menu
  64. set timeout=5
  65. # Fallback normal timeout code in case the timeout_style feature is
  66. # unavailable.
  67. else
  68. set timeout=5
  69. fi
  70. ### END /etc/grub.d/00_header ###
  71.  
  72. ### BEGIN /etc/grub.d/10_linux ###
  73. menuentry 'Fedora, with Linux 3.17.7-300.fc21.x86_64' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.17.7-300.fc21.x86_64-advanced-18fc3c11-c21e-4ece-b996-bec00b57f59e' {
  74. load_video
  75. set gfxpayload=keep
  76. insmod gzio
  77. insmod part_gpt
  78. insmod ext2
  79. set root='hd0,gpt2'
  80. if [ x$feature_platform_search_hint = xy ]; then
  81. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 6f5fc67f-2292-41a0-93ea-7c2a4302a692
  82. else
  83. search --no-floppy --fs-uuid --set=root 6f5fc67f-2292-41a0-93ea-7c2a4302a692
  84. fi
  85. linuxefi /vmlinuz-3.17.7-300.fc21.x86_64 root=/dev/mapper/fedora-root ro intel_iommu=on rd.lvm.lv=fedora/swap rd.lvm.lv=fedora/root nomodeset nouveau.modeset=0 rd.driver.blacklist=nouveau rhgb quiet
  86. initrdefi /initramfs-3.17.7-300.fc21.x86_64.img
  87. }
  88. menuentry 'Fedora, with Linux 0-rescue-5c9d7a60be0f407bb87bd94a4f0af14d' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-5c9d7a60be0f407bb87bd94a4f0af14d-advanced-18fc3c11-c21e-4ece-b996-bec00b57f59e' {
  89. load_video
  90. insmod gzio
  91. insmod part_gpt
  92. insmod ext2
  93. set root='hd0,gpt2'
  94. if [ x$feature_platform_search_hint = xy ]; then
  95. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 6f5fc67f-2292-41a0-93ea-7c2a4302a692
  96. else
  97. search --no-floppy --fs-uuid --set=root 6f5fc67f-2292-41a0-93ea-7c2a4302a692
  98. fi
  99. linuxefi /vmlinuz-0-rescue-5c9d7a60be0f407bb87bd94a4f0af14d root=/dev/mapper/fedora-root ro intel_iommu=on rd.lvm.lv=fedora/swap rd.lvm.lv=fedora/root nomodeset nouveau.modeset=0 rd.driver.blacklist=nouveau rhgb quiet
  100. initrdefi /initramfs-0-rescue-5c9d7a60be0f407bb87bd94a4f0af14d.img
  101. }
  102.  
  103. ### END /etc/grub.d/10_linux ###
  104.  
  105. ### BEGIN /etc/grub.d/20_linux_xen ###
  106. menuentry 'Fedora, with Xen hypervisor' --class fedora --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-simple-18fc3c11-c21e-4ece-b996-bec00b57f59e' {
  107. insmod part_gpt
  108. insmod ext2
  109. set root='hd0,gpt2'
  110. if [ x$feature_platform_search_hint = xy ]; then
  111. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 6f5fc67f-2292-41a0-93ea-7c2a4302a692
  112. else
  113. search --no-floppy --fs-uuid --set=root 6f5fc67f-2292-41a0-93ea-7c2a4302a692
  114. fi
  115. echo 'Loading Xen xen ...'
  116. if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
  117. xen_rm_opts=
  118. else
  119. xen_rm_opts="no-real-mode edd=off"
  120. fi
  121. multiboot /xen.gz placeholder ${xen_rm_opts}
  122. echo 'Loading Linux 3.17.7-300.fc21.x86_64 ...'
  123. module /vmlinuz-3.17.7-300.fc21.x86_64 placeholder root=/dev/mapper/fedora-root ro intel_iommu=on rd.lvm.lv=fedora/swap rd.lvm.lv=fedora/root nomodeset nouveau.modeset=0 rd.driver.blacklist=nouveau rhgb quiet
  124. echo 'Loading initial ramdisk ...'
  125. module --nounzip /initramfs-3.17.7-300.fc21.x86_64.img
  126. }
  127. submenu 'Advanced options for Fedora (with Xen hypervisor)' $menuentry_id_option 'gnulinux-advanced-18fc3c11-c21e-4ece-b996-bec00b57f59e' {
  128. submenu 'Xen hypervisor, version xen' $menuentry_id_option 'xen-hypervisor-xen-18fc3c11-c21e-4ece-b996-bec00b57f59e' {
  129. menuentry 'Fedora, with Xen xen and Linux 3.17.7-300.fc21.x86_64' --class fedora --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-3.17.7-300.fc21.x86_64-advanced-18fc3c11-c21e-4ece-b996-bec00b57f59e' {
  130. insmod part_gpt
  131. insmod ext2
  132. set root='hd0,gpt2'
  133. if [ x$feature_platform_search_hint = xy ]; then
  134. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 6f5fc67f-2292-41a0-93ea-7c2a4302a692
  135. else
  136. search --no-floppy --fs-uuid --set=root 6f5fc67f-2292-41a0-93ea-7c2a4302a692
  137. fi
  138. echo 'Loading Xen xen ...'
  139. if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
  140. xen_rm_opts=
  141. else
  142. xen_rm_opts="no-real-mode edd=off"
  143. fi
  144. multiboot /xen.gz placeholder ${xen_rm_opts}
  145. echo 'Loading Linux 3.17.7-300.fc21.x86_64 ...'
  146. module /vmlinuz-3.17.7-300.fc21.x86_64 placeholder root=/dev/mapper/fedora-root ro intel_iommu=on rd.lvm.lv=fedora/swap rd.lvm.lv=fedora/root nomodeset nouveau.modeset=0 rd.driver.blacklist=nouveau rhgb quiet
  147. echo 'Loading initial ramdisk ...'
  148. module --nounzip /initramfs-3.17.7-300.fc21.x86_64.img
  149. }
  150. }
  151. submenu 'Xen hypervisor, version 4.4.1' $menuentry_id_option 'xen-hypervisor-4.4.1-18fc3c11-c21e-4ece-b996-bec00b57f59e' {
  152. menuentry 'Fedora, with Xen 4.4.1 and Linux 3.17.7-300.fc21.x86_64' --class fedora --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-3.17.7-300.fc21.x86_64-advanced-18fc3c11-c21e-4ece-b996-bec00b57f59e' {
  153. insmod part_gpt
  154. insmod ext2
  155. set root='hd0,gpt2'
  156. if [ x$feature_platform_search_hint = xy ]; then
  157. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 6f5fc67f-2292-41a0-93ea-7c2a4302a692
  158. else
  159. search --no-floppy --fs-uuid --set=root 6f5fc67f-2292-41a0-93ea-7c2a4302a692
  160. fi
  161. echo 'Loading Xen 4.4.1 ...'
  162. if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
  163. xen_rm_opts=
  164. else
  165. xen_rm_opts="no-real-mode edd=off"
  166. fi
  167. multiboot /xen-4.4.1.gz placeholder ${xen_rm_opts}
  168. echo 'Loading Linux 3.17.7-300.fc21.x86_64 ...'
  169. module /vmlinuz-3.17.7-300.fc21.x86_64 placeholder root=/dev/mapper/fedora-root ro intel_iommu=on rd.lvm.lv=fedora/swap rd.lvm.lv=fedora/root nomodeset nouveau.modeset=0 rd.driver.blacklist=nouveau rhgb quiet
  170. echo 'Loading initial ramdisk ...'
  171. module --nounzip /initramfs-3.17.7-300.fc21.x86_64.img
  172. }
  173. }
  174. submenu 'Xen hypervisor, version 4.4' $menuentry_id_option 'xen-hypervisor-4.4-18fc3c11-c21e-4ece-b996-bec00b57f59e' {
  175. menuentry 'Fedora, with Xen 4.4 and Linux 3.17.7-300.fc21.x86_64' --class fedora --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-3.17.7-300.fc21.x86_64-advanced-18fc3c11-c21e-4ece-b996-bec00b57f59e' {
  176. insmod part_gpt
  177. insmod ext2
  178. set root='hd0,gpt2'
  179. if [ x$feature_platform_search_hint = xy ]; then
  180. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 6f5fc67f-2292-41a0-93ea-7c2a4302a692
  181. else
  182. search --no-floppy --fs-uuid --set=root 6f5fc67f-2292-41a0-93ea-7c2a4302a692
  183. fi
  184. echo 'Loading Xen 4.4 ...'
  185. if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
  186. xen_rm_opts=
  187. else
  188. xen_rm_opts="no-real-mode edd=off"
  189. fi
  190. multiboot /xen-4.4.gz placeholder ${xen_rm_opts}
  191. echo 'Loading Linux 3.17.7-300.fc21.x86_64 ...'
  192. module /vmlinuz-3.17.7-300.fc21.x86_64 placeholder root=/dev/mapper/fedora-root ro intel_iommu=on rd.lvm.lv=fedora/swap rd.lvm.lv=fedora/root nomodeset nouveau.modeset=0 rd.driver.blacklist=nouveau rhgb quiet
  193. echo 'Loading initial ramdisk ...'
  194. module --nounzip /initramfs-3.17.7-300.fc21.x86_64.img
  195. }
  196. }
  197. }
  198.  
  199. ### END /etc/grub.d/20_linux_xen ###
  200.  
  201. ### BEGIN /etc/grub.d/20_ppc_terminfo ###
  202. ### END /etc/grub.d/20_ppc_terminfo ###
  203.  
  204. ### BEGIN /etc/grub.d/30_os-prober ###
  205. ### END /etc/grub.d/30_os-prober ###
  206.  
  207. ### BEGIN /etc/grub.d/40_custom ###
  208. # This file provides an easy way to add custom menu entries. Simply type the
  209. # menu entries you want to add after this comment. Be careful not to change
  210. # the 'exec tail' line above.
  211. ### END /etc/grub.d/40_custom ###
  212.  
  213. ### BEGIN /etc/grub.d/41_custom ###
  214. if [ -f ${config_directory}/custom.cfg ]; then
  215. source ${config_directory}/custom.cfg
  216. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  217. source $prefix/custom.cfg;
  218. fi
  219. ### END /etc/grub.d/41_custom ###
RAW Paste Data