Advertisement
Guest User

grub.cfg

a guest
Sep 29th, 2012
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.05 KB | None | 0 0
  1. #
  2. # DO NOT EDIT THIS FILE
  3. #
  4. # It is automatically generated by /usr/sbin/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. load_env
  11. fi
  12. set default="0"
  13. if [ ${prev_saved_entry} ]; then
  14. set saved_entry=${prev_saved_entry}
  15. save_env saved_entry
  16. set prev_saved_entry=
  17. save_env prev_saved_entry
  18. set boot_once=true
  19. fi
  20.  
  21. function savedefault {
  22. if [ -z ${boot_once} ]; then
  23. saved_entry=${chosen}
  24. save_env saved_entry
  25. fi
  26. }
  27.  
  28. function recordfail {
  29. set recordfail=1
  30. if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
  31. }
  32. insmod ext2
  33. set root='(hd0,5)'
  34. search --no-floppy --fs-uuid --set 24834f85-1202-4517-8210-3d405279c90a
  35. if loadfont /usr/share/grub/unicode.pf2 ; then
  36. set gfxmode=640x480
  37. insmod gfxterm
  38. insmod vbe
  39. if terminal_output gfxterm ; then true ; else
  40. # For backward compatibility with versions of terminal.mod that don't
  41. # understand terminal_output
  42. terminal gfxterm
  43. fi
  44. fi
  45. insmod ext2
  46. set root='(hd0,5)'
  47.  
  48. ...back 1 page
  49. #
  50. # DO NOT EDIT THIS FILE
  51. #
  52. # It is automatically generated by /usr/sbin/grub-mkconfig using templates
  53. # from /etc/grub.d and settings from /etc/default/grub
  54. #
  55.  
  56. ### BEGIN /etc/grub.d/00_header ###
  57. if [ -s $prefix/grubenv ]; then
  58. load_env
  59. fi
  60. set default="0"
  61. if [ ${prev_saved_entry} ]; then
  62. set saved_entry=${prev_saved_entry}
  63. save_env saved_entry
  64. set prev_saved_entry=
  65. save_env prev_saved_entry
  66. set boot_once=true
  67. fi
  68.  
  69. function savedefault {
  70. if [ -z ${boot_once} ]; then
  71. saved_entry=${chosen}
  72. save_env saved_entry
  73. fi
  74. }
  75.  
  76. function recordfail {
  77. set recordfail=1
  78. if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
  79. }
  80. insmod ext2
  81. set root='(hd0,5)'
  82. search --no-floppy --fs-uuid --set 24834f85-1202-4517-8210-3d405279c90a
  83. if loadfont /usr/share/grub/unicode.pf2 ; then
  84. set gfxmode=640x480
  85. insmod gfxterm
  86. insmod vbe
  87. if terminal_output gfxterm ; then true ; else
  88. # For backward compatibility with versions of terminal.mod that don't
  89. # understand terminal_output
  90. terminal gfxterm
  91. fi
  92. fi
  93. insmod ext2
  94. set root='(hd0,5)'
  95. search --no-floppy --fs-uuid --set 24834f85-1202-4517-8210-3d405279c90a
  96. set locale_dir=($root)/boot/grub/locale
  97. set lang=en
  98. insmod gettext
  99. if [ ${recordfail} = 1 ]; then
  100. set timeout=-1
  101. else
  102. set timeout=10
  103. fi
  104. ### END /etc/grub.d/00_header ###
  105.  
  106. ### BEGIN /etc/grub.d/05_debian_theme ###
  107. set menu_color_normal=white/black
  108. set menu_color_highlight=black/light-gray
  109. ### END /etc/grub.d/05_debian_theme ###
  110.  
  111. ### BEGIN /etc/grub.d/10_linux ###
  112. menuentry 'Ubuntu, with Linux 2.6.32-42-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  113. recordfail
  114. insmod ext2
  115. set root='(hd0,5)'
  116. search --no-floppy --fs-uuid --set 24834f85-1202-4517-8210-3d405279c90a
  117. linux /boot/vmlinuz-2.6.32-42-generic root=UUID=24834f85-1202-4517-8210-3d405279c90a ro acpi=noirq splash
  118. initrd /boot/initrd.img-2.6.32-42-generic
  119. }
  120. menuentry 'Ubuntu, with Linux 2.6.32-42-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  121. recordfail
  122. insmod ext2
  123. set root='(hd0,5)'
  124. search --no-floppy --fs-uuid --set 24834f85-1202-4517-8210-3d405279c90a
  125. echo 'Loading Linux 2.6.32-42-generic ...'
  126. linux /boot/vmlinuz-2.6.32-42-generic root=UUID=24834f85-1202-4517-8210-3d405279c90a ro single
  127. echo 'Loading initial ramdisk ...'
  128. initrd /boot/initrd.img-2.6.32-42-generic
  129. }
  130. menuentry 'Ubuntu, with Linux 2.6.32-41-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  131. recordfail
  132. insmod ext2
  133. set root='(hd0,5)'
  134. search --no-floppy --fs-uuid --set 24834f85-1202-4517-8210-3d405279c90a
  135. linux /boot/vmlinuz-2.6.32-41-generic root=UUID=24834f85-1202-4517-8210-3d405279c90a ro acpi=noirq splash
  136. initrd /boot/initrd.img-2.6.32-41-generic
  137. }
  138. menuentry 'Ubuntu, with Linux 2.6.32-41-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  139. recordfail
  140. insmod ext2
  141. set root='(hd0,5)'
  142. search --no-floppy --fs-uuid --set 24834f85-1202-4517-8210-3d405279c90a
  143. echo 'Loading Linux 2.6.32-41-generic ...'
  144. linux /boot/vmlinuz-2.6.32-41-generic root=UUID=24834f85-1202-4517-8210-3d405279c90a ro single
  145. echo 'Loading initial ramdisk ...'
  146. initrd /boot/initrd.img-2.6.32-41-generic
  147. }
  148. menuentry 'Ubuntu, with Linux 2.6.32-40-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  149. recordfail
  150. insmod ext2
  151. set root='(hd0,5)'
  152. search --no-floppy --fs-uuid --set 24834f85-1202-4517-8210-3d405279c90a
  153. linux /boot/vmlinuz-2.6.32-40-generic root=UUID=24834f85-1202-4517-8210-3d405279c90a ro acpi=noirq splash
  154. initrd /boot/initrd.img-2.6.32-40-generic
  155. }
  156. menuentry 'Ubuntu, with Linux 2.6.32-40-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  157. recordfail
  158. insmod ext2
  159. set root='(hd0,5)'
  160. search --no-floppy --fs-uuid --set 24834f85-1202-4517-8210-3d405279c90a
  161. echo 'Loading Linux 2.6.32-40-generic ...'
  162. linux /boot/vmlinuz-2.6.32-40-generic root=UUID=24834f85-1202-4517-8210-3d405279c90a ro single
  163. echo 'Loading initial ramdisk ...'
  164. initrd /boot/initrd.img-2.6.32-40-generic
  165. }
  166. menuentry 'Ubuntu, with Linux 2.6.32-39-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  167. recordfail
  168. insmod ext2
  169. set root='(hd0,5)'
  170. search --no-floppy --fs-uuid --set 24834f85-1202-4517-8210-3d405279c90a
  171. linux /boot/vmlinuz-2.6.32-39-generic root=UUID=24834f85-1202-4517-8210-3d405279c90a ro acpi=noirq splash
  172. initrd /boot/initrd.img-2.6.32-39-generic
  173. }
  174. menuentry 'Ubuntu, with Linux 2.6.32-39-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  175. recordfail
  176. insmod ext2
  177. set root='(hd0,5)'
  178. search --no-floppy --fs-uuid --set 24834f85-1202-4517-8210-3d405279c90a
  179. echo 'Loading Linux 2.6.32-39-generic ...'
  180. linux /boot/vmlinuz-2.6.32-39-generic root=UUID=24834f85-1202-4517-8210-3d405279c90a ro single
  181. echo 'Loading initial ramdisk ...'
  182. initrd /boot/initrd.img-2.6.32-39-generic
  183. }
  184. menuentry 'Ubuntu, with Linux 2.6.32-28-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  185. recordfail
  186. insmod ext2
  187. set root='(hd0,5)'
  188. search --no-floppy --fs-uuid --set 24834f85-1202-4517-8210-3d405279c90a
  189. linux /boot/vmlinuz-2.6.32-28-generic root=UUID=24834f85-1202-4517-8210-3d405279c90a ro acpi=noirq splash
  190. initrd /boot/initrd.img-2.6.32-28-generic
  191. }
  192. menuentry 'Ubuntu, with Linux 2.6.32-28-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  193. recordfail
  194. insmod ext2
  195. set root='(hd0,5)'
  196. search --no-floppy --fs-uuid --set 24834f85-1202-4517-8210-3d405279c90a
  197. echo 'Loading Linux 2.6.32-28-generic ...'
  198. linux /boot/vmlinuz-2.6.32-28-generic root=UUID=24834f85-1202-4517-8210-3d405279c90a ro single
  199. echo 'Loading initial ramdisk ...'
  200. initrd /boot/initrd.img-2.6.32-28-generic
  201. }
  202. menuentry 'Ubuntu, with Linux 2.6.32-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  203. recordfail
  204. insmod ext2
  205. set root='(hd0,5)'
  206. search --no-floppy --fs-uuid --set 24834f85-1202-4517-8210-3d405279c90a
  207. linux /boot/vmlinuz-2.6.32-24-generic root=UUID=24834f85-1202-4517-8210-3d405279c90a ro acpi=noirq splash
  208. initrd /boot/initrd.img-2.6.32-24-generic
  209. }
  210. menuentry 'Ubuntu, with Linux 2.6.32-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  211. recordfail
  212. insmod ext2
  213. set root='(hd0,5)'
  214. search --no-floppy --fs-uuid --set 24834f85-1202-4517-8210-3d405279c90a
  215. echo 'Loading Linux 2.6.32-24-generic ...'
  216. linux /boot/vmlinuz-2.6.32-24-generic root=UUID=24834f85-1202-4517-8210-3d405279c90a ro single
  217. echo 'Loading initial ramdisk ...'
  218. initrd /boot/initrd.img-2.6.32-24-generic
  219. }
  220. ### END /etc/grub.d/10_linux ###
  221.  
  222. ### BEGIN /etc/grub.d/20_memtest86+ ###
  223. menuentry "Memory test (memtest86+)" {
  224. insmod ext2
  225. set root='(hd0,5)'
  226. search --no-floppy --fs-uuid --set 24834f85-1202-4517-8210-3d405279c90a
  227. linux16 /boot/memtest86+.bin
  228. }
  229. menuentry "Memory test (memtest86+, serial console 115200)" {
  230. insmod ext2
  231. set root='(hd0,5)'
  232. search --no-floppy --fs-uuid --set 24834f85-1202-4517-8210-3d405279c90a
  233. linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  234. }
  235. ### END /etc/grub.d/20_memtest86+ ###
  236.  
  237. ### BEGIN /etc/grub.d/30_os-prober ###
  238. menuentry "Windows 7 (loader) (on /dev/sda1)" {
  239. insmod ntfs
  240. set root='(hd0,1)'
  241. search --no-floppy --fs-uuid --set 425C46865C4674A7
  242. chainloader +1
  243. }
  244. menuentry "Windows 7 (loader) (on /dev/sda2)" {
  245. insmod ntfs
  246. set root='(hd0,2)'
  247. search --no-floppy --fs-uuid --set C2CC6D05CC6CF4D7
  248. chainloader +1
  249. }
  250. menuentry "Windows Vista (loader) (on /dev/sda4)" {
  251. insmod ntfs
  252. set root='(hd0,4)'
  253. search --no-floppy --fs-uuid --set 9A4493F54493D1FD
  254. chainloader +1
  255. }
  256. ### END /etc/grub.d/30_os-prober ###
  257.  
  258. ### BEGIN /etc/grub.d/40_custom ###
  259. # This file provides an easy way to add custom menu entries. Simply type the
  260. # menu entries you want to add after this comment. Be careful not to change
  261. # the 'exec tail' line above.
  262. ### END /etc/grub.d/40_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement