Dodany przez: konfiguracja gruba - sojkin, 20:46 27-05-2014

Nowy Pobierz
  1. root@minotaur:/home/marcin# grub-mkconfig
  2. Generowanie grub.cfg...
  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. if [ -s $prefix/grubenv ]; then
  12.   set have_grubenv=true
  13.   load_env
  14. fi
  15. set default="0"
  16.  
  17. if [ x"${feature_menuentry_id}" = xy ]; then
  18.   menuentry_id_option="--id"
  19. else
  20.   menuentry_id_option=""
  21. fi
  22.  
  23. export menuentry_id_option
  24.  
  25. if [ "${prev_saved_entry}" ]; then
  26.   set saved_entry="${prev_saved_entry}"
  27.   save_env saved_entry
  28.   set prev_saved_entry=
  29.   save_env prev_saved_entry
  30.   set boot_once=true
  31. fi
  32.  
  33. function savedefault {
  34.   if [ -z "${boot_once}" ]; then
  35.     saved_entry="${chosen}"
  36.     save_env saved_entry
  37.   fi
  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='hd0,msdos5'
  59. if [ x$feature_platform_search_hint = xy ]; then
  60.   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  fdd3ad5b-f6be-45fa-9d42-6feb634db41e
  61. else
  62.   search --no-floppy --fs-uuid --set=root fdd3ad5b-f6be-45fa-9d42-6feb634db41e
  63. fi
  64.     font="/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=pl_PL
  73.   insmod gettext
  74. fi
  75. terminal_output gfxterm
  76. if [ "${recordfail}" = 1 ] ; then
  77.   set timeout=-1
  78. else
  79.   set timeout=5
  80. fi
  81. ### END /etc/grub.d/00_header ###
  82.  
  83. ### BEGIN /etc/grub.d/05_debian_theme ###
  84. insmod part_msdos
  85. insmod ext2
  86. set root='hd0,msdos5'
  87. if [ x$feature_platform_search_hint = xy ]; then
  88.   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  fdd3ad5b-f6be-45fa-9d42-6feb634db41e
  89. else
  90.   search --no-floppy --fs-uuid --set=root fdd3ad5b-f6be-45fa-9d42-6feb634db41e
  91. fi
  92. Found background image: /usr/share/images/desktop-base/desktop-grub.png
  93. insmod png
  94. if background_image /share/images/desktop-base/joy-grub.png; then
  95.   set color_normal=white/black
  96.   set color_highlight=black/white
  97. else
  98.   set menu_color_normal=cyan/blue
  99.   set menu_color_highlight=white/blue
  100. fi
  101. ### END /etc/grub.d/05_debian_theme ###
  102.  
  103. ### BEGIN /etc/grub.d/10_linux ###
  104. function gfxmode {
  105.         set gfxpayload="${1}"
  106. }
  107. set linux_gfx_mode=
  108. export linux_gfx_mode
  109. Znaleziono obraz Linuksa: /boot/vmlinuz-3.14-1-amd64
  110. Znaleziono obraz initrd: /boot/initrd.img-3.14-1-amd64
  111. menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-57dd620e-c319-49bc-9044-51d75a4bd869' {
  112.         load_video
  113.         insmod gzio
  114.         insmod part_msdos
  115.         insmod ext2
  116.         set root='hd0,msdos1'
  117.         if [ x$feature_platform_search_hint = xy ]; then
  118.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  57dd620e-c319-49bc-9044-51d75a4bd869
  119.         else
  120.           search --no-floppy --fs-uuid --set=root 57dd620e-c319-49bc-9044-51d75a4bd869
  121.         fi
  122.         echo    'Wczytywanie systemu Linux 3.14-1-amd64...'
  123.         linux   /boot/vmlinuz-3.14-1-amd64 root=UUID=57dd620e-c319-49bc-9044-51d75a4bd869 ro  quiet
  124.         echo    'Wczytywanie początkowego dysku RAM...'
  125.         initrd  /boot/initrd.img-3.14-1-amd64
  126. }
  127. submenu 'Opcje zaawansowane dla systemu Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-57dd620e-c319-49bc-9044-51d75a4bd869' {
  128.         menuentry 'Debian GNU/Linux, za pomocą systemu Linux 3.14-1-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.14-1-amd64-advanced-57dd620e-c319-49bc-9044-51d75a4bd869' {
  129.                 load_video
  130.                 insmod gzio
  131.                 insmod part_msdos
  132.                 insmod ext2
  133.                 set root='hd0,msdos1'
  134.                 if [ x$feature_platform_search_hint = xy ]; then
  135.                   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  57dd620e-c319-49bc-9044-51d75a4bd869
  136.                 else
  137.                   search --no-floppy --fs-uuid --set=root 57dd620e-c319-49bc-9044-51d75a4bd869
  138.                 fi
  139.                 echo    'Wczytywanie systemu Linux 3.14-1-amd64...'
  140.                 linux   /boot/vmlinuz-3.14-1-amd64 root=UUID=57dd620e-c319-49bc-9044-51d75a4bd869 ro  quiet
  141.                 echo    'Wczytywanie początkowego dysku RAM...'
  142.                 initrd  /boot/initrd.img-3.14-1-amd64
  143.         }
  144.         menuentry 'Debian GNU/Linux, with Linux 3.14-1-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.14-1-amd64-recovery-57dd620e-c319-49bc-9044-51d75a4bd869' {
  145.                 load_video
  146.                 insmod gzio
  147.                 insmod part_msdos
  148.                 insmod ext2
  149.                 set root='hd0,msdos1'
  150.                 if [ x$feature_platform_search_hint = xy ]; then
  151.                   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  57dd620e-c319-49bc-9044-51d75a4bd869
  152.                 else
  153.                   search --no-floppy --fs-uuid --set=root 57dd620e-c319-49bc-9044-51d75a4bd869
  154.                 fi
  155.                 echo    'Wczytywanie systemu Linux 3.14-1-amd64...'
  156.                 linux   /boot/vmlinuz-3.14-1-amd64 root=UUID=57dd620e-c319-49bc-9044-51d75a4bd869 ro single
  157.                 echo    'Wczytywanie początkowego dysku RAM...'
  158.                 initrd  /boot/initrd.img-3.14-1-amd64
  159.         }
  160. }
  161.  
  162. ### END /etc/grub.d/10_linux ###
  163.  
  164. ### BEGIN /etc/grub.d/20_linux_xen ###
  165.  
  166. ### END /etc/grub.d/20_linux_xen ###
  167.  
  168. ### BEGIN /etc/grub.d/30_os-prober ###
  169. ### END /etc/grub.d/30_os-prober ###
  170.  
  171. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  172. ### END /etc/grub.d/30_uefi-firmware ###
  173.  
  174. ### BEGIN /etc/grub.d/40_custom ###
  175. # This file provides an easy way to add custom menu entries.  Simply type the
  176. # menu entries you want to add after this comment.  Be careful not to change
  177. # the 'exec tail' line above.
  178. ### END /etc/grub.d/40_custom ###
  179.  
  180. ### BEGIN /etc/grub.d/41_custom ###
  181. if [ -f  ${config_directory}/custom.cfg ]; then
  182.   source ${config_directory}/custom.cfg
  183. elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  184.   source $prefix/custom.cfg;
  185. fi
  186. ### END /etc/grub.d/41_custom ###
  187. gotowe
  188. root@minotaur:/home/marcin# update-grub
  189. Generowanie grub.cfg...
  190. Found background image: /usr/share/images/desktop-base/desktop-grub.png
  191. Znaleziono obraz Linuksa: /boot/vmlinuz-3.14-1-amd64
  192. Znaleziono obraz initrd: /boot/initrd.img-3.14-1-amd64
  193. gotowe
  194. root@minotaur:/home/marcin#
  195.  

Źródło:

Ostatnie wpisy

Linki

Funkcje