Switch from systemd-boot to efistub
This commit is contained in:
parent
34f6a0fc4a
commit
f05518a3ca
9 changed files with 25 additions and 56 deletions
|
@ -98,15 +98,6 @@ dotfiles:
|
||||||
f_cpupower:
|
f_cpupower:
|
||||||
src: etc/default/cpupower
|
src: etc/default/cpupower
|
||||||
dst: /etc/default/cpupower
|
dst: /etc/default/cpupower
|
||||||
f_arch.conf:
|
|
||||||
src: boot/loader/entries/arch.conf
|
|
||||||
dst: /boot/loader/entries/arch.conf
|
|
||||||
f_arch-lts.conf:
|
|
||||||
src: boot/loader/entries/arch-lts.conf
|
|
||||||
dst: /boot/loader/entries/arch-lts.conf
|
|
||||||
f_kodi.conf:
|
|
||||||
src: boot/loader/entries/kodi.conf
|
|
||||||
dst: /boot/loader/entries/kodi.conf
|
|
||||||
f_pacserve.service.conf:
|
f_pacserve.service.conf:
|
||||||
src: etc/pacserve/pacserve.service.conf
|
src: etc/pacserve/pacserve.service.conf
|
||||||
dst: /etc/pacserve/pacserve.service.conf
|
dst: /etc/pacserve/pacserve.service.conf
|
||||||
|
|
12
efistub/arch.efi
Executable file
12
efistub/arch.efi
Executable file
|
@ -0,0 +1,12 @@
|
||||||
|
#/bin/bash
|
||||||
|
# vim:ft=sh
|
||||||
|
|
||||||
|
sudo efibootmgr \
|
||||||
|
--disk /dev/sda \
|
||||||
|
--part 1 \
|
||||||
|
--create \
|
||||||
|
--quiet \
|
||||||
|
--remove-dups \
|
||||||
|
--label "Arch Linux" \
|
||||||
|
--loader /vmlinuz-linux \
|
||||||
|
--unicode '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'
|
12
efistub/lts.efi
Executable file
12
efistub/lts.efi
Executable file
|
@ -0,0 +1,12 @@
|
||||||
|
#!/bin/bash
|
||||||
|
# vim:ft=sh
|
||||||
|
|
||||||
|
sudo efibootmgr \
|
||||||
|
--disk /dev/sda \
|
||||||
|
--part 1 \
|
||||||
|
--create \
|
||||||
|
--quiet \
|
||||||
|
--remove-dups \
|
||||||
|
--label "Arch Linux LTS" \
|
||||||
|
--loader /vmlinuz-linux-lts \
|
||||||
|
--unicode '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'
|
|
@ -11,4 +11,4 @@ for bootscript in *.efi; do
|
||||||
done
|
done
|
||||||
|
|
||||||
# set bootorder
|
# set bootorder
|
||||||
sudo efibootmgr --bootorder 0000,0001,0002
|
sudo efibootmgr --bootorder 0000,0001
|
|
@ -1,12 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
# vim:ft=sh
|
|
||||||
|
|
||||||
sudo efibootmgr \
|
|
||||||
--disk /dev/sda \
|
|
||||||
--part 1 \
|
|
||||||
--create \
|
|
||||||
--quiet \
|
|
||||||
--remove-dups \
|
|
||||||
--label "Arch Linux" \
|
|
||||||
--loader /vmlinuz-linux \
|
|
||||||
--unicode 'cryptdevice=UUID=19fa8fab-c5fe-454a-9a17-b7185ce975ea:cryptroot:allow-discards root=/dev/mapper/cryptroot rootflags=subvol=root resume=/dev/mapper/cryptroot resume_offset=7345408 rw quiet loglevel=3 vga=current processor.max_cstate=5 rcu_nocbs=0-11 initrd=/amd-ucode.img initrd=/initramfs-linux.img amdgpu.noretry=0'
|
|
|
@ -1,12 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
# vim:ft=sh
|
|
||||||
|
|
||||||
sudo efibootmgr \
|
|
||||||
--disk /dev/sda \
|
|
||||||
--part 1 \
|
|
||||||
--create \
|
|
||||||
--quiet \
|
|
||||||
--remove-dups \
|
|
||||||
--label "Arch Linux CK" \
|
|
||||||
--loader /vmlinuz-linux-ck-zen \
|
|
||||||
--unicode 'cryptdevice=UUID=19fa8fab-c5fe-454a-9a17-b7185ce975ea:cryptroot:allow-discards root=/dev/mapper/cryptroot rootflags=subvol=root resume=/dev/mapper/cryptroot resume_offset=7345408 rw quiet loglevel=3 vga=current vt.global_cursor_default=0 processor.max_cstate=5 rcu_nocbs=0-11 initrd=/amd-ucode.img initrd=/initramfs-linux.img amdgpu.noretry=0'
|
|
|
@ -1,12 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
# vim:ft=sh
|
|
||||||
|
|
||||||
sudo efibootmgr \
|
|
||||||
--disk /dev/sda \
|
|
||||||
--part 1 \
|
|
||||||
--create \
|
|
||||||
--quiet \
|
|
||||||
--remove-dups \
|
|
||||||
--label "Arch Linux LTS" \
|
|
||||||
--loader /vmlinuz-linux-lts \
|
|
||||||
--unicode 'cryptdevice=UUID=19fa8fab-c5fe-454a-9a17-b7185ce975ea:cryptroot:allow-discards root=/dev/mapper/cryptroot rootflags=subvol=root resume=/dev/mapper/cryptroot resume_offset=7345408 rw quiet loglevel=3 vga=current vt.global_cursor_default=0 processor.max_cstate=5 rcu_nocbs=0-11 initrd=/amd-ucode.img initrd=/initramfs-linux.img amdgpu.noretry=0'
|
|
|
@ -1,5 +0,0 @@
|
||||||
title Arch Linux LTS
|
|
||||||
initrd /amd-ucode.img
|
|
||||||
initrd /initramfs-linux-lts.img
|
|
||||||
linux /vmlinuz-linux-lts
|
|
||||||
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,5 +0,0 @@
|
||||||
title Kodi
|
|
||||||
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 video=eDP-1:d video=1920x1080@60
|
|
Loading…
Reference in a new issue