Skip to content

Instantly share code, notes, and snippets.

@skeleten
Created June 17, 2018 09:39
Show Gist options
  • Save skeleten/e5cf7b8439de6847c2292b991d5af02e to your computer and use it in GitHub Desktop.
Save skeleten/e5cf7b8439de6847c2292b991d5af02e to your computer and use it in GitHub Desktop.
timeout 20
resolution 1920 1080
# don't scan for internal drives
scanfor external,optical,manual
# volume - identifies the filesystem from which subsequent files
# are loaded. You can specify the volume by filesystem
# label, by partition label, or by partition GUID number
# (but NOT yet by filesystem UUID number).
# loader - identifies the boot loader file
# initrd - Specifies an initial RAM disk file
# icon - specifies a custom boot loader icon
# ostype - OS type code to determine boot options available by
# pressing Insert. Valid values are "MacOS", "Linux",
# "Windows", and "XOM". Case-sensitive.
# graphics - set to "on" to enable graphics-mode boot (useful
# mainly for MacOS) or "off" for text-mode boot.
# Default is auto-detected from loader filename.
# options - sets options to be passed to the boot loader; use
# quotes if more than one option should be passed or
# if any options use characters that might be changed
# by rEFInd parsing procedures (=, /, #, or tab).
# disabled - use alone or set to "yes" to disable this entry.
menuentry Arch {
icon /EFI/refind/themes/rEFInd-minimal/icons/os_arch.png
volume ARCH_BOOT
loader vmlinuz-linux
initrd initramfs-linux.img
options "root=UUID=ee5f33dc-8030-4b45-b6b3-44a3f652f11b rw"
}
menuentry ArchFallback {
icon /EFI/refind/themes/rEFInd-minimal/icons/os_linux.png
volume ARCH_BOOT
loader vmlinuz-linux
initrd initramfs-linux-fallback.img
options "root=UUID=ee5f33dc-8030-4b45-b6b3-44a3f652f11b rw"
disabled
}
menuentry Windows {
icon /EFI/refind/themes/rEFInd-minimal/icons/os_win8.png
loader \EFI\Microsoft\Boot\bootmgfw.efi
}
# EFI shells are programs just like boot loaders, and can be
# launched in the same way. You can pass a shell the name of a
# script that it's to run on the "options" line. The script
# could initialize hardware and then launch an OS, or it could
# do something entirely different.
menuentry "Windows via shell script" {
icon os_win.png
loader \EFI\tools\shell.efi
options "fs0:\EFI\tools\launch_windows.nsh"
disabled
}
include themes/rEFInd-minimal/theme.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment