Guest User

Debian - grub.cfg

a guest
Sep 2nd, 2012
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.84 KB | None | 0 0
  1. # DO NOT EDIT THIS FILE
  2. #
  3. # It is automatically generated by grub-mkconfig using templates
  4. # from /etc/grub.d and settings from /etc/default/grub
  5. #
  6.  
  7. ### BEGIN /etc/grub.d/00_header ###
  8. if [ -s $prefix/grubenv ]; then
  9. load_env
  10. fi
  11. set default="0"
  12. if [ "${prev_saved_entry}" ]; then
  13. set saved_entry="${prev_saved_entry}"
  14. save_env saved_entry
  15. set prev_saved_entry=
  16. save_env prev_saved_entry
  17. set boot_once=true
  18. fi
  19.  
  20. function savedefault {
  21. if [ -z "${boot_once}" ]; then
  22. saved_entry="${chosen}"
  23. save_env saved_entry
  24. fi
  25. }
  26.  
  27. function load_video {
  28. insmod vbe
  29. insmod vga
  30. insmod video_bochs
  31. insmod video_cirrus
  32. }
  33.  
  34. insmod part_msdos
  35. insmod ext2
  36. set root='(hd0,msdos3)'
  37. search --no-floppy --fs-uuid --set e40b23c1-4127-4575-9902-5ff6f2e5ac32
  38. if loadfont /usr/share/grub/unicode.pf2 ; then
  39. set gfxmode=640x480
  40. load_video
  41. insmod gfxterm
  42. fi
  43. terminal_output gfxterm
  44. insmod part_msdos
  45. insmod ext2
  46. set root='(hd0,msdos3)'
  47. search --no-floppy --fs-uuid --set e40b23c1-4127-4575-9902-5ff6f2e5ac32
  48. set locale_dir=($root)/boot/grub/locale
  49. set lang=en
  50. insmod gettext
  51. set timeout=5
  52. ### END /etc/grub.d/00_header ###
  53.  
  54. ### BEGIN /etc/grub.d/05_debian_theme ###
  55. set menu_color_normal=cyan/blue
  56. set menu_color_highlight=white/blue
  57. ### END /etc/grub.d/05_debian_theme ###
  58.  
  59. ### BEGIN /etc/grub.d/10_linux ###
  60. menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-686' --class debian --class gnu-linux --class gnu --class os {
  61. insmod part_msdos
  62. insmod ext2
  63. set root='(hd0,msdos3)'
  64. search --no-floppy --fs-uuid --set e40b23c1-4127-4575-9902-5ff6f2e5ac32
  65. echo 'Loading Linux 2.6.32-5-686 ...'
  66. linux /boot/vmlinuz-2.6.32-5-686 root=UUID=e40b23c1-4127-4575-9902-5ff6f2e5ac32 ro quiet
  67. echo 'Loading initial ramdisk ...'
  68. initrd /boot/initrd.img-2.6.32-5-686
  69. }
  70. menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-686 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
  71. insmod part_msdos
  72. insmod ext2
  73. set root='(hd0,msdos3)'
  74. search --no-floppy --fs-uuid --set e40b23c1-4127-4575-9902-5ff6f2e5ac32
  75. echo 'Loading Linux 2.6.32-5-686 ...'
  76. linux /boot/vmlinuz-2.6.32-5-686 root=UUID=e40b23c1-4127-4575-9902-5ff6f2e5ac32 ro single
  77. echo 'Loading initial ramdisk ...'
  78. initrd /boot/initrd.img-2.6.32-5-686
  79. }
  80. ### END /etc/grub.d/10_linux ###
  81.  
  82. ### BEGIN /etc/grub.d/20_linux_xen ###
  83. ### END /etc/grub.d/20_linux_xen ###
  84.  
  85. ### BEGIN /etc/grub.d/30_os-prober ###
  86. ### END /etc/grub.d/30_os-prober ###
  87.  
  88. ### BEGIN /etc/grub.d/40_custom ###
  89. # This file provides an easy way to add custom menu entries. Simply type the
  90. # menu entries you want to add after this comment. Be careful not to change
  91. # the 'exec tail' line above.
  92. ### END /etc/grub.d/40_custom ###
  93.  
  94. ### BEGIN /etc/grub.d/41_custom ###
  95. if [ -f $prefix/custom.cfg ]; then
  96. source $prefix/custom.cfg;
  97. fi
  98. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment