Setup uefi stubs with systemd-boot for laptop
Directly booting the stubs currently does not seem to work either due to a buggy UEFI implementation or the embedded cmdline being overwritten, see https://www.reddit.com/r/archlinux/comments/up8h6l/comment/i8jkuf7/
This commit is contained in:
parent
5d91c4196d
commit
fec111584c
9 changed files with 157 additions and 10 deletions
3
templates/laptop/mkinitcpio/99-hooks.conf.j2
Normal file
3
templates/laptop/mkinitcpio/99-hooks.conf.j2
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# {{ ansible_managed }}
|
||||
|
||||
HOOKS=(base udev autodetect microcode modconf kms keyboard keymap consolefont block encrypt lvm2 resume filesystems fsck)
|
||||
3
templates/laptop/mkinitcpio/99-modules.conf.j2
Normal file
3
templates/laptop/mkinitcpio/99-modules.conf.j2
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# {{ ansible_managed }}
|
||||
|
||||
MODULES=(intel_agp i915 i8k)
|
||||
8
templates/laptop/mkinitcpio/linux-lts.preset.j2
Normal file
8
templates/laptop/mkinitcpio/linux-lts.preset.j2
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# {{ ansible_managed }}
|
||||
#
|
||||
# mkinitcpio preset file for the 'linux' package
|
||||
|
||||
PRESETS=('default')
|
||||
|
||||
default_uki="/boot/EFI/Linux/linux-lts.efi"
|
||||
default_kver="/boot/vmlinuz-linux-lts"
|
||||
8
templates/laptop/mkinitcpio/linux.preset.j2
Normal file
8
templates/laptop/mkinitcpio/linux.preset.j2
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# {{ ansible_managed }}
|
||||
#
|
||||
# mkinitcpio preset file for the 'linux' package
|
||||
|
||||
PRESETS=('default')
|
||||
|
||||
default_uki="/boot/EFI/Linux/linux.efi"
|
||||
default_kver="/boot/vmlinuz-linux"
|
||||
Loading…
Add table
Add a link
Reference in a new issue