SHARE
TWEET

/boot/grub/grub.cfg

mcraoul Jul 9th, 2016 125 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. if [ "${next_entry}" ] ; then
  14.    set default="${next_entry}"
  15.    set next_entry=
  16.    save_env next_entry
  17.    set boot_once=true
  18. else
  19.    set default="0"
  20. fi
  21.  
  22. if [ x"${feature_menuentry_id}" = xy ]; then
  23.   menuentry_id_option="--id"
  24. else
  25.   menuentry_id_option=""
  26. fi
  27.  
  28. export menuentry_id_option
  29.  
  30. if [ "${prev_saved_entry}" ]; then
  31.   set saved_entry="${prev_saved_entry}"
  32.   save_env saved_entry
  33.   set prev_saved_entry=
  34.   save_env prev_saved_entry
  35.   set boot_once=true
  36. fi
  37.  
  38. function savedefault {
  39.   if [ -z "${boot_once}" ]; then
  40.     saved_entry="${chosen}"
  41.     save_env saved_entry
  42.   fi
  43. }
  44. function recordfail {
  45.   set recordfail=1
  46.   if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  47. }
  48. function load_video {
  49.   if [ x$feature_all_video_module = xy ]; then
  50.     insmod all_video
  51.   else
  52.     insmod efi_gop
  53.     insmod efi_uga
  54.     insmod ieee1275_fb
  55.     insmod vbe
  56.     insmod vga
  57.     insmod video_bochs
  58.     insmod video_cirrus
  59.   fi
  60. }
  61.  
  62. if [ x$feature_default_font_path = xy ] ; then
  63.    font=unicode
  64. else
  65. insmod part_msdos
  66. insmod ext2
  67. set root='hd0,msdos1'
  68. if [ x$feature_platform_search_hint = xy ]; then
  69.   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38
  70. else
  71.   search --no-floppy --fs-uuid --set=root 2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38
  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_AU
  82.   insmod gettext
  83. fi
  84. terminal_output gfxterm
  85. if [ "${recordfail}" = 1 ] ; then
  86.   set timeout=30
  87. else
  88.   if [ x$feature_timeout_style = xy ] ; then
  89.     set timeout_style=menu
  90.     set timeout=10
  91.   # Fallback normal timeout code in case the timeout_style feature is
  92.   # unavailable.
  93.   else
  94.     set timeout=10
  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=white/black
  101. set menu_color_highlight=black/light-gray
  102. ### END /etc/grub.d/05_debian_theme ###
  103.  
  104. ### BEGIN /etc/grub.d/09_lowlatency ###
  105. function gfxmode {
  106.     set gfxpayload="${1}"
  107.     if [ "${1}" = "keep" ]; then
  108.         set vt_handoff=vt.handoff=7
  109.     else
  110.         set vt_handoff=
  111.     fi
  112. }
  113. if [ "${recordfail}" != 1 ]; then
  114.   if [ -e ${prefix}/gfxblacklist.txt ]; then
  115.     if hwmatch ${prefix}/gfxblacklist.txt 3; then
  116.       if [ ${match} = 0 ]; then
  117.         set linux_gfx_mode=keep
  118.       else
  119.         set linux_gfx_mode=text
  120.       fi
  121.     else
  122.       set linux_gfx_mode=text
  123.     fi
  124.   else
  125.     set linux_gfx_mode=keep
  126.   fi
  127. else
  128.   set linux_gfx_mode=text
  129. fi
  130. export linux_gfx_mode
  131. menuentry 'Ubuntu (lowlatency)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38' {
  132. recordfail
  133.     load_video
  134.     gfxmode $linux_gfx_mode
  135.     insmod gzio
  136.     insmod part_msdos
  137.     insmod ext2
  138.     set root='hd0,msdos1'
  139.     if [ x$feature_platform_search_hint = xy ]; then
  140.       search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38
  141.     else
  142.       search --no-floppy --fs-uuid --set=root 2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38
  143.     fi
  144.     linux   /boot/vmlinuz-3.16.0-76-lowlatency root=UUID=2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38 ro   quiet splash $vt_handoff
  145.     initrd  /boot/initrd.img-3.16.0-76-lowlatency
  146. }
  147.  
  148. ### END /etc/grub.d/09_lowlatency ###
  149.  
  150. ### BEGIN /etc/grub.d/10_linux ###
  151. function gfxmode {
  152.     set gfxpayload="${1}"
  153.     if [ "${1}" = "keep" ]; then
  154.         set vt_handoff=vt.handoff=7
  155.     else
  156.         set vt_handoff=
  157.     fi
  158. }
  159. if [ "${recordfail}" != 1 ]; then
  160.   if [ -e ${prefix}/gfxblacklist.txt ]; then
  161.     if hwmatch ${prefix}/gfxblacklist.txt 3; then
  162.       if [ ${match} = 0 ]; then
  163.         set linux_gfx_mode=keep
  164.       else
  165.         set linux_gfx_mode=text
  166.       fi
  167.     else
  168.       set linux_gfx_mode=text
  169.     fi
  170.   else
  171.     set linux_gfx_mode=keep
  172.   fi
  173. else
  174.   set linux_gfx_mode=text
  175. fi
  176. export linux_gfx_mode
  177. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38' {
  178.     recordfail
  179.     load_video
  180.     gfxmode $linux_gfx_mode
  181.     insmod gzio
  182.     insmod part_msdos
  183.     insmod ext2
  184.     set root='hd0,msdos1'
  185.     if [ x$feature_platform_search_hint = xy ]; then
  186.       search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38
  187.     else
  188.       search --no-floppy --fs-uuid --set=root 2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38
  189.     fi
  190.     linux   /boot/kernel-genkernel-x86_64-4.6.2-gentoo root=UUID=2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38 ro  quiet splash $vt_handoff
  191.     initrd  /boot/initramfs-genkernel-x86_64-4.6.2-gentoo
  192. }
  193. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38' {
  194.     menuentry 'Ubuntu, with Linux x86_64-4.6.2-gentoo' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86_64-4.6.2-gentoo-advanced-2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38' {
  195.         recordfail
  196.         load_video
  197.         gfxmode $linux_gfx_mode
  198.         insmod gzio
  199.         insmod part_msdos
  200.         insmod ext2
  201.         set root='hd0,msdos1'
  202.         if [ x$feature_platform_search_hint = xy ]; then
  203.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38
  204.         else
  205.           search --no-floppy --fs-uuid --set=root 2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38
  206.         fi
  207.         echo    'Loading Linux x86_64-4.6.2-gentoo ...'
  208.         linux   /boot/kernel-genkernel-x86_64-4.6.2-gentoo root=UUID=2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38 ro  quiet splash $vt_handoff
  209.         echo    'Loading initial ramdisk ...'
  210.         initrd  /boot/initramfs-genkernel-x86_64-4.6.2-gentoo
  211.     }
  212.     menuentry 'Ubuntu, with Linux x86_64-4.6.2-gentoo (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86_64-4.6.2-gentoo-recovery-2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38' {
  213.         recordfail
  214.         load_video
  215.         insmod gzio
  216.         insmod part_msdos
  217.         insmod ext2
  218.         set root='hd0,msdos1'
  219.         if [ x$feature_platform_search_hint = xy ]; then
  220.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38
  221.         else
  222.           search --no-floppy --fs-uuid --set=root 2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38
  223.         fi
  224.         echo    'Loading Linux x86_64-4.6.2-gentoo ...'
  225.         linux   /boot/kernel-genkernel-x86_64-4.6.2-gentoo root=UUID=2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38 ro recovery nomodeset
  226.         echo    'Loading initial ramdisk ...'
  227.         initrd  /boot/initramfs-genkernel-x86_64-4.6.2-gentoo
  228.     }
  229.     menuentry 'Ubuntu, with Linux 4.6.2-gentoo' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.6.2-gentoo-advanced-2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38' {
  230.         recordfail
  231.         load_video
  232.         gfxmode $linux_gfx_mode
  233.         insmod gzio
  234.         insmod part_msdos
  235.         insmod ext2
  236.         set root='hd0,msdos1'
  237.         if [ x$feature_platform_search_hint = xy ]; then
  238.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38
  239.         else
  240.           search --no-floppy --fs-uuid --set=root 2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38
  241.         fi
  242.         echo    'Loading Linux 4.6.2-gentoo ...'
  243.         linux   /boot/vmlinuz-4.6.2-gentoo root=UUID=2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38 ro  quiet splash $vt_handoff
  244.         echo    'Loading initial ramdisk ...'
  245.         initrd  /boot/initramfs-genkernel-x86_64-4.6.2-gentoo
  246.     }
  247.     menuentry 'Ubuntu, with Linux 4.6.2-gentoo (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.6.2-gentoo-recovery-2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38' {
  248.         recordfail
  249.         load_video
  250.         insmod gzio
  251.         insmod part_msdos
  252.         insmod ext2
  253.         set root='hd0,msdos1'
  254.         if [ x$feature_platform_search_hint = xy ]; then
  255.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38
  256.         else
  257.           search --no-floppy --fs-uuid --set=root 2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38
  258.         fi
  259.         echo    'Loading Linux 4.6.2-gentoo ...'
  260.         linux   /boot/vmlinuz-4.6.2-gentoo root=UUID=2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38 ro recovery nomodeset
  261.         echo    'Loading initial ramdisk ...'
  262.         initrd  /boot/initramfs-genkernel-x86_64-4.6.2-gentoo
  263.     }
  264.     menuentry 'Ubuntu, with Linux 3.16.0-76-lowlatency' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-76-lowlatency-advanced-2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38' {
  265.         recordfail
  266.         load_video
  267.         gfxmode $linux_gfx_mode
  268.         insmod gzio
  269.         insmod part_msdos
  270.         insmod ext2
  271.         set root='hd0,msdos1'
  272.         if [ x$feature_platform_search_hint = xy ]; then
  273.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38
  274.         else
  275.           search --no-floppy --fs-uuid --set=root 2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38
  276.         fi
  277.         echo    'Loading Linux 3.16.0-76-lowlatency ...'
  278.         linux   /boot/vmlinuz-3.16.0-76-lowlatency root=UUID=2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38 ro  quiet splash $vt_handoff
  279.         echo    'Loading initial ramdisk ...'
  280.         initrd  /boot/initrd.img-3.16.0-76-lowlatency
  281.     }
  282.     menuentry 'Ubuntu, with Linux 3.16.0-76-lowlatency (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-76-lowlatency-recovery-2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38' {
  283.         recordfail
  284.         load_video
  285.         insmod gzio
  286.         insmod part_msdos
  287.         insmod ext2
  288.         set root='hd0,msdos1'
  289.         if [ x$feature_platform_search_hint = xy ]; then
  290.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38
  291.         else
  292.           search --no-floppy --fs-uuid --set=root 2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38
  293.         fi
  294.         echo    'Loading Linux 3.16.0-76-lowlatency ...'
  295.         linux   /boot/vmlinuz-3.16.0-76-lowlatency root=UUID=2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38 ro recovery nomodeset
  296.         echo    'Loading initial ramdisk ...'
  297.         initrd  /boot/initrd.img-3.16.0-76-lowlatency
  298.     }
  299.     menuentry 'Ubuntu, with Linux 3.16.0-76-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-76-generic-advanced-2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38' {
  300.         recordfail
  301.         load_video
  302.         gfxmode $linux_gfx_mode
  303.         insmod gzio
  304.         insmod part_msdos
  305.         insmod ext2
  306.         set root='hd0,msdos1'
  307.         if [ x$feature_platform_search_hint = xy ]; then
  308.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38
  309.         else
  310.           search --no-floppy --fs-uuid --set=root 2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38
  311.         fi
  312.         echo    'Loading Linux 3.16.0-76-generic ...'
  313.         linux   /boot/vmlinuz-3.16.0-76-generic root=UUID=2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38 ro  quiet splash $vt_handoff
  314.         echo    'Loading initial ramdisk ...'
  315.         initrd  /boot/initrd.img-3.16.0-76-generic
  316.     }
  317.     menuentry 'Ubuntu, with Linux 3.16.0-76-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-76-generic-recovery-2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38' {
  318.         recordfail
  319.         load_video
  320.         insmod gzio
  321.         insmod part_msdos
  322.         insmod ext2
  323.         set root='hd0,msdos1'
  324.         if [ x$feature_platform_search_hint = xy ]; then
  325.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38
  326.         else
  327.           search --no-floppy --fs-uuid --set=root 2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38
  328.         fi
  329.         echo    'Loading Linux 3.16.0-76-generic ...'
  330.         linux   /boot/vmlinuz-3.16.0-76-generic root=UUID=2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38 ro recovery nomodeset
  331.         echo    'Loading initial ramdisk ...'
  332.         initrd  /boot/initrd.img-3.16.0-76-generic
  333.     }
  334.     menuentry 'Ubuntu, with Linux 3.16.0-73-lowlatency' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-73-lowlatency-advanced-2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38' {
  335.         recordfail
  336.         load_video
  337.         gfxmode $linux_gfx_mode
  338.         insmod gzio
  339.         insmod part_msdos
  340.         insmod ext2
  341.         set root='hd0,msdos1'
  342.         if [ x$feature_platform_search_hint = xy ]; then
  343.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38
  344.         else
  345.           search --no-floppy --fs-uuid --set=root 2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38
  346.         fi
  347.         echo    'Loading Linux 3.16.0-73-lowlatency ...'
  348.         linux   /boot/vmlinuz-3.16.0-73-lowlatency root=UUID=2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38 ro  quiet splash $vt_handoff
  349.         echo    'Loading initial ramdisk ...'
  350.         initrd  /boot/initrd.img-3.16.0-73-lowlatency
  351.     }
  352.     menuentry 'Ubuntu, with Linux 3.16.0-73-lowlatency (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-73-lowlatency-recovery-2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38' {
  353.         recordfail
  354.         load_video
  355.         insmod gzio
  356.         insmod part_msdos
  357.         insmod ext2
  358.         set root='hd0,msdos1'
  359.         if [ x$feature_platform_search_hint = xy ]; then
  360.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38
  361.         else
  362.           search --no-floppy --fs-uuid --set=root 2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38
  363.         fi
  364.         echo    'Loading Linux 3.16.0-73-lowlatency ...'
  365.         linux   /boot/vmlinuz-3.16.0-73-lowlatency root=UUID=2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38 ro recovery nomodeset
  366.         echo    'Loading initial ramdisk ...'
  367.         initrd  /boot/initrd.img-3.16.0-73-lowlatency
  368.     }
  369.     menuentry 'Ubuntu, with Linux 3.16.0-73-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-73-generic-advanced-2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38' {
  370.         recordfail
  371.         load_video
  372.         gfxmode $linux_gfx_mode
  373.         insmod gzio
  374.         insmod part_msdos
  375.         insmod ext2
  376.         set root='hd0,msdos1'
  377.         if [ x$feature_platform_search_hint = xy ]; then
  378.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38
  379.         else
  380.           search --no-floppy --fs-uuid --set=root 2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38
  381.         fi
  382.         echo    'Loading Linux 3.16.0-73-generic ...'
  383.         linux   /boot/vmlinuz-3.16.0-73-generic root=UUID=2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38 ro  quiet splash $vt_handoff
  384.         echo    'Loading initial ramdisk ...'
  385.         initrd  /boot/initrd.img-3.16.0-73-generic
  386.     }
  387.     menuentry 'Ubuntu, with Linux 3.16.0-73-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-73-generic-recovery-2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38' {
  388.         recordfail
  389.         load_video
  390.         insmod gzio
  391.         insmod part_msdos
  392.         insmod ext2
  393.         set root='hd0,msdos1'
  394.         if [ x$feature_platform_search_hint = xy ]; then
  395.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38
  396.         else
  397.           search --no-floppy --fs-uuid --set=root 2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38
  398.         fi
  399.         echo    'Loading Linux 3.16.0-73-generic ...'
  400.         linux   /boot/vmlinuz-3.16.0-73-generic root=UUID=2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38 ro recovery nomodeset
  401.         echo    'Loading initial ramdisk ...'
  402.         initrd  /boot/initrd.img-3.16.0-73-generic
  403.     }
  404. }
  405.  
  406. ### END /etc/grub.d/10_linux ###
  407.  
  408. ### BEGIN /etc/grub.d/20_linux_xen ###
  409.  
  410. ### END /etc/grub.d/20_linux_xen ###
  411.  
  412. ### BEGIN /etc/grub.d/20_memtest86+ ###
  413. menuentry 'Memory test (memtest86+)' {
  414.     insmod part_msdos
  415.     insmod ext2
  416.     set root='hd0,msdos1'
  417.     if [ x$feature_platform_search_hint = xy ]; then
  418.       search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38
  419.     else
  420.       search --no-floppy --fs-uuid --set=root 2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38
  421.     fi
  422.     knetbsd /boot/memtest86+.elf
  423. }
  424. menuentry 'Memory test (memtest86+, serial console 115200)' {
  425.     insmod part_msdos
  426.     insmod ext2
  427.     set root='hd0,msdos1'
  428.     if [ x$feature_platform_search_hint = xy ]; then
  429.       search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38
  430.     else
  431.       search --no-floppy --fs-uuid --set=root 2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38
  432.     fi
  433.     linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  434. }
  435. ### END /etc/grub.d/20_memtest86+ ###
  436.  
  437. ### BEGIN /etc/grub.d/30_os-prober ###
  438. menuentry 'Gentoo Base System release 2.2 (on /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-017be4e8-0df3-486f-b1e0-901678a8d62e' {
  439.     insmod part_msdos
  440.     insmod ext2
  441.     set root='hd0,msdos3'
  442.     if [ x$feature_platform_search_hint = xy ]; then
  443.       search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  017be4e8-0df3-486f-b1e0-901678a8d62e
  444.     else
  445.       search --no-floppy --fs-uuid --set=root 017be4e8-0df3-486f-b1e0-901678a8d62e
  446.     fi
  447.     linux /boot/vmlinuz-4.6.2-gentoo root=/dev/sda3
  448. }
  449. submenu 'Advanced options for Gentoo Base System release 2.2 (on /dev/sda3)' $menuentry_id_option 'osprober-gnulinux-advanced-017be4e8-0df3-486f-b1e0-901678a8d62e' {
  450.     menuentry 'Gentoo Base System release 2.2 (on /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.6.2-gentoo--017be4e8-0df3-486f-b1e0-901678a8d62e' {
  451.         insmod part_msdos
  452.         insmod ext2
  453.         set root='hd0,msdos3'
  454.         if [ x$feature_platform_search_hint = xy ]; then
  455.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  017be4e8-0df3-486f-b1e0-901678a8d62e
  456.         else
  457.           search --no-floppy --fs-uuid --set=root 017be4e8-0df3-486f-b1e0-901678a8d62e
  458.         fi
  459.         linux /boot/vmlinuz-4.6.2-gentoo root=/dev/sda3
  460.     }
  461.     menuentry 'Gentoo Base System release 2.2 (on /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.6.2-gentoo.old--017be4e8-0df3-486f-b1e0-901678a8d62e' {
  462.         insmod part_msdos
  463.         insmod ext2
  464.         set root='hd0,msdos3'
  465.         if [ x$feature_platform_search_hint = xy ]; then
  466.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  017be4e8-0df3-486f-b1e0-901678a8d62e
  467.         else
  468.           search --no-floppy --fs-uuid --set=root 017be4e8-0df3-486f-b1e0-901678a8d62e
  469.         fi
  470.         linux /boot/vmlinuz-4.6.2-gentoo.old root=/dev/sda3
  471.     }
  472. }
  473.  
  474. set timeout_style=menu
  475. if [ "${timeout}" = 0 ]; then
  476.   set timeout=10
  477. fi
  478. ### END /etc/grub.d/30_os-prober ###
  479.  
  480. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  481. ### END /etc/grub.d/30_uefi-firmware ###
  482.  
  483. ### BEGIN /etc/grub.d/40_custom ###
  484. # This file provides an easy way to add custom menu entries.  Simply type the
  485. # menu entries you want to add after this comment.  Be careful not to change
  486. # the 'exec tail' line above.
  487. menuentry "Gentoo 4.4.6" {
  488. set root=(hd0,1)
  489. search --no-floppy
  490. linux /boot/vmlinuz-4.4.6-gentoo root=/dev/sda3 rootfstype=ext4
  491. }
  492.  
  493. menuentry "Gentoo 4.6.2" {
  494. set root=(hd0,1)
  495. search --no-floppy
  496. linux /boot/vmlinuz-4.6.2-gentoo root=/dev/sda3 rootfstype=ext4
  497. }
  498.  
  499.  
  500. menuentry "Genkernel" {
  501. set root=(hd0,1)
  502. search --no-floppy
  503. linux /boot/kernel-genkernel-x86_64-4.4.6-gentoo root=/dev/sda3 rootfstype=ext4
  504. initrd /boot/initramfs-genkernel-x86_64-4.4.6-gentoo
  505. }
  506.  
  507. menuentry "Genkernel 4.6" {
  508. set root=(hd0,1)
  509. search --no-floppy
  510. linux /boot/kernel-genkernel-x86_64-4.6.2-gentoo root=/dev/sda3 rootfstype=ext4
  511. initrd /boot/initramfs-genkernel-x86_64-4.6.2-gentoo
  512. }
  513.  
  514. ### END /etc/grub.d/40_custom ###
  515.  
  516. ### BEGIN /etc/grub.d/41_custom ###
  517. if [ -f  ${config_directory}/custom.cfg ]; then
  518.   source ${config_directory}/custom.cfg
  519. elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  520.   source $prefix/custom.cfg;
  521. fi
  522. ### END /etc/grub.d/41_custom ###
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top