Skip to content
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

Fedora 40: booting from root-subvolume fails #336

Open
stefangweichinger opened this issue Jun 14, 2024 · 2 comments
Open

Fedora 40: booting from root-subvolume fails #336

stefangweichinger opened this issue Jun 14, 2024 · 2 comments

Comments

@stefangweichinger
Copy link

stefangweichinger commented Jun 14, 2024

I am only starting to use this tool, so forgive me any FAQ here.
Browsed the code and the issues and so far couldn't find a solution.

I set up grub-btrfs as instructed (I assume) on a laptop with Fedora 40.
Snapshots are in place, the Makefile detects the snapshots and the config is generated.

When I simply want to boot into the plain root-subvolume (= not using a snapshot) it fails to detect the root-fs.
As far as I see the part with "rootflags=subvol=root" is missing in grub.cfg, when I add that booting succeeds.

It seems to look for a subvolume "sysroot" while the subvolume is called "root" here.

When I try to boot a snapshots it fails with some error mentioning tpm. I will retry and add more details soon.

thanks for your work!

EDIT: I follow this and there's a fix for the tpm-issue. Testing.

@stefangweichinger
Copy link
Author

I come back here because the issue still persists on 2 of my Fedora 40 systems. I wonder if I can configure (or have to) the part rootflags=subvol=root somewhere in the config of grub-btrfs?

@stefangweichinger
Copy link
Author

I missed some steps in the howto .. proceeding, not 100% done yet.
Wondering how to convert existing dirs like "~/.thunderbird" to subvolumes (it's not a fresh installation of Fedora).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant