Advertisement
Guest User

Untitled

a guest
Apr 29th, 2014
260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.37 KB | None | 0 0
  1. #
  2. # DO NOT EDIT THIS FILE
  3. #
  4. # It is automatically generated by grub2-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. if [ "${next_entry}" ] ; then
  13.    set default="${next_entry}"
  14.    set next_entry=
  15.    save_env next_entry
  16.    set boot_once=true
  17. else
  18.    set default="0"
  19. fi
  20.  
  21. if [ x"${feature_menuentry_id}" = xy ]; then
  22.   menuentry_id_option="--id"
  23. else
  24.   menuentry_id_option=""
  25. fi
  26.  
  27. export menuentry_id_option
  28.  
  29. if [ "${prev_saved_entry}" ]; then
  30.   set saved_entry="${prev_saved_entry}"
  31.   save_env saved_entry
  32.   set prev_saved_entry=
  33.   save_env prev_saved_entry
  34.   set boot_once=true
  35. fi
  36.  
  37. function savedefault {
  38.   if [ -z "${boot_once}" ]; then
  39.     saved_entry="${chosen}"
  40.     save_env saved_entry
  41.   fi
  42. }
  43.  
  44. function load_video {
  45.   if [ x$feature_all_video_module = xy ]; then
  46.     insmod all_video
  47.   else
  48.     insmod efi_gop
  49.     insmod efi_uga
  50.     insmod ieee1275_fb
  51.     insmod vbe
  52.     insmod vga
  53.     insmod video_bochs
  54.     insmod video_cirrus
  55.   fi
  56. }
  57.  
  58. if loadfont unicode ; then
  59.   set gfxmode=auto
  60.   load_video
  61.   insmod gfxterm
  62.   set locale_dir=$prefix/locale
  63.   set lang=en_US
  64.   insmod gettext
  65. fi
  66. terminal_output gfxterm
  67. if sleep --interruptible 0 ; then
  68.   set timeout=10
  69. fi
  70. ### END /etc/grub.d/00_header ###
  71.  
  72. ### BEGIN /etc/grub.d/10_linux ###
  73. menuentry 'Gentoo GNU/Linux' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-d09d5b78-4780-4ba1-b3f5-944d19e84ca5' {
  74.     load_video
  75.     insmod gzio
  76.     insmod part_msdos
  77.     insmod ext2
  78.     set root='hd0,msdos1'
  79.     if [ x$feature_platform_search_hint = xy ]; then
  80.       search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  d09d5b78-4780-4ba1-b3f5-944d19e84ca5
  81.     else
  82.       search --no-floppy --fs-uuid --set=root d09d5b78-4780-4ba1-b3f5-944d19e84ca5
  83.     fi
  84.     echo    'Loading Linux 3.12.pf1-gentoo ...'
  85.     linux   /boot/kernel-3.12.pf1-gentoo root=UUID=d09d5b78-4780-4ba1-b3f5-944d19e84ca5 ro  
  86. }
  87. submenu 'Advanced options for Gentoo GNU/Linux' $menuentry_id_option 'gnulinux-advanced-d09d5b78-4780-4ba1-b3f5-944d19e84ca5' {
  88.     menuentry 'Gentoo GNU/Linux, with Linux 3.12.pf1-gentoo' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.12.pf1-gentoo-advanced-d09d5b78-4780-4ba1-b3f5-944d19e84ca5' {
  89.         load_video
  90.         insmod gzio
  91.         insmod part_msdos
  92.         insmod ext2
  93.         set root='hd0,msdos1'
  94.         if [ x$feature_platform_search_hint = xy ]; then
  95.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  d09d5b78-4780-4ba1-b3f5-944d19e84ca5
  96.         else
  97.           search --no-floppy --fs-uuid --set=root d09d5b78-4780-4ba1-b3f5-944d19e84ca5
  98.         fi
  99.         echo    'Loading Linux 3.12.pf1-gentoo ...'
  100.         linux   /boot/kernel-3.12.pf1-gentoo root=UUID=d09d5b78-4780-4ba1-b3f5-944d19e84ca5 ro  
  101.     }
  102.     menuentry 'Gentoo GNU/Linux, with Linux 3.12.pf1-gentoo (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.12.pf1-gentoo-recovery-d09d5b78-4780-4ba1-b3f5-944d19e84ca5' {
  103.         load_video
  104.         insmod gzio
  105.         insmod part_msdos
  106.         insmod ext2
  107.         set root='hd0,msdos1'
  108.         if [ x$feature_platform_search_hint = xy ]; then
  109.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  d09d5b78-4780-4ba1-b3f5-944d19e84ca5
  110.         else
  111.           search --no-floppy --fs-uuid --set=root d09d5b78-4780-4ba1-b3f5-944d19e84ca5
  112.         fi
  113.         echo    'Loading Linux 3.12.pf1-gentoo ...'
  114.         linux   /boot/kernel-3.12.pf1-gentoo root=UUID=d09d5b78-4780-4ba1-b3f5-944d19e84ca5 ro single
  115.     }
  116. }
  117.  
  118. ### END /etc/grub.d/10_linux ###
  119.  
  120. ### BEGIN /etc/grub.d/20_linux_xen ###
  121. ### END /etc/grub.d/20_linux_xen ###
  122.  
  123. ### BEGIN /etc/grub.d/30_os-prober ###
  124. ### END /etc/grub.d/30_os-prober ###
  125.  
  126. ### BEGIN /etc/grub.d/40_custom ###
  127. # This file provides an easy way to add custom menu entries.  Simply type the
  128. # menu entries you want to add after this comment.  Be careful not to change
  129. # the 'exec tail' line above.
  130. ### END /etc/grub.d/40_custom ###
  131.  
  132. ### BEGIN /etc/grub.d/41_custom ###
  133. if [ -f  ${config_directory}/custom.cfg ]; then
  134.   source ${config_directory}/custom.cfg
  135. elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  136.   source $prefix/custom.cfg;
  137. fi
  138. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement