-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loader file not found when attempting to boot into snapshot #50
Comments
Try changing the "log_level" config option to 1 and then reboot the machine into a snapshot. That should provide you with more information about this error. |
@Venom1991, hi, can you please take a look at this? Summary: I can only get Also, do you plan to provide a Fedora package at any time?
|
Hi there, I've tried looking for text differences between these two configurations with this tool and it found that both boot stanzas (manual and generated ones) are identical so I cannot really see why the second one would supposedly let you boot into a snapshot whereas the first one wouldn't do so?
No, not really because I don't use Fedora nor do I use an RPM-based distribution, for that matter. I use Arch and Debian and that's about it. |
@Venom1991, sorry, my mistake. I meant I've had to specify the boot stanzas as:
That is without the I guess I could fix this but I don't quite know what the side effects might be, that and the lack of tests make me a bit hesitant about making the change. |
Do you have a separate |
No I do not. $ cat /etc/fstab
#
# /etc/fstab
# Created by anaconda on Sun Dec 24 03:54:10 2023
#
# Accessible filesystems, by reference, are maintained under '/dev/disk/'.
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info.
#
# After editing this file, run 'systemctl daemon-reload' to update systemd
# units generated from this file.
#
UUID=5d302ebd-64a4-4d17-834b-61bd9e1d4cb2 / btrfs subvol=@,compress=zstd:1 0 0
UUID=5d302ebd-64a4-4d17-834b-61bd9e1d4cb2 /.snapshots btrfs subvol=@snapshots,compress=zstd:1 0 0
UUID=1583-E8AA /boot/efi vfat umask=0077,shortname=winnt 0 2
UUID=5d302ebd-64a4-4d17-834b-61bd9e1d4cb2 /home btrfs subvol=@home,compress=zstd:1 0 0
$ sudo btrfs subvolume list -pgqt /
ID gen parent top level parent_uuid path
-- --- ------ --------- ----------- ----
256 5164 5 5 - @home
258 5163 5 5 - @
259 4605 258 258 - var/lib/machines
262 4294 5 5 - @snapshots
263 2856 262 262 a308b1a1-b187-114d-8c74-480010bb630f @snapshots/1/snapshot
264 2921 258 258 e925c8ac-7404-6345-a0b7-b41ecc97b21b root/.refind-btrfs/rwsnap_2023-12-25_15-06-52_ID263 |
I don't know why rEFInd wouldn't be able to boot using the Also, rEFInd should be able to accept logical If you can also verify the existence of these files, like @djmadeira can:
there isn't really a lot that I can do other than to recommend checking rEFInd's logs and perhaps seeking help on Sourceforge. Changing this crucial part of the process would assuredly break a lot of user's setups. |
Just to be clear, it's not
As a result, we don't have any Could you please try this setup and try to replicate. |
The problem with this stanza is that I expect |
Running the tool and generating the boot stanzas seems like it's worked fine, but when I attempt to actually boot the snapshot I get the following from refind:
Here's my manual boot stanza:
Here's my fstab if it helps:
And here's the boot stanza that was generated:
And here's the fstab at
/@refind-btrfs/rwsnap_2023-11-07_16-50-55_ID282/etc/fstab
:I've verified that
/@refind-btrfs/rwsnap_2023-11-07_16-50-55_ID282/boot/initramfs-linux.img
&/@refind-btrfs/rwsnap_2023-11-07_16-50-55_ID282/boot/vmlinuz-linux
exist.Any idea what might be going wrong here?
The text was updated successfully, but these errors were encountered: