-
- #
- # 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 ###
- if [ -s $prefix/grubenv ]; then
- set have_grubenv=true
- load_env
- fi
- if [ "${next_entry}" ] ; then
- set default="${next_entry}"
- set next_entry=
- save_env next_entry
- 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}"
- save_env saved_entry
- fi
- }
- function recordfail {
- set recordfail=1
- if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
- }
- function load_video {
- if [ 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 5c141e23-7ade-47ca-946c-eac4b7d9238d
- else
- search --no-floppy --fs-uuid --set=root 5c141e23-7ade-47ca-946c-eac4b7d9238d
- 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_AU
- insmod gettext
- fi
- terminal_output gfxterm
- insmod part_gpt
- insmod ext2
- set root='hd0,gpt3'
- if [ x$feature_platform_search_hint = xy ]; then
- search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 42f1ec56-03dd-4c0e-93bd-571c007a3d23
- else
- search --no-floppy --fs-uuid --set=root 42f1ec56-03dd-4c0e-93bd-571c007a3d23
- fi
- insmod gfxmenu
- loadfont ($root)/grub/themes/breeze/unifont-bold-16.pf2
- loadfont ($root)/grub/themes/breeze/unifont-regular-14.pf2
- loadfont ($root)/grub/themes/breeze/unifont-regular-16.pf2
- loadfont ($root)/grub/themes/breeze/unifont-regular-32.pf2
- insmod png
- set theme=($root)/grub/themes/breeze/theme.txt
- export theme
- set timeout=30
- ### END /etc/grub.d/00_header ###
-
- ### BEGIN /etc/grub.d/05_debian_theme ###
- set menu_color_normal=cyan/blue
- set menu_color_highlight=white/blue
- ### END /etc/grub.d/05_debian_theme ###
-
- ### BEGIN /etc/grub.d/10_linux ###
- function gfxmode {
- set gfxpayload="${1}"
- if [ "${1}" = "keep" ]; then
- set vt_handoff=vt.handoff=1
- else
- set vt_handoff=
- fi
- }
- if [ "${recordfail}" != 1 ]; then
- if [ -e ${prefix}/gfxblacklist.txt ]; then
- if hwmatch ${prefix}/gfxblacklist.txt 3; then
- if [ ${match} = 0 ]; then
- set linux_gfx_mode=keep
- else
- set linux_gfx_mode=text
- fi
- else
- set linux_gfx_mode=text
- fi
- else
- set linux_gfx_mode=keep
- fi
- else
- set linux_gfx_mode=text
- fi
- export linux_gfx_mode
- menuentry 'neon GNU/Linux' --class neon --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-5c141e23-7ade-47ca-946c-eac4b7d9238d' {
- recordfail
- load_video
- gfxmode $linux_gfx_mode
- insmod gzio
- if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
- insmod part_gpt
- insmod ext2
- set root='hd0,gpt3'
- if [ x$feature_platform_search_hint = xy ]; then
- search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 42f1ec56-03dd-4c0e-93bd-571c007a3d23
- else
- search --no-floppy --fs-uuid --set=root 42f1ec56-03dd-4c0e-93bd-571c007a3d23
- fi
- linux /vmlinuz-4.15.0-45-generic root=UUID=5c141e23-7ade-47ca-946c-eac4b7d9238d ro quiet splash $vt_handoff
- initrd /initrd.img-4.15.0-45-generic
- }
- submenu 'Advanced options for neon GNU/Linux' $menuentry_id_option 'gnulinux-advanced-5c141e23-7ade-47ca-946c-eac4b7d9238d' {
- menuentry 'neon GNU/Linux, with Linux 4.15.0-45-generic' --class neon --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-45-generic-advanced-5c141e23-7ade-47ca-946c-eac4b7d9238d' {
- recordfail
- load_video
- gfxmode $linux_gfx_mode
- insmod gzio
- if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
- insmod part_gpt
- insmod ext2
- set root='hd0,gpt3'
- if [ x$feature_platform_search_hint = xy ]; then
- search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 42f1ec56-03dd-4c0e-93bd-571c007a3d23
- else
- search --no-floppy --fs-uuid --set=root 42f1ec56-03dd-4c0e-93bd-571c007a3d23
- fi
- echo 'Loading Linux 4.15.0-45-generic ...'
- linux /vmlinuz-4.15.0-45-generic root=UUID=5c141e23-7ade-47ca-946c-eac4b7d9238d ro quiet splash $vt_handoff
- echo 'Loading initial ramdisk ...'
- initrd /initrd.img-4.15.0-45-generic
- }
- menuentry 'neon GNU/Linux, with Linux 4.15.0-45-generic (recovery mode)' --class neon --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-45-generic-recovery-5c141e23-7ade-47ca-946c-eac4b7d9238d' {
- recordfail
- load_video
- insmod gzio
- if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
- insmod part_gpt
- insmod ext2
- set root='hd0,gpt3'
- if [ x$feature_platform_search_hint = xy ]; then
- search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 42f1ec56-03dd-4c0e-93bd-571c007a3d23
- else
- search --no-floppy --fs-uuid --set=root 42f1ec56-03dd-4c0e-93bd-571c007a3d23
- fi
- echo 'Loading Linux 4.15.0-45-generic ...'
- linux /vmlinuz-4.15.0-45-generic root=UUID=5c141e23-7ade-47ca-946c-eac4b7d9238d ro recovery nomodeset
- echo 'Loading initial ramdisk ...'
- initrd /initrd.img-4.15.0-45-generic
- }
- menuentry 'neon GNU/Linux, with Linux 4.15.0-43-generic' --class neon --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-43-generic-advanced-5c141e23-7ade-47ca-946c-eac4b7d9238d' {
- recordfail
- load_video
- gfxmode $linux_gfx_mode
- insmod gzio
- if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
- insmod part_gpt
- insmod ext2
- set root='hd0,gpt3'
- if [ x$feature_platform_search_hint = xy ]; then
- search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 42f1ec56-03dd-4c0e-93bd-571c007a3d23
- else
- search --no-floppy --fs-uuid --set=root 42f1ec56-03dd-4c0e-93bd-571c007a3d23
- fi
- echo 'Loading Linux 4.15.0-43-generic ...'
- linux /vmlinuz-4.15.0-43-generic root=UUID=5c141e23-7ade-47ca-946c-eac4b7d9238d ro quiet splash $vt_handoff
- echo 'Loading initial ramdisk ...'
- initrd /initrd.img-4.15.0-43-generic
- }
- menuentry 'neon GNU/Linux, with Linux 4.15.0-43-generic (recovery mode)' --class neon --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-43-generic-recovery-5c141e23-7ade-47ca-946c-eac4b7d9238d' {
- recordfail
- load_video
- insmod gzio
- if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
- insmod part_gpt
- insmod ext2
- set root='hd0,gpt3'
- if [ x$feature_platform_search_hint = xy ]; then
- search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 42f1ec56-03dd-4c0e-93bd-571c007a3d23
- else
- search --no-floppy --fs-uuid --set=root 42f1ec56-03dd-4c0e-93bd-571c007a3d23
- fi
- echo 'Loading Linux 4.15.0-43-generic ...'
- linux /vmlinuz-4.15.0-43-generic root=UUID=5c141e23-7ade-47ca-946c-eac4b7d9238d ro recovery nomodeset
- echo 'Loading initial ramdisk ...'
- initrd /initrd.img-4.15.0-43-generic
- }
- }
-
- ### END /etc/grub.d/10_linux ###
-
- ### BEGIN /etc/grub.d/20_linux_xen ###
-
- ### END /etc/grub.d/20_linux_xen ###
-
- ### BEGIN /etc/grub.d/20_memtest86+ ###
- ### END /etc/grub.d/20_memtest86+ ###
-
- ### BEGIN /etc/grub.d/30_os-prober ###
- ### END /etc/grub.d/30_os-prober ###
-
- ### BEGIN /etc/grub.d/30_uefi-firmware ###
- menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
- fwsetup
- }
- ### 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.
-
- probe -u $root --set=rootuuid
- set imgdevpath="/dev/disk/by-label/ISO_FILES"
- set ISO_PARTITION=(hd0,gpt6)
- set ISO_DIRECTORY=/ISO/
-
- set ISO_FILE=${ISO_DIRECTORY}archlinux.iso
- set ISO_STYLISED_NAME=Archlinux
- set BOOT_PREFIX=arch
- menuentry "[loopback] $ISO_STYLISED_NAME ($ISO_FILE)" {
- set ISO_FILE=${ISO_DIRECTORY}archlinux.iso
- set ISO_STYLISED_NAME=Archlinux
- set BOOT_PREFIX=arch
- loopback loop $ISO_PARTITION$ISO_FILE
- probe -l loop --set=isolabel
- linux (loop)/$BOOT_PREFIX/boot/x86_64/vmlinuz archisolabel=$isolabel img_dev=$imgdevpath img_loop=$ISO_FILE
- initrd (loop)/$BOOT_PREFIX/boot/x86_64/archiso.img
- }
-
- set ISO_FILE=${ISO_DIRECTORY}bbqlinux.iso
- set ISO_STYLISED_NAME=BBQLINUX
- set BOOT_PREFIX=bbqlinux
- menuentry "[loopback] $ISO_STYLISED_NAME ($ISO_FILE)" {
- set ISO_FILE=${ISO_DIRECTORY}bbqlinux.iso
- set ISO_STYLISED_NAME=BBQLINUX
- set BOOT_PREFIX=bbqlinux
- loopback loop $ISO_PARTITION$ISO_FILE
- probe -l loop --set=isolabel
- linux (loop)/$BOOT_PREFIX/boot/x86_64/vmlinuz archisolabel=$isolabel img_dev=$imgdevpath img_loop=$ISO_FILE
- initrd (loop)/$BOOT_PREFIX/boot/x86_64/archiso.img
- }
-
- set ISO_FILE=${ISO_DIRECTORY}blackarch.iso
- set ISO_STYLISED_NAME=Blackarch
- set BOOT_PREFIX=blackarch
- menuentry "[loopback] $ISO_STYLISED_NAME ($ISO_FILE)" {
- set ISO_FILE=${ISO_DIRECTORY}blackarch.iso
- set ISO_STYLISED_NAME=Blackarch
- set BOOT_PREFIX=blackarch
- loopback loop $ISO_PARTITION$ISO_FILE
- probe -l loop --set=isolabel
- linux (loop)/$BOOT_PREFIX/boot/x86_64/vmlinuz archisolabel=$isolabel img_dev=$imgdevpath img_loop=$ISO_FILE
- initrd (loop)/$BOOT_PREFIX/boot/x86_64/archiso.img
- }
-
- set ISO_FILE=${ISO_DIRECTORY}kubuntu.iso
- set ISO_STYLISED_NAME=Kubuntu (via internal grub.cfg)
- menuentry "[loopback] $ISO_STYLISED_NAME ($ISO_FILE)" {
- set ISO_FILE=${ISO_DIRECTORY}kubuntu.iso
- set ISO_STYLISED_NAME=Kubuntu (via internal grub.cfg)
- loopback loop $ISO_PARTITION$ISO_FILE
- probe -l loop --set=isolabel
- set root=(loop)
- configfile /boot/grub/grub.cfg
- }
-
- set ISO_FILE=${ISO_DIRECTORY}neon.iso
- set ISO_STYLISED_NAME=KDE-Neon (via internal grub.cfg)
- menuentry "[loopback] $ISO_STYLISED_NAME ($ISO_FILE)" {
- set ISO_FILE=${ISO_DIRECTORY}neon.iso
- set ISO_STYLISED_NAME=KDE-Neon (via internal grub.cfg)
- loopback loop $ISO_PARTITION$ISO_FILE
- probe -l loop --set=isolabel
- set root=(loop)
- configfile /boot/grub/grub.cfg
- }
-
- set ISO_FILE=${ISO_DIRECTORY}mini.iso
- set ISO_STYLISED_NAME=Mini (via internal grub.cfg)
- menuentry "[loopback] $ISO_STYLISED_NAME ($ISO_FILE)" {
- set ISO_FILE=${ISO_DIRECTORY}mini.iso
- set ISO_STYLISED_NAME=Mini (via internal grub.cfg)
- loopback loop $ISO_PARTITION$ISO_FILE
- probe -l loop --set=isolabel
- set root=(loop)
- configfile /boot/grub/grub.cfg
- }
-
- set ISO_FILE=${ISO_DIRECTORY}nixos.iso
- set ISO_STYLISED_NAME=NixOS
- menuentry "[loopback] $ISO_STYLISED_NAME ($ISO_FILE)" {
- set ISO_FILE=${ISO_DIRECTORY}nixos.iso
- set ISO_STYLISED_NAME=NixOS
- loopback loop $ISO_PARTITION$ISO_FILE
- linux (loop)/boot/bzImage
- initrd (loop)/boot/initrd
- }
-
- set ISO_FILE=${ISO_DIRECTORY}pheonixos.iso
- set ISO_STYLISED_NAME=Pheonix OS (via internal grub.cfg)
- menuentry "[loopback] $ISO_STYLISED_NAME ($ISO_FILE)" {
- set ISO_FILE=${ISO_DIRECTORY}pheonixos.iso
- set ISO_STYLISED_NAME=Pheonix OS (via internal grub.cfg)
- loopback loop $ISO_PARTITION$ISO_FILE
- probe -l loop --set=isolabel
- set root=(loop)
- configfile /efi/boot/grub.cfg
- }
-
- set ISO_FILE=${ISO_DIRECTORY}primeos.iso
- set ISO_STYLISED_NAME=Prime OS (via internal grub.cfg)
- menuentry "[loopback] $ISO_STYLISED_NAME ($ISO_FILE)" {
- set ISO_FILE=${ISO_DIRECTORY}primeos.iso
- set ISO_STYLISED_NAME=Prime OS (via internal grub.cfg)
- loopback loop $ISO_PARTITION$ISO_FILE
- probe -l loop --set=isolabel
- set root=(loop)
- configfile /boot/grub/grub.cfg
- }
-
- ### 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 ###
-