Switch from efistub to systemd-boot and mkinitcpio efistub generation

This commit is contained in:
Marko Korhonen 2021-12-05 16:38:50 +02:00
parent 16cde14ddd
commit 7cf9f0f226
6 changed files with 36 additions and 11 deletions

View file

@ -104,6 +104,12 @@ dotfiles:
f_pacserve.service.conf:
src: etc/pacserve/pacserve.service.conf
dst: /etc/pacserve/pacserve.service.conf
d_mkinitcpio.d:
src: etc/mkinitcpio.d
dst: /etc/mkinitcpio.d
f_cmdline:
src: etc/kernel/cmdline
dst: /etc/kernel/cmdline
profiles:
Network:
dotfiles:
@ -138,6 +144,8 @@ profiles:
- f_20-quiet-printk.conf
- f_system.conf
- f_cpupower
- d_mkinitcpio.d
- f_cmdline
include:
- Locale
- Pacman
@ -165,4 +173,4 @@ profiles:
- Pacman
mko-laptop:
dotfiles:
- f_cpupower
- f_cpupower

View file

@ -1,5 +0,0 @@
title Arch Linux
initrd /amd-ucode.img
initrd /initramfs-linux.img
linux /vmlinuz-linux
options cryptdevice=UUID=19fa8fab-c5fe-454a-9a17-b7185ce975ea:cryptroot:allow-discards root=/dev/mapper/cryptroot rootflags=subvol=root resume=/dev/mapper/cryptroot resume_offset=10530935 rw quiet splash vga=current idle=nomwait cpuidle.governor=teo

View file

@ -1,5 +0,0 @@
title Arch Linux
initrd /amd-ucode.img
initrd /initramfs-linux.img
linux /vmlinuz-linux
options rd.luks.uuid=19fa8fab-c5fe-454a-9a17-b7185ce975ea rd.luks.name=19fa8fab-c5fe-454a-9a17-b7185ce975ea=cryptroot rd.luks.options=allow-discards root=/dev/mapper/cryptroot rootflags=subvol=root resume=/dev/mapper/cryptroot resume_offset=10530935 rw quiet splash vga=current idle=nomwait cpuidle.governor=teo

1
root/etc/kernel/cmdline Normal file
View file

@ -0,0 +1 @@
cryptdevice=UUID=19fa8fab-c5fe-454a-9a17-b7185ce975ea:cryptroot:allow-discards root=/dev/mapper/cryptroot rootflags=subvol=root resume=/dev/mapper/cryptroot resume_offset=10530935 rw quiet splash vga=current idle=nomwait amdgpu.ppfeaturemask=0xffffffff bgrt_disable

View file

@ -0,0 +1,13 @@
ALL_config="/etc/mkinitcpio.conf"
ALL_kver="/boot/vmlinuz-linux-lts"
ALL_microcode=(/boot/*-ucode.img)
PRESETS=('default' 'fallback')
default_image="/boot/initramfs-linux-lts.img"
default_efi_image="/boot/EFI/Linux/archlinux-linux-lts.efi"
default_options="--splash /usr/share/systemd/bootctl/splash-arch.bmp"
fallback_image="/boot/initramfs-linux-lts-fallback.img"
fallback_efi_image="/boot/EFI/Linux/archlinux-linux-lts-fallback.efi"
fallback_options="-S autodetect --splash /usr/share/systemd/bootctl/splash-arch.bmp"

View file

@ -0,0 +1,13 @@
ALL_config="/etc/mkinitcpio.conf"
ALL_kver="/boot/vmlinuz-linux"
ALL_microcode=(/boot/*-ucode.img)
PRESETS=('default' 'fallback')
default_image="/boot/initramfs-linux.img"
default_efi_image="/boot/EFI/Linux/archlinux-linux.efi"
default_options="--splash /usr/share/systemd/bootctl/splash-arch.bmp"
fallback_image="/boot/initramfs-linux-fallback.img"
fallback_efi_image="/boot/EFI/Linux/archlinux-linux-fallback.efi"
fallback_options="-S autodetect --splash /usr/share/systemd/bootctl/splash-arch.bmp"