Advertisement
Guest User

Untitled

a guest
Jul 16th, 2014
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.14 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,msdos2'
  68. if [ x$feature_platform_search_hint = xy ]; then
  69. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 069019d4-4f4e-4837-989c-0b82c51cdc94
  70. else
  71. search --no-floppy --fs-uuid --set=root 069019d4-4f4e-4837-989c-0b82c51cdc94
  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=el_GR
  82. insmod gettext
  83. fi
  84. terminal_output gfxterm
  85. if [ "${recordfail}" = 1 ] ; then
  86. set timeout=-1
  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. ### END /etc/grub.d/05_debian_theme ###
  103.  
  104. ### BEGIN /etc/grub.d/10_linux ###
  105. function gfxmode {
  106. set gfxpayload="${1}"
  107. if [ "${1}" = "keep" ]; then
  108. set vt_handoff=vt.handoff=7
  109. else
  110. set vt_handoff=
  111. fi
  112. }
  113. if [ "${recordfail}" != 1 ]; then
  114. if [ -e ${prefix}/gfxblacklist.txt ]; then
  115. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  116. if [ ${match} = 0 ]; then
  117. set linux_gfx_mode=keep
  118. else
  119. set linux_gfx_mode=text
  120. fi
  121. else
  122. set linux_gfx_mode=text
  123. fi
  124. else
  125. set linux_gfx_mode=keep
  126. fi
  127. else
  128. set linux_gfx_mode=text
  129. fi
  130. export linux_gfx_mode
  131. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-069019d4-4f4e-4837-989c-0b82c51cdc94' {
  132. recordfail
  133. load_video
  134. gfxmode $linux_gfx_mode
  135. insmod gzio
  136. insmod part_msdos
  137. insmod ext2
  138. set root='hd0,msdos2'
  139. if [ x$feature_platform_search_hint = xy ]; then
  140. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 069019d4-4f4e-4837-989c-0b82c51cdc94
  141. else
  142. search --no-floppy --fs-uuid --set=root 069019d4-4f4e-4837-989c-0b82c51cdc94
  143. fi
  144. linux /boot/vmlinuz-3.13.0-24-generic root=UUID=069019d4-4f4e-4837-989c-0b82c51cdc94 ro forcepae quiet splash $vt_handoff
  145. initrd /boot/initrd.img-3.13.0-24-generic
  146. }
  147. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-069019d4-4f4e-4837-989c-0b82c51cdc94' {
  148. menuentry 'Ubuntu, ΞΌΞµ Linux 3.13.0-24-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-24-generic-advanced-069019d4-4f4e-4837-989c-0b82c51cdc94' {
  149. recordfail
  150. load_video
  151. gfxmode $linux_gfx_mode
  152. insmod gzio
  153. insmod part_msdos
  154. insmod ext2
  155. set root='hd0,msdos2'
  156. if [ x$feature_platform_search_hint = xy ]; then
  157. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 069019d4-4f4e-4837-989c-0b82c51cdc94
  158. else
  159. search --no-floppy --fs-uuid --set=root 069019d4-4f4e-4837-989c-0b82c51cdc94
  160. fi
  161. echo 'Φόρτωση Λίνουξ 3.13.0-24-generic ...'
  162. linux /boot/vmlinuz-3.13.0-24-generic root=UUID=069019d4-4f4e-4837-989c-0b82c51cdc94 ro forcepae quiet splash $vt_handoff
  163. echo 'Φόρτωση αρχικού εικονικού δίσκου (ramdisk) ...'
  164. initrd /boot/initrd.img-3.13.0-24-generic
  165. }
  166. menuentry 'Ubuntu, with Linux 3.13.0-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-24-generic-recovery-069019d4-4f4e-4837-989c-0b82c51cdc94' {
  167. recordfail
  168. load_video
  169. insmod gzio
  170. insmod part_msdos
  171. insmod ext2
  172. set root='hd0,msdos2'
  173. if [ x$feature_platform_search_hint = xy ]; then
  174. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 069019d4-4f4e-4837-989c-0b82c51cdc94
  175. else
  176. search --no-floppy --fs-uuid --set=root 069019d4-4f4e-4837-989c-0b82c51cdc94
  177. fi
  178. echo 'Φόρτωση Λίνουξ 3.13.0-24-generic ...'
  179. linux /boot/vmlinuz-3.13.0-24-generic root=UUID=069019d4-4f4e-4837-989c-0b82c51cdc94 ro recovery nomodeset forcepae
  180. echo 'Φόρτωση αρχικού εικονικού δίσκου (ramdisk) ...'
  181. initrd /boot/initrd.img-3.13.0-24-generic
  182. }
  183. }
  184.  
  185. ### END /etc/grub.d/10_linux ###
  186.  
  187. ### BEGIN /etc/grub.d/20_linux_xen ###
  188.  
  189. ### END /etc/grub.d/20_linux_xen ###
  190.  
  191. ### BEGIN /etc/grub.d/20_memtest86+ ###
  192. menuentry 'Memory test (memtest86+)' {
  193. insmod part_msdos
  194. insmod ext2
  195. set root='hd0,msdos2'
  196. if [ x$feature_platform_search_hint = xy ]; then
  197. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 069019d4-4f4e-4837-989c-0b82c51cdc94
  198. else
  199. search --no-floppy --fs-uuid --set=root 069019d4-4f4e-4837-989c-0b82c51cdc94
  200. fi
  201. knetbsd /boot/memtest86+.elf
  202. }
  203. menuentry 'Memory test (memtest86+, serial console 115200)' {
  204. insmod part_msdos
  205. insmod ext2
  206. set root='hd0,msdos2'
  207. if [ x$feature_platform_search_hint = xy ]; then
  208. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 069019d4-4f4e-4837-989c-0b82c51cdc94
  209. else
  210. search --no-floppy --fs-uuid --set=root 069019d4-4f4e-4837-989c-0b82c51cdc94
  211. fi
  212. linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  213. }
  214. ### END /etc/grub.d/20_memtest86+ ###
  215.  
  216. ### BEGIN /etc/grub.d/30_os-prober ###
  217. menuentry 'Windows 7 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-8AEC8C2FEC8C1819' {
  218. insmod part_msdos
  219. insmod ntfs
  220. set root='hd0,msdos1'
  221. if [ x$feature_platform_search_hint = xy ]; then
  222. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 8AEC8C2FEC8C1819
  223. else
  224. search --no-floppy --fs-uuid --set=root 8AEC8C2FEC8C1819
  225. fi
  226. parttool ${root} hidden-
  227. chainloader +1
  228. }
  229. set timeout_style=menu
  230. if [ "${timeout}" = 0 ]; then
  231. set timeout=10
  232. fi
  233. ### END /etc/grub.d/30_os-prober ###
  234.  
  235. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  236. ### END /etc/grub.d/30_uefi-firmware ###
  237.  
  238. ### BEGIN /etc/grub.d/40_custom ###
  239. # This file provides an easy way to add custom menu entries. Simply type the
  240. # menu entries you want to add after this comment. Be careful not to change
  241. # the 'exec tail' line above.
  242. ### END /etc/grub.d/40_custom ###
  243.  
  244. ### BEGIN /etc/grub.d/41_custom ###
  245. if [ -f ${config_directory}/custom.cfg ]; then
  246. source ${config_directory}/custom.cfg
  247. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  248. source $prefix/custom.cfg;
  249. fi
  250. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement