Advertisement
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 [ "${next_entry}" ] ; then
- set default="${next_entry}"
- set next_entry=
- save_env next_entry
- 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}"
- save_env saved_entry
- 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 xfs
- 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 abc8c0bb-60c5-4fe5-a11a-51b9cd8d62e1
- else
- search --no-floppy --fs-uuid --set=root abc8c0bb-60c5-4fe5-a11a-51b9cd8d62e1
- fi
- font="/usr/share/grub/unicode.pf2"
- fi
- if loadfont $font ; then
- set gfxmode=1024x768
- 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 xfs
- 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 abc8c0bb-60c5-4fe5-a11a-51b9cd8d62e1
- else
- search --no-floppy --fs-uuid --set=root abc8c0bb-60c5-4fe5-a11a-51b9cd8d62e1
- fi
- insmod gfxmenu
- loadfont ($root)/usr/share/grub/themes/midna/dejavu_mono_14.pf2
- loadfont ($root)/usr/share/grub/themes/midna/NotoSans-Bold-14.pf2
- loadfont ($root)/usr/share/grub/themes/midna/NotoSans-Regular-10.pf2
- loadfont ($root)/usr/share/grub/themes/midna/NotoSans-Regular-12.pf2
- loadfont ($root)/usr/share/grub/themes/midna/NotoSans-Regular-32.pf2
- insmod png
- set theme=($root)/usr/share/grub/themes/midna/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/10_linux ###
- menuentry 'KaOS Linux' --class kaos --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-abc8c0bb-60c5-4fe5-a11a-51b9cd8d62e1' {
- savedefault
- load_video
- set gfxpayload=keep
- insmod gzio
- 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 23BD-209C
- else
- search --no-floppy --fs-uuid --set=root 23BD-209C
- fi
- echo 'Loading Linux linux ...'
- linux /vmlinuz-linux root=UUID=abc8c0bb-60c5-4fe5-a11a-51b9cd8d62e1 rw quiet
- echo 'Loading initial ramdisk ...'
- initrd /initramfs-linux.img
- }
- submenu 'Advanced options for KaOS Linux' $menuentry_id_option 'gnulinux-advanced-abc8c0bb-60c5-4fe5-a11a-51b9cd8d62e1' {
- menuentry 'KaOS Linux, with Linux linux' --class kaos --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-abc8c0bb-60c5-4fe5-a11a-51b9cd8d62e1' {
- savedefault
- load_video
- set gfxpayload=keep
- insmod gzio
- 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 23BD-209C
- else
- search --no-floppy --fs-uuid --set=root 23BD-209C
- fi
- echo 'Loading Linux linux ...'
- linux /vmlinuz-linux root=UUID=abc8c0bb-60c5-4fe5-a11a-51b9cd8d62e1 rw quiet
- echo 'Loading initial ramdisk ...'
- initrd /initramfs-linux.img
- }
- menuentry 'KaOS Linux, with Linux linux (fallback initramfs)' --class kaos --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-abc8c0bb-60c5-4fe5-a11a-51b9cd8d62e1' {
- savedefault
- load_video
- set gfxpayload=keep
- insmod gzio
- 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 23BD-209C
- else
- search --no-floppy --fs-uuid --set=root 23BD-209C
- fi
- echo 'Loading Linux linux ...'
- linux /vmlinuz-linux root=UUID=abc8c0bb-60c5-4fe5-a11a-51b9cd8d62e1 rw quiet
- echo 'Loading initial ramdisk ...'
- initrd /initramfs-linux-fallback.img
- }
- }
- ### END /etc/grub.d/10_linux ###
- ### BEGIN /etc/grub.d/20_linux_xen ###
- ### END /etc/grub.d/20_linux_xen ###
- ### BEGIN /etc/grub.d/30_os-prober ###
- menuentry 'void (on /dev/sda3)' --class void --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-5c446385-ccd9-45d1-b222-006ad712d451' {
- savedefault
- 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 5c446385-ccd9-45d1-b222-006ad712d451
- else
- search --no-floppy --fs-uuid --set=root 5c446385-ccd9-45d1-b222-006ad712d451
- fi
- linux /boot/vmlinuz-4.12.13_1 root=/dev/sda3
- initrd /boot/initramfs-4.12.13_1.img
- }
- submenu 'Advanced options for void (on /dev/sda3)' $menuentry_id_option 'osprober-gnulinux-advanced-5c446385-ccd9-45d1-b222-006ad712d451' {
- menuentry 'void (on /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.12.13_1--5c446385-ccd9-45d1-b222-006ad712d451' {
- savedefault
- 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 5c446385-ccd9-45d1-b222-006ad712d451
- else
- search --no-floppy --fs-uuid --set=root 5c446385-ccd9-45d1-b222-006ad712d451
- fi
- linux /boot/vmlinuz-4.12.13_1 root=/dev/sda3
- initrd /boot/initramfs-4.12.13_1.img
- }
- }
- menuentry 'unknown Linux distribution (on /dev/sda4)' --class linux --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-4e276e70-ee47-47e2-b436-9e8172ab1f0c' {
- savedefault
- insmod part_gpt
- insmod ext2
- set root='hd0,gpt4'
- if [ x$feature_platform_search_hint = xy ]; then
- search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 4e276e70-ee47-47e2-b436-9e8172ab1f0c
- else
- search --no-floppy --fs-uuid --set=root 4e276e70-ee47-47e2-b436-9e8172ab1f0c
- fi
- linux /boot/vmlinuz-Crux root=/dev/sda4
- }
- submenu 'Advanced options for unknown Linux distribution (on /dev/sda4)' $menuentry_id_option 'osprober-gnulinux-advanced-4e276e70-ee47-47e2-b436-9e8172ab1f0c' {
- menuentry 'unknown Linux distribution (on /dev/sda4)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-Crux--4e276e70-ee47-47e2-b436-9e8172ab1f0c' {
- savedefault
- insmod part_gpt
- insmod ext2
- set root='hd0,gpt4'
- if [ x$feature_platform_search_hint = xy ]; then
- search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 4e276e70-ee47-47e2-b436-9e8172ab1f0c
- else
- search --no-floppy --fs-uuid --set=root 4e276e70-ee47-47e2-b436-9e8172ab1f0c
- fi
- linux /boot/vmlinuz-Crux root=/dev/sda4
- }
- }
- ### END /etc/grub.d/30_os-prober ###
- ### 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
Advertisement