Advertisement
Guest User

Untitled

a guest
Apr 20th, 2010
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.47 KB | None | 0 0
  1. samantha@Samantha-laptop:~$ cat /boot/grub/grub.cfg
  2. #
  3. # DO NOT EDIT THIS FILE
  4. #
  5. # It is automatically generated by /usr/sbin/grub-mkconfig using templates
  6. # from /etc/grub.d and settings from /etc/default/grub
  7. #
  8.  
  9. ### BEGIN /etc/grub.d/00_header ###
  10. if [ -s $prefix/grubenv ]; then
  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. insmod ext2
  34. set root='(hd0,5)'
  35. search --no-floppy --fs-uuid --set 65dd61b8-632f-4248-afc2-a7f8dfe79b38
  36. if loadfont /usr/share/grub/unicode.pf2 ; then
  37. set gfxmode=640x480
  38. insmod gfxterm
  39. insmod vbe
  40. if terminal_output gfxterm ; then true ; else
  41. # For backward compatibility with versions of terminal.mod that don't
  42. # understand terminal_output
  43. terminal gfxterm
  44. fi
  45. fi
  46. insmod ext2
  47. set root='(hd0,5)'
  48. search --no-floppy --fs-uuid --set 65dd61b8-632f-4248-afc2-a7f8dfe79b38
  49. set locale_dir=($root)/boot/grub/locale
  50. set lang=en
  51. insmod gettext
  52. if [ ${recordfail} = 1 ]; then
  53. set timeout=-1
  54. else
  55. set timeout=10
  56. fi
  57. ### END /etc/grub.d/00_header ###
  58.  
  59. ### BEGIN /etc/grub.d/05_debian_theme ###
  60. set menu_color_normal=white/black
  61. set menu_color_highlight=black/light-gray
  62. ### END /etc/grub.d/05_debian_theme ###
  63.  
  64. ### BEGIN /etc/grub.d/10_linux ###
  65. menuentry 'Ubuntu, with Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  66. recordfail
  67. insmod ext2
  68. set root='(hd0,5)'
  69. search --no-floppy --fs-uuid --set 65dd61b8-632f-4248-afc2-a7f8dfe79b38
  70. linux /boot/vmlinuz-2.6.32-21-generic root=UUID=65dd61b8-632f-4248-afc2-a7f8dfe79b38 ro quiet splash
  71. initrd /boot/initrd.img-2.6.32-21-generic
  72. }
  73. menuentry 'Ubuntu, with Linux 2.6.32-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  74. recordfail
  75. insmod ext2
  76. set root='(hd0,5)'
  77. search --no-floppy --fs-uuid --set 65dd61b8-632f-4248-afc2-a7f8dfe79b38
  78. echo 'Loading Linux 2.6.32-21-generic ...'
  79. linux /boot/vmlinuz-2.6.32-21-generic root=UUID=65dd61b8-632f-4248-afc2-a7f8dfe79b38 ro single
  80. echo 'Loading initial ramdisk ...'
  81. initrd /boot/initrd.img-2.6.32-21-generic
  82. }
  83. menuentry 'Ubuntu, with Linux 2.6.32-19-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  84. recordfail
  85. insmod ext2
  86. set root='(hd0,5)'
  87. search --no-floppy --fs-uuid --set 65dd61b8-632f-4248-afc2-a7f8dfe79b38
  88. linux /boot/vmlinuz-2.6.32-19-generic root=UUID=65dd61b8-632f-4248-afc2-a7f8dfe79b38 ro quiet splash
  89. initrd /boot/initrd.img-2.6.32-19-generic
  90. }
  91. menuentry 'Ubuntu, with Linux 2.6.32-19-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  92. recordfail
  93. insmod ext2
  94. set root='(hd0,5)'
  95. search --no-floppy --fs-uuid --set 65dd61b8-632f-4248-afc2-a7f8dfe79b38
  96. echo 'Loading Linux 2.6.32-19-generic ...'
  97. linux /boot/vmlinuz-2.6.32-19-generic root=UUID=65dd61b8-632f-4248-afc2-a7f8dfe79b38 ro single
  98. echo 'Loading initial ramdisk ...'
  99. initrd /boot/initrd.img-2.6.32-19-generic
  100. }
  101. ### END /etc/grub.d/10_linux ###
  102.  
  103. ### BEGIN /etc/grub.d/11_Windows ###
  104. menuentry "Windows Vista" {
  105. set root=(hd0,3)
  106. chainloader +1
  107. }
  108. ### END /etc/grub.d/11_Windows ###
  109.  
  110. ### BEGIN /etc/grub.d/20_memtest86+ ###
  111. menuentry "Memory test (memtest86+)" {
  112. insmod ext2
  113. set root='(hd0,5)'
  114. search --no-floppy --fs-uuid --set 65dd61b8-632f-4248-afc2-a7f8dfe79b38
  115. linux16 /boot/memtest86+.bin
  116. }
  117. menuentry "Memory test (memtest86+, serial console 115200)" {
  118. insmod ext2
  119. set root='(hd0,5)'
  120. search --no-floppy --fs-uuid --set 65dd61b8-632f-4248-afc2-a7f8dfe79b38
  121. linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  122. }
  123. ### END /etc/grub.d/20_memtest86+ ###
  124.  
  125. ### BEGIN /etc/grub.d/30_os-prober ###
  126. menuentry "Windows Recovery Environment (loader) (on /dev/sda2)" {
  127. insmod ntfs
  128. set root='(hd0,2)'
  129. search --no-floppy --fs-uuid --set d81a3e541a3e303c
  130. drivemap -s (hd0) ${root}
  131. chainloader +1
  132. }
  133. ### END /etc/grub.d/30_os-prober ###
  134.  
  135. ### BEGIN /etc/grub.d/40_custom ###
  136. # This file provides an easy way to add custom menu entries. Simply type the
  137. # menu entries you want to add after this comment. Be careful not to change
  138. # the 'exec tail' line above.
  139. ### END /etc/grub.d/40_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement