gaitapi

grub samsung

Apr 15th, 2019
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.49 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. if [ -s $prefix/grubenv ]; then
  10. set have_grubenv=true
  11. load_env
  12. fi
  13. if [ "${next_entry}" ] ; then
  14. set default="${next_entry}"
  15. set next_entry=
  16. save_env next_entry
  17. set boot_once=true
  18. else
  19. set default="0"
  20. fi
  21.  
  22. if [ x"${feature_menuentry_id}" = xy ]; then
  23. menuentry_id_option="--id"
  24. else
  25. menuentry_id_option=""
  26. fi
  27.  
  28. export menuentry_id_option
  29.  
  30. if [ "${prev_saved_entry}" ]; then
  31. set saved_entry="${prev_saved_entry}"
  32. save_env saved_entry
  33. set prev_saved_entry=
  34. save_env prev_saved_entry
  35. set boot_once=true
  36. fi
  37.  
  38. function savedefault {
  39. if [ -z "${boot_once}" ]; then
  40. saved_entry="${chosen}"
  41. save_env saved_entry
  42. fi
  43. }
  44. function recordfail {
  45. set recordfail=1
  46. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  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_gpt
  66. insmod ext2
  67. set root='hd0,gpt3'
  68. if [ x$feature_platform_search_hint = xy ]; then
  69. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 43fe92b0-a108-4849-aec1-bf8e4f8b24e5
  70. else
  71. search --no-floppy --fs-uuid --set=root 43fe92b0-a108-4849-aec1-bf8e4f8b24e5
  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=es_UY
  82. insmod gettext
  83. fi
  84. terminal_output gfxterm
  85. if [ "${recordfail}" = 1 ] ; then
  86. set timeout=30
  87. else
  88. if [ x$feature_timeout_style = xy ] ; then
  89. set timeout_style=menu
  90. set timeout=3
  91. # Fallback normal timeout code in case the timeout_style feature is
  92. # unavailable.
  93. else
  94. set timeout=3
  95. fi
  96. fi
  97. ### END /etc/grub.d/00_header ###
  98.  
  99. ### BEGIN /etc/grub.d/01_PASSWORD ###
  100. ### END /etc/grub.d/01_PASSWORD ###
  101.  
  102. ### BEGIN /etc/grub.d/05_debian_theme ###
  103. insmod part_gpt
  104. insmod ext2
  105. set root='hd0,gpt3'
  106. if [ x$feature_platform_search_hint = xy ]; then
  107. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 43fe92b0-a108-4849-aec1-bf8e4f8b24e5
  108. else
  109. search --no-floppy --fs-uuid --set=root 43fe92b0-a108-4849-aec1-bf8e4f8b24e5
  110. fi
  111. insmod jpeg
  112. if background_image /boot/grub/arch.jpg; then
  113. true
  114. else
  115. set menu_color_normal=white/black
  116. set menu_color_highlight=black/light-gray
  117. fi
  118. ### END /etc/grub.d/05_debian_theme ###
  119.  
  120. ### BEGIN /etc/grub.d/06_trisquel_theme ###
  121. set menu_color_normal=blue/white
  122. set menu_color_highlight=black/light-gray
  123. ### END /etc/grub.d/06_trisquel_theme ###
  124.  
  125. ### BEGIN /etc/grub.d/10_linux ###
  126. function gfxmode {
  127. set gfxpayload="${1}"
  128. if [ "${1}" = "keep" ]; then
  129. set vt_handoff=vt.handoff=7
  130. else
  131. set vt_handoff=
  132. fi
  133. }
  134. if [ "${recordfail}" != 1 ]; then
  135. if [ -e ${prefix}/gfxblacklist.txt ]; then
  136. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  137. if [ ${match} = 0 ]; then
  138. set linux_gfx_mode=keep
  139. else
  140. set linux_gfx_mode=text
  141. fi
  142. else
  143. set linux_gfx_mode=text
  144. fi
  145. else
  146. set linux_gfx_mode=keep
  147. fi
  148. else
  149. set linux_gfx_mode=text
  150. fi
  151. export linux_gfx_mode
  152. #########################################################################################
  153. menuentry 'FreeBSD CURRENT' --class os {
  154. set root='(hd1,7)'
  155. chainloader +1
  156. }
  157. #########################################################################################
  158. menuentry "Android 4.4"{
  159. set root='(hd1,4)'
  160. linux /android-4.4-r1/kernel quiet root=/dev/ram0 androidboot.hardware=android_x86 acpi_sleep=s3bios, s3_mode pci=nocrs SRC=/android-4.4-r1
  161. initrd /android-4.4-r1/initrd.img
  162. }
  163. #########################################################################################
  164. menuentry 'Trisquel GNU/Linux' --class trisquel --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-simple-43fe92b0-a108-4849-aec1-bf8e4f8b24e5' {
  165. recordfail
  166. load_video
  167. gfxmode $linux_gfx_mode
  168. insmod gzio
  169. insmod part_gpt
  170. insmod ext2
  171. set root='hd0,gpt3'
  172. if [ x$feature_platform_search_hint = xy ]; then
  173. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 43fe92b0-a108-4849-aec1-bf8e4f8b24e5
  174. else
  175. search --no-floppy --fs-uuid --set=root 43fe92b0-a108-4849-aec1-bf8e4f8b24e5
  176. fi
  177. linux /boot/vmlinuz-3.13.0-157-generic root=UUID=43fe92b0-a108-4849-aec1-bf8e4f8b24e5 ro quiet splash nomdmonddf nomdmonisw nomdmonddf nomdmonisw $vt_handoff
  178. initrd /boot/initrd.img-3.13.0-157-generic
  179. }
  180. #########################################################################################
  181. function gfxmode {
  182. set gfxpayload="${1}"
  183. }
  184. set linux_gfx_mode=
  185. export linux_gfx_mode
  186. #########################################################################################
  187. menuentry 'Slackware Linux (Slackware 14.2) (en /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-716acec8-3c08-4441-895c-8722d545c5b8' {
  188. insmod part_gpt
  189. insmod ext2
  190. set root='hd0,gpt1'
  191. if [ x$feature_platform_search_hint = xy ]; then
  192. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 716acec8-3c08-4441-895c-8722d545c5b8
  193. else
  194. search --no-floppy --fs-uuid --set=root 716acec8-3c08-4441-895c-8722d545c5b8
  195. fi
  196. linux /boot/vmlinuz-huge-4.4.14 root=/dev/sda1 ro
  197. }
  198.  
  199.  
  200. menuentry 'Puppy Linux distribution' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-87513582-d396-4e21-95d5-b9ffc3d0a3c7' {
  201. insmod part_gpt
  202. insmod ext2
  203. set root='hd0,gpt5'
  204. if [ x$feature_platform_search_hint = xy ]; then
  205. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 87513582-d396-4e21-95d5-b9ffc3d0a3c7
  206. else
  207. search --no-floppy --fs-uuid --set=root 87513582-d396-4e21-95d5-b9ffc3d0a3c7
  208. fi
  209. linux /boot/vmlinuz root=/dev/sda5
  210. initrd /boot/initrd.gz
  211. }
  212.  
  213.  
  214. menuentry 'Ubuntu 18.04.2 LTS (18.04) (en /dev/sda9)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-a1234900-24d3-44bc-9a66-f8758fdd77dd' {
  215. insmod part_gpt
  216. insmod ext2
  217. set root='hd0,gpt9'
  218. if [ x$feature_platform_search_hint = xy ]; then
  219. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt9 --hint-efi=hd0,gpt9 --hint-baremetal=ahci0,gpt9 a1234900-24d3-44bc-9a66-f8758fdd77dd
  220. else
  221. search --no-floppy --fs-uuid --set=root a1234900-24d3-44bc-9a66-f8758fdd77dd
  222. fi
  223. linux /boot/vmlinuz-4.18.0-17-generic root=UUID=a1234900-24d3-44bc-9a66-f8758fdd77dd ro quiet splash $vt_handoff
  224. initrd /boot/initrd.img-4.18.0-17-generic
  225. }
  226.  
  227.  
  228. set timeout_style=menu
  229. if [ "${timeout}" = 0 ]; then
  230. set timeout=10
  231. fi
  232.  
  233.  
  234. ### END /etc/grub.d/40_custom ###
  235.  
  236. ### BEGIN /etc/grub.d/42_custom ###
  237. if [ -f ${config_directory}/custom.cfg ]; then
  238. source ${config_directory}/custom.cfg
  239. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  240. source $prefix/custom.cfg;
  241. fi
  242. ### END /etc/grub.d/42_custom ###
  243.  
  244. ### BEGIN /etc/grub.d/45_os-prober_proxy ###
  245. m
  246.  
  247.  
  248. ### END /etc/grub.d/45_os-prober_proxy ###
Advertisement
Add Comment
Please, Sign In to add comment