Guest User

Untitled

a guest
Feb 1st, 2011
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.46 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,1)'
  34. search --no-floppy --fs-uuid --set 0c45f0a2-cf71-46e4-85dc-8197863bfc59
  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,1)'
  47. search --no-floppy --fs-uuid --set 0c45f0a2-cf71-46e4-85dc-8197863bfc59
  48. set locale_dir=($root)/boot/grub/locale
  49. set lang=en
  50. insmod gettext
  51. if [ ${recordfail} = 1 ]; then
  52. set timeout=-1
  53. else
  54. set timeout=10
  55. fi
  56. ### END /etc/grub.d/00_header ###
  57.  
  58. ### BEGIN /etc/grub.d/05_debian_theme ###
  59. set menu_color_normal=white/black
  60. set menu_color_highlight=black/light-gray
  61. ### END /etc/grub.d/05_debian_theme ###
  62.  
  63. ### BEGIN /etc/grub.d/10_linux ###
  64. menuentry 'Ubuntu, with Linux 2.6.32-122-rtai' --class ubuntu --class gnu-linux --class gnu --class os {
  65. recordfail
  66. insmod ext2
  67. set root='(hd0,1)'
  68. search --no-floppy --fs-uuid --set 0c45f0a2-cf71-46e4-85dc-8197863bfc59
  69. linux /boot/vmlinuz-2.6.32-122-rtai root=UUID=0c45f0a2-cf71-46e4-85dc-8197863bfc59 ro quiet splash
  70. initrd /boot/initrd.img-2.6.32-122-rtai
  71. }
  72. menuentry 'Ubuntu, with Linux 2.6.32-122-rtai (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  73. recordfail
  74. insmod ext2
  75. set root='(hd0,1)'
  76. search --no-floppy --fs-uuid --set 0c45f0a2-cf71-46e4-85dc-8197863bfc59
  77. echo 'Loading Linux 2.6.32-122-rtai ...'
  78. linux /boot/vmlinuz-2.6.32-122-rtai root=UUID=0c45f0a2-cf71-46e4-85dc-8197863bfc59 ro single
  79. echo 'Loading initial ramdisk ...'
  80. initrd /boot/initrd.img-2.6.32-122-rtai
  81. }
  82. ### END /etc/grub.d/10_linux ###
  83.  
  84. ### BEGIN /etc/grub.d/20_memtest86+ ###
  85. menuentry "Memory test (memtest86+)" {
  86. insmod ext2
  87. set root='(hd0,1)'
  88. search --no-floppy --fs-uuid --set 0c45f0a2-cf71-46e4-85dc-8197863bfc59
  89. linux16 /boot/memtest86+.bin
  90. }
  91. menuentry "Memory test (memtest86+, serial console 115200)" {
  92. insmod ext2
  93. set root='(hd0,1)'
  94. search --no-floppy --fs-uuid --set 0c45f0a2-cf71-46e4-85dc-8197863bfc59
  95. linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  96. }
  97. ### END /etc/grub.d/20_memtest86+ ###
  98.  
  99. ### BEGIN /etc/grub.d/30_os-prober ###
  100. if [ ${timeout} != -1 ]; then
  101. if keystatus; then
  102. if keystatus --shift; then
  103. set timeout=-1
  104. else
  105. set timeout=0
  106. fi
  107. else
  108. if sleep --interruptible 3 ; then
  109. set timeout=0
  110. fi
  111. fi
  112. fi
  113. ### END /etc/grub.d/30_os-prober ###
  114.  
  115. ### BEGIN /etc/grub.d/40_custom ###
  116. # This file provides an easy way to add custom menu entries. Simply type the
  117. # menu entries you want to add after this comment. Be careful not to change
  118. # the 'exec tail' line above.
  119. ### END /etc/grub.d/40_custom ###
Advertisement
Add Comment
Please, Sign In to add comment