Advertisement
Guest User

Untitled

a guest
Feb 24th, 2013
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.48 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. set default="0"
  14. if [ "${prev_saved_entry}" ]; then
  15. set saved_entry="${prev_saved_entry}"
  16. save_env saved_entry
  17. set prev_saved_entry=
  18. save_env prev_saved_entry
  19. set boot_once=true
  20. fi
  21.  
  22. function savedefault {
  23. if [ -z "${boot_once}" ]; then
  24. saved_entry="${chosen}"
  25. save_env saved_entry
  26. fi
  27. }
  28.  
  29. function recordfail {
  30. set recordfail=1
  31. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  32. }
  33.  
  34. function load_video {
  35. insmod vbe
  36. insmod vga
  37. insmod video_bochs
  38. insmod video_cirrus
  39. }
  40.  
  41. insmod raid
  42. insmod mdraid09
  43. insmod part_msdos
  44. insmod part_msdos
  45. insmod ext2
  46. set root='(mduuid/4b916b3101ee2569a4d2adc226fd5302)'
  47. search --no-floppy --fs-uuid --set=root c9505252-6173-4b34-b0ad-1d476ceefcf4
  48. if loadfont /usr/share/grub/unicode.pf2 ; then
  49. set gfxmode=auto
  50. load_video
  51. insmod gfxterm
  52. insmod raid
  53. insmod mdraid09
  54. insmod part_msdos
  55. insmod part_msdos
  56. insmod ext2
  57. set root='(mduuid/4b916b3101ee2569a4d2adc226fd5302)'
  58. search --no-floppy --fs-uuid --set=root c9505252-6173-4b34-b0ad-1d476ceefcf4
  59. set locale_dir=($root)/boot/grub/locale
  60. set lang=en_GB
  61. insmod gettext
  62. fi
  63. terminal_output gfxterm
  64. if [ "${recordfail}" = 1 ]; then
  65. set timeout=-1
  66. else
  67. set timeout=2
  68. fi
  69. ### END /etc/grub.d/00_header ###
  70.  
  71. ### BEGIN /etc/grub.d/05_debian_theme ###
  72. set menu_color_normal=white/black
  73. set menu_color_highlight=black/light-gray
  74. ### END /etc/grub.d/05_debian_theme ###
  75.  
  76. ### BEGIN /etc/grub.d/06_OVHkernel ###
  77. menuentry "Ubuntu 12.04, OVH kernel 3.2.13-xxxx-grs-ipv6-64" {
  78. insmod raid
  79. insmod mdraid09
  80. insmod part_msdos
  81. insmod part_msdos
  82. insmod ext2
  83. set root='(mduuid/4b916b3101ee2569a4d2adc226fd5302)'
  84. search --no-floppy --fs-uuid --set=root c9505252-6173-4b34-b0ad-1d476ceefcf4
  85. linux /boot/bzImage-3.2.13-xxxx-grs-ipv6-64 root=/dev/md1 ro
  86. }
  87. ### END /etc/grub.d/06_OVHkernel ###
  88.  
  89. ### BEGIN /etc/grub.d/10_linux ###
  90. function gfxmode {
  91. set gfxpayload="${1}"
  92. if [ "${1}" = "keep" ]; then
  93. set vt_handoff=vt.handoff=7
  94. else
  95. set vt_handoff=
  96. fi
  97. }
  98. if [ "${recordfail}" != 1 ]; then
  99. if [ -e ${prefix}/gfxblacklist.txt ]; then
  100. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  101. if [ ${match} = 0 ]; then
  102. set linux_gfx_mode=keep
  103. else
  104. set linux_gfx_mode=text
  105. fi
  106. else
  107. set linux_gfx_mode=text
  108. fi
  109. else
  110. set linux_gfx_mode=keep
  111. fi
  112. else
  113. set linux_gfx_mode=text
  114. fi
  115. export linux_gfx_mode
  116. if [ "${linux_gfx_mode}" != "text" ]; then load_video; fi
  117. menuentry 'Ubuntu, with Linux 3.2.0-38-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  118. recordfail
  119. gfxmode $linux_gfx_mode
  120. insmod gzio
  121. insmod raid
  122. insmod mdraid09
  123. insmod part_msdos
  124. insmod part_msdos
  125. insmod ext2
  126. set root='(mduuid/4b916b3101ee2569a4d2adc226fd5302)'
  127. search --no-floppy --fs-uuid --set=root c9505252-6173-4b34-b0ad-1d476ceefcf4
  128. linux /boot/vmlinuz-3.2.0-38-generic root=/dev/md1 ro
  129. initrd /boot/initrd.img-3.2.0-38-generic
  130. }
  131. menuentry 'Ubuntu, with Linux 3.2.0-38-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  132. recordfail
  133. insmod gzio
  134. insmod raid
  135. insmod mdraid09
  136. insmod part_msdos
  137. insmod part_msdos
  138. insmod ext2
  139. set root='(mduuid/4b916b3101ee2569a4d2adc226fd5302)'
  140. search --no-floppy --fs-uuid --set=root c9505252-6173-4b34-b0ad-1d476ceefcf4
  141. echo 'Loading Linux 3.2.0-38-generic ...'
  142. linux /boot/vmlinuz-3.2.0-38-generic root=/dev/md1 ro recovery nomodeset
  143. echo 'Loading initial ramdisk ...'
  144. initrd /boot/initrd.img-3.2.0-38-generic
  145. }
  146. ### END /etc/grub.d/10_linux ###
  147.  
  148. ### BEGIN /etc/grub.d/20_linux_xen ###
  149. ### END /etc/grub.d/20_linux_xen ###
  150.  
  151. ### BEGIN /etc/grub.d/30_os-prober ###
  152. ### END /etc/grub.d/30_os-prober ###
  153.  
  154. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  155. ### END /etc/grub.d/30_uefi-firmware ###
  156.  
  157. ### BEGIN /etc/grub.d/40_custom ###
  158. # This file provides an easy way to add custom menu entries. Simply type the
  159. # menu entries you want to add after this comment. Be careful not to change
  160. # the 'exec tail' line above.
  161. ### END /etc/grub.d/40_custom ###
  162.  
  163. ### BEGIN /etc/grub.d/41_custom ###
  164. if [ -f $prefix/custom.cfg ]; then
  165. source $prefix/custom.cfg;
  166. fi
  167. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement