Advertisement
Guest User

Untitled

a guest
Mar 11th, 2015
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.31 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. set pager=1
  10.  
  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="${saved_entry}"
  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. terminal_output console
  61. if [ x$feature_timeout_style = xy ] ; then
  62. set timeout_style=menu
  63. set timeout=5
  64. # Fallback normal timeout code in case the timeout_style feature is
  65. # unavailable.
  66. else
  67. set timeout=5
  68. fi
  69. ### END /etc/grub.d/00_header ###
  70.  
  71. ### BEGIN /etc/grub.d/10_linux ###
  72. menuentry 'Fedora, with Linux 3.18.8-201.fc21.x86_64' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.18.8-201.fc21.x86_64-advanced-08569365-1846-42aa-b275-00c72365a8ce' {
  73. set gfxpayload=text
  74. insmod gzio
  75. insmod part_msdos
  76. insmod ext2
  77. set root='hd0,msdos1'
  78. if [ x$feature_platform_search_hint = xy ]; then
  79. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 890cab9e-849a-476c-a49e-0b47888e39c5
  80. else
  81. search --no-floppy --fs-uuid --set=root 890cab9e-849a-476c-a49e-0b47888e39c5
  82. fi
  83. linux16 /vmlinuz-3.18.8-201.fc21.x86_64 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/swap rd.lvm.lv=fedora/root rhgb quiet
  84. initrd16 /initramfs-3.18.8-201.fc21.x86_64.img
  85. }
  86. menuentry 'Fedora, with Linux 3.17.4-301.fc21.x86_64' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.17.4-301.fc21.x86_64-advanced-08569365-1846-42aa-b275-00c72365a8ce' {
  87. set gfxpayload=text
  88. insmod gzio
  89. insmod part_msdos
  90. insmod ext2
  91. set root='hd0,msdos1'
  92. if [ x$feature_platform_search_hint = xy ]; then
  93. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 890cab9e-849a-476c-a49e-0b47888e39c5
  94. else
  95. search --no-floppy --fs-uuid --set=root 890cab9e-849a-476c-a49e-0b47888e39c5
  96. fi
  97. linux16 /vmlinuz-3.17.4-301.fc21.x86_64 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/swap rd.lvm.lv=fedora/root rhgb quiet
  98. initrd16 /initramfs-3.17.4-301.fc21.x86_64.img
  99. }
  100. menuentry 'Fedora, with Linux 0-rescue-b7f159f28b8747289e9805e758538a03' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-b7f159f28b8747289e9805e758538a03-advanced-08569365-1846-42aa-b275-00c72365a8ce' {
  101. set gfxpayload=text
  102. insmod gzio
  103. insmod part_msdos
  104. insmod ext2
  105. set root='hd0,msdos1'
  106. if [ x$feature_platform_search_hint = xy ]; then
  107. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 890cab9e-849a-476c-a49e-0b47888e39c5
  108. else
  109. search --no-floppy --fs-uuid --set=root 890cab9e-849a-476c-a49e-0b47888e39c5
  110. fi
  111. linux16 /vmlinuz-0-rescue-b7f159f28b8747289e9805e758538a03 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/swap rd.lvm.lv=fedora/root rhgb quiet
  112. initrd16 /initramfs-0-rescue-b7f159f28b8747289e9805e758538a03.img
  113. }
  114.  
  115. ### END /etc/grub.d/10_linux ###
  116.  
  117. ### BEGIN /etc/grub.d/15_win ###
  118. menuentry "Windows" {
  119. set root=(hd2,msdos1)
  120. chainloader +1
  121. }
  122. ### END /etc/grub.d/15_win ###
  123.  
  124. ### BEGIN /etc/grub.d/20_linux_xen ###
  125.  
  126. ### END /etc/grub.d/20_linux_xen ###
  127.  
  128. ### BEGIN /etc/grub.d/20_ppc_terminfo ###
  129. ### END /etc/grub.d/20_ppc_terminfo ###
  130.  
  131. ### BEGIN /etc/grub.d/30_os-prober ###
  132. menuentry 'Windows 7 (loader) (on /dev/sdb1)' --class windows --class os $menuentry_id_option 'osprober-chain-72A8A553A8A5171F' {
  133. insmod part_msdos
  134. insmod ntfs
  135. set root='hd1,msdos1'
  136. if [ x$feature_platform_search_hint = xy ]; then
  137. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 72A8A553A8A5171F
  138. else
  139. search --no-floppy --fs-uuid --set=root 72A8A553A8A5171F
  140. fi
  141. parttool ${root} hidden-
  142. chainloader +1
  143. }
  144. ### END /etc/grub.d/30_os-prober ###
  145.  
  146. ### BEGIN /etc/grub.d/40_custom ###
  147. # This file provides an easy way to add custom menu entries. Simply type the
  148. # menu entries you want to add after this comment. Be careful not to change
  149. # the 'exec tail' line above.
  150. ### END /etc/grub.d/40_custom ###
  151.  
  152. ### BEGIN /etc/grub.d/41_custom ###
  153. if [ -f ${config_directory}/custom.cfg ]; then
  154. source ${config_directory}/custom.cfg
  155. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  156. source $prefix/custom.cfg;
  157. fi
  158. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement