Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # DO NOT EDIT THIS FILE
- #
- # It is automatically generated by grub-mkconfig using templates
- # from /etc/grub.d and settings from /etc/default/grub
- #
- ### BEGIN /etc/grub.d/00_header ###
- insmod part_gpt
- insmod part_msdos
- if [ -s $prefix/grubenv ]; then
- load_env
- fi
- if [ "${env_block}" ] ; then
- set env_block="(${root})${env_block}"
- export env_block
- load_env -f "${env_block}"
- fi
- if [ "${next_entry}" ] ; then
- set default="${next_entry}"
- set next_entry=
- if [ "${env_block}" ] ; then
- save_env -f "${env_block}" next_entry
- else
- save_env next_entry
- fi
- set boot_once=true
- else
- set default="${saved_entry}"
- fi
- if [ x"${feature_menuentry_id}" = xy ]; then
- menuentry_id_option="--id"
- else
- menuentry_id_option=""
- fi
- export menuentry_id_option
- if [ "${prev_saved_entry}" ]; then
- set saved_entry="${prev_saved_entry}"
- save_env saved_entry
- set prev_saved_entry=
- save_env prev_saved_entry
- set boot_once=true
- fi
- function savedefault {
- if [ -z "${boot_once}" ]; then
- saved_entry="${chosen}"
- if [ "${env_block}" ] ; then
- save_env -f "${env_block}" saved_entry
- else
- save_env saved_entry
- fi
- fi
- }
- function load_video {
- if [ x$grub_platform = xefi ]; then
- insmod efi_gop
- insmod efi_uga
- elif [ x$feature_all_video_module = xy ]; then
- insmod all_video
- else
- insmod efi_gop
- insmod efi_uga
- insmod ieee1275_fb
- insmod vbe
- insmod vga
- insmod video_bochs
- insmod video_cirrus
- fi
- }
- if [ x$feature_default_font_path = xy ] ; then
- font=unicode
- else
- insmod part_gpt
- insmod ext2
- set root='hd0,gpt2'
- if [ x$feature_platform_search_hint = xy ]; then
- search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 afe506a4-77f6-434c-8365-a4209003915f
- else
- search --no-floppy --fs-uuid --set=root afe506a4-77f6-434c-8365-a4209003915f
- fi
- font="/usr/share/grub/unicode.pf2"
- fi
- if loadfont $font ; then
- set gfxmode=auto
- load_video
- insmod gfxterm
- set locale_dir=$prefix/locale
- set lang=en_US
- insmod gettext
- fi
- terminal_input console
- terminal_output gfxterm
- insmod part_gpt
- insmod fat
- set root='hd0,gpt1'
- if [ x$feature_platform_search_hint = xy ]; then
- search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 516E-168E
- else
- search --no-floppy --fs-uuid --set=root 516E-168E
- fi
- insmod gfxmenu
- loadfont ($root)/grub/themes/CyberGRUB-2077/Rajdhani_Regular_16.pf2
- loadfont ($root)/grub/themes/CyberGRUB-2077/Rajdhani_Regular_18.pf2
- loadfont ($root)/grub/themes/CyberGRUB-2077/Rajdhani_Regular_24.pf2
- loadfont ($root)/grub/themes/CyberGRUB-2077/Rajdhani_Regular_32.pf2
- loadfont ($root)/grub/themes/CyberGRUB-2077/terminus-ttf-16.pf2
- insmod png
- set theme=($root)/grub/themes/CyberGRUB-2077/theme.txt
- export theme
- if [ x$feature_timeout_style = xy ] ; then
- set timeout_style=menu
- set timeout=5
- # Fallback normal timeout code in case the timeout_style feature is
- # unavailable.
- else
- set timeout=5
- fi
- ### END /etc/grub.d/00_header ###
- ### BEGIN /etc/grub.d/15_ostree ###
- ### END /etc/grub.d/15_ostree ###
- ### BEGIN /etc/grub.d/15_uki ###
- if [ "$grub_platform" = "efi" ]; then
- uki
- fi
- ### END /etc/grub.d/15_uki ###
- ### BEGIN /etc/grub.d/20_linux_xen ###
- ### END /etc/grub.d/20_linux_xen ###
- ### BEGIN /etc/grub.d/25_bli ###
- if [ "$grub_platform" = "efi" ]; then
- insmod bli
- fi
- ### END /etc/grub.d/25_bli ###
- ### BEGIN /etc/grub.d/30_os-prober ###
- ### END /etc/grub.d/30_os-prober ###
- ### BEGIN /etc/grub.d/30_uefi-firmware ###
- if [ "$grub_platform" = "efi" ]; then
- fwsetup --is-supported
- if [ "$?" = 0 ]; then
- menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
- fwsetup
- }
- fi
- fi
- ### END /etc/grub.d/30_uefi-firmware ###
- ### BEGIN /etc/grub.d/40_custom ###
- # This file provides an easy way to add custom menu entries. Simply type the
- # menu entries you want to add after this comment. Be careful not to change
- # the 'exec tail' line above.
- ### END /etc/grub.d/40_custom ###
- ### BEGIN /etc/grub.d/41_custom ###
- if [ -f ${config_directory}/custom.cfg ]; then
- source ${config_directory}/custom.cfg
- elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
- source $prefix/custom.cfg
- fi
- ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment