Advertisement
zopper

grub-vbox

Apr 11th, 2013
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.19 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="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 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,msdos6)'
  38. search --no-floppy --fs-uuid --set 87ff1861-33ca-4e5a-8c03-215c779d6a3b
  39. if loadfont /usr/share/grub/unicode.pf2 ; then
  40.   set gfxmode=640x480
  41.   load_video
  42.   insmod gfxterm
  43. fi
  44. terminal_output gfxterm
  45. insmod part_msdos
  46. insmod ext2
  47. set root='(hd0,msdos1)'
  48. search --no-floppy --fs-uuid --set 87d986e7-61d0-4d51-8be7-d2d8c5092544
  49. set locale_dir=($root)/grub/locale
  50. set lang=cs
  51. insmod gettext
  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,msdos6)'
  59. search --no-floppy --fs-uuid --set 87ff1861-33ca-4e5a-8c03-215c779d6a3b
  60. insmod png
  61. if background_image /usr/share/images/desktop-base/spacefun-grub.png; then
  62.   set color_normal=light-gray/black
  63.   set color_highlight=white/black
  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 2.6.32-5-amd64' --class debian --class gnu-linux --class gnu --class os {
  72.         insmod part_msdos
  73.         insmod ext2
  74.         set root='(hd0,msdos1)'
  75.         search --no-floppy --fs-uuid --set 87d986e7-61d0-4d51-8be7-d2d8c5092544
  76.         echo    'Loading Linux 2.6.32-5-amd64 ...'
  77.         linux   /vmlinuz-2.6.32-5-amd64 root=/dev/sda6 ro  quiet
  78.         echo    'Loading initial ramdisk ...'
  79.         initrd  /initrd.img-2.6.32-5-amd64
  80. }
  81. menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
  82.         insmod part_msdos
  83.         insmod ext2
  84.         set root='(hd0,msdos1)'
  85.         search --no-floppy --fs-uuid --set 87d986e7-61d0-4d51-8be7-d2d8c5092544
  86.         echo    'Loading Linux 2.6.32-5-amd64 ...'
  87.         linux   /vmlinuz-2.6.32-5-amd64 root=/dev/sda6 ro single
  88.         echo    'Loading initial ramdisk ...'
  89.         initrd  /initrd.img-2.6.32-5-amd64
  90. }
  91. ### END /etc/grub.d/10_linux ###
  92.  
  93. ### BEGIN /etc/grub.d/20_linux_xen ###
  94. ### END /etc/grub.d/20_linux_xen ###
  95.  
  96. ### BEGIN /etc/grub.d/30_os-prober ###
  97. ### END /etc/grub.d/30_os-prober ###
  98.  
  99. ### BEGIN /etc/grub.d/40_custom ###
  100. # This file provides an easy way to add custom menu entries.  Simply type the
  101. # menu entries you want to add after this comment.  Be careful not to change
  102. # the 'exec tail' line above.
  103. ### END /etc/grub.d/40_custom ###
  104.  
  105. ### BEGIN /etc/grub.d/41_custom ###
  106. if [ -f  $prefix/custom.cfg ]; then
  107.   source $prefix/custom.cfg;
  108. fi
  109. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement