I've tried to set up rEFInd but couldn't get the proper configs / kernel parameters work for my LUKS-enabled setup. If you're willing to try another loader out, I was able to make systemd-boot work with both plymouth (flicker-less loading), luks (with graphical prompt), and secure boot too.
Oh man that sounds like exactly what I'm looking for: dual-booting two distros, one encrypted, all with secure boot and a nice graphical boot process. I just went through the fiasco of rebuilding my EFI partition and grub setups. Is switching to systemd-boot much harder?
Follow the Arch wiki. Just make sure that your distro has a hook for the package manager for signing the kernel. Eg. for Arch there's the systemd-boot-pacman-hook
aur package.
It's not hard to set it up with a LUKS-enabled system, just put the relevant kernel parameters in your /esp/loader/entries/entry.conf file.
For example, here's my arch.conf
entry (with LVM on LUKS):
title Arch Linux
linux /vmlinuz-linux
initrd /intel-ucode.img
initrd /initramfs-linux.img
options loglevel=2 quiet splash cryptdevice=PARTLABEL=partlabel-from-blkid:pvname root=/dev/mapper/rootlvname rw
If your keys are already enrolled, you can just use sbctl sign-all
once, your package manager hook should do the rest.
Overall, the general directory structure should look like this in the end (files omitted):
/boot
├── initramfs-linux-fallback.img
├── initramfs-linux.img
├── intel-ucode.img
├── loader
│ ├── entries
│ │ ├── arch.conf
│ │ └── arch-fallback.conf
│ ├── entries.srel
│ ├── loader.conf
│ └── random-seed
└── vmlinuz-linux
I haven't seen this one before but now I have to thank you for bringing it to my attention. I'm gonna try and find some time to apply it to one of my devices and see if I run into the same flicker issues with Debian/Mint systems
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0