I managed to find a problem and fix it. The problem was that /etc/kernel/cmd had the wrong UUID. Thanks for giving advice about initrd and bootloader reconfiguring, might not have found a solution without it.
I managed to find a problem and fix it. The problem was that /etc/kernel/cmd had the wrong UUID. Thanks for giving advice about initrd and bootloader reconfiguring, might not have found a solution without it.
I think I found what changes root UUID. When I used dracut-rebuild all entrie UUIDs changed to the wrong one. Now I have to find how to stop that.
I used gparted, blkid, checked fstab and by-uuid dir and no partition or drive had that UUID.
Will have a look.
I used arch-chroot. I mounted efi to efi dir with mount and used mount -o subvol=@subvolname to sub vol dir. Just incase i will reinstall nvidia drivers when booted normally. I will read about initrd. Thanks for all the info.
I have systemd-boot.
[You are right. In systemd-boot entrie it is used for root uuid. I should replace it with my root uuid right?]
Edited entrie to my root uuid and it boots. Thanks for helping me.
Zygisk is part of magisk. Might be wrong but its just root method used by magisk.
It probably happened when I was messing with SSDs. I wanted a smaller one to be root and a bigger one as home.
Edit: Kind of happy that i managed to break something and fix it.