Aura
Aura
BBlueBuild
Created by tom on 8/27/2024 in #questions
Entering emergency mode on boot
Hmm well it says it can't find a file in /ostree. Maybe your ostree is corrupted somehow?
23 replies
BBlueBuild
Created by tom on 8/27/2024 in #questions
Entering emergency mode on boot
I would start to look for any systemd mount failures. If your system cannot find or can't mount a partition successfully marked as necessary in fstab, it will refuse to boot. I believe you can do this in rescue mode with
systemctl list-dependencies local-fs.target
systemctl list-dependencies local-fs.target
and you will see a list like so:
local-fs.target
● ├─-.mount
● ├─boot-efi.mount
● ├─boot.mount
● ├─ostree-remount.service
● ├─systemd-remount-fs.service
● ├─tmp.mount
● ├─var-home.mount
● └─var.mount
local-fs.target
● ├─-.mount
● ├─boot-efi.mount
● ├─boot.mount
● ├─ostree-remount.service
● ├─systemd-remount-fs.service
● ├─tmp.mount
● ├─var-home.mount
● └─var.mount
If any of those have an "x" then something is wrong with your /etc/fstab. In journalctl you can also search (grep) for Dependency failed for Local File Systems. . If they aren't mounted but are found, try to see why, maybe they are having filesystem or hardware errors. (For which you can use fsck and smartctl if available, though be careful with fsck, as it can make permanent changes to partitions if not used correctly.) If all the needed filesystems are mounted, I would try to look for systemd units that didn't start and fail to satisfy targets. Search journalctl for things like Dependency failed for and .target: Triggering OnFailure=, or try to use the systemctl --failed command
23 replies
BBlueBuild
Created by benoit_lx on 7/29/2024 in #questions
What is the best way to modify a systemd .service file ?
I think the file to modify would be "/usr/lib/systemd/system/sddm.service". I don't know if you've updated your directory structure, I can help with that. About the sddm package or systemd module overriding your file changes, well, according to bluebuild docs:
#### modules: A list of modules that is executed in order. Multiple of the same module can be included.
So, if a files module that contains this file is the last (or one of the last) to be executed, it will override anything before it, and to the nature of the image being readonly, nothing will be able to modify the file.
6 replies
BBlueBuild
Created by Siegfried27 on 7/27/2024 in #questions
Encrypt fedora silverblue
I'm glad the installer now tells you about it, and gives you a chance to set a "default"
27 replies
BBlueBuild
Created by Siegfried27 on 7/27/2024 in #questions
Encrypt fedora silverblue
Oh hey! That's new!
27 replies
BBlueBuild
Created by Siegfried27 on 7/27/2024 in #questions
Encrypt fedora silverblue
Beware of one thing, though. The password prompt that appears after you boot your encrypted partition is, by default, US layout, at least last time I checked. The only way to fix it is by running rpm-ostree initramfs --enable. This will make it so your updates are generally slower, but it will be enabled if you use ujust setup-luks-tpm-unlock as it's necessary. If you also want to use a FIDO2 key, I have a script that works for that as well.
27 replies