grub.cfg (5637B)
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 load_env 11 fi 12 if [ "${next_entry}" ] ; then 13 set default="${next_entry}" 14 set next_entry= 15 save_env next_entry 16 set boot_once=true 17 else 18 set default="0" 19 fi 20 21 if [ x"${feature_menuentry_id}" = xy ]; then 22 menuentry_id_option="--id" 23 else 24 menuentry_id_option="" 25 fi 26 27 export menuentry_id_option 28 29 if [ "${prev_saved_entry}" ]; then 30 set saved_entry="${prev_saved_entry}" 31 save_env saved_entry 32 set prev_saved_entry= 33 save_env prev_saved_entry 34 set boot_once=true 35 fi 36 37 function savedefault { 38 if [ -z "${boot_once}" ]; then 39 saved_entry="${chosen}" 40 save_env saved_entry 41 fi 42 } 43 44 function load_video { 45 if [ x$feature_all_video_module = xy ]; then 46 insmod all_video 47 else 48 insmod efi_gop 49 insmod efi_uga 50 insmod ieee1275_fb 51 insmod vbe 52 insmod vga 53 insmod video_bochs 54 insmod video_cirrus 55 fi 56 } 57 58 if [ x$feature_default_font_path = xy ] ; then 59 font=unicode 60 else 61 insmod part_msdos 62 insmod ext2 63 set root='hd0,msdos1' 64 if [ x$feature_platform_search_hint = xy ]; then 65 search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 788d0f37-8e91-4264-ba91-6a6b47885232 66 else 67 search --no-floppy --fs-uuid --set=root 788d0f37-8e91-4264-ba91-6a6b47885232 68 fi 69 font="/usr/share/grub/unicode.pf2" 70 fi 71 72 if loadfont $font ; then 73 set gfxmode=auto 74 load_video 75 insmod gfxterm 76 set locale_dir=$prefix/locale 77 set lang=en_US 78 insmod gettext 79 fi 80 terminal_output gfxterm 81 insmod part_msdos 82 insmod ext2 83 set root='hd0,msdos4' 84 if [ x$feature_platform_search_hint = xy ]; then 85 search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 b2bdfd15-e2d3-44b2-aeee-214e9ea5b80e 86 else 87 search --no-floppy --fs-uuid --set=root b2bdfd15-e2d3-44b2-aeee-214e9ea5b80e 88 fi 89 insmod gfxmenu 90 insmod png 91 set theme=($root)/grub/theme.txt 92 export theme 93 if [ x$feature_timeout_style = xy ] ; then 94 set timeout_style=menu 95 set timeout=50 96 # Fallback normal timeout code in case the timeout_style feature is 97 # unavailable. 98 else 99 set timeout=50 100 fi 101 ### END /etc/grub.d/00_header ### 102 103 ### BEGIN /etc/grub.d/10_linux ### 104 menuentry 'Void/Austall GNU/Linux' --class void_austall --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-788d0f37-8e91-4264-ba91-6a6b47885232' { 105 load_video 106 set gfxpayload=keep 107 insmod gzio 108 insmod part_msdos 109 insmod ext2 110 set root='hd0,msdos4' 111 if [ x$feature_platform_search_hint = xy ]; then 112 search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 b2bdfd15-e2d3-44b2-aeee-214e9ea5b80e 113 else 114 search --no-floppy --fs-uuid --set=root b2bdfd15-e2d3-44b2-aeee-214e9ea5b80e 115 fi 116 echo 'Loading Linux 5.5.4_1 ...' 117 linux /vmlinuz-5.5.4_1 root=UUID=788d0f37-8e91-4264-ba91-6a6b47885232 ro loglevel=4 slub_debug=P page_poison=1 118 echo 'Loading initial ramdisk ...' 119 initrd /initramfs-5.5.4_1.img 120 } 121 submenu 'Advanced options for Void/Austall GNU/Linux' $menuentry_id_option 'gnulinux-advanced-788d0f37-8e91-4264-ba91-6a6b47885232' { 122 menuentry 'Void/Austall GNU/Linux, with Linux 5.5.4_1' --class void_austall --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.5.4_1-advanced-788d0f37-8e91-4264-ba91-6a6b47885232' { 123 load_video 124 set gfxpayload=keep 125 insmod gzio 126 insmod part_msdos 127 insmod ext2 128 set root='hd0,msdos4' 129 if [ x$feature_platform_search_hint = xy ]; then 130 search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 b2bdfd15-e2d3-44b2-aeee-214e9ea5b80e 131 else 132 search --no-floppy --fs-uuid --set=root b2bdfd15-e2d3-44b2-aeee-214e9ea5b80e 133 fi 134 echo 'Loading Linux 5.5.4_1 ...' 135 linux /vmlinuz-5.5.4_1 root=UUID=788d0f37-8e91-4264-ba91-6a6b47885232 ro loglevel=4 slub_debug=P page_poison=1 136 echo 'Loading initial ramdisk ...' 137 initrd /initramfs-5.5.4_1.img 138 } 139 menuentry 'Void/Austall GNU/Linux, with Linux 5.5.4_1 (recovery mode)' --class void_austall --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.5.4_1-recovery-788d0f37-8e91-4264-ba91-6a6b47885232' { 140 load_video 141 set gfxpayload=keep 142 insmod gzio 143 insmod part_msdos 144 insmod ext2 145 set root='hd0,msdos4' 146 if [ x$feature_platform_search_hint = xy ]; then 147 search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 b2bdfd15-e2d3-44b2-aeee-214e9ea5b80e 148 else 149 search --no-floppy --fs-uuid --set=root b2bdfd15-e2d3-44b2-aeee-214e9ea5b80e 150 fi 151 echo 'Loading Linux 5.5.4_1 ...' 152 linux /vmlinuz-5.5.4_1 root=UUID=788d0f37-8e91-4264-ba91-6a6b47885232 ro single 153 echo 'Loading initial ramdisk ...' 154 initrd /initramfs-5.5.4_1.img 155 } 156 } 157 158 ### END /etc/grub.d/10_linux ### 159 160 ### BEGIN /etc/grub.d/20_linux_xen ### 161 162 ### END /etc/grub.d/20_linux_xen ### 163 164 ### BEGIN /etc/grub.d/30_os-prober ### 165 ### END /etc/grub.d/30_os-prober ### 166 167 ### BEGIN /etc/grub.d/40_custom ### 168 # This file provides an easy way to add custom menu entries. Simply type the 169 # menu entries you want to add after this comment. Be careful not to change 170 # the 'exec tail' line above. 171 ### END /etc/grub.d/40_custom ### 172 173 ### BEGIN /etc/grub.d/41_custom ### 174 if [ -f ${config_directory}/custom.cfg ]; then 175 source ${config_directory}/custom.cfg 176 elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then 177 source $prefix/custom.cfg; 178 fi 179 ### END /etc/grub.d/41_custom ###