Advertisement
Guest User

grub.cfg

a guest
Jun 15th, 2013
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 16.75 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.   set have_grubenv=true
  11.   load_env
  12. fi
  13. set default="0"
  14.  
  15. if [ x"${feature_menuentry_id}" = xy ]; then
  16.   menuentry_id_option="--id"
  17. else
  18.   menuentry_id_option=""
  19. fi
  20.  
  21. export menuentry_id_option
  22.  
  23. if [ "${prev_saved_entry}" ]; then
  24.   set saved_entry="${prev_saved_entry}"
  25.   save_env saved_entry
  26.   set prev_saved_entry=
  27.   save_env prev_saved_entry
  28.   set boot_once=true
  29. fi
  30.  
  31. function savedefault {
  32.   if [ -z "${boot_once}" ]; then
  33.     saved_entry="${chosen}"
  34.     save_env saved_entry
  35.   fi
  36. }
  37.  
  38. function recordfail {
  39.   set recordfail=1
  40.   if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  41. }
  42.  
  43. function load_video {
  44.   if [ x$feature_all_video_module = xy ]; then
  45.     insmod all_video
  46.   else
  47.     insmod efi_gop
  48.     insmod efi_uga
  49.     insmod ieee1275_fb
  50.     insmod vbe
  51.     insmod vga
  52.     insmod video_bochs
  53.     insmod video_cirrus
  54.   fi
  55. }
  56.  
  57. if [ x$feature_default_font_path = xy ] ; then
  58.    font=unicode
  59. else
  60. insmod part_gpt
  61. insmod ext2
  62. set root='hd0,gpt4'
  63. if [ x$feature_platform_search_hint = xy ]; then
  64.   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  ad72f50e-5663-4d34-98d2-60466cc96ae9
  65. else
  66.   search --no-floppy --fs-uuid --set=root ad72f50e-5663-4d34-98d2-60466cc96ae9
  67. fi
  68.     font="/usr/share/grub/unicode.pf2"
  69. fi
  70.  
  71. if loadfont $font ; then
  72.   set gfxmode=auto
  73.   load_video
  74.   insmod gfxterm
  75.   set locale_dir=$prefix/locale
  76.   set lang=en_IE
  77.   insmod gettext
  78. fi
  79. terminal_output gfxterm
  80. if [ "${recordfail}" = 1 ]; then
  81.   set timeout=10
  82. else
  83.   set timeout=10
  84. fi
  85. ### END /etc/grub.d/00_header ###
  86.  
  87. ### BEGIN /etc/grub.d/05_debian_theme ###
  88. set menu_color_normal=white/black
  89. set menu_color_highlight=black/light-gray
  90. if background_color 44,0,30; then
  91.   clear
  92. fi
  93. ### END /etc/grub.d/05_debian_theme ###
  94.  
  95. ### BEGIN /etc/grub.d/10_linux ###
  96. function gfxmode {
  97.     set gfxpayload="${1}"
  98.     if [ "${1}" = "keep" ]; then
  99.         set vt_handoff=vt.handoff=7
  100.     else
  101.         set vt_handoff=
  102.     fi
  103. }
  104. if [ "${recordfail}" != 1 ]; then
  105.   if [ -e ${prefix}/gfxblacklist.txt ]; then
  106.     if hwmatch ${prefix}/gfxblacklist.txt 3; then
  107.       if [ ${match} = 0 ]; then
  108.         set linux_gfx_mode=keep
  109.       else
  110.         set linux_gfx_mode=text
  111.       fi
  112.     else
  113.       set linux_gfx_mode=text
  114.     fi
  115.   else
  116.     set linux_gfx_mode=keep
  117.   fi
  118. else
  119.   set linux_gfx_mode=text
  120. fi
  121. export linux_gfx_mode
  122. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-ad72f50e-5663-4d34-98d2-60466cc96ae9' {
  123. recordfail
  124.     load_video
  125.     gfxmode $linux_gfx_mode
  126.     insmod gzio
  127.     insmod part_gpt
  128.     insmod ext2
  129.     set root='hd0,gpt4'
  130.     if [ x$feature_platform_search_hint = xy ]; then
  131.       search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  ad72f50e-5663-4d34-98d2-60466cc96ae9
  132.     else
  133.       search --no-floppy --fs-uuid --set=root ad72f50e-5663-4d34-98d2-60466cc96ae9
  134.     fi
  135.     linux   /boot/vmlinuz-3.8.0-25-generic root=UUID=ad72f50e-5663-4d34-98d2-60466cc96ae9 ro   quiet splash $vt_handoff
  136.     initrd  /boot/initrd.img-3.8.0-25-generic
  137. }
  138. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-ad72f50e-5663-4d34-98d2-60466cc96ae9' {
  139.     menuentry 'Ubuntu, with Linux 3.8.0-25-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.0-25-generic-advanced-ad72f50e-5663-4d34-98d2-60466cc96ae9' {
  140.     recordfail
  141.         load_video
  142.         gfxmode $linux_gfx_mode
  143.         insmod gzio
  144.         insmod part_gpt
  145.         insmod ext2
  146.         set root='hd0,gpt4'
  147.         if [ x$feature_platform_search_hint = xy ]; then
  148.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  ad72f50e-5663-4d34-98d2-60466cc96ae9
  149.         else
  150.           search --no-floppy --fs-uuid --set=root ad72f50e-5663-4d34-98d2-60466cc96ae9
  151.         fi
  152.         echo    'Loading Linux 3.8.0-25-generic ...'
  153.         linux   /boot/vmlinuz-3.8.0-25-generic root=UUID=ad72f50e-5663-4d34-98d2-60466cc96ae9 ro   quiet splash $vt_handoff
  154.         echo    'Loading initial ramdisk ...'
  155.         initrd  /boot/initrd.img-3.8.0-25-generic
  156.     }
  157.     menuentry 'Ubuntu, with Linux 3.8.0-25-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.0-25-generic-recovery-ad72f50e-5663-4d34-98d2-60466cc96ae9' {
  158.     recordfail
  159.         load_video
  160.         insmod gzio
  161.         insmod part_gpt
  162.         insmod ext2
  163.         set root='hd0,gpt4'
  164.         if [ x$feature_platform_search_hint = xy ]; then
  165.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  ad72f50e-5663-4d34-98d2-60466cc96ae9
  166.         else
  167.           search --no-floppy --fs-uuid --set=root ad72f50e-5663-4d34-98d2-60466cc96ae9
  168.         fi
  169.         echo    'Loading Linux 3.8.0-25-generic ...'
  170.         linux   /boot/vmlinuz-3.8.0-25-generic root=UUID=ad72f50e-5663-4d34-98d2-60466cc96ae9 ro recovery nomodeset
  171.         echo    'Loading initial ramdisk ...'
  172.         initrd  /boot/initrd.img-3.8.0-25-generic
  173.     }
  174.     menuentry 'Ubuntu, with Linux 3.8.0-23-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.0-23-generic-advanced-ad72f50e-5663-4d34-98d2-60466cc96ae9' {
  175.     recordfail
  176.         load_video
  177.         gfxmode $linux_gfx_mode
  178.         insmod gzio
  179.         insmod part_gpt
  180.         insmod ext2
  181.         set root='hd0,gpt4'
  182.         if [ x$feature_platform_search_hint = xy ]; then
  183.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  ad72f50e-5663-4d34-98d2-60466cc96ae9
  184.         else
  185.           search --no-floppy --fs-uuid --set=root ad72f50e-5663-4d34-98d2-60466cc96ae9
  186.         fi
  187.         echo    'Loading Linux 3.8.0-23-generic ...'
  188.         linux   /boot/vmlinuz-3.8.0-23-generic root=UUID=ad72f50e-5663-4d34-98d2-60466cc96ae9 ro   quiet splash $vt_handoff
  189.         echo    'Loading initial ramdisk ...'
  190.         initrd  /boot/initrd.img-3.8.0-23-generic
  191.     }
  192.     menuentry 'Ubuntu, with Linux 3.8.0-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.0-23-generic-recovery-ad72f50e-5663-4d34-98d2-60466cc96ae9' {
  193.     recordfail
  194.         load_video
  195.         insmod gzio
  196.         insmod part_gpt
  197.         insmod ext2
  198.         set root='hd0,gpt4'
  199.         if [ x$feature_platform_search_hint = xy ]; then
  200.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  ad72f50e-5663-4d34-98d2-60466cc96ae9
  201.         else
  202.           search --no-floppy --fs-uuid --set=root ad72f50e-5663-4d34-98d2-60466cc96ae9
  203.         fi
  204.         echo    'Loading Linux 3.8.0-23-generic ...'
  205.         linux   /boot/vmlinuz-3.8.0-23-generic root=UUID=ad72f50e-5663-4d34-98d2-60466cc96ae9 ro recovery nomodeset
  206.         echo    'Loading initial ramdisk ...'
  207.         initrd  /boot/initrd.img-3.8.0-23-generic
  208.     }
  209.     menuentry 'Ubuntu, with Linux 3.8.0-22-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.0-22-generic-advanced-ad72f50e-5663-4d34-98d2-60466cc96ae9' {
  210.     recordfail
  211.         load_video
  212.         gfxmode $linux_gfx_mode
  213.         insmod gzio
  214.         insmod part_gpt
  215.         insmod ext2
  216.         set root='hd0,gpt4'
  217.         if [ x$feature_platform_search_hint = xy ]; then
  218.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  ad72f50e-5663-4d34-98d2-60466cc96ae9
  219.         else
  220.           search --no-floppy --fs-uuid --set=root ad72f50e-5663-4d34-98d2-60466cc96ae9
  221.         fi
  222.         echo    'Loading Linux 3.8.0-22-generic ...'
  223.         linux   /boot/vmlinuz-3.8.0-22-generic root=UUID=ad72f50e-5663-4d34-98d2-60466cc96ae9 ro   quiet splash $vt_handoff
  224.         echo    'Loading initial ramdisk ...'
  225.         initrd  /boot/initrd.img-3.8.0-22-generic
  226.     }
  227.     menuentry 'Ubuntu, with Linux 3.8.0-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.0-22-generic-recovery-ad72f50e-5663-4d34-98d2-60466cc96ae9' {
  228.     recordfail
  229.         load_video
  230.         insmod gzio
  231.         insmod part_gpt
  232.         insmod ext2
  233.         set root='hd0,gpt4'
  234.         if [ x$feature_platform_search_hint = xy ]; then
  235.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  ad72f50e-5663-4d34-98d2-60466cc96ae9
  236.         else
  237.           search --no-floppy --fs-uuid --set=root ad72f50e-5663-4d34-98d2-60466cc96ae9
  238.         fi
  239.         echo    'Loading Linux 3.8.0-22-generic ...'
  240.         linux   /boot/vmlinuz-3.8.0-22-generic root=UUID=ad72f50e-5663-4d34-98d2-60466cc96ae9 ro recovery nomodeset
  241.         echo    'Loading initial ramdisk ...'
  242.         initrd  /boot/initrd.img-3.8.0-22-generic
  243.     }
  244.     menuentry 'Ubuntu, with Linux 3.8.0-21-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.0-21-generic-advanced-ad72f50e-5663-4d34-98d2-60466cc96ae9' {
  245.     recordfail
  246.         load_video
  247.         gfxmode $linux_gfx_mode
  248.         insmod gzio
  249.         insmod part_gpt
  250.         insmod ext2
  251.         set root='hd0,gpt4'
  252.         if [ x$feature_platform_search_hint = xy ]; then
  253.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  ad72f50e-5663-4d34-98d2-60466cc96ae9
  254.         else
  255.           search --no-floppy --fs-uuid --set=root ad72f50e-5663-4d34-98d2-60466cc96ae9
  256.         fi
  257.         echo    'Loading Linux 3.8.0-21-generic ...'
  258.         linux   /boot/vmlinuz-3.8.0-21-generic root=UUID=ad72f50e-5663-4d34-98d2-60466cc96ae9 ro   quiet splash $vt_handoff
  259.         echo    'Loading initial ramdisk ...'
  260.         initrd  /boot/initrd.img-3.8.0-21-generic
  261.     }
  262.     menuentry 'Ubuntu, with Linux 3.8.0-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.0-21-generic-recovery-ad72f50e-5663-4d34-98d2-60466cc96ae9' {
  263.     recordfail
  264.         load_video
  265.         insmod gzio
  266.         insmod part_gpt
  267.         insmod ext2
  268.         set root='hd0,gpt4'
  269.         if [ x$feature_platform_search_hint = xy ]; then
  270.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  ad72f50e-5663-4d34-98d2-60466cc96ae9
  271.         else
  272.           search --no-floppy --fs-uuid --set=root ad72f50e-5663-4d34-98d2-60466cc96ae9
  273.         fi
  274.         echo    'Loading Linux 3.8.0-21-generic ...'
  275.         linux   /boot/vmlinuz-3.8.0-21-generic root=UUID=ad72f50e-5663-4d34-98d2-60466cc96ae9 ro recovery nomodeset
  276.         echo    'Loading initial ramdisk ...'
  277.         initrd  /boot/initrd.img-3.8.0-21-generic
  278.     }
  279.     menuentry 'Ubuntu, with Linux 3.5.0-27-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-27-generic-advanced-ad72f50e-5663-4d34-98d2-60466cc96ae9' {
  280.     recordfail
  281.         load_video
  282.         gfxmode $linux_gfx_mode
  283.         insmod gzio
  284.         insmod part_gpt
  285.         insmod ext2
  286.         set root='hd0,gpt4'
  287.         if [ x$feature_platform_search_hint = xy ]; then
  288.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  ad72f50e-5663-4d34-98d2-60466cc96ae9
  289.         else
  290.           search --no-floppy --fs-uuid --set=root ad72f50e-5663-4d34-98d2-60466cc96ae9
  291.         fi
  292.         echo    'Loading Linux 3.5.0-27-generic ...'
  293.         linux   /boot/vmlinuz-3.5.0-27-generic root=UUID=ad72f50e-5663-4d34-98d2-60466cc96ae9 ro   quiet splash $vt_handoff
  294.         echo    'Loading initial ramdisk ...'
  295.         initrd  /boot/initrd.img-3.5.0-27-generic
  296.     }
  297.     menuentry 'Ubuntu, with Linux 3.5.0-27-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-27-generic-recovery-ad72f50e-5663-4d34-98d2-60466cc96ae9' {
  298.     recordfail
  299.         load_video
  300.         insmod gzio
  301.         insmod part_gpt
  302.         insmod ext2
  303.         set root='hd0,gpt4'
  304.         if [ x$feature_platform_search_hint = xy ]; then
  305.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  ad72f50e-5663-4d34-98d2-60466cc96ae9
  306.         else
  307.           search --no-floppy --fs-uuid --set=root ad72f50e-5663-4d34-98d2-60466cc96ae9
  308.         fi
  309.         echo    'Loading Linux 3.5.0-27-generic ...'
  310.         linux   /boot/vmlinuz-3.5.0-27-generic root=UUID=ad72f50e-5663-4d34-98d2-60466cc96ae9 ro recovery nomodeset
  311.         echo    'Loading initial ramdisk ...'
  312.         initrd  /boot/initrd.img-3.5.0-27-generic
  313.     }
  314. }
  315.  
  316. ### END /etc/grub.d/10_linux ###
  317.  
  318. ### BEGIN /etc/grub.d/20_linux_xen ###
  319.  
  320. ### END /etc/grub.d/20_linux_xen ###
  321.  
  322. ### BEGIN /etc/grub.d/30_os-prober ###
  323. menuentry 'Mac OS X (32-bit) (on /dev/sda2)' --class osx --class darwin --class os $menuentry_id_option 'osprober-xnu-32-58c26e260af8734e'  {
  324.     insmod part_gpt
  325.     insmod hfsplus
  326.     set root='hd0,gpt2'
  327.     if [ x$feature_platform_search_hint = xy ]; then
  328.       search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  58c26e260af8734e
  329.     else
  330.       search --no-floppy --fs-uuid --set=root 58c26e260af8734e
  331.     fi
  332.         load_video
  333.         set do_resume=0
  334.         if [ /var/vm/sleepimage -nt10 / ]; then
  335.            if xnu_resume /var/vm/sleepimage; then
  336.              set do_resume=1
  337.            fi
  338.         fi
  339.         if [ $do_resume = 0 ]; then
  340.            xnu_uuid 58c26e260af8734e uuid
  341.            if [ -f /Extra/DSDT.aml ]; then
  342.               acpi -e /Extra/DSDT.aml
  343.            fi
  344.            if [ /kernelcache -nt /System/Library/Extensions ]; then
  345.               xnu_kernel /kernelcache boot-uuid=${uuid} rd=*uuid
  346.            else
  347.               xnu_kernel /mach_kernel boot-uuid=${uuid} rd=*uuid
  348.               if [ /System/Library/Extensions.mkext -nt /System/Library/Extensions ]; then
  349.                 xnu_mkext /System/Library/Extensions.mkext
  350.               else
  351.                 xnu_kextdir /System/Library/Extensions
  352.               fi
  353.            fi
  354.            if [ -f /Extra/Extensions.mkext ]; then
  355.               xnu_mkext /Extra/Extensions.mkext
  356.            fi
  357.            if [ -d /Extra/Extensions ]; then
  358.               xnu_kextdir /Extra/Extensions
  359.            fi
  360.            if [ -f /Extra/devprop.bin ]; then
  361.               xnu_devprop_load /Extra/devprop.bin
  362.            fi
  363.            if [ -f /Extra/splash.jpg ]; then
  364.               insmod jpeg
  365.               xnu_splash /Extra/splash.jpg
  366.            fi
  367.            if [ -f /Extra/splash.png ]; then
  368.               insmod png
  369.               xnu_splash /Extra/splash.png
  370.            fi
  371.            if [ -f /Extra/splash.tga ]; then
  372.               insmod tga
  373.               xnu_splash /Extra/splash.tga
  374.            fi
  375.         fi
  376. }
  377. menuentry 'Mac OS X (64-bit) (on /dev/sda2)' --class osx --class darwin --class os $menuentry_id_option 'osprober-xnu-64-58c26e260af8734e'  {
  378.     insmod part_gpt
  379.     insmod hfsplus
  380.     set root='hd0,gpt2'
  381.     if [ x$feature_platform_search_hint = xy ]; then
  382.       search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  58c26e260af8734e
  383.     else
  384.       search --no-floppy --fs-uuid --set=root 58c26e260af8734e
  385.     fi
  386.         load_video
  387.         set do_resume=0
  388.         if [ /var/vm/sleepimage -nt10 / ]; then
  389.            if xnu_resume /var/vm/sleepimage; then
  390.              set do_resume=1
  391.            fi
  392.         fi
  393.         if [ $do_resume = 0 ]; then
  394.            xnu_uuid 58c26e260af8734e uuid
  395.            if [ -f /Extra/DSDT.aml ]; then
  396.               acpi -e /Extra/DSDT.aml
  397.            fi
  398.            if [ /kernelcache -nt /System/Library/Extensions ]; then
  399.               xnu_kernel64 /kernelcache boot-uuid=${uuid} rd=*uuid
  400.            else
  401.               xnu_kernel64 /mach_kernel boot-uuid=${uuid} rd=*uuid
  402.               if [ /System/Library/Extensions.mkext -nt /System/Library/Extensions ]; then
  403.                 xnu_mkext /System/Library/Extensions.mkext
  404.               else
  405.                 xnu_kextdir /System/Library/Extensions
  406.               fi
  407.            fi
  408.            if [ -f /Extra/Extensions.mkext ]; then
  409.               xnu_mkext /Extra/Extensions.mkext
  410.            fi
  411.            if [ -d /Extra/Extensions ]; then
  412.               xnu_kextdir /Extra/Extensions
  413.            fi
  414.            if [ -f /Extra/devprop.bin ]; then
  415.               xnu_devprop_load /Extra/devprop.bin
  416.            fi
  417.            if [ -f /Extra/splash.jpg ]; then
  418.               insmod jpeg
  419.               xnu_splash /Extra/splash.jpg
  420.            fi
  421.            if [ -f /Extra/splash.png ]; then
  422.               insmod png
  423.               xnu_splash /Extra/splash.png
  424.            fi
  425.            if [ -f /Extra/splash.tga ]; then
  426.               insmod tga
  427.               xnu_splash /Extra/splash.tga
  428.            fi
  429.         fi
  430. }
  431. ### END /etc/grub.d/30_os-prober ###
  432.  
  433. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  434. ### END /etc/grub.d/30_uefi-firmware ###
  435.  
  436. ### BEGIN /etc/grub.d/40_custom ###
  437. # This file provides an easy way to add custom menu entries.  Simply type the
  438. # menu entries you want to add after this comment.  Be careful not to change
  439. # the 'exec tail' line above.
  440. ### END /etc/grub.d/40_custom ###
  441.  
  442. ### BEGIN /etc/grub.d/41_custom ###
  443. if [ -f  ${config_directory}/custom.cfg ]; then
  444.   source ${config_directory}/custom.cfg
  445. elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  446.   source $prefix/custom.cfg;
  447. fi
  448. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement