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="0"
- 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
- elif [ x$feature_all_video_module = xy ]; then
- insmod all_video
- else
- insmod efi_gop
- 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 part_gpt
- insmod lvm
- insmod ext2
- set root='lvmid/P3T6wY-GKVR-6km5-vnhH-k9Nz-CD4L-x0HmcN/quQR0X-Ieow-90Om-WSD8-2hRf-6QqR-m591O4'
- if [ x$feature_platform_search_hint = xy ]; then
- search --no-floppy --fs-uuid --set=root --hint='lvmid/P3T6wY-GKVR-6km5-vnhH-k9Nz-CD4L-x0HmcN/quQR0X-Ieow-90Om-WSD8-2hRf-6QqR-m591O4' bc7b9d68-131f-4f08-8a5d-64cafaf333a6
- else
- search --no-floppy --fs-uuid --set=root bc7b9d68-131f-4f08-8a5d-64cafaf333a6
- 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
- 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_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/31_efi_bootnext ###
- if [ "$grub_platform" = "efi" ]; then
- menuentry 'MsTemp (EFI BootNext)' --class mstemp --class os $menuentry_id_option 'efi-bootnext-0000' {
- if bootnext 0000; then
- reboot
- fi
- }
- fi
- if [ "$grub_platform" = "efi" ]; then
- menuentry 'Internal Storage (EFI BootNext)' --class internal --class os $menuentry_id_option 'efi-bootnext-0001' {
- if bootnext 0001; then
- reboot
- fi
- }
- fi
- if [ "$grub_platform" = "efi" ]; then
- menuentry 'USB Storage (EFI BootNext)' --class usb --class os $menuentry_id_option 'efi-bootnext-0002' {
- if bootnext 0002; then
- reboot
- fi
- }
- fi
- if [ "$grub_platform" = "efi" ]; then
- menuentry 'PXE Network (EFI BootNext)' --class pxe --class os $menuentry_id_option 'efi-bootnext-0003' {
- if bootnext 0003; then
- reboot
- fi
- }
- fi
- if [ "$grub_platform" = "efi" ]; then
- menuentry 'Linux Boot Manager (EFI BootNext)' --class linux --class os $menuentry_id_option 'efi-bootnext-0004' {
- if bootnext 0004; then
- reboot
- fi
- }
- fi
- if [ "$grub_platform" = "efi" ]; then
- menuentry 'Windows Boot Manager (EFI BootNext)' --class windows --class os $menuentry_id_option 'efi-bootnext-0005' {
- if bootnext 0005; then
- reboot
- fi
- }
- fi
- if [ "$grub_platform" = "efi" ]; then
- menuentry 'Linux Boot Manager (EFI BootNext)' --class linux --class os $menuentry_id_option 'efi-bootnext-0006' {
- if bootnext 0006; then
- reboot
- fi
- }
- fi
- if [ "$grub_platform" = "efi" ]; then
- menuentry 'Fallback Linux Boot Manager (EFI BootNext)' --class fallback --class os $menuentry_id_option 'efi-bootnext-0007' {
- if bootnext 0007; then
- reboot
- fi
- }
- fi
- if [ "$grub_platform" = "efi" ]; then
- menuentry 'Fallback Linux Boot Manager (EFI BootNext)' --class fallback --class os $menuentry_id_option 'efi-bootnext-0008' {
- if bootnext 0008; then
- reboot
- fi
- }
- fi
- ### END /etc/grub.d/31_efi_bootnext ###
- ### 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