Advertisement
Guest User

GRUB DELL

a guest
May 19th, 2012
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.51 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 part_msdos
  42. insmod ext2
  43. set root='(hd0,msdos1)'
  44. search --no-floppy --fs-uuid --set=root cb9ff247-0eca-4ce9-97d6-042775495e8f
  45. if loadfont /usr/share/grub/unicode.pf2 ; then
  46. set gfxmode=auto
  47. load_video
  48. insmod gfxterm
  49. insmod part_msdos
  50. insmod ext2
  51. set root='(hd0,msdos1)'
  52. search --no-floppy --fs-uuid --set=root cb9ff247-0eca-4ce9-97d6-042775495e8f
  53. set locale_dir=($root)/boot/grub/locale
  54. set lang=en_US
  55. insmod gettext
  56. fi
  57. terminal_output gfxterm
  58. if [ "${recordfail}" = 1 ]; then
  59. set timeout=-1
  60. else
  61. set timeout=10
  62. fi
  63. ### END /etc/grub.d/00_header ###
  64.  
  65. ### BEGIN /etc/grub.d/05_debian_theme ###
  66. set menu_color_normal=white/black
  67. set menu_color_highlight=black/light-gray
  68. ### END /etc/grub.d/05_debian_theme ###
  69.  
  70. ### BEGIN /etc/grub.d/10_linux ###
  71. function gfxmode {
  72. set gfxpayload="$1"
  73. if [ "$1" = "keep" ]; then
  74. set vt_handoff=vt.handoff=7
  75. else
  76. set vt_handoff=
  77. fi
  78. }
  79. if [ ${recordfail} != 1 ]; then
  80. if [ -e ${prefix}/gfxblacklist.txt ]; then
  81. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  82. if [ ${match} = 0 ]; then
  83. set linux_gfx_mode=keep
  84. else
  85. set linux_gfx_mode=text
  86. fi
  87. else
  88. set linux_gfx_mode=text
  89. fi
  90. else
  91. set linux_gfx_mode=keep
  92. fi
  93. else
  94. set linux_gfx_mode=text
  95. fi
  96. export linux_gfx_mode
  97. if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
  98. menuentry 'Ubuntu, with Linux 3.2.0-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  99. recordfail
  100. gfxmode $linux_gfx_mode
  101. insmod gzio
  102. insmod part_msdos
  103. insmod ext2
  104. set root='(hd0,msdos1)'
  105. search --no-floppy --fs-uuid --set=root cb9ff247-0eca-4ce9-97d6-042775495e8f
  106. linux /boot/vmlinuz-3.2.0-24-generic root=UUID=cb9ff247-0eca-4ce9-97d6-042775495e8f ro quiet splash $vt_handoff
  107. initrd /boot/initrd.img-3.2.0-24-generic
  108. }
  109. menuentry 'Ubuntu, with Linux 3.2.0-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  110. recordfail
  111. insmod gzio
  112. insmod part_msdos
  113. insmod ext2
  114. set root='(hd0,msdos1)'
  115. search --no-floppy --fs-uuid --set=root cb9ff247-0eca-4ce9-97d6-042775495e8f
  116. echo 'Loading Linux 3.2.0-24-generic ...'
  117. linux /boot/vmlinuz-3.2.0-24-generic root=UUID=cb9ff247-0eca-4ce9-97d6-042775495e8f ro recovery nomodeset
  118. echo 'Loading initial ramdisk ...'
  119. initrd /boot/initrd.img-3.2.0-24-generic
  120. }
  121. submenu "Previous Linux versions" {
  122. menuentry 'Ubuntu, with Linux 3.2.0-23-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  123. recordfail
  124. gfxmode $linux_gfx_mode
  125. insmod gzio
  126. insmod part_msdos
  127. insmod ext2
  128. set root='(hd0,msdos1)'
  129. search --no-floppy --fs-uuid --set=root cb9ff247-0eca-4ce9-97d6-042775495e8f
  130. linux /boot/vmlinuz-3.2.0-23-generic root=UUID=cb9ff247-0eca-4ce9-97d6-042775495e8f ro quiet splash $vt_handoff
  131. initrd /boot/initrd.img-3.2.0-23-generic
  132. }
  133. menuentry 'Ubuntu, with Linux 3.2.0-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  134. recordfail
  135. insmod gzio
  136. insmod part_msdos
  137. insmod ext2
  138. set root='(hd0,msdos1)'
  139. search --no-floppy --fs-uuid --set=root cb9ff247-0eca-4ce9-97d6-042775495e8f
  140. echo 'Loading Linux 3.2.0-23-generic ...'
  141. linux /boot/vmlinuz-3.2.0-23-generic root=UUID=cb9ff247-0eca-4ce9-97d6-042775495e8f ro recovery nomodeset
  142. echo 'Loading initial ramdisk ...'
  143. initrd /boot/initrd.img-3.2.0-23-generic
  144. }
  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/20_memtest86+ ###
  152. menuentry "Memory test (memtest86+)" {
  153. insmod part_msdos
  154. insmod ext2
  155. set root='(hd0,msdos1)'
  156. search --no-floppy --fs-uuid --set=root cb9ff247-0eca-4ce9-97d6-042775495e8f
  157. linux16 /boot/memtest86+.bin
  158. }
  159. menuentry "Memory test (memtest86+, serial console 115200)" {
  160. insmod part_msdos
  161. insmod ext2
  162. set root='(hd0,msdos1)'
  163. search --no-floppy --fs-uuid --set=root cb9ff247-0eca-4ce9-97d6-042775495e8f
  164. linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  165. }
  166. ### END /etc/grub.d/20_memtest86+ ###
  167.  
  168. ### BEGIN /etc/grub.d/30_os-prober ###
  169. if [ "x${timeout}" != "x-1" ]; then
  170. if keystatus; then
  171. if keystatus --shift; then
  172. set timeout=-1
  173. else
  174. set timeout=0
  175. fi
  176. else
  177. if sleep --interruptible 3 ; then
  178. set timeout=0
  179. fi
  180. fi
  181. fi
  182. ### END /etc/grub.d/30_os-prober ###
  183.  
  184. ### BEGIN /etc/grub.d/40_custom ###
  185. # This file provides an easy way to add custom menu entries. Simply type the
  186. # menu entries you want to add after this comment. Be careful not to change
  187. # the 'exec tail' line above.
  188. ### END /etc/grub.d/40_custom ###
  189.  
  190. ### BEGIN /etc/grub.d/41_custom ###
  191. if [ -f $prefix/custom.cfg ]; then
  192. source $prefix/custom.cfg;
  193. fi
  194. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement