Advertisement
Guest User

Untitled

a guest
Jan 6th, 2015
337
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.96 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 ext2
  64. if [ x$feature_platform_search_hint = xy ]; then
  65. search --no-floppy --fs-uuid --set=root 2a6e6b3f-19db-413d-9ca9-6b5956fb12dc
  66. else
  67. search --no-floppy --fs-uuid --set=root 2a6e6b3f-19db-413d-9ca9-6b5956fb12dc
  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_input console
  81. terminal_output gfxterm
  82. if [ x$feature_timeout_style = xy ] ; then
  83. set timeout_style=menu
  84. set timeout=5
  85. # Fallback normal timeout code in case the timeout_style feature is
  86. # unavailable.
  87. else
  88. set timeout=5
  89. fi
  90. ### END /etc/grub.d/00_header ###
  91.  
  92. ### BEGIN /etc/grub.d/10_linux ###
  93.  
  94. ### END /etc/grub.d/10_linux ###
  95.  
  96. ### BEGIN /etc/grub.d/20_linux_xen ###
  97. ### END /etc/grub.d/20_linux_xen ###
  98.  
  99. ### BEGIN /etc/grub.d/30_os-prober ###
  100. menuentry 'Windows Vista (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-5412A7C478DD82FF' {
  101. insmod part_msdos
  102. insmod ntfs
  103. set root='hd0,msdos1'
  104. if [ x$feature_platform_search_hint = xy ]; then
  105. search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos1' --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 5412A7C478DD82FF
  106. else
  107. search --no-floppy --fs-uuid --set=root 5412A7C478DD82FF
  108. fi
  109. chainloader +1
  110. }
  111. menuentry 'Arch Linux (rolling) (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-2c5e27b1-c7c0-4f42-9db2-70dc92a08581' {
  112. insmod part_msdos
  113. insmod ext2
  114. set root='hd0,msdos2'
  115. if [ x$feature_platform_search_hint = xy ]; then
  116. search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos2' --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 2c5e27b1-c7c0-4f42-9db2-70dc92a08581
  117. else
  118. search --no-floppy --fs-uuid --set=root 2c5e27b1-c7c0-4f42-9db2-70dc92a08581
  119. fi
  120. linux /boot/vmlinuz-linux root=/dev/sda2
  121. initrd /boot/initramfs-linux.img
  122. }
  123. submenu 'Advanced options for Arch Linux (rolling) (on /dev/sda2)' $menuentry_id_option 'osprober-gnulinux-advanced-2c5e27b1-c7c0-4f42-9db2-70dc92a08581' {
  124. menuentry 'Arch Linux (rolling) (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-linux--2c5e27b1-c7c0-4f42-9db2-70dc92a08581' {
  125. insmod part_msdos
  126. insmod ext2
  127. set root='hd0,msdos2'
  128. if [ x$feature_platform_search_hint = xy ]; then
  129. search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos2' --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 2c5e27b1-c7c0-4f42-9db2-70dc92a08581
  130. else
  131. search --no-floppy --fs-uuid --set=root 2c5e27b1-c7c0-4f42-9db2-70dc92a08581
  132. fi
  133. linux /boot/vmlinuz-linux root=/dev/sda2
  134. initrd /boot/initramfs-linux.img
  135. }
  136. }
  137.  
  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 ###
  153.  
  154. ### BEGIN /etc/grub.d/60_memtest86+ ###
  155. if [ "${grub_platform}" == "pc" ]; then
  156. menuentry "Memory Tester (memtest86+)" --class memtest86 --class gnu --class tool {
  157. search --fs-uuid --no-floppy --set=root 2a6e6b3f-19db-413d-9ca9-6b5956fb12dc
  158. linux16 /boot/memtest86+/memtest.bin
  159. }
  160. fi
  161. ### END /etc/grub.d/60_memtest86+ ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement