Advertisement
gaitapi

GRUB CUSTOMIZADO TOSHIBA NB 505

Feb 23rd, 2016
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.56 KB | None | 0 0
  1. ##este es el grub que funcionó ok hasta fin 2015 en la . TOSHIBA
  2.  
  3. if [ -s $prefix/grubenv ]; then
  4. set have_grubenv=true
  5. load_env
  6. fi
  7. if [ "${next_entry}" ] ; then
  8. set default="${next_entry}"
  9. set next_entry=
  10. save_env next_entry
  11. set boot_once=true
  12. else
  13. set default="0"
  14. fi
  15.  
  16. if [ x"${feature_menuentry_id}" = xy ]; then
  17. menuentry_id_option="--id"
  18. else
  19. menuentry_id_option=""
  20. fi
  21.  
  22. export menuentry_id_option
  23.  
  24. if [ "${prev_saved_entry}" ]; then
  25. set saved_entry="${prev_saved_entry}"
  26. save_env saved_entry
  27. set prev_saved_entry=
  28. save_env prev_saved_entry
  29. set boot_once=true
  30. fi
  31.  
  32. function savedefault {
  33. if [ -z "${boot_once}" ]; then
  34. saved_entry="${chosen}"
  35. save_env saved_entry
  36. fi
  37. }
  38. function recordfail {
  39. set recordfail=1
  40. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  41. }
  42. function load_video {
  43. if [ x$feature_all_video_module = xy ]; then
  44. insmod all_video
  45. else
  46. insmod efi_gop
  47. insmod efi_uga
  48. insmod ieee1275_fb
  49. insmod vbe
  50. insmod vga
  51. insmod video_bochs
  52. insmod video_cirrus
  53. fi
  54. }
  55.  
  56. if [ x$feature_default_font_path = xy ] ; then
  57. font=unicode
  58. else
  59. insmod part_gpt
  60. insmod ext2
  61. set root='hd0,gpt24'
  62. if [ x$feature_platform_search_hint = xy ]; then
  63. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt24 --hint-efi=hd0,gpt24 --hint-baremetal=ahci0,gpt24 a7f8deb8-336e-4cb7-a1c2-852ead214811
  64. else
  65. search --no-floppy --fs-uuid --set=root a7f8deb8-336e-4cb7-a1c2-852ead214811
  66. fi
  67. font="/usr/share/grub/unicode.pf2"
  68. fi
  69.  
  70. if loadfont $font ; then
  71. set gfxmode=auto
  72. load_video
  73. insmod gfxterm
  74. set locale_dir=$prefix/locale
  75. set lang=es_UY
  76. insmod gettext
  77. fi
  78. terminal_output gfxterm
  79. if [ "${recordfail}" = 1 ] ; then
  80. set timeout=30
  81. else
  82. if [ x$feature_timeout_style = xy ] ; then
  83. set timeout_style=menu
  84. set timeout=100
  85. # Fallback normal timeout code in case the timeout_style feature is
  86. # unavailable.
  87. else
  88. set timeout=10
  89. fi
  90. fi
  91. ### END /etc/grub.d/00_header ###
  92.  
  93. ### BEGIN /etc/grub.d/05_debian_theme ###
  94. set menu_color_normal=white/black
  95. set menu_color_highlight=black/light-gray
  96. if background_color 60,59,55; then
  97. clear
  98. fi
  99.  
  100. color_normal=light-gray/black
  101.  
  102. if [ -e ${prefix}/themes/ubuntu-mate/theme.txt ]; then
  103. insmod png
  104. theme=${prefix}/themes/ubuntu-mate/theme.txt
  105. fi
  106. ### END /etc/grub.d/05_debian_theme ###
  107.  
  108. ### BEGIN /etc/grub.d/10_linux ###
  109. function gfxmode {
  110. set gfxpayload="${1}"
  111. if [ "${1}" = "keep" ]; then
  112. set vt_handoff=vt.handoff=7
  113. else
  114. set vt_handoff=
  115. fi
  116. }
  117. if [ "${recordfail}" != 1 ]; then
  118. if [ -e ${prefix}/gfxblacklist.txt ]; then
  119. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  120. if [ ${match} = 0 ]; then
  121. set linux_gfx_mode=keep
  122. else
  123. set linux_gfx_mode=text
  124. fi
  125. else
  126. set linux_gfx_mode=text
  127. fi
  128. else
  129. set linux_gfx_mode=keep
  130. fi
  131. else
  132. set linux_gfx_mode=text
  133. fi
  134. export linux_gfx_mode
  135. ########################################################################33
  136. menuentry 'Sabayon GNU/Linux' --class sabayon --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-315502fc-da76-4e43-9c2c-c4a6999245fd' {
  137. load_video
  138. insmod gzio
  139. insmod part_gpt
  140. insmod ext2
  141. set root='hd0,gpt17'
  142. if [ x$feature_platform_search_hint = xy ]; then
  143. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt17 --hint-efi=hd0,gpt17 --hint-baremetal=ahci0,gpt17 --hint='hd0,gpt17' 07e9ec27-17fe-4e7d-8161-db5965678d6b
  144. else
  145. search --no-floppy --fs-uuid --set=root 07e9ec27-17fe-4e7d-8161-db5965678d6b
  146. fi
  147. echo 'Loading Linux x86_64-4.3.0-sabayon ...'
  148. linux /kernel-genkernel-x86_64-4.3.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
  149. echo 'Loading initial ramdisk ...'
  150. initrd /initramfs-genkernel-x86_64-4.3.0-sabayon
  151. }
  152. submenu 'Advanced options for Sabayon GNU/Linux' $menuentry_id_option 'gnulinux-advanced-315502fc-da76-4e43-9c2c-c4a6999245fd' {
  153. menuentry 'Sabayon GNU/Linux, with Linux x86_64-4.3.0-sabayon' --class sabayon --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86_64-4.3.0-sabayon-advanced-315502fc-da76-4e43-9c2c-c4a6999245fd' {
  154. load_video
  155. insmod gzio
  156. insmod part_gpt
  157. insmod ext2
  158. set root='hd0,gpt17'
  159. if [ x$feature_platform_search_hint = xy ]; then
  160. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt17 --hint-efi=hd0,gpt17 --hint-baremetal=ahci0,gpt17 --hint='hd0,gpt17' 07e9ec27-17fe-4e7d-8161-db5965678d6b
  161. else
  162. search --no-floppy --fs-uuid --set=root 07e9ec27-17fe-4e7d-8161-db5965678d6b
  163. fi
  164. echo 'Loading Linux x86_64-4.3.0-sabayon ...'
  165. linux /kernel-genkernel-x86_64-4.3.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
  166. echo 'Loading initial ramdisk ...'
  167. initrd /initramfs-genkernel-x86_64-4.3.0-sabayon
  168. }
  169. menuentry 'Sabayon GNU/Linux, with Linux x86_64-4.3.0-sabayon (recovery mode)' --class sabayon --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86_64-4.3.0-sabayon-recovery-315502fc-da76-4e43-9c2c-c4a6999245fd' {
  170. load_video
  171. insmod gzio
  172. insmod part_gpt
  173. insmod ext2
  174. set root='hd0,gpt17'
  175. if [ x$feature_platform_search_hint = xy ]; then
  176. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt17 --hint-efi=hd0,gpt17 --hint-baremetal=ahci0,gpt17 --hint='hd0,gpt17' 07e9ec27-17fe-4e7d-8161-db5965678d6b
  177. else
  178. search --no-floppy --fs-uuid --set=root 07e9ec27-17fe-4e7d-8161-db5965678d6b
  179. fi
  180. echo 'Loading Linux x86_64-4.3.0-sabayon ...'
  181. linux /kernel-genkernel-x86_64-4.3.0-sabayon root=UUID=315502fc-da76-4e43-9c2c-c4a6999245fd ro single init_opts=single resume=/dev/sda11 dolvm vconsole.keymap=es resume=/dev/sda18 splash vconsole.font=latarcyrheb-sun16 vga=791 quiet
  182. echo 'Loading initial ramdisk ...'
  183. initrd /initramfs-genkernel-x86_64-4.3.0-sabayon
  184. }
  185. menuentry 'Sabayon GNU/Linux, with Linux x86_64-3.17.0-sabayon' --class sabayon --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86_64-3.17.0-sabayon-advanced-315502fc-da76-4e43-9c2c-c4a6999245fd' {
  186. load_video
  187. insmod gzio
  188. insmod part_gpt
  189. insmod ext2
  190. set root='hd0,gpt17'
  191. if [ x$feature_platform_search_hint = xy ]; then
  192. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt17 --hint-efi=hd0,gpt17 --hint-baremetal=ahci0,gpt17 --hint='hd0,gpt17' 07e9ec27-17fe-4e7d-8161-db5965678d6b
  193. else
  194. search --no-floppy --fs-uuid --set=root 07e9ec27-17fe-4e7d-8161-db5965678d6b
  195. fi
  196. echo 'Loading Linux x86_64-3.17.0-sabayon ...'
  197. linux /kernel-genkernel-x86_64-3.17.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
  198. echo 'Loading initial ramdisk ...'
  199. initrd /initramfs-genkernel-x86_64-3.17.0-sabayon
  200. }
  201. menuentry 'Sabayon GNU/Linux, with Linux x86_64-3.17.0-sabayon (recovery mode)' --class sabayon --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86_64-3.17.0-sabayon-recovery-315502fc-da76-4e43-9c2c-c4a6999245fd' {
  202. load_video
  203. insmod gzio
  204. insmod part_gpt
  205. insmod ext2
  206. set root='hd0,gpt17'
  207. if [ x$feature_platform_search_hint = xy ]; then
  208. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt17 --hint-efi=hd0,gpt17 --hint-baremetal=ahci0,gpt17 --hint='hd0,gpt17' 07e9ec27-17fe-4e7d-8161-db5965678d6b
  209. else
  210. search --no-floppy --fs-uuid --set=root 07e9ec27-17fe-4e7d-8161-db5965678d6b
  211. fi
  212. echo 'Loading Linux x86_64-3.17.0-sabayon ...'
  213. linux /kernel-genkernel-x86_64-3.17.0-sabayon root=UUID=315502fc-da76-4e43-9c2c-c4a6999245fd ro single init_opts=single resume=/dev/sda11 dolvm vconsole.keymap=es resume=/dev/sda18 splash vconsole.font=latarcyrheb-sun16 vga=791 quiet
  214. echo 'Loading initial ramdisk ...'
  215. initrd /initramfs-genkernel-x86_64-3.17.0-sabayon
  216. }
  217. }
  218.  
  219. #####################################################################################
  220. menuentry 'GENTOO LINUX' --class gnu-linux --class gnu --class os {
  221. set gfxpayload=$linux_gfx_mode
  222. insmod part_gpt
  223. insmod ext2
  224. set root='hd0,gpt25'
  225. if [ x$feature_platform_search_hint = xy ]; then
  226. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt25 --hint-efi=hd0,gpt25 --hint-baremetal=ahci0,gpt25 22cdb8f1-a2ad-4502-83f8-6b95ca695c30
  227. else
  228. search --no-floppy --fs-uuid --set=root 22cdb8f1-a2ad-4502-83f8-6b95ca695c30
  229. fi
  230. linux /boot/kernel-genkernel-x86_64-3.18.1-gentoo-exton root=UUID=22cdb8f1-a2ad-4502-83f8-6b95ca695c30
  231. initrd /boot/initramfs-genkernel-x86_64-3.18.1-gentoo-exton
  232. }
  233. #####################################################################################
  234. menuentry 'Pentoo' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-f097c7c1-6d13-4458-95f4-500a6fe46359' {
  235. insmod part_gpt
  236. insmod ext2
  237. set root='hd0,gpt21'
  238. if [ x$feature_platform_search_hint = xy ]; then
  239. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt21 --hint-efi=hd0,gpt21 --hint-baremetal=ahci0,gpt21 f097c7c1-6d13-4458-95f4-500a6fe46359
  240. else
  241. search --no-floppy --fs-uuid --set=root f097c7c1-6d13-4458-95f4-500a6fe46359
  242. fi
  243. linux /boot/kernel-genkernel-x86_64-3.15.5-pentoo root=UUID=f097c7c1-6d13-4458-95f4-500a6fe46359 ro
  244. initrd /boot/initramfs-genkernel-x86_64-3.15.5-pentoo
  245. }
  246. ##########################################################################################################################################################################
  247. ##########################################################################################################################################################################
  248. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-a7f8deb8-336e-4cb7-a1c2-852ead214811' {
  249. recordfail
  250. load_video
  251. gfxmode $linux_gfx_mode
  252. insmod gzio
  253. insmod part_gpt
  254. insmod ext2
  255. set root='hd0,gpt24'
  256. if [ x$feature_platform_search_hint = xy ]; then
  257. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt24 --hint-efi=hd0,gpt24 --hint-baremetal=ahci0,gpt24 a7f8deb8-336e-4cb7-a1c2-852ead214811
  258. else
  259. search --no-floppy --fs-uuid --set=root a7f8deb8-336e-4cb7-a1c2-852ead214811
  260. fi
  261. linux /boot/vmlinuz-3.19.0-42-generic root=UUID=a7f8deb8-336e-4cb7-a1c2-852ead214811 ro quiet splash $vt_handoff
  262. initrd /boot/initrd.img-3.19.0-42-generic
  263. }
  264. ##########################################################################################################################################################################
  265. menuentry "Android 4.4"{
  266. set root=(hd0,5)
  267. linux /android-4.4-r1/kernel quiet root=/dev/ram0 androidboot.hardware=android_x86 acpi_sleep=s3_bios,s3_mode SRC=/android-4.4-r1
  268. initrd /android-4.4-r1/initrd.img
  269. }
  270. ##########################################################################################################################################################################
  271. menuentry 'Trisquel GNU/Linux' --class trisquel --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-simple-a0bb5b97-cb70-4a51-8391-4abcfec4617f' {
  272. load_video
  273. gfxmode $linux_gfx_mode
  274. insmod gzio
  275. insmod part_gpt
  276. insmod ext2
  277. set root='hd0,gpt14'
  278. if [ x$feature_platform_search_hint = xy ]; then
  279. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt14 --hint-efi=hd0,gpt14 --hint-baremetal=ahci0,gpt14 a0bb5b97-cb70-4a51-8391-4abcfec4617f
  280. else
  281. search --no-floppy --fs-uuid --set=root a0bb5b97-cb70-4a51-8391-4abcfec4617f
  282. fi
  283. linux /boot/vmlinuz-3.13.0-71-generic root=UUID=a0bb5b97-cb70-4a51-8391-4abcfec4617f ro quiet splash nomdmonddf nomdmonisw nomdmonddf nomdmonisw $vt_handoff
  284. initrd /boot/initrd.img-3.13.0-71-generic
  285. }
  286. #####################################################################################
  287. menuentry 'Parabola GNU/Linux-libre (rolling) (en /dev/sda15)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-bf3978f9-459a-459f-9836-627f85f083b3' {
  288. insmod part_gpt
  289. insmod xfs
  290. set root='hd0,gpt15'
  291. if [ x$feature_platform_search_hint = xy ]; then
  292. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt15 --hint-efi=hd0,gpt15 --hint-baremetal=ahci0,gpt15 bf3978f9-459a-459f-9836-627f85f083b3
  293. else
  294. search --no-floppy --fs-uuid --set=root bf3978f9-459a-459f-9836-627f85f083b3
  295. fi
  296. linux /boot/vmlinuz-linux-libre root=UUID=bf3978f9-459a-459f-9836-627f85f083b3 rw quiet
  297. initrd /boot/initramfs-linux-libre.img
  298. }
  299.  
  300. menuentry 'BLAG release 200000 (Jericho) ' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-2afb41e7-97e5-48b9-bba4-089b94bf7314' {
  301. insmod part_gpt
  302. insmod ext2
  303. set root='hd0,gpt7'
  304. if [ x$feature_platform_search_hint = xy ]; then
  305. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 2afb41e7-97e5-48b9-bba4-089b94bf7314
  306. else
  307. search --no-floppy --fs-uuid --set=root 2afb41e7-97e5-48b9-bba4-089b94bf7314
  308. fi
  309. linux /boot/vmlinuz-3.16.6-libre.200.fc20.gnu.x86_64 root=/dev/sda7 ro vconsole.font=latarcyrheb-sun16 LANG=es_UY.UTF-8
  310. initrd /boot/initramfs-3.16.6-libre.200.fc20.gnu.x86_64.img
  311. }
  312. #####################################################################################
  313. menuentry 'Connochaetos' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-fb8b4e56-b0aa-43df-ad0f-a142bb9ff475' {
  314. insmod part_gpt
  315. insmod ext2
  316. set root='hd0,gpt9'
  317. if [ x$feature_platform_search_hint = xy ]; then
  318. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt9 --hint-efi=hd0,gpt9 --hint-baremetal=ahci0,gpt9 fb8b4e56-b0aa-43df-ad0f-a142bb9ff475
  319. else
  320. search --no-floppy --fs-uuid --set=root fb8b4e56-b0aa-43df-ad0f-a142bb9ff475
  321. fi
  322. linux /boot/vmlinuz root=/dev/sda9
  323. }
  324. #####################################################################################
  325. menuentry 'Arch Linux (rolling)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-4f000b87-3816-4f44-a7b2-be08d03d83f9' {
  326. insmod part_gpt
  327. insmod ext2
  328. set root='hd0,gpt22'
  329. if [ x$feature_platform_search_hint = xy ]; then
  330. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt22 --hint-efi=hd0,gpt22 --hint-baremetal=ahci0,gpt22 4f000b87-3816-4f44-a7b2-be08d03d83f9
  331. else
  332. search --no-floppy --fs-uuid --set=root 4f000b87-3816-4f44-a7b2-be08d03d83f9
  333. fi
  334. linux /boot/vmlinuz-linux root=UUID=4f000b87-3816-4f44-a7b2-be08d03d83f9 rw quiet
  335. initrd /boot/initramfs-linux.img
  336. }
  337. #####################################################################################
  338. menuentry 'CentOS Linux release 7.1.1503 (Core) (en /dev/sda13)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-d8f821fa-8d70-4b37-bd34-1d0067505122' {
  339. insmod part_gpt
  340. insmod ext2
  341. set root='hd0,gpt13'
  342. if [ x$feature_platform_search_hint = xy ]; then
  343. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt13 --hint-efi=hd0,gpt13 --hint-baremetal=ahci0,gpt13 d8f821fa-8d70-4b37-bd34-1d0067505122
  344. else
  345. search --no-floppy --fs-uuid --set=root d8f821fa-8d70-4b37-bd34-1d0067505122
  346. fi
  347. linux /boot/vmlinuz-0-rescue-1de0ec1c3abf4ec6b8b5c3f118055b1f root=/dev/sda13
  348. initrd /boot/initramfs-0-rescue-1de0ec1c3abf4ec6b8b5c3f118055b1f.img
  349. }
  350. #####################################################################################
  351. menuentry 'CentOS release 6.5 (Final)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-3678cd5a-61aa-496c-8f2d-91c9433faeb8' {
  352. insmod part_gpt
  353. insmod ext2
  354. set root='hd0,gpt4'
  355. if [ x$feature_platform_search_hint = xy ]; then
  356. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 3678cd5a-61aa-496c-8f2d-91c9433faeb8
  357. else
  358. search --no-floppy --fs-uuid --set=root 3678cd5a-61aa-496c-8f2d-91c9433faeb8
  359. fi
  360. linux /boot/vmlinuz-2.6.32-431.11.2.el6.centos.plus.i686 root=/dev/sda4
  361. initrd /boot/initramfs-2.6.32-431.11.2.el6.centos.plus.i686.img
  362. }
  363. #####################################################################################
  364. menuentry 'Mageia 4 ' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-8997c848-1636-4986-bdcd-fedec64ea028' {
  365. insmod part_gpt
  366. insmod ext2
  367. set root='hd0,gpt6'
  368. if [ x$feature_platform_search_hint = xy ]; then
  369. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 8997c848-1636-4986-bdcd-fedec64ea028
  370. else
  371. search --no-floppy --fs-uuid --set=root 8997c848-1636-4986-bdcd-fedec64ea028
  372. fi
  373. linux /boot/vmlinuz BOOT_IMAGE=linux root=UUID=8997c848-1636-4986-bdcd-fedec64ea028 splash quiet resume=UUID=99f741f4-a610-4d7a-a2c8-625f517b71c1 vga=788
  374. initrd /boot/initrd.img
  375. }
  376. #####################################################################################
  377. menuentry 'Fedora release 21 (Twenty One) (en /dev/sda12)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-1407e084-70ed-44b2-aa75-9d1a3cce38be' {
  378. insmod part_gpt
  379. insmod ext2
  380. set root='hd0,gpt12'
  381. if [ x$feature_platform_search_hint = xy ]; then
  382. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt12 --hint-efi=hd0,gpt12 --hint-baremetal=ahci0,gpt12 1407e084-70ed-44b2-aa75-9d1a3cce38be
  383. else
  384. search --no-floppy --fs-uuid --set=root 1407e084-70ed-44b2-aa75-9d1a3cce38be
  385. fi
  386. linux /boot/vmlinuz-0-rescue-e8ac3b0a82bc4db187a3ff1afc855b0c root=/dev/sda12
  387. initrd /boot/initramfs-0-rescue-e8ac3b0a82bc4db187a3ff1afc855b0c.img
  388. }
  389. #####################################################################################
  390. menuentry 'Debian GNU/Linux (8.0) (en /dev/sda16)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-6df14739-10f0-48e5-88a2-8842409ced4a' {
  391. insmod part_gpt
  392. insmod ext2
  393. set root='hd0,gpt16'
  394. if [ x$feature_platform_search_hint = xy ]; then
  395. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt16 --hint-efi=hd0,gpt16 --hint-baremetal=ahci0,gpt16 6df14739-10f0-48e5-88a2-8842409ced4a
  396. else
  397. search --no-floppy --fs-uuid --set=root 6df14739-10f0-48e5-88a2-8842409ced4a
  398. fi
  399. linux /boot/vmlinuz-3.2.0-4-amd64 root=UUID=6df14739-10f0-48e5-88a2-8842409ced4a ro quiet
  400. initrd /boot/initrd.img-3.2.0-4-amd64
  401. }
  402. #####################################################################################
  403. menuentry 'Salix 64bits' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-4d4e54b5-a398-40fc-9c6e-3e412a25f0fb' {
  404. insmod part_gpt
  405. insmod ext2
  406. set root='hd0,gpt28'
  407. if [ x$feature_platform_search_hint = xy ]; then
  408. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt28 --hint-efi=hd0,gpt28 --hint-baremetal=ahci0,gpt28 4d4e54b5-a398-40fc-9c6e-3e412a25f0fb
  409. else
  410. search --no-floppy --fs-uuid --set=root 4d4e54b5-a398-40fc-9c6e-3e412a25f0fb
  411. fi
  412. linux /boot/vmlinuz-huge-3.10.17 root=/dev/sda28 ro vt.default_utf8=1 quiet
  413. }
  414. #####################################################################################
  415. menuentry 'Slackware 14.1 32bits' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-68c80c40-4f33-4ef7-b1de-8bbe138c8e1d' {
  416. insmod part_gpt
  417. insmod ext2
  418. set root='hd0,gpt3'
  419. if [ x$feature_platform_search_hint = xy ]; then
  420. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 68c80c40-4f33-4ef7-b1de-8bbe138c8e1d
  421. else
  422. search --no-floppy --fs-uuid --set=root 68c80c40-4f33-4ef7-b1de-8bbe138c8e1d
  423. fi
  424. linux /boot/vmlinuz root=/dev/sda3 ro vt.default_utf8=0 vga = normal
  425. }
  426. #####################################################################################
  427. menuentry 'WIFISlax' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-79cfa716-2cbd-47e6-b3da-bac0b98798ef' {
  428. insmod part_gpt
  429. insmod ext2
  430. set root='hd0,gpt8'
  431. if [ x$feature_platform_search_hint = xy ]; then
  432. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 79cfa716-2cbd-47e6-b3da-bac0b98798ef
  433. else
  434. search --no-floppy --fs-uuid --set=root 79cfa716-2cbd-47e6-b3da-bac0b98798ef
  435. fi
  436. linux /boot/vmlinuz-3.6.11-wifislax root=/dev/sda8 ro vga=788
  437. }
  438. #####################################################################################
  439. menuentry 'Slacken Openbox' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-d2e84513-1ad2-4cbb-870a-bb54fb831845' {
  440. insmod part_gpt
  441. insmod ext2
  442. set root='hd0,gpt10'
  443. if [ x$feature_platform_search_hint = xy ]; then
  444. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt10 --hint-efi=hd0,gpt10 --hint-baremetal=ahci0,gpt10 d2e84513-1ad2-4cbb-870a-bb54fb831845
  445. else
  446. search --no-floppy --fs-uuid --set=root d2e84513-1ad2-4cbb-870a-bb54fb831845
  447. fi
  448. linux /boot/vmlinuz root=/dev/sda10
  449. }
  450. #####################################################################################
  451.  
  452. ### END /etc/grub.d/30_os-prober ###
  453.  
  454. ### BEGIN /etc/grub.d/40_custom ###
  455. # This file provides an easy way to add custom menu entries. Simply type the
  456. # menu entries you want to add after this comment. Be careful not to change
  457. # the 'exec tail' line above.
  458. ### END /etc/grub.d/40_custom ###
  459.  
  460. ### BEGIN /etc/grub.d/41_custom ###
  461. if [ -f ${config_directory}/custom.cfg ]; then
  462. source ${config_directory}/custom.cfg
  463. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  464. source $prefix/custom.cfg;
  465. fi
  466. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement