Advertisement
Guest User

Untitled

a guest
Feb 20th, 2015
375
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 6.78 KB | None | 0 0
  1. root@vdeb:~# cat /boot/grub/grub.cfg
  2. #
  3. # DO NOT EDIT THIS FILE
  4. #
  5. # It is automatically generated by 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.   set have_grubenv=true
  12.   load_env
  13. fi
  14. if [ "${next_entry}" ] ; then
  15.    set default="${next_entry}"
  16.    set next_entry=
  17.    save_env next_entry
  18.    set boot_once=true
  19. else
  20.    set default="0"
  21. fi
  22.  
  23. if [ x"${feature_menuentry_id}" = xy ]; then
  24.   menuentry_id_option="--id"
  25. else
  26.   menuentry_id_option=""
  27. fi
  28.  
  29. export menuentry_id_option
  30.  
  31. if [ "${prev_saved_entry}" ]; then
  32.   set saved_entry="${prev_saved_entry}"
  33.   save_env saved_entry
  34.   set prev_saved_entry=
  35.   save_env prev_saved_entry
  36.   set boot_once=true
  37. fi
  38.  
  39. function savedefault {
  40.   if [ -z "${boot_once}" ]; then
  41.     saved_entry="${chosen}"
  42.     save_env saved_entry
  43.   fi
  44. }
  45. function load_video {
  46.   if [ x$feature_all_video_module = xy ]; then
  47.     insmod all_video
  48.   else
  49.     insmod efi_gop
  50.     insmod efi_uga
  51.     insmod ieee1275_fb
  52.     insmod vbe
  53.     insmod vga
  54.     insmod video_bochs
  55.     insmod video_cirrus
  56.   fi
  57. }
  58.  
  59. if [ x$feature_default_font_path = xy ] ; then
  60.    font=unicode
  61. else
  62. insmod part_msdos
  63. insmod part_msdos
  64. insmod diskfilter
  65. insmod mdraid1x
  66. insmod ext2
  67. set root='mduuid/52f50c29ec6f7bb0bc024771e9b459cb'
  68. if [ x$feature_platform_search_hint = xy ]; then
  69.   search --no-floppy --fs-uuid --set=root --hint='mduuid/52f50c29ec6f7bb0bc024771e9b459cb'  82ecf9a8-429a-44b8-bdb7-ddacb963a054
  70. else
  71.   search --no-floppy --fs-uuid --set=root 82ecf9a8-429a-44b8-bdb7-ddacb963a054
  72. fi
  73.     font="/usr/share/grub/unicode.pf2"
  74. fi
  75.  
  76. if loadfont $font ; then
  77.   set gfxmode=auto
  78.   load_video
  79.   insmod gfxterm
  80.   set locale_dir=$prefix/locale
  81.   set lang=en_US
  82.   insmod gettext
  83. fi
  84. terminal_output gfxterm
  85. if [ "${recordfail}" = 1 ] ; then
  86.   set timeout=-1
  87. else
  88.   if [ x$feature_timeout_style = xy ] ; then
  89.     set timeout_style=menu
  90.     set timeout=5
  91.   # Fallback normal timeout code in case the timeout_style feature is
  92.   # unavailable.
  93.   else
  94.     set timeout=5
  95.   fi
  96. fi
  97. ### END /etc/grub.d/00_header ###
  98.  
  99. ### BEGIN /etc/grub.d/05_debian_theme ###
  100. set menu_color_normal=cyan/blue
  101. set menu_color_highlight=white/blue
  102. ### END /etc/grub.d/05_debian_theme ###
  103.  
  104. ### BEGIN /etc/grub.d/10_linux ###
  105. function gfxmode {
  106.         set gfxpayload="${1}"
  107. }
  108. set linux_gfx_mode=
  109. export linux_gfx_mode
  110. menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-82ecf9a8-429a-44b8-bdb7-ddacb963a054' {
  111.         load_video
  112.         insmod gzio
  113.         if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  114.         insmod part_msdos
  115.         insmod part_msdos
  116.         insmod diskfilter
  117.         insmod mdraid1x
  118.         insmod ext2
  119.         set root='mduuid/52f50c29ec6f7bb0bc024771e9b459cb'
  120.         if [ x$feature_platform_search_hint = xy ]; then
  121.           search --no-floppy --fs-uuid --set=root --hint='mduuid/52f50c29ec6f7bb0bc024771e9b459cb'  82ecf9a8-429a-44b8-bdb7-ddacb963a054
  122.         else
  123.           search --no-floppy --fs-uuid --set=root 82ecf9a8-429a-44b8-bdb7-ddacb963a054
  124.         fi
  125.         echo    'Loading Linux 3.16.0-4-amd64 ...'
  126.         linux   /boot/vmlinuz-3.16.0-4-amd64 root=UUID=82ecf9a8-429a-44b8-bdb7-ddacb963a054 ro  
  127.         echo    'Loading initial ramdisk ...'
  128.         initrd  /boot/initrd.img-3.16.0-4-amd64
  129. }
  130. submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-82ecf9a8-429a-44b8-bdb7-ddacb963a054' {
  131.         menuentry 'Debian GNU/Linux, with Linux 3.16.0-4-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-4-amd64-advanced-82ecf9a8-429a-44b8-bdb7-ddacb963a054' {
  132.                 load_video
  133.                 insmod gzio
  134.                 if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  135.                 insmod part_msdos
  136.                 insmod part_msdos
  137.                 insmod diskfilter
  138.                 insmod mdraid1x
  139.                 insmod ext2
  140.                 set root='mduuid/52f50c29ec6f7bb0bc024771e9b459cb'
  141.                 if [ x$feature_platform_search_hint = xy ]; then
  142.                   search --no-floppy --fs-uuid --set=root --hint='mduuid/52f50c29ec6f7bb0bc024771e9b459cb'  82ecf9a8-429a-44b8-bdb7-ddacb963a054
  143.                 else
  144.                   search --no-floppy --fs-uuid --set=root 82ecf9a8-429a-44b8-bdb7-ddacb963a054
  145.                 fi
  146.                 echo    'Loading Linux 3.16.0-4-amd64 ...'
  147.                 linux   /boot/vmlinuz-3.16.0-4-amd64 root=UUID=82ecf9a8-429a-44b8-bdb7-ddacb963a054 ro  
  148.                 echo    'Loading initial ramdisk ...'
  149.                 initrd  /boot/initrd.img-3.16.0-4-amd64
  150.         }
  151.         menuentry 'Debian GNU/Linux, with Linux 3.16.0-4-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-4-amd64-recovery-82ecf9a8-429a-44b8-bdb7-ddacb963a054' {
  152.                 load_video
  153.                 insmod gzio
  154.                 if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  155.                 insmod part_msdos
  156.                 insmod part_msdos
  157.                 insmod diskfilter
  158.                 insmod mdraid1x
  159.                 insmod ext2
  160.                 set root='mduuid/52f50c29ec6f7bb0bc024771e9b459cb'
  161.                 if [ x$feature_platform_search_hint = xy ]; then
  162.                   search --no-floppy --fs-uuid --set=root --hint='mduuid/52f50c29ec6f7bb0bc024771e9b459cb'  82ecf9a8-429a-44b8-bdb7-ddacb963a054
  163.                 else
  164.                   search --no-floppy --fs-uuid --set=root 82ecf9a8-429a-44b8-bdb7-ddacb963a054
  165.                 fi
  166.                 echo    'Loading Linux 3.16.0-4-amd64 ...'
  167.                 linux   /boot/vmlinuz-3.16.0-4-amd64 root=UUID=82ecf9a8-429a-44b8-bdb7-ddacb963a054 ro single
  168.                 echo    'Loading initial ramdisk ...'
  169.                 initrd  /boot/initrd.img-3.16.0-4-amd64
  170.         }
  171. }
  172.  
  173. ### END /etc/grub.d/10_linux ###
  174.  
  175. ### BEGIN /etc/grub.d/20_linux_xen ###
  176.  
  177. ### END /etc/grub.d/20_linux_xen ###
  178.  
  179. ### BEGIN /etc/grub.d/30_os-prober ###
  180. ### END /etc/grub.d/30_os-prober ###
  181.  
  182. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  183. ### END /etc/grub.d/30_uefi-firmware ###
  184.  
  185. ### BEGIN /etc/grub.d/40_custom ###
  186. # This file provides an easy way to add custom menu entries.  Simply type the
  187. # menu entries you want to add after this comment.  Be careful not to change
  188. # the 'exec tail' line above.
  189. ### END /etc/grub.d/40_custom ###
  190.  
  191. ### BEGIN /etc/grub.d/41_custom ###
  192. if [ -f  ${config_directory}/custom.cfg ]; then
  193.   source ${config_directory}/custom.cfg
  194. elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  195.   source $prefix/custom.cfg;
  196. fi
  197. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement