Advertisement
Guest User

Untitled

a guest
Dec 29th, 2013
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 5.06 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.  
  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. set color_normal=white/light-blue
  61. set color_highlight=light-blue/white
  62. set menu_color_normal=white/light-blue
  63. set menu_color_highlight=light-blue/white
  64.  
  65. if [ x$feature_default_font_path = xy ] ; then
  66.    font=unicode
  67. else
  68. insmod part_msdos
  69. insmod ext2
  70. set root='hd0,msdos8'
  71. if [ x$feature_platform_search_hint = xy ]; then
  72.   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  a15cfca7-2c13-4db7-bd5d-3abd3cf33bfc
  73. else
  74.   search --no-floppy --fs-uuid --set=root a15cfca7-2c13-4db7-bd5d-3abd3cf33bfc
  75. fi
  76.     font="/usr/share/grub/unicode.pf2"
  77. fi
  78.  
  79. if loadfont $font ; then
  80.   set gfxmode=1024x768x32 # when I comment or remove this and the following line, I get what I described in the post
  81.   set gfxpayload=auto
  82.   load_video
  83.   insmod gfxterm
  84.   set locale_dir=$prefix/locale
  85.   set lang=pl_PL
  86.   insmod gettext
  87. fi
  88. terminal_input console
  89. terminal_output gfxterm
  90. set timeout=5
  91. ### END /etc/grub.d/00_header ###
  92.  
  93. ### BEGIN /etc/grub.d/10_linux ###
  94. menuentry 'Arch Linux, za pomocą systemu Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-a15cfca7-2c13-4db7-bd5d-3abd3cf33bfc' {
  95.     load_video
  96.     set gfxpayload=keep
  97.     insmod gzio
  98.     insmod part_msdos
  99.     insmod ext2
  100.     set root='hd0,msdos8'
  101.     if [ x$feature_platform_search_hint = xy ]; then
  102.       search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  a15cfca7-2c13-4db7-bd5d-3abd3cf33bfc
  103.     else
  104.       search --no-floppy --fs-uuid --set=root a15cfca7-2c13-4db7-bd5d-3abd3cf33bfc
  105.     fi
  106.     echo    'Wczytywanie systemu Linux core repo kernel...'
  107.     linux   /boot/vmlinuz-linux root=UUID=a15cfca7-2c13-4db7-bd5d-3abd3cf33bfc rw radeon quiet
  108.     echo    'Wczytywanie początkowego dysku RAM...'
  109.     initrd  /boot/initramfs-linux.img
  110. }
  111. menuentry 'Arch 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-a15cfca7-2c13-4db7-bd5d-3abd3cf33bfc' {
  112.     load_video
  113.     set gfxpayload=keep
  114.     insmod gzio
  115.     insmod part_msdos
  116.     insmod ext2
  117.     set root='hd0,msdos8'
  118.     if [ x$feature_platform_search_hint = xy ]; then
  119.       search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  a15cfca7-2c13-4db7-bd5d-3abd3cf33bfc
  120.     else
  121.       search --no-floppy --fs-uuid --set=root a15cfca7-2c13-4db7-bd5d-3abd3cf33bfc
  122.     fi
  123.     echo    'Wczytywanie systemu Linux core repo kernel...'
  124.     linux   /boot/vmlinuz-linux root=UUID=a15cfca7-2c13-4db7-bd5d-3abd3cf33bfc rw radeon quiet
  125.     echo    'Wczytywanie początkowego dysku RAM...'
  126.     initrd  /boot/initramfs-linux-fallback.img
  127. }
  128.  
  129. ### END /etc/grub.d/10_linux ###
  130.  
  131. ### BEGIN /etc/grub.d/20_linux_xen ###
  132. ### END /etc/grub.d/20_linux_xen ###
  133.  
  134. ### BEGIN /etc/grub.d/30_os-prober ###
  135. menuentry 'Windows 7 (loader) (na /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-BE8091BE80917E19' {
  136.     insmod part_msdos
  137.     insmod ntfs
  138.     set root='hd0,msdos1'
  139.     if [ x$feature_platform_search_hint = xy ]; then
  140.       search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  BE8091BE80917E19
  141.     else
  142.       search --no-floppy --fs-uuid --set=root BE8091BE80917E19
  143.     fi
  144.     chainloader +1
  145. }
  146. ### END /etc/grub.d/30_os-prober ###
  147.  
  148. ### BEGIN /etc/grub.d/40_custom ###
  149. # This file provides an easy way to add custom menu entries.  Simply type the
  150. # menu entries you want to add after this comment.  Be careful not to change
  151. # the 'exec tail' line above.
  152. ### END /etc/grub.d/40_custom ###
  153.  
  154. ### BEGIN /etc/grub.d/41_custom ###
  155. if [ -f  ${config_directory}/custom.cfg ]; then
  156.   source ${config_directory}/custom.cfg
  157. elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  158.   source $prefix/custom.cfg;
  159. fi
  160. ### END /etc/grub.d/41_custom ###
  161.  
  162. ### BEGIN /etc/grub.d/60_memtest86+ ###
  163. ### END /etc/grub.d/60_memtest86+ ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement