Facebook
From n, 8 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 394
  1. function load_video {
  2.   if [ x$feature_all_video_module = xy ]; then
  3.     insmod all_video
  4.   else
  5.     insmod efi_gop
  6.     insmod efi_uga
  7.     insmod ieee1275_fb
  8.     insmod vbe
  9.     insmod vga
  10.     insmod video_bochs
  11.     insmod video_cirrus
  12.   fi
  13. }
  14.  
  15. if [ x$feature_default_font_path = xy ] ; then
  16.    font=unicode
  17. else
  18. insmod part_msdos
  19. insmod ext2
  20. set root='hd0,msdos1'
  21. if [ x$feature_platform_search_hint = xy ]; then
  22.   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  792b7b48-0c76-47f9-bf1d-887793938071
  23. else
  24.   search --no-floppy --fs-uuid --set=root 792b7b48-0c76-47f9-bf1d-887793938071
  25. fi
  26.     font="/usr/share/grub/unicode.pf2"
  27. fi
  28.  
  29. if loadfont $font ; then
  30.   set gfxmode=auto
  31.   load_video
  32.   insmod gfxterm
  33.   set locale_dir=$prefix/locale
  34.   set lang=pl_PL
  35.   insmod gettext
  36. fi
  37. terminal_output gfxterm
  38. insmod part_msdos
  39. insmod ext2
  40. set root='hd0,msdos1'
  41. if [ x$feature_platform_search_hint = xy ]; then
  42.   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  792b7b48-0c76-47f9-bf1d-887793938071
  43. else
  44.   search --no-floppy --fs-uuid --set=root 792b7b48-0c76-47f9-bf1d-887793938071
  45. fi
  46. insmod png
  47. background_image -m stretch /opt/NeteXt73/menu/grub_background.png
  48. if [ "${recordfail}" = 1 ] ; then
  49.   set timeout=30
  50. else
  51.   if [ x$feature_timeout_style = xy ] ; then
  52.     set timeout_style=menu
  53.     set timeout=5
  54.   # Fallback normal timeout code in case the timeout_style feature is
  55.   # unavailable.
  56.   else
  57.     set timeout=5
  58.   fi
  59. fi
  60. ### END /etc/grub.d/00_header ###
  61.  
  62. ### BEGIN /etc/grub.d/05_debian_theme ###
  63. insmod part_msdos
  64. insmod ext2
  65. set root='hd0,msdos1'
  66. if [ x$feature_platform_search_hint = xy ]; then
  67.   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  792b7b48-0c76-47f9-bf1d-887793938071
  68. else
  69.   search --no-floppy --fs-uuid --set=root 792b7b48-0c76-47f9-bf1d-887793938071
  70. fi
  71. insmod png
  72.  
  73.  
  74. ### BEGIN /etc/grub.d/10_linux ###
  75. function gfxmode {
  76.         set gfxpayload="${1}"
  77. }
  78. set linux_gfx_mode=
  79. export linux_gfx_mode
  80. menuentry 'GNU/Linux' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-792b7b48-0c76-47f9-bf1d-887793938071' {
  81.         load_video
  82.         insmod gzio
  83.         if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  84.         insmod part_msdos
  85.         insmod ext2
  86.         set root='hd0,msdos1'
  87.         if [ x$feature_platform_search_hint = xy ]; then
  88.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  792b7b48-0c76-47f9-bf1d-887793938071
  89.         else
  90.           search --no-floppy --fs-uuid --set=root 792b7b48-0c76-47f9-bf1d-887793938071
  91.         fi
  92.         echo    'Wczytywanie systemu Linux 3.19.8-ext73-34.8-k8...'
  93.         linux   /boot/vmlinuz-3.19.8-ext73-34.8-k8 root=UUID=792b7b48-0c76-47f9-bf1d-887793938071 ro
  94.         echo    'Wczytywanie początkowego dysku RAM...'
  95.         initrd  /boot/initrd.img-3.19.8-ext73-34.8-k8
  96. }
  97.  
  98.