Created
May 10, 2021 19:02
-
-
Save sukrosono/f9525398803c8f5e2e0c817c2b5589db to your computer and use it in GitHub Desktop.
sda1 /boot/grub/grub.cfg
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# 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="old-mint-k5.8" | |
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 | |
} | |
set menu_color_normal=light-gray/black | |
set menu_color_highlight=green/black | |
if [ x$feature_default_font_path = xy ] ; then | |
font=unicode | |
else | |
insmod part_msdos | |
insmod ext2 | |
set root='hd0,msdos1' | |
if [ x$feature_platform_search_hint = xy ]; then | |
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 7f0432ae-9163-4e0f-9a32-4b996a360fb6 | |
else | |
search --no-floppy --fs-uuid --set=root 7f0432ae-9163-4e0f-9a32-4b996a360fb6 | |
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/01_grub-customizer_menu_color_helper ### | |
### END /etc/grub.d/01_grub-customizer_menu_color_helper ### | |
### BEGIN /etc/grub.d/10_linux_proxy ### | |
### END /etc/grub.d/10_linux_proxy ### | |
### BEGIN /etc/grub.d/40_custom_proxy ### | |
menuentry "AP programming | Manjaro Linux" --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-7f0432ae-9163-4e0f-9a32-4b996a360fb6' { | |
set root='(hd0,1)' | |
search --no-floppy --fs-uuid --set=root 7f0432ae-9163-4e0f-9a32-4b996a360fb6 | |
linux /boot/vmlinuz-5.10-x86_64 root=UUID=7f0432ae-9163-4e0f-9a32-4b996a360fb6 rw | |
initrd /boot/initramfs-5.10-x86_64.img | |
} | |
### END /etc/grub.d/40_custom_proxy ### | |
### BEGIN /etc/grub.d/41_linux_proxy ### | |
### END /etc/grub.d/41_linux_proxy ### | |
### BEGIN /etc/grub.d/42_linux_proxy ### | |
submenu "Advanced options for Manjaro Linux"{ | |
menuentry "Manjaro Linux (Kernel: 5.10.34-1-MANJARO x64)" --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.34-1-MANJARO x64-advanced-7f0432ae-9163-4e0f-9a32-4b996a360fb6' { | |
load_video | |
set gfxpayload=keep | |
insmod gzio | |
insmod part_msdos | |
insmod ext2 | |
set root='hd0,msdos1' | |
if [ x$feature_platform_search_hint = xy ]; then | |
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 7f0432ae-9163-4e0f-9a32-4b996a360fb6 | |
else | |
search --no-floppy --fs-uuid --set=root 7f0432ae-9163-4e0f-9a32-4b996a360fb6 | |
fi | |
linux /boot/vmlinuz-5.10-x86_64 root=UUID=7f0432ae-9163-4e0f-9a32-4b996a360fb6 rw quiet apparmor=1 security=apparmor udev.log_priority=3 | |
initrd /boot/amd-ucode.img /boot/initramfs-5.10-x86_64.img | |
} | |
menuentry "Manjaro Linux (Kernel: 5.10.34-1-MANJARO x64 - fallback initramfs)" --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.34-1-MANJARO x64-fallback-7f0432ae-9163-4e0f-9a32-4b996a360fb6' { | |
load_video | |
set gfxpayload=keep | |
insmod gzio | |
insmod part_msdos | |
insmod ext2 | |
set root='hd0,msdos1' | |
if [ x$feature_platform_search_hint = xy ]; then | |
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 7f0432ae-9163-4e0f-9a32-4b996a360fb6 | |
else | |
search --no-floppy --fs-uuid --set=root 7f0432ae-9163-4e0f-9a32-4b996a360fb6 | |
fi | |
linux /boot/vmlinuz-5.10-x86_64 root=UUID=7f0432ae-9163-4e0f-9a32-4b996a360fb6 rw quiet apparmor=1 security=apparmor udev.log_priority=3 | |
initrd /boot/initramfs-5.10-x86_64-fallback.img | |
} | |
menuentry "Manjaro Linux (Kernel: 5.10.34-1-MANJARO x64 - recovery mode)" --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.34-1-MANJARO x64-recovery-7f0432ae-9163-4e0f-9a32-4b996a360fb6' { | |
load_video | |
set gfxpayload=keep | |
insmod gzio | |
insmod part_msdos | |
insmod ext2 | |
set root='hd0,msdos1' | |
if [ x$feature_platform_search_hint = xy ]; then | |
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 7f0432ae-9163-4e0f-9a32-4b996a360fb6 | |
else | |
search --no-floppy --fs-uuid --set=root 7f0432ae-9163-4e0f-9a32-4b996a360fb6 | |
fi | |
linux /boot/vmlinuz-5.10-x86_64 root=UUID=7f0432ae-9163-4e0f-9a32-4b996a360fb6 rw single | |
initrd /boot/initramfs-5.10-x86_64-fallback.img | |
} | |
} | |
### END /etc/grub.d/42_linux_proxy ### | |
### BEGIN /etc/grub.d/43_custom_proxy ### | |
menuentry "mint(20.1)-k5.8"{ | |
set root='UUID=3f3fce91-72f7-403f-90d2-aaaadc657cbc' | |
search --no-floppy --fs-uuid --set=root 3f3fce91-72f7-403f-90d2-aaaadc657cbc | |
linux /vmlinuz root=UUID=3f3fce91-72f7-403f-90d2-aaaadc657cbc rw quiet nosplash debug | |
initrd /initrd.img | |
} | |
menuentry "mint20.1-k5.4"{ | |
set root='(hd0,msdos6)' | |
search --no-floppy --fs-uuid --set=root 3f3fce91-72f7-403f-90d2-aaaadc657cbc | |
linux /vmlinuz-5.4.0-72-generic root=UUID=3f3fce91-72f7-403f-90d2-aaaadc657cbc rw quiet nosplash debug | |
initrd /initrd.img-5.4.0-72-generic | |
} | |
### END /etc/grub.d/43_custom_proxy ### | |
### BEGIN /etc/grub.d/44_linux_xen ### | |
### END /etc/grub.d/44_linux_xen ### | |
### BEGIN /etc/grub.d/45_os-prober ### | |
### END /etc/grub.d/45_os-prober ### | |
### BEGIN /etc/grub.d/46_uefi-firmware ### | |
### END /etc/grub.d/46_uefi-firmware ### | |
### BEGIN /etc/grub.d/47_custom_proxy ### | |
# 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/47_custom_proxy ### | |
### BEGIN /etc/grub.d/48_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/48_custom ### | |
### BEGIN /etc/grub.d/60_memtest86+ ### | |
if [ "${grub_platform}" == "pc" ]; then | |
menuentry "Memory Tester (memtest86+)" --class memtest86 --class gnu --class tool { | |
search --fs-uuid --no-floppy --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 7f0432ae-9163-4e0f-9a32-4b996a360fb6 | |
linux16 /boot/memtest86+/memtest.bin | |
} | |
fi | |
### END /etc/grub.d/60_memtest86+ ### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
result of cat init