mirror of
https://github.com/mikaela/mikaela.github.io/
synced 2024-11-24 21:39:25 +01:00
3.0 KiB
3.0 KiB
This is mostly based on kowalski7.cc.xyz instructions which also tells more clearly what to do. These are my notes on what I have done on top of it and probably not very much comprehensible by others than me.
Automaattinen sisällysluettelo / Automatically generated Table of Contents
Installing Fedora?
Boot Anaconda with the flag inst.sdboot
to not have to
install systemd-boot later.
Converting to systemd-bootd later
sudo mkdir /efi
- Edit
/etc/fstab
mmounting the EFI partition to/efi
sudo mkdir $(cat /etc/machine-id)
also note the machine-id, it’s used a lot.sudo dnf install systemd-boot-unsigned sdubby -y
cat /proc/cmdline
noting it, it will become included inkernel_cmdline=""
in/etc/dracut.conf.d/99-cmdline.conf
(or other freeform name as long as it ends to .conf?) Might also be worth it to note other dracut configuration files including defaults/usr/lib/dracut/dracut.conf.d
- TODO BOOTCTL INSTALL FROM ARCH WIKI?
- TODO
printf "\tsudo mkdir /boot/%b/%b\n" "$MACHINEID" "$EXPECTEDKERNEL"
- TODO
printf "\tsudo kernel-install add %b /lib/modules/%b/vmlinuz\n" "$EXPECTEDKERNEL" "$EXPECTEDKERNEL"
- The original instructions said to
sudo dnf reinstall kernel-core
, but this has deviated with systemd-uki. They also said tosudo bootctl
to see if it got installed properly before… sudo reboot
- TODO: PROTECTED PACKAGES SHELL-THINGS!
I saw an instruction somewhere about sudo lsinitrd
displaying what is within the image, but that doesn’t seem to be the
case for UKI. TODO!
REMOVE ME UPON CONFIRMING THE ABOVE IS CORRECT
- Read https://kowalski7cc.xyz/blog/systemd-boot-fedora-32/ very helpful and base of this
- Anaconda inst.sdboot 3.efi mounttaus /efi, fstab
- Mkdir /efi/machine-id
- systemd-boot-unsigned sdubby
- cat /proc/cmdline
- dracut asetukset
- bootctl install
- kernel-install add
- dnf reinstall kernel-core? Ei liene tarpeen, koska uki?
- Sudo bootctl
- Reboot
Note protected packages. Shell-things, grub?
https://github.com/dracutdevs/dracut/issues/1995
lsinitrd /levykuva| less # tietoa sisällöstä