Advertisement
Guest User

Untitled

a guest
Mar 27th, 2016
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 7.47 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="keep"
  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 part_msdos
  64. insmod ext2
  65. set root='hd0,msdos3'
  66. if [ x$feature_platform_search_hint = xy ]; then
  67.   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  9b21ba1b-dcc0-4bb2-8c2d-79a8e21ed9ef
  68. else
  69.   search --no-floppy --fs-uuid --set=root 9b21ba1b-dcc0-4bb2-8c2d-79a8e21ed9ef
  70. fi
  71.     font="/usr/share/grub/unicode.pf2"
  72. fi
  73.  
  74. if loadfont $font ; then
  75.   set gfxmode=1920x1080x32
  76.   load_video
  77.   insmod gfxterm
  78.   set locale_dir=$prefix/locale
  79.   set lang=ru_RU
  80.   insmod gettext
  81. fi
  82. terminal_input console
  83. terminal_output gfxterm
  84. if [ x$feature_timeout_style = xy ] ; then
  85.   set timeout_style=menu
  86.   set timeout=5
  87. # Fallback normal timeout code in case the timeout_style feature is
  88. # unavailable.
  89. else
  90.   set timeout=5
  91. fi
  92. ### END /etc/grub.d/00_header ###
  93.  
  94. ### BEGIN /etc/grub.d/10_linux ###
  95. menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-9b21ba1b-dcc0-4bb2-8c2d-79a8e21ed9ef' {
  96.     savedefault
  97.     load_video
  98.     set gfxpayload=true
  99.     insmod gzio
  100.     insmod part_msdos
  101.     insmod ext2
  102.     set root='hd0,msdos3'
  103.     if [ x$feature_platform_search_hint = xy ]; then
  104.       search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  9b21ba1b-dcc0-4bb2-8c2d-79a8e21ed9ef
  105.     else
  106.       search --no-floppy --fs-uuid --set=root 9b21ba1b-dcc0-4bb2-8c2d-79a8e21ed9ef
  107.     fi
  108.     echo    'Загружается Linux linux …'
  109.     linux   /boot/vmlinuz-linux root=UUID=9b21ba1b-dcc0-4bb2-8c2d-79a8e21ed9ef rw  quiet
  110.     echo    'Загружается начальный виртуальный диск …'
  111.     initrd   /boot/initramfs-linux.img
  112. }
  113. submenu 'Дополнительные параметры для Arch Linux' $menuentry_id_option 'gnulinux-advanced-9b21ba1b-dcc0-4bb2-8c2d-79a8e21ed9ef' {
  114.     menuentry 'Arch Linux, с Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-9b21ba1b-dcc0-4bb2-8c2d-79a8e21ed9ef' {
  115.     savedefault
  116.         load_video
  117.         set gfxpayload=true
  118.         insmod gzio
  119.         insmod part_msdos
  120.         insmod ext2
  121.         set root='hd0,msdos3'
  122.         if [ x$feature_platform_search_hint = xy ]; then
  123.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  9b21ba1b-dcc0-4bb2-8c2d-79a8e21ed9ef
  124.         else
  125.           search --no-floppy --fs-uuid --set=root 9b21ba1b-dcc0-4bb2-8c2d-79a8e21ed9ef
  126.         fi
  127.         echo    'Загружается Linux linux …'
  128.         linux   /boot/vmlinuz-linux root=UUID=9b21ba1b-dcc0-4bb2-8c2d-79a8e21ed9ef rw  quiet
  129.         echo    'Загружается начальный виртуальный диск …'
  130.         initrd   /boot/initramfs-linux.img
  131.     }
  132.     menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-9b21ba1b-dcc0-4bb2-8c2d-79a8e21ed9ef' {
  133.     savedefault
  134.         load_video
  135.         set gfxpayload=true
  136.         insmod gzio
  137.         insmod part_msdos
  138.         insmod ext2
  139.         set root='hd0,msdos3'
  140.         if [ x$feature_platform_search_hint = xy ]; then
  141.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  9b21ba1b-dcc0-4bb2-8c2d-79a8e21ed9ef
  142.         else
  143.           search --no-floppy --fs-uuid --set=root 9b21ba1b-dcc0-4bb2-8c2d-79a8e21ed9ef
  144.         fi
  145.         echo    'Загружается Linux linux …'
  146.         linux   /boot/vmlinuz-linux root=UUID=9b21ba1b-dcc0-4bb2-8c2d-79a8e21ed9ef rw  quiet
  147.         echo    'Загружается начальный виртуальный диск …'
  148.         initrd   /boot/initramfs-linux-fallback.img
  149.     }
  150. }
  151.  
  152. ### END /etc/grub.d/10_linux ###
  153.  
  154. ### BEGIN /etc/grub.d/20_linux_xen ###
  155. ### END /etc/grub.d/20_linux_xen ###
  156.  
  157. ### BEGIN /etc/grub.d/30_os-prober ###
  158. menuentry 'Windows 8 (loader) (на /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-21544CE65FCD90DD' {
  159.     savedefault
  160.     insmod part_msdos
  161.     insmod ntfs
  162.     set root='hd0,msdos1'
  163.     if [ x$feature_platform_search_hint = xy ]; then
  164.       search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  21544CE65FCD90DD
  165.     else
  166.       search --no-floppy --fs-uuid --set=root 21544CE65FCD90DD
  167.     fi
  168.     drivemap -s (hd0) ${root}
  169.     chainloader +1
  170. }
  171. menuentry 'Arch (на /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-db028235-fbc3-4614-bfae-7c4feec3c0de' {
  172.     savedefault
  173.     insmod part_msdos
  174.     insmod ext2
  175.     set root='hd0,msdos2'
  176.     if [ x$feature_platform_search_hint = xy ]; then
  177.       search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  db028235-fbc3-4614-bfae-7c4feec3c0de
  178.     else
  179.       search --no-floppy --fs-uuid --set=root db028235-fbc3-4614-bfae-7c4feec3c0de
  180.     fi
  181.     linux /boot/vmlinuz-linux root=/dev/sda2
  182.     initrd /boot/initramfs-linux.img
  183. }
  184. submenu 'Дополнительные параметры для Arch (на /dev/sda2)' $menuentry_id_option 'osprober-gnulinux-advanced-db028235-fbc3-4614-bfae-7c4feec3c0de' {
  185.     menuentry 'Arch (на /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-linux--db028235-fbc3-4614-bfae-7c4feec3c0de' {
  186.         savedefault
  187.         insmod part_msdos
  188.         insmod ext2
  189.         set root='hd0,msdos2'
  190.         if [ x$feature_platform_search_hint = xy ]; then
  191.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  db028235-fbc3-4614-bfae-7c4feec3c0de
  192.         else
  193.           search --no-floppy --fs-uuid --set=root db028235-fbc3-4614-bfae-7c4feec3c0de
  194.         fi
  195.         linux /boot/vmlinuz-linux root=/dev/sda2
  196.         initrd /boot/initramfs-linux.img
  197.     }
  198. }
  199.  
  200. ### END /etc/grub.d/30_os-prober ###
  201.  
  202. ### BEGIN /etc/grub.d/40_custom ###
  203. # This file provides an easy way to add custom menu entries.  Simply type the
  204. # menu entries you want to add after this comment.  Be careful not to change
  205. # the 'exec tail' line above.
  206. ### END /etc/grub.d/40_custom ###
  207.  
  208. ### BEGIN /etc/grub.d/41_custom ###
  209. if [ -f  ${config_directory}/custom.cfg ]; then
  210.   source ${config_directory}/custom.cfg
  211. elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  212.   source $prefix/custom.cfg;
  213. fi
  214. ### END /etc/grub.d/41_custom ###
  215.  
  216. ### BEGIN /etc/grub.d/60_memtest86+ ###
  217. ### END /etc/grub.d/60_memtest86+ ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement