Advertisement
Guest User

Untitled

a guest
Apr 5th, 2013
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.20 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. set default="${saved_entry}"
  15.  
  16. if [ x"${feature_menuentry_id}" = xy ]; then
  17. menuentry_id_option="--id"
  18. else
  19. menuentry_id_option=""
  20. fi
  21.  
  22. export menuentry_id_option
  23.  
  24. if [ "${prev_saved_entry}" ]; then
  25. set saved_entry="${prev_saved_entry}"
  26. save_env saved_entry
  27. set prev_saved_entry=
  28. save_env prev_saved_entry
  29. set boot_once=true
  30. fi
  31.  
  32. function savedefault {
  33. if [ -z "${boot_once}" ]; then
  34. saved_entry="${chosen}"
  35. save_env saved_entry
  36. fi
  37. }
  38.  
  39. function load_video {
  40. if [ x$feature_all_video_module = xy ]; then
  41. insmod all_video
  42. else
  43. insmod efi_gop
  44. insmod efi_uga
  45. insmod ieee1275_fb
  46. insmod vbe
  47. insmod vga
  48. insmod video_bochs
  49. insmod video_cirrus
  50. fi
  51. }
  52.  
  53. if [ x$feature_default_font_path = xy ] ; then
  54. font=unicode
  55. else
  56. insmod part_msdos
  57. insmod ext2
  58. set root='hd1,msdos5'
  59. if [ x$feature_platform_search_hint = xy ]; then
  60. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5 --hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5 81e8a251-1ac1-4990-a7c4-12932ece70a0
  61. else
  62. search --no-floppy --fs-uuid --set=root 81e8a251-1ac1-4990-a7c4-12932ece70a0
  63. fi
  64. font="/usr/share/grub/unicode.pf2"
  65. fi
  66.  
  67. if loadfont $font ; then
  68. set gfxmode=auto
  69. load_video
  70. insmod gfxterm
  71. set locale_dir=$prefix/locale
  72. set lang=ru_RU
  73. insmod gettext
  74. fi
  75. terminal_input console
  76. terminal_output gfxterm
  77. set timeout=10
  78. ### END /etc/grub.d/00_header ###
  79.  
  80. ### BEGIN /etc/grub.d/10_linux ###
  81. menuentry 'Arch GNU/Linux, с Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-81e8a251-1ac1-4990-a7c4-12932ece70a0' {
  82. savedefault
  83. load_video
  84. set gfxpayload=keep
  85. insmod gzio
  86. insmod part_msdos
  87. insmod ext2
  88. set root='hd1,msdos5'
  89. if [ x$feature_platform_search_hint = xy ]; then
  90. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5 --hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5 81e8a251-1ac1-4990-a7c4-12932ece70a0
  91. else
  92. search --no-floppy --fs-uuid --set=root 81e8a251-1ac1-4990-a7c4-12932ece70a0
  93. fi
  94. echo 'Загружается Linux core repo kernel …'
  95. linux /boot/vmlinuz-linux root=UUID=81e8a251-1ac1-4990-a7c4-12932ece70a0 ro
  96. echo 'Загружается начальный виртуальный диск …'
  97. initrd /boot/initramfs-linux.img
  98. }
  99. menuentry 'Arch GNU/Linux, with Linux core repo kernel (Fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-fallback-81e8a251-1ac1-4990-a7c4-12932ece70a0' {
  100. load_video
  101. set gfxpayload=keep
  102. insmod gzio
  103. insmod part_msdos
  104. insmod ext2
  105. set root='hd1,msdos5'
  106. if [ x$feature_platform_search_hint = xy ]; then
  107. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5 --hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5 81e8a251-1ac1-4990-a7c4-12932ece70a0
  108. else
  109. search --no-floppy --fs-uuid --set=root 81e8a251-1ac1-4990-a7c4-12932ece70a0
  110. fi
  111. echo 'Загружается Linux core repo kernel …'
  112. linux /boot/vmlinuz-linux root=UUID=81e8a251-1ac1-4990-a7c4-12932ece70a0 ro quiet
  113. echo 'Загружается начальный виртуальный диск …'
  114. initrd /boot/initramfs-linux-fallback.img
  115. }
  116. menuentry 'Arch GNU/Linux, с Linux core repo kernel (режим восстановления)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-recovery-81e8a251-1ac1-4990-a7c4-12932ece70a0' {
  117. load_video
  118. set gfxpayload=keep
  119. insmod gzio
  120. insmod part_msdos
  121. insmod ext2
  122. set root='hd1,msdos5'
  123. if [ x$feature_platform_search_hint = xy ]; then
  124. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5 --hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5 81e8a251-1ac1-4990-a7c4-12932ece70a0
  125. else
  126. search --no-floppy --fs-uuid --set=root 81e8a251-1ac1-4990-a7c4-12932ece70a0
  127. fi
  128. echo 'Загружается Linux core repo kernel …'
  129. linux /boot/vmlinuz-linux root=UUID=81e8a251-1ac1-4990-a7c4-12932ece70a0 ro single
  130. echo 'Загружается начальный виртуальный диск …'
  131. initrd /boot/initramfs-linux-fallback.img
  132. }
  133.  
  134. ### END /etc/grub.d/10_linux ###
  135.  
  136. ### BEGIN /etc/grub.d/20_linux_xen ###
  137. ### END /etc/grub.d/20_linux_xen ###
  138.  
  139. ### BEGIN /etc/grub.d/20_memtest86+ ###
  140. ### END /etc/grub.d/20_memtest86+ ###
  141.  
  142. ### BEGIN /etc/grub.d/30_os-prober ###
  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