PPaste!

Arch + LVM + UEFI = rEFInd.conf

Home - All the pastes - Authored by Thooms

Raw version

 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
#
# refind.conf
# Configuration file for the rEFInd boot menu
#

timeout -1

showtools shell, memtest, reboot, shutdown, firmware

scanfor manual,external,optical,netboot

dont_scan_dirs ESP:/EFI/boot,EFI/Dell,EFI/memtest86
scan_all_linux_kernels false
fold_linux_kernels false

#####

menuentry "ArchLinux" {
	icon EFI/refind/themes/rEFInd-minimal/icons/os_arch.png
        ostype="Linux"
        loader EFI/Arch/vmlinuz-linux.efi
	initrd EFI/Arch/initramfs-linux.img
	options "rw root=/dev/mapper/LVM-Arch add_efi_memmap"
	submenuentry "Boot using fallback initramfs"{
		initrd initramfs-linux-fallback.img
	}
	submenuentry "Boot to terminal"{
		add_options "systemd.unit=multi-user.target"
	}
}

include themes/rEFInd-minimal/theme.conf