gaitapi

grub ubuntu con bsd

Nov 20th, 2016
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.99 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_msdos
  66. insmod ext2
  67. set root='hd0,msdos6'
  68. if [ x$feature_platform_search_hint = xy ]; then
  69. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 a7f8deb8-336e-4cb7-a1c2-852ead214811
  70. else
  71. search --no-floppy --fs-uuid --set=root a7f8deb8-336e-4cb7-a1c2-852ead214811
  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=10
  91. # Fallback normal timeout code in case the timeout_style feature is
  92. # unavailable.
  93. else
  94. set timeout=10
  95. fi
  96. fi
  97. ### END /etc/grub.d/00_header ###
  98.  
  99. ### BEGIN /etc/grub.d/05_debian_theme ###
  100. set menu_color_normal=white/black
  101. set menu_color_highlight=black/light-gray
  102. if background_color 60,59,55; then
  103. clear
  104. fi
  105.  
  106. color_normal=light-gray/black
  107.  
  108. if [ -e ${prefix}/themes/ubuntu-mate/theme.txt ]; then
  109. insmod png
  110. theme=${prefix}/themes/ubuntu-mate/theme.txt
  111. fi
  112. ### END /etc/grub.d/05_debian_theme ###
  113.  
  114. ### BEGIN /etc/grub.d/10_linux ###
  115. function gfxmode {
  116. set gfxpayload="${1}"
  117. if [ "${1}" = "keep" ]; then
  118. set vt_handoff=vt.handoff=7
  119. else
  120. set vt_handoff=
  121. fi
  122. }
  123. if [ "${recordfail}" != 1 ]; then
  124. if [ -e ${prefix}/gfxblacklist.txt ]; then
  125. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  126. if [ ${match} = 0 ]; then
  127. set linux_gfx_mode=keep
  128. else
  129. set linux_gfx_mode=text
  130. fi
  131. else
  132. set linux_gfx_mode=text
  133. fi
  134. else
  135. set linux_gfx_mode=keep
  136. fi
  137. else
  138. set linux_gfx_mode=text
  139. fi
  140. export linux_gfx_mode
  141. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-a7f8deb8-336e-4cb7-a1c2-852ead214811' {
  142. recordfail
  143. load_video
  144. gfxmode $linux_gfx_mode
  145. insmod gzio
  146. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  147. insmod part_msdos
  148. insmod ext2
  149. set root='hd0,msdos6'
  150. if [ x$feature_platform_search_hint = xy ]; then
  151. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 a7f8deb8-336e-4cb7-a1c2-852ead214811
  152. else
  153. search --no-floppy --fs-uuid --set=root a7f8deb8-336e-4cb7-a1c2-852ead214811
  154. fi
  155. linux /boot/vmlinuz-4.4.0-21-generic root=UUID=a7f8deb8-336e-4cb7-a1c2-852ead214811 ro quiet splash $vt_handoff
  156. initrd /boot/initrd.img-4.4.0-21-generic
  157. }
  158.  
  159.  
  160. ### END /etc/grub.d/10_linux ###
  161.  
  162. ### BEGIN /etc/grub.d/20_linux_xen ###
  163.  
  164. ### END /etc/grub.d/20_linux_xen ###
  165.  
  166. ### BEGIN /etc/grub.d/20_memtest86+ ###
  167. menuentry 'Memory test (memtest86+)' {
  168. insmod part_msdos
  169. insmod ext2
  170. set root='hd0,msdos6'
  171. if [ x$feature_platform_search_hint = xy ]; then
  172. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 a7f8deb8-336e-4cb7-a1c2-852ead214811
  173. else
  174. search --no-floppy --fs-uuid --set=root a7f8deb8-336e-4cb7-a1c2-852ead214811
  175. fi
  176. knetbsd /boot/memtest86+.elf
  177. }
  178. menuentry 'Memory test (memtest86+, serial console 115200)' {
  179. insmod part_msdos
  180. insmod ext2
  181. set root='hd0,msdos6'
  182. if [ x$feature_platform_search_hint = xy ]; then
  183. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 a7f8deb8-336e-4cb7-a1c2-852ead214811
  184. else
  185. search --no-floppy --fs-uuid --set=root a7f8deb8-336e-4cb7-a1c2-852ead214811
  186. fi
  187. linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  188. }
  189. ### END /etc/grub.d/20_memtest86+ ###
  190.  
  191. ### BEGIN /etc/grub.d/30_os-prober ###
  192. #########################################################################################
  193. menuentry 'FreeBSD CURRENT' --class os {
  194. set root='(hd1,1)'
  195. chainloader +1
  196. }
  197. #########################################################################################
  198. menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-4f000b87-3816-4f44-a7b2-be08d03d83f9' {
  199. load_video
  200. set gfxpayload=keep
  201. insmod gzio
  202. insmod part_msdos
  203. insmod ext2
  204. set root='hd0,msdos10'
  205. if [ x$feature_platform_search_hint = xy ]; then
  206. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos10 --hint-efi=hd0,msdos10 --hint-baremetal=ahci0,msdos10 4f000b87-3816-4f44-a7b2-be08d03d83f9
  207. else
  208. search --no-floppy --fs-uuid --set=root 4f000b87-3816-4f44-a7b2-be08d03d83f9
  209. fi
  210. echo 'Cargando Linux linux...'
  211. linux /boot/vmlinuz-linux root=UUID=4f000b87-3816-4f44-a7b2-be08d03d83f9 rw quiet
  212. echo 'Cargando imagen de memoria inicial...'
  213. initrd /boot/intel-ucode.img /boot/initramfs-linux.img
  214. }
  215. #########################################################################################
  216. menuentry 'Trisquel GNU/Linux 7.0, Belenos (7.0) (en /dev/sda11)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-a0bb5b97-cb70-4a51-8391-4abcfec4617f' {
  217. insmod part_msdos
  218. insmod ext2
  219. set root='hd0,msdos11'
  220. if [ x$feature_platform_search_hint = xy ]; then
  221. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos11 --hint-efi=hd0,msdos11 --hint-baremetal=ahci0,msdos11 a0bb5b97-cb70-4a51-8391-4abcfec4617f
  222. else
  223. search --no-floppy --fs-uuid --set=root a0bb5b97-cb70-4a51-8391-4abcfec4617f
  224. fi
  225. linux /boot/vmlinuz-3.13.0-87-generic root=UUID=a0bb5b97-cb70-4a51-8391-4abcfec4617f ro quiet splash nomdmonddf nomdmonisw nomdmonddf nomdmonisw $vt_handoff
  226. initrd /boot/initrd.img-3.13.0-87-generic
  227. }
  228. #########################################################################################
  229. menuentry 'Slackware Linux (Slackware 14.2) (en /dev/sda12)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-90ac9577-1a28-4a5b-a957-9cc98a456cfe' {
  230. insmod part_msdos
  231. insmod ext2
  232. set root='hd0,msdos12'
  233. if [ x$feature_platform_search_hint = xy ]; then
  234. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos12 --hint-efi=hd0,msdos12 --hint-baremetal=ahci0,msdos12 90ac9577-1a28-4a5b-a957-9cc98a456cfe
  235. else
  236. search --no-floppy --fs-uuid --set=root 90ac9577-1a28-4a5b-a957-9cc98a456cfe
  237. fi
  238. linux /boot/vmlinuz-huge-4.4.14 root=/dev/sda12 ro
  239. }
  240. #########################################################################################
  241. menuentry 'Puppy Linux distribution (en /dev/sda13)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-87513582-d396-4e21-95d5-b9ffc3d0a3c7' {
  242. insmod part_msdos
  243. insmod ext2
  244. set root='hd0,msdos13'
  245. if [ x$feature_platform_search_hint = xy ]; then
  246. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos13 --hint-efi=hd0,msdos13 --hint-baremetal=ahci0,msdos13 87513582-d396-4e21-95d5-b9ffc3d0a3c7
  247. else
  248. search --no-floppy --fs-uuid --set=root 87513582-d396-4e21-95d5-b9ffc3d0a3c7
  249. fi
  250. linux /boot/vmlinuz root=/dev/sda13
  251. }
  252. #########################################################################################
  253. menuentry 'Sabayon GNU/Linux' --class sabayon --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-9b878968-2539-4092-bc2a-b0c3777bb2de' {
  254. load_video
  255. insmod gzio
  256. insmod part_msdos
  257. insmod ext2
  258. set root='hd0,msdos15'
  259. if [ x$feature_platform_search_hint = xy ]; then
  260. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos15 --hint-efi=hd0,msdos15 --hint-baremetal=ahci0,msdos15 --hint='hd0,msdos15' 9b878968-2539-4092-bc2a-b0c3777bb2de
  261. else
  262. search --no-floppy --fs-uuid --set=root 9b878968-2539-4092-bc2a-b0c3777bb2de
  263. fi
  264. echo 'Loading Linux x86_64-4.8.0-sabayon ...'
  265. linux /boot/kernel-genkernel-x86_64-4.8.0-sabayon root=UUID=9b878968-2539-4092-bc2a-b0c3777bb2de ro dolvm vconsole.font=latarcyrheb-sun16 resume=/dev/sda14 vga=791 splash vconsole.keymap=es quiet
  266. echo 'Loading initial ramdisk ...'
  267. initrd /boot/initramfs-genkernel-x86_64-4.8.0-sabayon
  268. }
  269. #########################################################################################
  270. menuentry 'Gentoo Base System release 2.2 (en /dev/sda17)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-315502fc-da76-4e43-9c2c-c4a6999245fd' {
  271. insmod part_msdos
  272. insmod ext2
  273. set root='hd0,msdos16'
  274. if [ x$feature_platform_search_hint = xy ]; then
  275. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos16 --hint-efi=hd0,msdos16 --hint-baremetal=ahci0,msdos16 07e9ec27-17fe-4e7d-8161-db5965678d6b
  276. else
  277. search --no-floppy --fs-uuid --set=root 07e9ec27-17fe-4e7d-8161-db5965678d6b
  278. fi
  279. linux /kernel-genkernel-x86_64-4.6.0-sabayon root=UUID=315502fc-da76-4e43-9c2c-c4a6999245fd ro resume=/dev/sda11 dolvm vconsole.keymap=es resume=/dev/sda18 splash vconsole.font=latarcyrheb-sun16 vga=791 quiet
  280. initrd /initramfs-genkernel-x86_64-4.6.0-sabayon
  281. }
  282. #########################################################################################
  283. menuentry 'Calculate Linux Desktop 15.17 KDE (en /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-d4ab053a-342e-4221-b0e8-2e00aa25dd33' {
  284. insmod part_msdos
  285. insmod ext2
  286. set root='hd0,msdos5'
  287. if [ x$feature_platform_search_hint = xy ]; then
  288. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 d4ab053a-342e-4221-b0e8-2e00aa25dd33
  289. else
  290. search --no-floppy --fs-uuid --set=root d4ab053a-342e-4221-b0e8-2e00aa25dd33
  291. fi
  292. linux /boot/vmlinuz-4.4.1-calculate root=UUID=d4ab053a-342e-4221-b0e8-2e00aa25dd33 ro zswap.enabled=1 zswap.compressor=lz4 zswap.max_pool_percent=30 video=1920x1080 real_resume=UUID=60b397d1-3562-47a0-a7e2-3539de7af019 elevator=cfq calculate=video:intel splash=silent,theme:calculate console=tty1 quiet
  293. initrd /boot/initramfs-4.4.1-calculate.img
  294. }
  295. #########################################################################################
  296. menuentry 'Parabola GNU/Linux-libre (rolling) (en /dev/sda7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-bf3978f9-459a-459f-9836-627f85f083b3' {
  297. insmod part_msdos
  298. insmod xfs
  299. set root='hd0,msdos7'
  300. if [ x$feature_platform_search_hint = xy ]; then
  301. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 bf3978f9-459a-459f-9836-627f85f083b3
  302. else
  303. search --no-floppy --fs-uuid --set=root bf3978f9-459a-459f-9836-627f85f083b3
  304. fi
  305. linux /boot/vmlinuz-linux-libre root=UUID=bf3978f9-459a-459f-9836-627f85f083b3 rw quiet
  306. initrd /boot/initramfs-linux-libre.img
  307. }
  308. submenu 'Opciones avanzadas para Parabola GNU/Linux-libre (rolling) (en /dev/sda7)' $menuentry_id_option 'osprober-gnulinux-advanced-bf3978f9-459a-459f-9836-627f85f083b3' {
  309. menuentry 'Parabola GNU/Linux-libre, linux-libre kernel_GRUB DE PARABOLA (en /dev/sda7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-linux-libre--bf3978f9-459a-459f-9836-627f85f083b3' {
  310. insmod part_msdos
  311. insmod xfs
  312. set root='hd0,msdos7'
  313. if [ x$feature_platform_search_hint = xy ]; then
  314. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 bf3978f9-459a-459f-9836-627f85f083b3
  315. else
  316. search --no-floppy --fs-uuid --set=root bf3978f9-459a-459f-9836-627f85f083b3
  317. fi
  318. linux /boot/vmlinuz-linux-libre root=UUID=bf3978f9-459a-459f-9836-627f85f083b3 rw quiet
  319. initrd /boot/initramfs-linux-libre.img
  320. }
  321. menuentry 'Parabola GNU/Linux-libre, linux-libre kernel (fallback initramfs) (en /dev/sda7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-linux-libre--bf3978f9-459a-459f-9836-627f85f083b3' {
  322. insmod part_msdos
  323. insmod xfs
  324. set root='hd0,msdos7'
  325. if [ x$feature_platform_search_hint = xy ]; then
  326. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 bf3978f9-459a-459f-9836-627f85f083b3
  327. else
  328. search --no-floppy --fs-uuid --set=root bf3978f9-459a-459f-9836-627f85f083b3
  329. fi
  330. linux /boot/vmlinuz-linux-libre root=UUID=bf3978f9-459a-459f-9836-627f85f083b3 rw quiet
  331. initrd /boot/initramfs-linux-libre-fallback.img
  332. }
  333. }
  334. #########################################################################################
  335. menuentry 'Slackware Linux (Slackware 14.1) (en /dev/sda9)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-4d4e54b5-a398-40fc-9c6e-3e412a25f0fb' {
  336. insmod part_msdos
  337. insmod ext2
  338. set root='hd0,msdos9'
  339. if [ x$feature_platform_search_hint = xy ]; then
  340. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos9 --hint-efi=hd0,msdos9 --hint-baremetal=ahci0,msdos9 4d4e54b5-a398-40fc-9c6e-3e412a25f0fb
  341. else
  342. search --no-floppy --fs-uuid --set=root 4d4e54b5-a398-40fc-9c6e-3e412a25f0fb
  343. fi
  344. linux /boot/vmlinuz-huge-3.10.17 root=/dev/sda9 ro vt.default_utf8=1 quiet
  345. }
  346. #########################################################################################
  347.  
  348. set timeout_style=menu
  349. if [ "${timeout}" = 0 ]; then
  350. set timeout=10
  351. fi
  352. ### END /etc/grub.d/30_os-prober ###
  353.  
  354. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  355. ### END /etc/grub.d/30_uefi-firmware ###
  356.  
  357. ### BEGIN /etc/grub.d/40_custom ###
  358. # This file provides an easy way to add custom menu entries. Simply type the
  359. # menu entries you want to add after this comment. Be careful not to change
  360. # the 'exec tail' line above.
  361.  
  362. ### END /etc/grub.d/40_custom ###
  363.  
  364. ### BEGIN /etc/grub.d/41_custom ###
  365. if [ -f ${config_directory}/custom.cfg ]; then
  366. source ${config_directory}/custom.cfg
  367. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  368. source $prefix/custom.cfg;
  369. fi
  370. ### END /etc/grub.d/41_custom ###
Add Comment
Please, Sign In to add comment