Advertisement
userspc

Untitled

Jul 18th, 2019
289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.12 KB | None | 0 0
  1. # DO NOT EDIT THIS FILE
  2. #
  3. # It is automatically generated by grub-mkconfig using templates
  4. # from /etc/grub.d and settings from /etc/default/grub
  5. #
  6.  
  7. ### BEGIN /etc/grub.d/00_header ###
  8. if [ -s $prefix/grubenv ]; then
  9. load_env
  10. fi
  11. if [ "${next_entry}" ] ; then
  12. set default="${next_entry}"
  13. set next_entry=
  14. save_env next_entry
  15. set boot_once=true
  16. else
  17. set default="0"
  18. fi
  19.  
  20. if [ x"${feature_menuentry_id}" = xy ]; then
  21. menuentry_id_option="--id"
  22. else
  23. menuentry_id_option=""
  24. fi
  25.  
  26. export menuentry_id_option
  27.  
  28. if [ "${prev_saved_entry}" ]; then
  29. set saved_entry="${prev_saved_entry}"
  30. save_env saved_entry
  31. set prev_saved_entry=
  32. save_env prev_saved_entry
  33. set boot_once=true
  34. fi
  35.  
  36. function savedefault {
  37. if [ -z "${boot_once}" ]; then
  38. saved_entry="${chosen}"
  39. save_env saved_entry
  40. fi
  41. }
  42.  
  43. function load_video {
  44. if [ x$feature_all_video_module = xy ]; then
  45. insmod all_video
  46. else
  47. insmod efi_gop
  48. insmod efi_uga
  49. insmod ieee1275_fb
  50. insmod vbe
  51. insmod vga
  52. insmod video_bochs
  53. insmod video_cirrus
  54. fi
  55. }
  56.  
  57. if [ x$feature_default_font_path = xy ] ; then
  58. font=unicode
  59. else
  60. insmod part_msdos
  61. insmod ext2
  62. set root='hd0,msdos1'
  63. if [ x$feature_platform_search_hint = xy ]; then
  64. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 fee9b9fa-4f73-4571-bc00-90b6b9f208d0
  65. else
  66. search --no-floppy --fs-uuid --set=root fee9b9fa-4f73-4571-bc00-90b6b9f208d0
  67. fi
  68. font="/usr/share/grub/unicode.pf2"
  69. fi
  70.  
  71. if loadfont $font ; then
  72. set gfxmode=auto
  73. load_video
  74. insmod gfxterm
  75. fi
  76. terminal_output gfxterm
  77. if [ x$feature_timeout_style = xy ] ; then
  78. set timeout_style=menu
  79. set timeout=5
  80. # Fallback normal timeout code in case the timeout_style feature is
  81. # unavailable.
  82. else
  83. set timeout=5
  84. fi
  85. ### END /etc/grub.d/00_header ###
  86.  
  87. ### BEGIN /etc/grub.d/10_linux ###
  88. menuentry 'Gentoo GNU/Linux' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-fee9b9fa-4f73-4571-bc00-90b6b9f208d0' {
  89. load_video
  90. if [ "x$grub_platform" = xefi ]; then
  91. set gfxpayload=keep
  92. fi
  93. insmod gzio
  94. insmod part_msdos
  95. insmod ext2
  96. set root='hd0,msdos1'
  97. if [ x$feature_platform_search_hint = xy ]; then
  98. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 fee9b9fa-4f73-4571-bc00-90b6b9f208d0
  99. else
  100. search --no-floppy --fs-uuid --set=root fee9b9fa-4f73-4571-bc00-90b6b9f208d0
  101. fi
  102. echo 'Loading Linux 3.16.70 ...'
  103. linux /boot/vmlinuz-3.16.70 root=UUID=fee9b9fa-4f73-4571-bc00-90b6b9f208d0 ro
  104. echo 'Loading initial ramdisk ...'
  105. initrd /boot/initramfs-genkernel-x86_64-3.16.70
  106. }
  107. submenu 'Advanced options for Gentoo GNU/Linux' $menuentry_id_option 'gnulinux-advanced-fee9b9fa-4f73-4571-bc00-90b6b9f208d0' {
  108. menuentry 'Gentoo GNU/Linux, with Linux 3.16.70' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.70-advanced-fee9b9fa-4f73-4571-bc00-90b6b9f208d0' {
  109. load_video
  110. if [ "x$grub_platform" = xefi ]; then
  111. set gfxpayload=keep
  112. fi
  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 fee9b9fa-4f73-4571-bc00-90b6b9f208d0
  119. else
  120. search --no-floppy --fs-uuid --set=root fee9b9fa-4f73-4571-bc00-90b6b9f208d0
  121. fi
  122. echo 'Loading Linux 3.16.70 ...'
  123. linux /boot/vmlinuz-3.16.70 root=UUID=fee9b9fa-4f73-4571-bc00-90b6b9f208d0 ro
  124. echo 'Loading initial ramdisk ...'
  125. initrd /boot/initramfs-genkernel-x86_64-3.16.70
  126. }
  127. menuentry 'Gentoo GNU/Linux, with Linux 3.16.70 (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.70-recovery-fee9b9fa-4f73-4571-bc00-90b6b9f208d0' {
  128. load_video
  129. if [ "x$grub_platform" = xefi ]; then
  130. set gfxpayload=keep
  131. fi
  132. insmod gzio
  133. insmod part_msdos
  134. insmod ext2
  135. set root='hd0,msdos1'
  136. if [ x$feature_platform_search_hint = xy ]; then
  137. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 fee9b9fa-4f73-4571-bc00-90b6b9f208d0
  138. else
  139. search --no-floppy --fs-uuid --set=root fee9b9fa-4f73-4571-bc00-90b6b9f208d0
  140. fi
  141. echo 'Loading Linux 3.16.70 ...'
  142. linux /boot/vmlinuz-3.16.70 root=UUID=fee9b9fa-4f73-4571-bc00-90b6b9f208d0 ro single
  143. echo 'Loading initial ramdisk ...'
  144. initrd /boot/initramfs-genkernel-x86_64-3.16.70
  145. }
  146. }
  147.  
  148. ### END /etc/grub.d/10_linux ###
  149.  
  150. ### BEGIN /etc/grub.d/20_linux_xen ###
  151.  
  152. ### END /etc/grub.d/20_linux_xen ###
  153.  
  154. ### BEGIN /etc/grub.d/30_os-prober ###
  155. ### END /etc/grub.d/30_os-prober ###
  156.  
  157. ### BEGIN /etc/grub.d/40_custom ###
  158. # This file provides an easy way to add custom menu entries. Simply type the
  159. # menu entries you want to add after this comment. Be careful not to change
  160. # the 'exec tail' line above.
  161. ### END /etc/grub.d/40_custom ###
  162.  
  163. ### BEGIN /etc/grub.d/41_custom ###
  164. if [ -f ${config_directory}/custom.cfg ]; then
  165. source ${config_directory}/custom.cfg
  166. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  167. source $prefix/custom.cfg;
  168. fi
  169. ### END /etc/grub.d/41_custom ###
  170.  
  171. очень надеюсь что дадите ответ
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement