Advertisement
Guest User

Untitled

a guest
Jan 21st, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 6.87 KB | None | 0 0
  1. [madmandarin@madmandarinLinux Downloads]$ sudo grub-mkconfig
  2. Генерируется файл настройки grub …
  3. #
  4. # DO NOT EDIT THIS FILE
  5. #
  6. # It is automatically generated by grub-mkconfig using templates
  7. # from /etc/grub.d and settings from /etc/default/grub
  8. #
  9.  
  10. ### BEGIN /etc/grub.d/00_header ###
  11. insmod part_gpt
  12. insmod part_msdos
  13. if [ -s $prefix/grubenv ]; then
  14.   load_env
  15. fi
  16. if [ "${next_entry}" ] ; then
  17.    set default="${next_entry}"
  18.    set next_entry=
  19.    save_env next_entry
  20.    set boot_once=true
  21. else
  22.    set default="0"
  23. fi
  24.  
  25. if [ x"${feature_menuentry_id}" = xy ]; then
  26.   menuentry_id_option="--id"
  27. else
  28.   menuentry_id_option=""
  29. fi
  30.  
  31. export menuentry_id_option
  32.  
  33. if [ "${prev_saved_entry}" ]; then
  34.   set saved_entry="${prev_saved_entry}"
  35.   save_env saved_entry
  36.   set prev_saved_entry=
  37.   save_env prev_saved_entry
  38.   set boot_once=true
  39. fi
  40.  
  41. function savedefault {
  42.   if [ -z "${boot_once}" ]; then
  43.     saved_entry="${chosen}"
  44.     save_env saved_entry
  45.   fi
  46. }
  47.  
  48. function load_video {
  49.   if [ x$feature_all_video_module = xy ]; then
  50.     insmod all_video
  51.   else
  52.     insmod efi_gop
  53.     insmod efi_uga
  54.     insmod ieee1275_fb
  55.     insmod vbe
  56.     insmod vga
  57.     insmod video_bochs
  58.     insmod video_cirrus
  59.   fi
  60. }
  61.  
  62. if [ x$feature_default_font_path = xy ] ; then
  63.    font=unicode
  64. else
  65. insmod part_msdos
  66. insmod ext2
  67. set root='hd0,msdos4'
  68. if [ x$feature_platform_search_hint = xy ]; then
  69.   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4  f3bfaaed-4aa3-41f2-93b9-c1ac16a1fc0d
  70. else
  71.   search --no-floppy --fs-uuid --set=root f3bfaaed-4aa3-41f2-93b9-c1ac16a1fc0d
  72. fi
  73.     font="/usr/share/grub/unicode.pf2"
  74. fi
  75.  
  76. if loadfont $font ; then
  77.   set gfxmode=auto
  78.   load_video
  79.   insmod gfxterm
  80.   set locale_dir=$prefix/locale
  81.   set lang=ru_RU
  82.   insmod gettext
  83. fi
  84. terminal_input console
  85. terminal_output gfxterm
  86. if [ x$feature_timeout_style = xy ] ; then
  87.   set timeout_style=menu
  88.   set timeout=5
  89. # Fallback normal timeout code in case the timeout_style feature is
  90. # unavailable.
  91. else
  92.   set timeout=5
  93. fi
  94. ### END /etc/grub.d/00_header ###
  95.  
  96. ### BEGIN /etc/grub.d/10_linux ###
  97. Найден образ linux: /boot/vmlinuz-linux
  98. Found initrd image(s) in /boot: initramfs-linux.img
  99. menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-f3bfaaed-4aa3-41f2-93b9-c1ac16a1fc0d' {
  100.         load_video
  101.         set gfxpayload=keep
  102.         insmod gzio
  103.         insmod part_msdos
  104.         insmod ext2
  105.         set root='hd0,msdos4'
  106.         if [ x$feature_platform_search_hint = xy ]; then
  107.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4  f3bfaaed-4aa3-41f2-93b9-c1ac16a1fc0d
  108.         else
  109.           search --no-floppy --fs-uuid --set=root f3bfaaed-4aa3-41f2-93b9-c1ac16a1fc0d
  110.         fi
  111.         echo    'Загружается Linux linux …'
  112.         linux   /boot/vmlinuz-linux root=/dev/sda4 rw  quiet
  113.         echo    'Загружается начальный виртуальный диск …'
  114.         initrd  /boot/initramfs-linux.img
  115. }
  116. submenu 'Дополнительные параметры для Arch Linux' $menuentry_id_option 'gnulinux-advanced-f3bfaaed-4aa3-41f2-93b9-c1ac16a1fc0d' {
  117.         menuentry 'Arch Linux, с Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-f3bfaaed-4aa3-41f2-93b9-c1ac16a1fc0d' {
  118.                 load_video
  119.                 set gfxpayload=keep
  120.                 insmod gzio
  121.                 insmod part_msdos
  122.                 insmod ext2
  123.                 set root='hd0,msdos4'
  124.                 if [ x$feature_platform_search_hint = xy ]; then
  125.                   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4  f3bfaaed-4aa3-41f2-93b9-c1ac16a1fc0d
  126.                 else
  127.                   search --no-floppy --fs-uuid --set=root f3bfaaed-4aa3-41f2-93b9-c1ac16a1fc0d
  128.                 fi
  129.                 echo    'Загружается Linux linux …'
  130.                 linux   /boot/vmlinuz-linux root=/dev/sda4 rw  quiet
  131.                 echo    'Загружается начальный виртуальный диск …'
  132.                 initrd  /boot/initramfs-linux.img
  133.         }
  134. Found fallback initrd image(s) in /boot: initramfs-linux-fallback.img
  135.         menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-f3bfaaed-4aa3-41f2-93b9-c1ac16a1fc0d' {
  136.                 load_video
  137.                 set gfxpayload=keep
  138.                 insmod gzio
  139.                 insmod part_msdos
  140.                 insmod ext2
  141.                 set root='hd0,msdos4'
  142.                 if [ x$feature_platform_search_hint = xy ]; then
  143.                   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4  f3bfaaed-4aa3-41f2-93b9-c1ac16a1fc0d
  144.                 else
  145.                   search --no-floppy --fs-uuid --set=root f3bfaaed-4aa3-41f2-93b9-c1ac16a1fc0d
  146.                 fi
  147.                 echo    'Загружается Linux linux …'
  148.                 linux   /boot/vmlinuz-linux root=/dev/sda4 rw  quiet
  149.                 echo    'Загружается начальный виртуальный диск …'
  150.                 initrd  /boot/initramfs-linux-fallback.img
  151.         }
  152. }
  153.  
  154. ### END /etc/grub.d/10_linux ###
  155.  
  156. ### BEGIN /etc/grub.d/20_linux_xen ###
  157. ### END /etc/grub.d/20_linux_xen ###
  158.  
  159. ### BEGIN /etc/grub.d/30_os-prober ###
  160. Найден Windows 10 на /dev/sda1
  161. menuentry 'Windows 10 (на /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-A8962DA3962D734C' {
  162.         insmod part_msdos
  163.         insmod ntfs
  164.         set root='hd0,msdos1'
  165.         if [ x$feature_platform_search_hint = xy ]; then
  166.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  A8962DA3962D734C
  167.         else
  168.           search --no-floppy --fs-uuid --set=root A8962DA3962D734C
  169.         fi
  170.         parttool ${root} hidden-
  171.         drivemap -s (hd0) ${root}
  172.         chainloader +1
  173. }
  174. ### END /etc/grub.d/30_os-prober ###
  175.  
  176. ### BEGIN /etc/grub.d/40_custom ###
  177. # This file provides an easy way to add custom menu entries.  Simply type the
  178. # menu entries you want to add after this comment.  Be careful not to change
  179. # the 'exec tail' line above.
  180. ### END /etc/grub.d/40_custom ###
  181.  
  182. ### BEGIN /etc/grub.d/41_custom ###
  183. if [ -f  ${config_directory}/custom.cfg ]; then
  184.   source ${config_directory}/custom.cfg
  185. elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  186.   source $prefix/custom.cfg;
  187. fi
  188. ### END /etc/grub.d/41_custom ###
  189. завершено
  190. [madmandarin@madmandarinLinux Downloads]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement