mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 02:39:40 +00:00
74 lines
2.8 KiB
Plaintext
74 lines
2.8 KiB
Plaintext
|
# GRUB boot loader configuration
|
||
|
|
||
|
GRUB_DEFAULT=0
|
||
|
GRUB_TIMEOUT=5
|
||
|
GRUB_DISTRIBUTOR="Arch"
|
||
|
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet"
|
||
|
|
||
|
# Since we're using encrypted root, during grub's configuration creation, it can
|
||
|
# only pick up on the UUID of the current (already encrypted) root, i.e. the mapper device.
|
||
|
# For that reason, we instead specify the UUID of our actual physical (encrypted) partition
|
||
|
# here ourselves. We then specify the name for the mapper device, and additional options.
|
||
|
# Specifically, we set allow-discards, which is here for SSD optimizations.
|
||
|
#
|
||
|
# Handling the decryption of this device will then be delegated to initramfs. Note that we do
|
||
|
# need to add the encrypt hook, along with some other hooks (like keyboard) to our mkinitcpio
|
||
|
# so that our initramfs will actually be able to prompt us for this password.
|
||
|
GRUB_CMDLINE_LINUX="cryptdevice=UUID=1864bad3-7e73-415a-a36d-49d941eb98c2:cryptroot:allow-discards"
|
||
|
|
||
|
# Preload both GPT and MBR modules so that they are not missed
|
||
|
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
|
||
|
|
||
|
# Uncomment to enable booting from LUKS encrypted /boot partition
|
||
|
#GRUB_ENABLE_CRYPTODISK=y
|
||
|
|
||
|
# Set to 'countdown' or 'hidden' to change timeout behavior,
|
||
|
# press ESC key to display menu.
|
||
|
GRUB_TIMEOUT_STYLE=menu
|
||
|
|
||
|
# Uncomment to use basic console
|
||
|
GRUB_TERMINAL_INPUT=console
|
||
|
|
||
|
# Uncomment to disable graphical terminal
|
||
|
#GRUB_TERMINAL_OUTPUT=console
|
||
|
|
||
|
# The resolution used on graphical terminal
|
||
|
# note that you can use only modes which your graphic card supports via VBE
|
||
|
# you can see them in real GRUB with the command `vbeinfo'
|
||
|
GRUB_GFXMODE=auto
|
||
|
|
||
|
# Uncomment to allow the kernel use the same resolution used by grub
|
||
|
GRUB_GFXPAYLOAD_LINUX=keep
|
||
|
|
||
|
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
|
||
|
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
|
||
|
#GRUB_DISABLE_LINUX_UUID=true
|
||
|
|
||
|
# Uncomment to disable generation of recovery mode menu entries
|
||
|
GRUB_DISABLE_RECOVERY=true
|
||
|
|
||
|
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
|
||
|
# modes only. Entries specified as foreground/background.
|
||
|
#GRUB_COLOR_NORMAL="light-blue/black"
|
||
|
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
|
||
|
|
||
|
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
|
||
|
#GRUB_BACKGROUND="/path/to/wallpaper"
|
||
|
#GRUB_THEME="/path/to/gfxtheme"
|
||
|
|
||
|
# Uncomment to get a beep at GRUB start
|
||
|
#GRUB_INIT_TUNE="480 440 1"
|
||
|
|
||
|
# Uncomment to make GRUB remember the last selection. This requires
|
||
|
# setting 'GRUB_DEFAULT=saved' above.
|
||
|
#GRUB_SAVEDEFAULT=true
|
||
|
|
||
|
# Uncomment to disable submenus in boot menu
|
||
|
#GRUB_DISABLE_SUBMENU=y
|
||
|
|
||
|
# Probing for other operating systems is disabled for security reasons. Read
|
||
|
# documentation on GRUB_DISABLE_OS_PROBER, if still want to enable this
|
||
|
# functionality install os-prober and uncomment to detect and include other
|
||
|
# operating systems.
|
||
|
#GRUB_DISABLE_OS_PROBER=false
|