Im giving a go fedora silverblue on a new laptop but Im unable to boot (and since im a linux noob the first thing i tried was installing it fresh again but that didnt resolve it).
its a single drive partitioned to ext4 and encrypted with luks (its basically the default config from the fedora installation)
any ideas for things to try?
rm /home
mkdir /home
make /var/home a symlink to it.
Alternative, edit your /etc/fstab to mount on /var/home.
Don’t you have that backwards? This is an atomic distro, and you’d want to
mkdir /var/home
then symlink/home
from that, no? Otherwise, you’ll wind up with a home directory that is immutable.@Telorand I am not familiar with that distro, I am however familiar with how mount works. As far as what is immutable and what is not, you can set with chattr +i file/directory or chattr -i file/directory.
editing the /etc/fstab didnt work (I just changed the path but not sure if the uuid plays any part) but ill give the rm/mkdir part a go
Did you update your initramfs after? The new fstab doesn’t apply until you refresh that
No but I rebooted the system after the change. do still need to update it regardless the reboot?
Edit: Probably try @[email protected]’s solution of
systemctl daemon-reload
first.Yes. When booting, your system has an initial image that it boots off of before mounting file systems. You have to make sure the image reflects the updated fstab.
@data1701d @evasync You don’t have to reboot to effect that, systemdctl daemon-reload will reload the /etc/fstab file.
You might be right. I was thinking of it in terms of a traditional distro, as I use vanilla Debian where my advice would apply and yours probably wouldn’t.
From what I do know, though, I guess /etc would be part of the writable roots overlaid onto the immutable image, so it would make sense if the immutable image was sort of the initramfs and was read when root was mounted or something. Your command is probably the correct one for immutable systems.