Advertisement
Guest User

grub unter debian

a guest
Sep 9th, 2018
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.37 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 load_video {
  45. if [ x$feature_all_video_module = xy ]; then
  46. insmod all_video
  47. else
  48. insmod efi_gop
  49. insmod efi_uga
  50. insmod ieee1275_fb
  51. insmod vbe
  52. insmod vga
  53. insmod video_bochs
  54. insmod video_cirrus
  55. fi
  56. }
  57.  
  58. if [ x$feature_default_font_path = xy ] ; then
  59. font=unicode
  60. else
  61. insmod part_gpt
  62. insmod ext2
  63. set root='hd0,gpt8'
  64. if [ x$feature_platform_search_hint = xy ]; then
  65. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 1b5daf5b-9ad6-4675-8170-165b25b6f83b
  66. else
  67. search --no-floppy --fs-uuid --set=root 1b5daf5b-9ad6-4675-8170-165b25b6f83b
  68. fi
  69. font="/usr/share/grub/unicode.pf2"
  70. fi
  71.  
  72. if loadfont $font ; then
  73. set gfxmode=auto
  74. load_video
  75. insmod gfxterm
  76. set locale_dir=$prefix/locale
  77. set lang=de_DE
  78. insmod gettext
  79. fi
  80. terminal_output gfxterm
  81. if [ "${recordfail}" = 1 ] ; then
  82. set timeout=30
  83. else
  84. if [ x$feature_timeout_style = xy ] ; then
  85. set timeout_style=menu
  86. set timeout=5
  87. # Fallback normal timeout code in case the timeout_style feature is
  88. # unavailable.
  89. else
  90. set timeout=5
  91. fi
  92. fi
  93. ### END /etc/grub.d/00_header ###
  94.  
  95. ### BEGIN /etc/grub.d/05_debian_theme ###
  96. insmod part_gpt
  97. insmod ext2
  98. set root='hd0,gpt8'
  99. if [ x$feature_platform_search_hint = xy ]; then
  100. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 1b5daf5b-9ad6-4675-8170-165b25b6f83b
  101. else
  102. search --no-floppy --fs-uuid --set=root 1b5daf5b-9ad6-4675-8170-165b25b6f83b
  103. fi
  104. insmod png
  105. if background_image /usr/share/desktop-base/softwaves-theme/grub/grub-4x3.png; then
  106. set color_normal=white/black
  107. set color_highlight=black/white
  108. else
  109. set menu_color_normal=cyan/blue
  110. set menu_color_highlight=white/blue
  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. }
  118. set linux_gfx_mode=
  119. export linux_gfx_mode
  120. menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-1b5daf5b-9ad6-4675-8170-165b25b6f83b' {
  121. load_video
  122. insmod gzio
  123. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  124. insmod part_gpt
  125. insmod ext2
  126. set root='hd0,gpt8'
  127. if [ x$feature_platform_search_hint = xy ]; then
  128. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 1b5daf5b-9ad6-4675-8170-165b25b6f83b
  129. else
  130. search --no-floppy --fs-uuid --set=root 1b5daf5b-9ad6-4675-8170-165b25b6f83b
  131. fi
  132. echo 'Linux 4.9.0-7-amd64 wird geladen …'
  133. linux /boot/vmlinuz-4.9.0-7-amd64 root=/dev/sda8 ro quiet
  134. echo 'Initiale Ramdisk wird geladen …'
  135. initrd /boot/initrd.img-4.9.0-7-amd64
  136. }
  137. submenu 'Erweiterte Optionen für Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-1b5daf5b-9ad6-4675-8170-165b25b6f83b' {
  138. menuentry 'Debian GNU/Linux, mit Linux 4.9.0-7-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.0-7-amd64-advanced-1b5daf5b-9ad6-4675-8170-165b25b6f83b' {
  139. load_video
  140. insmod gzio
  141. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  142. insmod part_gpt
  143. insmod ext2
  144. set root='hd0,gpt8'
  145. if [ x$feature_platform_search_hint = xy ]; then
  146. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 1b5daf5b-9ad6-4675-8170-165b25b6f83b
  147. else
  148. search --no-floppy --fs-uuid --set=root 1b5daf5b-9ad6-4675-8170-165b25b6f83b
  149. fi
  150. echo 'Linux 4.9.0-7-amd64 wird geladen …'
  151. linux /boot/vmlinuz-4.9.0-7-amd64 root=/dev/sda8 ro quiet
  152. echo 'Initiale Ramdisk wird geladen …'
  153. initrd /boot/initrd.img-4.9.0-7-amd64
  154. }
  155. menuentry 'Debian GNU/Linux, with Linux 4.9.0-7-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.0-7-amd64-recovery-1b5daf5b-9ad6-4675-8170-165b25b6f83b' {
  156. load_video
  157. insmod gzio
  158. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  159. insmod part_gpt
  160. insmod ext2
  161. set root='hd0,gpt8'
  162. if [ x$feature_platform_search_hint = xy ]; then
  163. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 1b5daf5b-9ad6-4675-8170-165b25b6f83b
  164. else
  165. search --no-floppy --fs-uuid --set=root 1b5daf5b-9ad6-4675-8170-165b25b6f83b
  166. fi
  167. echo 'Linux 4.9.0-7-amd64 wird geladen …'
  168. linux /boot/vmlinuz-4.9.0-7-amd64 root=/dev/sda8 ro single
  169. echo 'Initiale Ramdisk wird geladen …'
  170. initrd /boot/initrd.img-4.9.0-7-amd64
  171. }
  172. }
  173.  
  174. ### END /etc/grub.d/10_linux ###
  175.  
  176. ### BEGIN /etc/grub.d/20_linux_xen ###
  177.  
  178. ### END /etc/grub.d/20_linux_xen ###
  179.  
  180. ### BEGIN /etc/grub.d/30_os-prober ###
  181. menuentry 'Windows Boot Manager (auf /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-efi-DE98-1473' {
  182. insmod part_gpt
  183. insmod fat
  184. set root='hd0,gpt2'
  185. if [ x$feature_platform_search_hint = xy ]; then
  186. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 DE98-1473
  187. else
  188. search --no-floppy --fs-uuid --set=root DE98-1473
  189. fi
  190. chainloader /EFI/Microsoft/Boot/bootmgfw.efi
  191. }
  192. menuentry 'Ubuntu 18.04.1 LTS (18.04) (auf /dev/sda6)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-ee7aaaaa-a2f3-463f-87cd-a14597142168' {
  193. insmod part_gpt
  194. insmod ext2
  195. set root='hd0,gpt6'
  196. if [ x$feature_platform_search_hint = xy ]; then
  197. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 ee7aaaaa-a2f3-463f-87cd-a14597142168
  198. else
  199. search --no-floppy --fs-uuid --set=root ee7aaaaa-a2f3-463f-87cd-a14597142168
  200. fi
  201. linux /boot/vmlinuz-4.15.0-33-generic root=UUID=ee7aaaaa-a2f3-463f-87cd-a14597142168 ro quiet splash $vt_handoff
  202. initrd /boot/initrd.img-4.15.0-33-generic
  203. }
  204. submenu 'Erweiterte Optionen für Ubuntu 18.04.1 LTS (18.04) (auf /dev/sda6)' $menuentry_id_option 'osprober-gnulinux-advanced-ee7aaaaa-a2f3-463f-87cd-a14597142168' {
  205. menuentry 'Ubuntu (auf /dev/sda6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-33-generic--ee7aaaaa-a2f3-463f-87cd-a14597142168' {
  206. insmod part_gpt
  207. insmod ext2
  208. set root='hd0,gpt6'
  209. if [ x$feature_platform_search_hint = xy ]; then
  210. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 ee7aaaaa-a2f3-463f-87cd-a14597142168
  211. else
  212. search --no-floppy --fs-uuid --set=root ee7aaaaa-a2f3-463f-87cd-a14597142168
  213. fi
  214. linux /boot/vmlinuz-4.15.0-33-generic root=UUID=ee7aaaaa-a2f3-463f-87cd-a14597142168 ro quiet splash $vt_handoff
  215. initrd /boot/initrd.img-4.15.0-33-generic
  216. }
  217. menuentry 'Ubuntu, mit Linux 4.15.0-33-generic (auf /dev/sda6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-33-generic--ee7aaaaa-a2f3-463f-87cd-a14597142168' {
  218. insmod part_gpt
  219. insmod ext2
  220. set root='hd0,gpt6'
  221. if [ x$feature_platform_search_hint = xy ]; then
  222. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 ee7aaaaa-a2f3-463f-87cd-a14597142168
  223. else
  224. search --no-floppy --fs-uuid --set=root ee7aaaaa-a2f3-463f-87cd-a14597142168
  225. fi
  226. linux /boot/vmlinuz-4.15.0-33-generic root=UUID=ee7aaaaa-a2f3-463f-87cd-a14597142168 ro quiet splash $vt_handoff
  227. initrd /boot/initrd.img-4.15.0-33-generic
  228. }
  229. menuentry 'Ubuntu, mit Linux 4.15.0-33-generic (recovery mode) (auf /dev/sda6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-33-generic-root=UUID=ee7aaaaa-a2f3-463f-87cd-a14597142168 ro recovery nomodeset-ee7aaaaa-a2f3-463f-87cd-a14597142168' {
  230. insmod part_gpt
  231. insmod ext2
  232. set root='hd0,gpt6'
  233. if [ x$feature_platform_search_hint = xy ]; then
  234. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 ee7aaaaa-a2f3-463f-87cd-a14597142168
  235. else
  236. search --no-floppy --fs-uuid --set=root ee7aaaaa-a2f3-463f-87cd-a14597142168
  237. fi
  238. linux /boot/vmlinuz-4.15.0-33-generic root=UUID=ee7aaaaa-a2f3-463f-87cd-a14597142168 ro recovery nomodeset
  239. initrd /boot/initrd.img-4.15.0-33-generic
  240. }
  241. menuentry 'Ubuntu, mit Linux 4.15.0-20-generic (auf /dev/sda6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-20-generic--ee7aaaaa-a2f3-463f-87cd-a14597142168' {
  242. insmod part_gpt
  243. insmod ext2
  244. set root='hd0,gpt6'
  245. if [ x$feature_platform_search_hint = xy ]; then
  246. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 ee7aaaaa-a2f3-463f-87cd-a14597142168
  247. else
  248. search --no-floppy --fs-uuid --set=root ee7aaaaa-a2f3-463f-87cd-a14597142168
  249. fi
  250. linux /boot/vmlinuz-4.15.0-20-generic root=UUID=ee7aaaaa-a2f3-463f-87cd-a14597142168 ro quiet splash $vt_handoff
  251. initrd /boot/initrd.img-4.15.0-20-generic
  252. }
  253. menuentry 'Ubuntu, mit Linux 4.15.0-20-generic (recovery mode) (auf /dev/sda6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-20-generic-root=UUID=ee7aaaaa-a2f3-463f-87cd-a14597142168 ro recovery nomodeset-ee7aaaaa-a2f3-463f-87cd-a14597142168' {
  254. insmod part_gpt
  255. insmod ext2
  256. set root='hd0,gpt6'
  257. if [ x$feature_platform_search_hint = xy ]; then
  258. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 ee7aaaaa-a2f3-463f-87cd-a14597142168
  259. else
  260. search --no-floppy --fs-uuid --set=root ee7aaaaa-a2f3-463f-87cd-a14597142168
  261. fi
  262. linux /boot/vmlinuz-4.15.0-20-generic root=UUID=ee7aaaaa-a2f3-463f-87cd-a14597142168 ro recovery nomodeset
  263. initrd /boot/initrd.img-4.15.0-20-generic
  264. }
  265. }
  266.  
  267. ### END /etc/grub.d/30_os-prober ###
  268.  
  269. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  270. menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
  271. fwsetup
  272. }
  273. ### END /etc/grub.d/30_uefi-firmware ###
  274.  
  275. ### BEGIN /etc/grub.d/40_custom ###
  276. # This file provides an easy way to add custom menu entries. Simply type the
  277. # menu entries you want to add after this comment. Be careful not to change
  278. # the 'exec tail' line above.
  279. ### END /etc/grub.d/40_custom ###
  280.  
  281. ### BEGIN /etc/grub.d/41_custom ###
  282. if [ -f ${config_directory}/custom.cfg ]; then
  283. source ${config_directory}/custom.cfg
  284. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  285. source $prefix/custom.cfg;
  286. fi
  287. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement