firedingo

grub.cfg

Mar 3rd, 2015
294
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.78 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. if [ x"${feature_menuentry_id}" = xy ]; then
  23. menuentry_id_option="--id"
  24. fi
  25.  
  26. export menuentry_id_option
  27.  
  28. if [ "${prev_saved_entry}" ]; then
  29. set saved_entry="${prev_saved_entry}"
  30. save_env saved_entry
  31. set prev_saved_entry=
  32. save_env prev_saved_entry
  33. set boot_once=true
  34. fi
  35.  
  36. function savedefault {
  37. if [ -z "${boot_once}" ]; then
  38. saved_entry="${chosen}"
  39. save_env saved_entry
  40. fi
  41. }
  42.  
  43. function load_video {
  44. if [ x$feature_all_video_module = xy ]; then
  45. insmod all_video
  46. else
  47. insmod efi_gop
  48. insmod efi_uga
  49. insmod ieee1275_fb
  50. insmod vbe
  51. insmod vga
  52. insmod video_bochs
  53. insmod cideo_cirrus
  54. fi
  55. }
  56.  
  57. if [ x$feature_defualt_font_path = xy ] ; then
  58. font=unicode
  59. else
  60. insmod part_msdos
  61. insmod ext2
  62. set root='hd0,msdos3'
  63. if [ x$feature_platform_search_hint = xy ]; then
  64. search --no-floppy --fs-uuid --set=root --hint-ieee1275=' ieee1275//disk@0,msd$@0,msdos3' --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0$=ahci0,msdos3 7bccbe03-c74b-45a7-889b-bb91b8a4367c
  65. else
  66. search --no-floppy --fs-uuid --set=root 7bccbe03-c74b-45a7-889b-bb91b8a4367c
  67. fi
  68. font="/usr/share/grub/unicode.pf2"
  69. fi
  70.  
  71. if loadfont $font ; then
  72. set gfxmode=auto
  73. load_video
  74. insmod gfxterm
  75. set locale_dir=$oref/locale
  76. set lang=en_US
  77. insmod gettext
  78. fi
  79. terminal_input console
  80. terminal_ouput gfxterm
  81. if [ x$feature_timeout_style = xy ] ; then
  82. set timeout_style=menu
  83. _set timeout=5
  84. #_Fallback normal timeout code in case the timeout_style feature is
  85. #unavailable
  86. else
  87. set timeout=5
  88. fi
  89. ### END /etc/grub.d/00_header ###
  90.  
  91. ### BEGIN /etc/grub.d/10_linux ###
  92.  
  93. ### END /etc/grub.d/10_linux ###
  94.  
  95. ### BEGIN /etc/grub.d/20_linux_xen ###
  96. ### END /etc/grub.d/20_linux_xen ###
  97.  
  98. ### BEGIN /etc/grub.d/30_os-prober ###
  99. ### END /etc/grub.d/30_os-prober ###
  100.  
  101. ### BEGIN /etc/grub.d/40_custom ###
  102. # This file provides an easy way to add custom menu entries. Simply type the
  103. # menu entries you want to add after this comment. Be careful not to change
  104. # the 'exec tail' line above.
  105. ### END /etc/grub.d/40_custom ###
  106.  
  107. ### BEGIN /etc/grub.d/41_custom ###
  108. if [ -f ${config_directory}/custom.cfg ]; then
  109. source ${config_directory}/custom.cfg
  110. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  111. source $prefix/custom.cfg;
  112. fi
  113. ### END /etc/grub.d/41_custom ###
  114.  
  115. ### BEGIN /etc/grub.d/60_memtest86+ ###
  116. ### END /etc/grub.d/60_memtest86+ ###
Advertisement
Add Comment
Please, Sign In to add comment