Closed UltraBlackLinux closed 1 year ago
Paste the contents of your main fstab file (the one found in the @ subvolume). Also, check the contents of the snapshotted fstab file (found in, for example, @/.snapshots/4810/snapshot/etc) and paste its content if they aren't identical to the main fstab file's contents.
Paste the contents of your main fstab file (the one found in the @ subvolume). Also, check the contents of the snapshotted fstab file (found in, for example @/.snapshots/4810/snapshot/etc) and paste its content is they aren't identical to the main fstab file's contents.
diff'ed both files and they are the same.
UUID=3336-8C4E /boot/efi vfat umask=0077 0 2
UUID=6e6211b4-cfb4-44c0-8970-5e4a826e0c5e / btrfs subvol=/@,defaults,noatime,noautodefrag,compress=zstd,discard=async,ssd 0 0 #Modified_by_garuda-hotfixes(1)
UUID=6e6211b4-cfb4-44c0-8970-5e4a826e0c5e /root btrfs subvol=/@root,defaults,noatime,noautodefrag,compress=zstd,discard=async,ssd 0 0 #Modified_by_garuda-hotfixes(1)
UUID=6e6211b4-cfb4-44c0-8970-5e4a826e0c5e /srv btrfs subvol=/@srv,defaults,noatime,noautodefrag,compress=zstd,discard=async,ssd 0 0 #Modified_by_garuda-hotfixes(1)
UUID=6e6211b4-cfb4-44c0-8970-5e4a826e0c5e /var/cache btrfs subvol=/@cache,defaults,noatime,noautodefrag,compress=zstd,discard=async,ssd 0 0 #Modified_by_garuda-hotfixes(1)
UUID=6e6211b4-cfb4-44c0-8970-5e4a826e0c5e /var/log btrfs subvol=/@log,defaults,noatime,noautodefrag,compress=zstd,discard=async,ssd 0 0 #Modified_by_garuda-hotfixes(1)
UUID=6e6211b4-cfb4-44c0-8970-5e4a826e0c5e /var/tmp btrfs subvol=/@tmp,defaults,noatime,noautodefrag,compress=zstd,discard=async,ssd 0 0 #Modified_by_garuda-hotfixes(1)
UUID=ebceb2a3-01ad-46a4-9516-0a322af54c8d /home btrfs defaults,noatime,noautodefrag,compress=zstd,discard=async,ssd 0 0 #Modified_by_garuda-hotfixes(1)
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
I also already tried prepending the @ of the root partition with a \ in the refind config, but that did nothing at all
Try removing the "#Modified_by_garuda-hotfixes(1)" comments in both the main fstab file and also the snapshotted one. If it is a read-only snapshot you can either convert it to a writable one ("btrfs property set -ts /path/to/snapshot ro false") or create another snapshot of @ AFTER you've removed those comments.
I handle comments (ignore them completely, that is) only if they're occupying the whole line of text by themselves, not if they're combined with actual partition definitions.
WARNING: Detected boot files required by the 'Arch Linux' boot stanza which do not exist in the '@/.snapshots/4841/snapshot' subvolume: initramfs-%v.img, vmlinuz-%v-zen, initramfs-%v-fallback.img!
WARNING: None of the prepared snapshots are matched with the 'Arch Linux' boot stanza!
ERROR (refind_btrfs.state_management.conditions/conditions.py/check_boot_stanzas_with_snapshots): None of the matched boot stanzas can be combined with any of the prepared snapshots!
That now returned the above. I thought %v was a valid placeholder for kernel versions?
Edit: Just tried booting that, and it's apprently not valid
Placeholders are not handled by this tool because it's primarily intended for Arch Linux where there's no such concept (AFAIK) - there's only "vmlinuz-linux" (vanilla), "vmlinuz-linux-lts", "vmlinuz-linux-zen", ... but there is no (for example) "vmlinuz-linux-5.10-lts".
Hm, sorry - it seems that you are running (in fact) Arch... I guess I'll have to somehow handle those variables as well as inline fstab comments.
Placeholders are not handled by this tool because it's primarily intended for Arch Linux where there's no such concept (AFAIK) - there's only "vmlinuz-linux" (vanilla), "vmlinuz-linux-lts", "vmlinuz-linux-zen", ... but there is no (for example) "vmlinuz-linux-5.10-lts".
Hm, sorry - it seems that you are running (in fact) Arch... I guess I'll have to somehow handle those variables as well as inline fstab comments.
I'm just gonna remove them. Still need to debug why it's not booting xD I think there is something wrong with my btrfs paths
Edit: Oh hey it's working Edit 2: refind-btrfs is too
Thank you for your help!
(Also what about the comments thing?)
(Also what about the comments thing?)
That one is definitely a bug so open another issue, please.
Hey there, this time I actually have no idea, what I could do. Whenever I run refind-btrfs it errros
ERROR: Could not find the root partition!
sda1 is my root partition
I already tried replacing both uuids with the partuuid, none of which worked, even though both variables are only supposed to have a partuuid.
Adding insult to injury, I have no idea, when to prepend what to the paths of the initframs and vmlinuzs. Just by trying out various configurations I got to this point:
Tweaking some more I got the error I mentioned in the beginning. What is the correct configuration? Thanks!