Advertisement
timcowchip

grub.cfg

May 17th, 2013
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.77 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. load_env
  11. fi
  12. set default="2"
  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 load_video {
  29. insmod vbe
  30. insmod vga
  31. insmod video_bochs
  32. insmod video_cirrus
  33. }
  34.  
  35. insmod part_msdos
  36. insmod ext2
  37. set root='(hd0,msdos1)'
  38. search --no-floppy --fs-uuid --set=root e420394d-7bca-4d8c-b553-137e12dafc59
  39. if loadfont /usr/share/grub/unicode.pf2 ; then
  40. set gfxmode=640x480
  41. load_video
  42. insmod gfxterm
  43. insmod part_msdos
  44. insmod ext2
  45. set root='(hd0,msdos1)'
  46. search --no-floppy --fs-uuid --set=root e420394d-7bca-4d8c-b553-137e12dafc59
  47. set locale_dir=($root)/boot/grub/locale
  48. set lang=en_US
  49. insmod gettext
  50. fi
  51. terminal_output gfxterm
  52. set timeout=5
  53. ### END /etc/grub.d/00_header ###
  54.  
  55. ### BEGIN /etc/grub.d/05_debian_theme ###
  56. insmod part_msdos
  57. insmod ext2
  58. set root='(hd0,msdos1)'
  59. search --no-floppy --fs-uuid --set=root e420394d-7bca-4d8c-b553-137e12dafc59
  60. insmod png
  61. if background_image /usr/share/images/desktop-base/joy-grub.png; then
  62. set color_normal=white/black
  63. set color_highlight=black/white
  64. else
  65. set menu_color_normal=cyan/blue
  66. set menu_color_highlight=white/blue
  67. fi
  68. ### END /etc/grub.d/05_debian_theme ###
  69.  
  70. ### BEGIN /etc/grub.d/10_linux ###
  71. menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-amd64' --class debian --class gnu-linux --class gnu --class os {
  72. load_video
  73. insmod gzio
  74. insmod part_msdos
  75. insmod ext2
  76. set root='(hd0,msdos1)'
  77. search --no-floppy --fs-uuid --set=root e420394d-7bca-4d8c-b553-137e12dafc59
  78. echo 'Loading Linux 3.2.0-4-amd64 ...'
  79. linux /boot/vmlinuz-3.2.0-4-amd64 root=UUID=e420394d-7bca-4d8c-b553-137e12dafc59 ro quiet
  80. echo 'Loading initial ramdisk ...'
  81. initrd /boot/initrd.img-3.2.0-4-amd64
  82. }
  83. menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
  84. load_video
  85. insmod gzio
  86. insmod part_msdos
  87. insmod ext2
  88. set root='(hd0,msdos1)'
  89. search --no-floppy --fs-uuid --set=root e420394d-7bca-4d8c-b553-137e12dafc59
  90. echo 'Loading Linux 3.2.0-4-amd64 ...'
  91. linux /boot/vmlinuz-3.2.0-4-amd64 root=UUID=e420394d-7bca-4d8c-b553-137e12dafc59 ro single
  92. echo 'Loading initial ramdisk ...'
  93. initrd /boot/initrd.img-3.2.0-4-amd64
  94. }
  95. ### END /etc/grub.d/10_linux ###
  96.  
  97. ### BEGIN /etc/grub.d/20_linux_xen ###
  98. ### END /etc/grub.d/20_linux_xen ###
  99.  
  100. ### BEGIN /etc/grub.d/30_os-prober ###
  101. menuentry "CRUX (on /dev/sda3)" --class gnu-linux --class gnu --class os {
  102. insmod part_msdos
  103. insmod ext2
  104. set root='(hd0,msdos3)'
  105. search --no-floppy --fs-uuid --set=root cded5248-3b8c-4161-a776-8a1591636046
  106. linux /boot/vmlinuz root=/dev/sda3 ro quiet
  107. }
  108. menuentry "Linux (on /dev/sda4)" --class gnu-linux --class gnu --class os {
  109. insmod part_msdos
  110. insmod btrfs
  111. set root='(hd0,msdos4)'
  112. search --no-floppy --fs-uuid --set=root 5cefdb2a-e416-40be-a1c6-6e2620f4a50b
  113. linux /boot/vmlinuz root=/dev/sda4 ro quiet vt.default_utf8=1 vga = 791
  114. }
  115. ### END /etc/grub.d/30_os-prober ###
  116.  
  117. ### BEGIN /etc/grub.d/40_custom ###
  118. # This file provides an easy way to add custom menu entries. Simply type the
  119. # menu entries you want to add after this comment. Be careful not to change
  120. # the 'exec tail' line above.
  121. ### END /etc/grub.d/40_custom ###
  122.  
  123. ### BEGIN /etc/grub.d/41_custom ###
  124. if [ -f $prefix/custom.cfg ]; then
  125. source $prefix/custom.cfg;
  126. fi
  127. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement