gaitapi

grub samsung desde trisquel 1 juni

Apr 17th, 2019
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.67 KB | None | 0 0
  1. #
  2. # DO NOT EDIT THIS FILE jajajjajaja versòn de 1 de junio de2019
  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=white/green
  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. #########################################################################################
  154. menuentry 'FreeBSD CURRENT nac nac' --class os {
  155. set root='(hd1,7)'
  156. chainloader +1
  157. }
  158. #########################################################################################
  159. menuentry "Android 4.4"{
  160. set root='(hd1,4)'
  161. 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
  162. initrd /android-4.4-r1/initrd.img
  163. }
  164. #########################################################################################
  165.  
  166. menuentry "Trisquel GNU/Linux" --class trisquel --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-simple-43fe92b0-a108-4849-aec1-bf8e4f8b24e5' {
  167. load_video
  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. echo 'Cargando Linux 3.13.0-165-generic ...'
  178. linux /boot/vmlinuz-3.13.0-165-generic root=UUID=43fe92b0-a108-4849-aec1-bf8e4f8b24e5 ro quiet splash nomdmonddf nomdmonisw nomdmonddf nomdmonisw
  179. echo 'Cargando el disco RAM inicial...'
  180. initrd /boot/initrd.img-3.13.0-165-generic
  181. }
  182. #########################################################################################
  183. function gfxmode {
  184. set gfxpayload="${1}"
  185. }
  186. set linux_gfx_mode=
  187. export linux_gfx_mode
  188. #########################################################################################
  189. 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' {
  190. insmod part_gpt
  191. insmod ext2
  192. set root='hd0,gpt1'
  193. if [ x$feature_platform_search_hint = xy ]; then
  194. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 716acec8-3c08-4441-895c-8722d545c5b8
  195. else
  196. search --no-floppy --fs-uuid --set=root 716acec8-3c08-4441-895c-8722d545c5b8
  197. fi
  198. linux /boot/vmlinuz-huge-4.4.14 root=/dev/sda1 ro
  199. }
  200.  
  201.  
  202. menuentry 'Puppy Linux distribution' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-87513582-d396-4e21-95d5-b9ffc3d0a3c7' {
  203. insmod part_gpt
  204. insmod ext2
  205. set root='hd0,gpt5'
  206. if [ x$feature_platform_search_hint = xy ]; then
  207. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 87513582-d396-4e21-95d5-b9ffc3d0a3c7
  208. else
  209. search --no-floppy --fs-uuid --set=root 87513582-d396-4e21-95d5-b9ffc3d0a3c7
  210. fi
  211. linux /boot/vmlinuz root=/dev/sda5
  212. initrd /boot/initrd.gz
  213. }
  214.  
  215.  
  216. 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' {
  217. insmod part_gpt
  218. insmod ext2
  219. set root='hd0,gpt9'
  220. if [ x$feature_platform_search_hint = xy ]; then
  221. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt9 --hint-efi=hd0,gpt9 --hint-baremetal=ahci0,gpt9 a1234900-24d3-44bc-9a66-f8758fdd77dd
  222. else
  223. search --no-floppy --fs-uuid --set=root a1234900-24d3-44bc-9a66-f8758fdd77dd
  224. fi
  225. linux /boot/vmlinuz-4.18.0-17-generic root=UUID=a1234900-24d3-44bc-9a66-f8758fdd77dd ro quiet splash $vt_handoff
  226. initrd /boot/initrd.img-4.18.0-17-generic
  227. }
  228.  
  229.  
  230. set timeout_style=menu
  231. if [ "${timeout}" = 0 ]; then
  232. set timeout=10
  233. fi
  234.  
  235.  
  236. ### END /etc/grub.d/40_custom ###
  237.  
  238. ### BEGIN /etc/grub.d/42_custom ###
  239. if [ -f ${config_directory}/custom.cfg ]; then
  240. source ${config_directory}/custom.cfg
  241. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  242. source $prefix/custom.cfg;
  243. fi
  244. ### END /etc/grub.d/42_custom ###
  245.  
  246. ### BEGIN /etc/grub.d/45_os-prober_proxy ###
  247. m
  248.  
  249.  
  250. ### END /etc/grub.d/45_os-prober_proxy ###
Advertisement
Add Comment
Please, Sign In to add comment