summaryrefslogtreecommitdiff
path: root/etc/default/grub
blob: 4f207e8b7c33b408ad0120431d1f2aa00c0616cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# GRUB boot loader configuration

GRUB_DEFAULT="saved"
# GRUB_DEFAULT=false
GRUB_TIMEOUT="0"
GRUB_HIDDEN_TIMEOUT="0"
GRUB_HIDDEN_TIMEOUT_QUIET="false"
GRUB_RECORDFAIL_TIMEOUT="$GRUB_TIMEOUT"
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="apparmor=1 lsm=landlock,lockdown,yama,integrity,apparmor,selinux,bpf intel_iommu=on iommu=pt ibt=off nvidia-drm.modeset=1 nvidia_drm.fbdev=1 NVreg_PreserveVideoMemoryAllocations=1 systemd.show_status=auto loglevel=3 udev.log-priority=3 udev.log_level=3 vt.global_cursor_default=0 rd.luks.uuid=bc526687-9deb-4078-abd1-55692022e073 rd.luks.options=bc526687-9deb-4078-abd1-55692022e073=tpm2-device=auto root=/dev/mapper/arch-root rootflags=subvol=@ resume=/dev/mapper/arch-swap quiet loglevel=3 splash"
#GRUB_CMDLINE_LINUX_DEFAULT="apparmor=1 lsm=landlock,lockdown,yama,integrity,apparmor,bpf intel_iommu=on iommu=pt nvidia_drm.modeset=1 nvidia-drm.modeset=1 nvidia_drm.fbdev=1 resume=UUID=4e62484c-422f-422a-b0ac-15cd6c02b337 loglevel=3 udev.log-priority=3 udev.log_level=3 vt.global_cursor_default=0 root=/dev/mapper/arch-root resume=/dev/mapper/arch-swap splash # vfio-pci.ids=10de:1c03,10de:10f1 cryptdevice=UUID=bc526687-9deb-4078-abd1-55692022e073:luks_lvm"
# GRUB_CMDLINE_LINUX_DEFAULT="apparmor=1 lsm=landlock,lockdown,yama,integrity,apparmor,bpf intel_iommu=on iommu=pt resume=UUID=4e62484c-422f-422a-b0ac-15cd6c02b337 loglevel=3 udev.log-priority=3 udev.log_level=3 vt.global_cursor_default=0 splash" # vfio-pci.ids=10de:1c03,10de:10f1
#doesn't work
GRUB_CMDLINE_LINUX=""

# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT="true"

# Uncomment to disable submenus in boot menu
#GRUB_DISABLE_SUBMENU="y"

# 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 devices
#GRUB_ENABLE_CRYPTODISK="y"

# countdown hidden or menu
GRUB_TIMEOUT_STYLE="menu"

# Uncomment to use basic console
GRUB_TERMINAL_INPUT="console"

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT="console #### DO NOT UNCOMMENT THIS THIS MAKE THEME ETC ALL NO WORK"

# 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 'videoinfo'
GRUB_GFXMODE="3840x2160"

# 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 this option to enable os-prober execution in the grub-mkconfig command
GRUB_DISABLE_OS_PROBER="false"

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper
# modes only.  Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-gray/black"
#GRUB_COLOR_HIGHLIGHT="blue/black"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/usr/share/grub/background.png"
#GRUB_THEME="/boot/grub/themes/CyberRe/theme.txt"
#GRUB_THEME="/boot/grub/themes/starfield/theme.txt"
#GRUB_THEME="/boot/grub/themes/archcraft/theme.txt"
GRUB_THEME="/boot/grub/themes/archcraft/theme.txt"

# Uncomment to get a beep at GRUB start
GRUB_INIT_TUNE="480 440 1"

# Uncomment to ensure that the root filesystem is mounted read-only so that
# systemd-fsck can run the check automatically. We use 'fsck' by default, which
# needs 'rw' as boot parameter, to avoid delay in boot-time. 'fsck' needs to be
# removed from 'mkinitcpio.conf' to make 'systemd-fsck' work.
# See also Arch-Wiki: https://wiki.archlinux.org/index.php/Fsck#Boot_time_checking
GRUB_ROOT_FS_RO="true"

#GRUB_DISABLE_LINUX_RECOVERY="true"