Created
January 18, 2016 01:54
-
-
Save cig0/0ba49a0b27246c4e28dc to your computer and use it in GitHub Desktop.
/boot/efi/EFI/fedora/grub.cfg
This file contains 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
### BEGIN /etc/grub.d/00_header ### | |
set pager=1 | |
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 | |
} | |
terminal_output console | |
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/00_tuned ### | |
set tuned_params="" | |
### END /etc/grub.d/00_tuned ### | |
### BEGIN /etc/grub.d/01_users ### | |
if [ -f ${prefix}/user.cfg ]; then | |
source ${prefix}/user.cfg | |
if [ -n "${GRUB2_PASSWORD}" ]; then | |
set superusers="root" | |
export superusers | |
password_pbkdf2 root ${GRUB2_PASSWORD} | |
fi | |
fi | |
### END /etc/grub.d/01_users ### [50/136] | |
### BEGIN /etc/grub.d/10_linux ### | |
menuentry 'Rescue EFI grub.cfg' --class gnu-linux --class gnu --class os --unrestricted { | |
load_video | |
set gfxpayload=keep | |
insmod gzio | |
insmod part_gpt | |
insmod ext2 | |
set root='hd0,gpt6' | |
if [ x$feature_platform_search_hint = xy ]; then | |
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 f5bd9b42-d36e-441e-9a8e-716d3feab273 | |
else | |
search --no-floppy --fs-uuid --set=root f5bd9b42-d36e-441e-9a8e-716d3feab273 | |
fi | |
linuxefi /vmlinuz-4.3.3-300.fc23.x86_64+debug root=UUID=ea6271cc-72e5-44c3-bfdc-76c84f8c9211 ro rootflags=subvol=root rd.luks.uuid=luks-0868db62-e033-4abe-89f6-65e9c487be65 rd.lvm.lv=fedora_hauva/00 rd.luks.uuid=luks-7cbfbba2-6a01-4488-bb6a-148ef2ddd6e6 rhgb quiet t group_enable=memory swapaccount=1 systemd.sh | |
ow_status=false rd.driver.blacklist=nouveau LANG=en_US.UTF-8 | |
initrdefi /initramfs-4.3.3-300.fc23.x86_64+debug.img | |
} | |
if [ "x$default" = 'Fedora (4.2.3-300.fc23.x86_64) 23 (Workstation Edition)' ]; then default='Advanced options for Fedora>Fedora (4.2.3-300.fc23.x86_64) 23 (Workstation Edition)'; fi; | |
### END /etc/grub.d/10_linux ### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment